From: Josef Kufner Date: Wed, 20 Apr 2016 22:22:00 +0000 (+0200) Subject: 'Stay above' option now works independently of screen for fullscreen window X-Git-Tag: v1.3~46^2 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=e022222394ff294e3147967581b6c5754d3c55b4 'Stay above' option now works independently of screen for fullscreen window --- diff --git a/src/fullscreen.c b/src/fullscreen.c index c7512296..528fdac9 100644 --- a/src/fullscreen.c +++ b/src/fullscreen.c @@ -628,7 +628,6 @@ GtkWidget *fullscreen_prefs_selection_new(const gchar *text, gint *screen_value, GtkWidget *combo; GtkListStore *store; GtkCellRenderer *renderer; - GtkWidget *button = NULL; GList *list; GList *work; gint current = 0; @@ -649,15 +648,6 @@ GtkWidget *fullscreen_prefs_selection_new(const gchar *text, gint *screen_value, gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo), renderer, "text", FS_MENU_COLUMN_NAME, NULL); - if (above_value) - { - button = pref_checkbox_new_int(vbox, _("Stay above other windows"), - *above_value, above_value); - gtk_widget_set_sensitive(button, *screen_value != -1); - - g_object_set_data(G_OBJECT(combo), BUTTON_ABOVE_KEY, button); - } - fullscreen_prefs_selection_add(store, _("Determined by Window Manager"), -1); fullscreen_prefs_selection_add(store, _("Active screen"), 0); if (*screen_value == 0) current = 1;