From ce8d7371d27a66b7c83dc740a7c7ab8d5654c11f Mon Sep 17 00:00:00 2001 From: tavmjong-free Date: Mon, 7 Jun 2010 17:03:57 +0200 Subject: [PATCH] Added icons for Superscript and Subscript. --- share/icons/icons.svg | 159 ++++++++++++++++++++++++++++++++++++++++ src/widgets/toolbox.cpp | 4 +- 2 files changed, 161 insertions(+), 2 deletions(-) diff --git a/share/icons/icons.svg b/share/icons/icons.svg index 9bfce87cc..52360276a 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -727,6 +727,90 @@ + + + + + + + + + + + + + + + + + + + + @@ -3472,4 +3556,79 @@ http://www.inkscape.org/ + + + + + + + + + + + + + + + + + + diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 5950bf841..68f7e0972 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -7556,7 +7556,7 @@ static void sp_text_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions InkToggleAction* act = ink_toggle_action_new( "TextSuperscriptAction", // Name _("Toggle Superscript"), // Label _("Toggle superscript"), // Tooltip - GTK_STOCK_ITALIC, // Icon (inkId) + "text_superscript", // Icon (inkId) secondarySize ); // Icon size gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_text_script_changed), holder ); @@ -7569,7 +7569,7 @@ static void sp_text_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions InkToggleAction* act = ink_toggle_action_new( "TextSubscriptAction", // Name _("Toggle Subscript"), // Label _("Toggle subscript"), // Tooltip - GTK_STOCK_ITALIC, // Icon (inkId) + "text_subscript", // Icon (inkId) secondarySize ); // Icon size gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_text_script_changed), holder ); -- 2.30.2