summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-07-04 01:09:27 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-07-04 01:09:27 +0000
commitb0b985287c13e4affe687b3a5650f2e8f133ead1 (patch)
treedb343840fa161623ba86a97133ca33c5a3ccaacc /src/ui
parentFix for 168658 : Font substitution warning dialog (diff)
downloadinkscape-b0b985287c13e4affe687b3a5650f2e8f133ead1.tar.gz
inkscape-b0b985287c13e4affe687b3a5650f2e8f133ead1.zip
Fix for 950677 : Preference to show legacy gradient editor
(bzr r11523)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp3
-rw-r--r--src/ui/dialog/inkscape-preferences.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index cba72fca5..38fbe63ba 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -464,6 +464,9 @@ void InkscapePreferences::initPageTools()
_misc_forkvectors.init( _("Prevent sharing of gradient definitions"), "/options/forkgradientvectors/value", true);
_page_gradient.add_line( false, "", _misc_forkvectors, "",
_("When on, shared gradient definitions are automatically forked on change; uncheck to allow sharing of gradient definitions so that editing one object may affect other objects using the same gradient"), true);
+ _misc_gradienteditor.init( _("Use legacy Gradient Editor"), "/dialogs/gradienteditor/showlegacy", false);
+ _page_gradient.add_line( false, "", _misc_gradienteditor, "",
+ _("When on, the Gradient Edit button in the Fill & Stroke dialog will show the legacy Gradient Editor dialog, when off the Gradient Tool will be used"), true);
//Dropper
this->AddPage(_page_dropper, _("Dropper"), iter_tools, PREFS_PAGE_TOOLS_DROPPER);
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index a2d3107a2..2ff148232 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -287,6 +287,7 @@ protected:
UI::Widget::PrefCheckButton _misc_comment;
UI::Widget::PrefCheckButton _misc_forkvectors;
+ UI::Widget::PrefCheckButton _misc_gradienteditor;
UI::Widget::PrefCheckButton _misc_scripts;
UI::Widget::PrefCheckButton _misc_namedicon_delay;