]> spindle.queued.net Git - midori/commitdiff
Add BookmarkAdd to dummy menu items
authorChristian Dywan <christian@twotoasts.de>
Sat, 28 Mar 2009 20:00:11 +0000 (21:00 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 28 Mar 2009 20:00:11 +0000 (21:00 +0100)
This fixes a warning about an accelerator and in some cases
even a crash when opening the bookmarks menu.

midori/midori-browser.c

index 7e95a7e8e017927aa135d996b8c7d74fd21666e5..95d5e39a87f52b8ed23d658540c0060e1c79e2b3 100644 (file)
@@ -3579,6 +3579,7 @@ static const gchar* ui_markup =
      *somewhere* in the UI definition */
    "<menu action='Dummy'>"
     "<menuitem action='FindPrevious'/>"
+    "<menuitem action='BookmarkAdd'/>"
     "<menuitem action='TabPrevious'/>"
     "<menuitem action='TabNext'/>"
     "<menuitem action='UndoTabClose'/>"