diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-09-11 03:23:08 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-09-11 03:23:08 +0000 |
| commit | f9454f90a92e10f63e6917ce63f74522d0ec5ea8 (patch) | |
| tree | 7fcc2f3ae9261e19c724094fc71abf52ffa3b31d /src | |
| parent | Allow GdlDockItems to take focus, and grab focus on present. Various (diff) | |
| download | inkscape-f9454f90a92e10f63e6917ce63f74522d0ec5ea8.tar.gz inkscape-f9454f90a92e10f63e6917ce63f74522d0ec5ea8.zip | |
add select all, select all in all layers, deselect to selector toolbar
(bzr r3719)
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/select-toolbar.cpp | 7 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp index ec7d26851..be81617de 100644 --- a/src/widgets/select-toolbar.cpp +++ b/src/widgets/select-toolbar.cpp @@ -372,6 +372,13 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb GtkActionGroup* selectionActions = mainActions; // temporary + act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_SELECT_ALL), view, Inkscape::ICON_SIZE_SMALL_TOOLBAR ); + gtk_action_group_add_action( selectionActions, act ); + act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_SELECT_ALL_IN_ALL_LAYERS), view, Inkscape::ICON_SIZE_SMALL_TOOLBAR ); + gtk_action_group_add_action( selectionActions, act ); + act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_DESELECT), view, Inkscape::ICON_SIZE_SMALL_TOOLBAR ); + gtk_action_group_add_action( selectionActions, act ); + act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_ROTATE_90_CCW), view, Inkscape::ICON_SIZE_SMALL_TOOLBAR ); gtk_action_group_add_action( selectionActions, act ); act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_ROTATE_90_CW), view, Inkscape::ICON_SIZE_SMALL_TOOLBAR ); diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 5a74f9606..3f9340bc2 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -196,6 +196,10 @@ static struct { static gchar const * ui_descr = "<ui>" " <toolbar name='SelectToolbar'>" + " <toolitem action='EditSelectAll' />" + " <toolitem action='EditSelectAllInAllLayers' />" + " <toolitem action='EditDeselect' />" + " <separator />" " <toolitem action='ObjectRotate90CCW' />" " <toolitem action='ObjectRotate90' />" " <toolitem action='ObjectFlipHorizontally' />" |
