diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2014-01-16 19:43:44 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2014-01-16 19:43:44 +0000 |
| commit | ca96c851e8a89543a49a96f2b02cd43fe3fb124c (patch) | |
| tree | dfdc5f2d88fcb18cc43fa2b81710466bd3b87cd5 /src/widgets | |
| parent | 2geom: remove accidentally forgotten debug message (diff) | |
| download | inkscape-ca96c851e8a89543a49a96f2b02cd43fe3fb124c.tar.gz inkscape-ca96c851e8a89543a49a96f2b02cd43fe3fb124c.zip | |
Fixing edit-clear icon in the star tool (partial fix for Bug #1269698).
Fixed bugs:
- https://launchpad.net/bugs/1269698
(bzr r12941)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/star-toolbar.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/widgets/star-toolbar.cpp b/src/widgets/star-toolbar.cpp index 1691a9b25..28b2c7e0c 100644 --- a/src/widgets/star-toolbar.cpp +++ b/src/widgets/star-toolbar.cpp @@ -568,13 +568,14 @@ void sp_star_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObje { /* Reset */ { - GtkAction* act = gtk_action_new( "StarResetAction", + InkAction* inky = ink_action_new( "StarResetAction", _("Defaults"), _("Reset shape parameters to defaults (use Inkscape Preferences > Tools to change defaults)"), - INKSCAPE_ICON("edit-clear")); - g_signal_connect_after( G_OBJECT(act), "activate", G_CALLBACK(sp_stb_defaults), holder ); - gtk_action_group_add_action( mainActions, act ); - gtk_action_set_sensitive( act, TRUE ); + INKSCAPE_ICON("edit-clear"), + Inkscape::ICON_SIZE_SMALL_TOOLBAR); + g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_stb_defaults), holder ); + gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); + gtk_action_set_sensitive( GTK_ACTION(inky), TRUE ); } } |
