Code

Add layers dialog to top toolbar. Applies patch from bug #336519.
authorjoncruz <joncruz@users.sourceforge.net>
Thu, 5 Mar 2009 05:41:22 +0000 (05:41 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Thu, 5 Mar 2009 05:41:22 +0000 (05:41 +0000)
src/widgets/toolbox.cpp

index 690b434e4af316015bcc7aa724d0ce135e938e4c..c46d7678dbf51ba847996fbf0728b8ec6115d742 100644 (file)
@@ -723,6 +723,7 @@ Glib::RefPtr<Gtk::ActionGroup> create_or_fetch_actions( SPDesktop* desktop )
         SP_VERB_DIALOG_NAMEDVIEW,
         SP_VERB_DIALOG_TEXT,
         SP_VERB_DIALOG_XML_EDITOR,
+        SP_VERB_DIALOG_LAYERS,
         SP_VERB_EDIT_CLONE,
         SP_VERB_EDIT_COPY,
         SP_VERB_EDIT_CUT,
@@ -1830,6 +1831,7 @@ setup_commands_toolbox(GtkWidget *toolbox, SPDesktop *desktop)
         "    <separator />"
         "    <toolitem action='DialogFillStroke' />"
         "    <toolitem action='DialogText' />"
+        "    <toolitem action='DialogLayers' />"
         "    <toolitem action='DialogXMLEditor' />"
         "    <toolitem action='DialogAlignDistribute' />"
         "    <separator />"