diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2016-06-23 05:48:07 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2016-06-23 05:48:07 +0000 |
| commit | a2abc287716054efec7514b36e4ec6beb69400bc (patch) | |
| tree | 0c0e2330a0ec4a31e4fd0d455f00b452565ffc6b | |
| parent | [Bug #1589792] Fix scaling for Draw From Triangle. (diff) | |
| download | inkscape-a2abc287716054efec7514b36e4ec6beb69400bc.tar.gz inkscape-a2abc287716054efec7514b36e4ec6beb69400bc.zip | |
[Bug #1594542] Reset paint buckets parameters icon is not visible in Tool Controls Bar.
Fixed bugs:
- https://launchpad.net/bugs/1594542
(bzr r15001)
| -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 ); } } |
