From 014dfe3aedbc0909f354068d2966f630f512a0e5 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Thu, 26 Feb 2009 02:52:45 +0000 Subject: Several icon name fixes (bzr r7373) --- src/widgets/desktop-widget.cpp | 5 +++-- src/widgets/toolbox.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 356a09418..6550ca0cd 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -51,6 +51,7 @@ #include "toolbox.h" #include "ui/dialog/dialog-manager.h" #include "ui/dialog/swatches.h" +#include "ui/icon-names.h" #include "ui/widget/dock.h" #include "ui/widget/layer-selector.h" #include "ui/widget/selected-style.h" @@ -374,7 +375,7 @@ sp_desktop_widget_init (SPDesktopWidget *dtw) dtw->sticky_zoom = sp_button_new_from_data ( Inkscape::ICON_SIZE_DECORATION, SP_BUTTON_TYPE_TOGGLE, NULL, - "sticky_zoom", + INKSCAPE_ICON_ZOOM, _("Zoom drawing if window size changes"), dtw->tt); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dtw->sticky_zoom), prefs->getBool("/options/stickyzoom/value")); @@ -396,7 +397,7 @@ sp_desktop_widget_init (SPDesktopWidget *dtw) dtw->cms_adjust = sp_button_new_from_data( Inkscape::ICON_SIZE_DECORATION, SP_BUTTON_TYPE_TOGGLE, NULL, - "color_management", + INKSCAPE_ICON_COLOR_MANAGEMENT, tip, dtw->tt ); #if ENABLE_LCMS diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 3049d53e7..690b434e4 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -4352,7 +4352,7 @@ static void sp_tweak_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainAction InkToggleAction* act = ink_toggle_action_new( "TweakPressureAction", _("Pressure"), _("Use the pressure of the input device to alter the force of tweak action"), - "use_pressure", + INKSCAPE_ICON_DRAW_USE_PRESSURE, Inkscape::ICON_SIZE_DECORATION ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_tweak_pressure_state_changed), NULL); -- cgit v1.2.3