projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a16635c
)
'Stay above' option now works independently of screen for fullscreen window
author
Josef Kufner
<josef@kufner.cz>
Wed, 20 Apr 2016 22:22:00 +0000
(
00:22
+0200)
committer
Josef Kufner
<josef@kufner.cz>
Wed, 20 Apr 2016 22:22:00 +0000
(
00:22
+0200)
src/fullscreen.c
patch
|
blob
|
history
diff --git
a/src/fullscreen.c
b/src/fullscreen.c
index
c751229
..
528fdac
100644
(file)
--- 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 *combo;
GtkListStore *store;
GtkCellRenderer *renderer;
- GtkWidget *button = NULL;
GList *list;
GList *work;
gint current = 0;
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);
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;
fullscreen_prefs_selection_add(store, _("Determined by Window Manager"), -1);
fullscreen_prefs_selection_add(store, _("Active screen"), 0);
if (*screen_value == 0) current = 1;