diff options
| author | kamalpreetgrewal <grewalkamal005@gmail.com> | 2016-06-23 08:44:27 +0000 |
|---|---|---|
| committer | kamalpreetgrewal <grewalkamal005@gmail.com> | 2016-06-23 08:44:27 +0000 |
| commit | cdff078c3050401ebf89661e4491073b8f9746cc (patch) | |
| tree | a17f2e17c65a76a250fc56a6437715276ceee5f7 /src | |
| parent | Merge changes from trunk (diff) | |
| parent | [Bug #1594542] Reset paint buckets parameters icon is not visible in Tool Con... (diff) | |
| download | inkscape-cdff078c3050401ebf89661e4491073b8f9746cc.tar.gz inkscape-cdff078c3050401ebf89661e4491073b8f9746cc.zip | |
Merge changes from trunk
(bzr r14949.1.26)
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/paintbucket-toolbar.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/widgets/paintbucket-toolbar.cpp b/src/widgets/paintbucket-toolbar.cpp index 5cb2dd58b..b717d74fa 100644 --- a/src/widgets/paintbucket-toolbar.cpp +++ b/src/widgets/paintbucket-toolbar.cpp @@ -42,6 +42,7 @@ #include "ui/uxmanager.h" #include "ui/widget/unit-tracker.h" #include "util/units.h" +#include "widgets/ink-action.h" using Inkscape::UI::Widget::UnitTracker; using Inkscape::UI::UXManager; @@ -207,13 +208,14 @@ void sp_paintbucket_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions /* Reset */ { - GtkAction* act = gtk_action_new( "PaintbucketResetAction", + InkAction* inky = ink_action_new( "PaintbucketResetAction", _("Defaults"), _("Reset paint bucket parameters to defaults (use Inkscape Preferences > Tools to change defaults)"), - INKSCAPE_ICON("edit-clear")); - g_signal_connect_after( G_OBJECT(act), "activate", G_CALLBACK(paintbucket_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(paintbucket_defaults), holder ); + gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); + gtk_action_set_sensitive( GTK_ACTION(inky), TRUE ); } } |
