Skip to content

Commit 0e624a5

Browse files
monstaraveit65
authored andcommitted
toolbar: add missing popup menu for launching toolbar editor
1 parent f3bc78d commit 0e624a5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

data/eom-ui.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@
141141
<menuitem action="ImageSetAsWallpaper"/>
142142
</popup>
143143

144+
<popup name="ToolbarPopup" action="ToolbarPopupAction">
145+
<menuitem action="EditToolbar"/>
146+
</popup>
147+
144148
<accelerator name="ControlEqualAccel" action="ControlEqual"/>
145149
<accelerator name="ControlKPAddAccel" action="ControlKpAdd"/>
146150
<accelerator name="ControlKPSubAccel" action="ControlKpSub"/>

src/eom-window.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4322,6 +4322,7 @@ eom_window_construct_ui (EomWindow *window)
43224322
priv->toolbar = GTK_WIDGET
43234323
(g_object_new (EGG_TYPE_EDITABLE_TOOLBAR,
43244324
"ui-manager", priv->ui_mgr,
4325+
"popup-path", "/ToolbarPopup",
43254326
"model", eom_application_get_toolbars_model (EOM_APP),
43264327
NULL));
43274328

0 commit comments

Comments
 (0)