[shotwell/wip/dedeprecate: 60/64] Fix actions in context menus



commit 8c694c45e8f3f5dc9040dfc1dd9f93c407471758
Author: Jens Georg <mail jensge org>
Date:   Thu Nov 10 21:22:05 2016 +0100

    Fix actions in context menus
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/Page.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Page.vala b/src/Page.vala
index 390fe73..a924ef8 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -1353,6 +1353,7 @@ public abstract class CheckerboardPage : Page {
             var model = this.builder.get_object (item_context_menu_path)
                 as GLib.MenuModel;
             item_context_menu = new Gtk.Menu.from_model (model);
+            item_context_menu.attach_to_widget (this, null);
         }
 
         return item_context_menu;
@@ -1364,6 +1365,7 @@ public abstract class CheckerboardPage : Page {
             var model = this.builder.get_object (page_context_menu_path)
                 as GLib.MenuModel;
             page_context_menu = new Gtk.Menu.from_model (model);
+            page_context_menu.attach_to_widget (this, null);
         }
 
         return page_context_menu;


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