summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-05-17 14:29:36 +0300
committerraveit65 <[email protected]>2018-05-18 12:19:17 +0200
commit0e624a51a23e9ff0bb70b106d51af7d02e1dfddc (patch)
tree4a058d060583335eecd1f8aabbaff2d0eace7a02
parentf3bc78de1cc21c5d10c8e06acf4c3879343db938 (diff)
downloadeom-0e624a51a23e9ff0bb70b106d51af7d02e1dfddc.tar.bz2
eom-0e624a51a23e9ff0bb70b106d51af7d02e1dfddc.tar.xz
toolbar: add missing popup menu for launching toolbar editor
-rw-r--r--data/eom-ui.xml4
-rw-r--r--src/eom-window.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/data/eom-ui.xml b/data/eom-ui.xml
index dbc738d..ad5c9f2 100644
--- a/data/eom-ui.xml
+++ b/data/eom-ui.xml
@@ -141,6 +141,10 @@
<menuitem action="ImageSetAsWallpaper"/>
</popup>
+ <popup name="ToolbarPopup" action="ToolbarPopupAction">
+ <menuitem action="EditToolbar"/>
+ </popup>
+
<accelerator name="ControlEqualAccel" action="ControlEqual"/>
<accelerator name="ControlKPAddAccel" action="ControlKpAdd"/>
<accelerator name="ControlKPSubAccel" action="ControlKpSub"/>
diff --git a/src/eom-window.c b/src/eom-window.c
index d01fdd5..a8dca71 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4322,6 +4322,7 @@ eom_window_construct_ui (EomWindow *window)
priv->toolbar = GTK_WIDGET
(g_object_new (EGG_TYPE_EDITABLE_TOOLBAR,
"ui-manager", priv->ui_mgr,
+ "popup-path", "/ToolbarPopup",
"model", eom_application_get_toolbars_model (EOM_APP),
NULL));