Skip to content

Commit

Permalink
toolbar: add missing popup menu for launching toolbar editor
Browse files Browse the repository at this point in the history
  • Loading branch information
monsta authored and raveit65 committed May 18, 2018
1 parent f3bc78d commit 0e624a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/eom-ui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
1 change: 1 addition & 0 deletions src/eom-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 0e624a5

Please sign in to comment.