[eog/gnome-3-18] Revert "EogWindow: Add F10 keyboard shortcut for gear menu"



commit 750910cc6ef0fcd8967d5bf4039b8ab2aad28694
Author: Felix Riemann <friemann gnome org>
Date:   Wed Oct 21 21:10:53 2015 +0200

    Revert "EogWindow: Add F10 keyboard shortcut for gear menu"
    
    This reverts commit 25602162f7332f903f6d3b2f7b57ced5e064fd0e.

 src/eog-application.c |    1 -
 src/eog-window.c      |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/eog-application.c b/src/eog-application.c
index bfd8118..785ae49 100644
--- a/src/eog-application.c
+++ b/src/eog-application.c
@@ -253,7 +253,6 @@ eog_application_init_accelerators (GtkApplication *application)
                "win.view-fullscreen",  "F11", NULL,
                "win.view-slideshow",   "F5", NULL,
                "win.toggle-zoom-fit",  "F", NULL,
-               "win.toggle-gear-menu", "F10", NULL,
 
                NULL /* Terminating NULL */
        };
diff --git a/src/eog-window.c b/src/eog-window.c
index 0f222c1..bae7803 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4343,11 +4343,6 @@ eog_window_construct_ui (EogWindow *window)
        gtk_header_bar_pack_end (GTK_HEADER_BAR (headerbar), menu_button);
        gtk_widget_show (menu_button);
 
-       action = G_ACTION (g_property_action_new ("toggle-gear-menu",
-                                                 menu_button, "active"));
-       g_action_map_add_action (G_ACTION_MAP (window), action);
-       g_object_unref (action);
-
        fullscreen_button = gtk_button_new_from_icon_name ("view-fullscreen-symbolic",
                                                           GTK_ICON_SIZE_BUTTON);
        gtk_actionable_set_action_name (GTK_ACTIONABLE (fullscreen_button),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]