diff --git a/data/geany.glade b/data/geany.glade
index 56276b4a..29b71925 100644
--- a/data/geany.glade
+++ b/data/geany.glade
@@ -5857,20 +5857,6 @@
GTK_FILL
-
-
-
- 3
- 4
- GTK_FILL
- GTK_FILL
-
-
- 4
- 5
+ 3
+ 4
GTK_FILL
GTK_FILL
@@ -5893,8 +5879,8 @@
Shell:
- 5
- 6
+ 4
+ 5
GTK_FILL
GTK_FILL
@@ -5933,48 +5919,6 @@
GTK_FILL
-
-
-
- 1
- 2
- 3
- 4
- GTK_FILL
-
-
-
-
-
- 2
- 3
- 3
- 4
- GTK_FILL
- GTK_FILL
-
-
True
@@ -5992,8 +5936,8 @@
1
3
- 4
- 5
+ 3
+ 4
GTK_FILL
@@ -6011,8 +5955,8 @@
1
2
- 5
- 6
+ 4
+ 5
GTK_FILL
@@ -6033,8 +5977,8 @@
2
3
- 5
- 6
+ 4
+ 5
GTK_FILL
GTK_FILL
diff --git a/src/keyfile.c b/src/keyfile.c
index b85e1836..6a91988b 100644
--- a/src/keyfile.c
+++ b/src/keyfile.c
@@ -535,7 +535,6 @@ static void save_dialog_prefs(GKeyFile *config)
g_key_file_set_boolean(config, "VTE", "cursor_blinks", vc->cursor_blinks);
g_key_file_set_integer(config, "VTE", "scrollback_lines", vc->scrollback_lines);
g_key_file_set_string(config, "VTE", "font", vc->font);
- g_key_file_set_string(config, "VTE", "image", vc->image);
g_key_file_set_string(config, "VTE", "shell", vc->shell);
tmp_string = utils_get_hex_from_color(&vc->colour_fore);
g_key_file_set_string(config, "VTE", "colour_fore", tmp_string);
@@ -879,7 +878,6 @@ static void load_dialog_prefs(GKeyFile *config)
/* fallback to root */
vte_info.dir = g_strdup("/");
- vc->image = utils_get_setting_string(config, "VTE", "image", "");
vc->shell = utils_get_setting_string(config, "VTE", "shell", shell);
vc->font = utils_get_setting_string(config, "VTE", "font", GEANY_DEFAULT_FONT_EDITOR);
vc->scroll_on_key = utils_get_setting_boolean(config, "VTE", "scroll_on_key", TRUE);
diff --git a/src/prefs.c b/src/prefs.c
index ed8d80c3..714b7bc5 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -770,9 +770,6 @@ static void prefs_init_dialog(void)
widget = ui_lookup_widget(ui_widgets.prefs_dialog, "color_back");
gtk_color_button_set_color(GTK_COLOR_BUTTON(widget), &vc->colour_back);
- widget = ui_lookup_widget(ui_widgets.prefs_dialog, "entry_image");
- gtk_entry_set_text(GTK_ENTRY(widget), vc->image);
-
widget = ui_lookup_widget(ui_widgets.prefs_dialog, "spin_scrollback");
gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget), vc->scrollback_lines);
@@ -1241,10 +1238,6 @@ on_prefs_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
gtk_spin_button_update(GTK_SPIN_BUTTON(widget));
vc->scrollback_lines = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
- widget = ui_lookup_widget(ui_widgets.prefs_dialog, "entry_image");
- g_free(vc->image);
- vc->image = g_strdup(gtk_entry_get_text(GTK_ENTRY(widget)));
-
widget = ui_lookup_widget(ui_widgets.prefs_dialog, "entry_shell");
g_free(vc->shell);
vc->shell = g_strdup(gtk_entry_get_text(GTK_ENTRY(widget)));
diff --git a/src/vte.c b/src/vte.c
index e09306c5..88e87a98 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -132,7 +132,6 @@ struct VteFunctions
void (*vte_terminal_set_cursor_blinks) (VteTerminal *terminal, gboolean blink);
void (*vte_terminal_select_all) (VteTerminal *terminal);
void (*vte_terminal_set_audible_bell) (VteTerminal *terminal, gboolean is_audible);
- void (*vte_terminal_set_background_image_file) (VteTerminal *terminal, const char *path);
GtkAdjustment* (*vte_terminal_get_adjustment) (VteTerminal *terminal);
#if GTK_CHECK_VERSION(3, 0, 0)
/* hack for the VTE 2.91 API using GdkRGBA: we wrap the API to keep using GdkColor on our side */
@@ -398,7 +397,6 @@ void vte_close(void)
gtk_widget_destroy(vc->menu);
g_object_unref(vc->menu);
g_free(vc->shell);
- g_free(vc->image);
g_free(vc->font);
g_free(vc->send_cmd_prefix);
g_free(vc);
@@ -624,7 +622,6 @@ static gboolean vte_register_symbols(GModule *mod)
BIND_REQUIRED_SYMBOL(vte_terminal_set_color_bold);
BIND_REQUIRED_SYMBOL(vte_terminal_set_color_background);
}
- BIND_REQUIRED_SYMBOL(vte_terminal_set_background_image_file);
BIND_REQUIRED_SYMBOL(vte_terminal_feed_child);
BIND_SYMBOL(vte_terminal_im_append_menuitems);
if (! BIND_SYMBOL(vte_terminal_set_cursor_blink_mode))
@@ -663,7 +660,6 @@ void vte_apply_user_settings(void)
vf->vte_terminal_set_color_foreground(VTE_TERMINAL(vc->vte), &vc->colour_fore);
vf->vte_terminal_set_color_bold(VTE_TERMINAL(vc->vte), &vc->colour_fore);
vf->vte_terminal_set_color_background(VTE_TERMINAL(vc->vte), &vc->colour_back);
- vf->vte_terminal_set_background_image_file(VTE_TERMINAL(vc->vte), vc->image);
vf->vte_terminal_set_audible_bell(VTE_TERMINAL(vc->vte), prefs.beep_on_errors);
vte_set_cursor_blink_mode();
@@ -952,18 +948,12 @@ void vte_append_preferences_tab(void)
GtkWidget *frame_term, *button_shell, *entry_shell;
GtkWidget *check_run_in_vte, *check_skip_script;
GtkWidget *font_button, *fg_color_button, *bg_color_button;
- GtkWidget *entry_image, *button_image;
button_shell = GTK_WIDGET(ui_lookup_widget(ui_widgets.prefs_dialog, "button_term_shell"));
entry_shell = GTK_WIDGET(ui_lookup_widget(ui_widgets.prefs_dialog, "entry_shell"));
ui_setup_open_button_callback(button_shell, NULL,
GTK_FILE_CHOOSER_ACTION_OPEN, GTK_ENTRY(entry_shell));
- button_image = GTK_WIDGET(ui_lookup_widget(ui_widgets.prefs_dialog, "button_term_image"));
- entry_image = GTK_WIDGET(ui_lookup_widget(ui_widgets.prefs_dialog, "entry_image"));
- ui_setup_open_button_callback(button_image, NULL,
- GTK_FILE_CHOOSER_ACTION_OPEN, GTK_ENTRY(entry_image));
-
check_skip_script = GTK_WIDGET(ui_lookup_widget(ui_widgets.prefs_dialog, "check_skip_script"));
gtk_widget_set_sensitive(check_skip_script, vc->run_in_vte);
diff --git a/src/vte.h b/src/vte.h
index c13326bc..b1af8798 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -57,7 +57,6 @@ typedef struct
gboolean send_selection_unsafe;
gint scrollback_lines;
gchar *shell;
- gchar *image;
gchar *font;
gchar *send_cmd_prefix;
GdkColor colour_fore;