From: buliabyak Date: Wed, 12 Mar 2008 07:32:29 +0000 (+0000) Subject: dropper modes: replace undecipherable icons with text labels X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b03899b976eaea0d850429cae78aca08f64245c6;p=inkscape.git dropper modes: replace undecipherable icons with text labels --- diff --git a/share/icons/icons.svg b/share/icons/icons.svg index 2cffb100b..0d61c63ff 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -39,16 +39,6 @@ - - - - - - - - - - @@ -555,8 +545,6 @@ - - @@ -584,7 +572,7 @@ - + @@ -2560,16 +2548,6 @@ http://www.inkscape.org/ - - - - - - - - - - diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 6362260cc..5d9169141 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -390,6 +390,7 @@ static gchar const * ui_descr = " " " " + " " " " " " " " @@ -3913,12 +3914,19 @@ static void sp_dropper_toolbox_prep(SPDesktop */*desktop*/, GtkActionGroup* main { gint pickAlpha = prefs_get_int_attribute( "tools.dropper", "pick", 1 ); + { + EgeOutputAction* act = ege_output_action_new( "DropperOpacityAction", _("Opacity:"), "", 0 ); + ege_output_action_set_use_markup( act, TRUE ); + gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); + } + { InkToggleAction* act = ink_toggle_action_new( "DropperPickAlphaAction", - _("Pick alpha"), + _("Pick opacity"), _("Pick both the color and the alpha (transparency) under cursor; otherwise, pick only the visible color premultiplied by alpha"), - "color_alpha_get", + NULL, Inkscape::ICON_SIZE_DECORATION ); + g_object_set( act, "short_label", _("Pick"), NULL ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_object_set_data( holder, "pick_action", act ); gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), pickAlpha ); @@ -3927,10 +3935,11 @@ static void sp_dropper_toolbox_prep(SPDesktop */*desktop*/, GtkActionGroup* main { InkToggleAction* act = ink_toggle_action_new( "DropperSetAlphaAction", - _("Set alpha"), + _("Assign opacity"), _("If alpha was picked, assign it to selection as fill or stroke transparency"), - "color_alpha_set", + NULL, Inkscape::ICON_SIZE_DECORATION ); + g_object_set( act, "short_label", _("Assign"), NULL ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_object_set_data( holder, "set_action", act ); gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs_get_int_attribute( "tools.dropper", "setalpha", 1 ) );