diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-02-27 08:44:52 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-02-27 08:44:52 +0000 |
| commit | b568df726f8fc2454e74e1fbb753041a39d38d01 (patch) | |
| tree | 64130dd69dda0778b74ef7148a8b6890ae1716a1 /src/ui | |
| parent | share/extensions/inkex.py (class Effect): Remove id_characters instance var, ... (diff) | |
| download | inkscape-b568df726f8fc2454e74e1fbb753041a39d38d01.tar.gz inkscape-b568df726f8fc2454e74e1fbb753041a39d38d01.zip | |
Added work-around for broken themes that fill in with gtk_paint_border, including gtk-qt-engine. Fixes bug #281809.
(bzr r7387)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 6 | ||||
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index f2cc0b1b8..fe7b1f7c1 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1075,6 +1075,12 @@ void InkscapePreferences::initPageUI() _page_ui.add_line( false, _("Secondary toolbar icon size"), _misc_small_secondary, "", _("Set the size for the icons in secondary toolbars to use (requires restart)"), false); + + _ui_colorsliders_top.init( _("Work-around color sliders not drawing."), "/options/workarounds/colorsontop", false); + _page_ui.add_line( false, "", _ui_colorsliders_top, "", + _("When on, will attempt to work around bugs in certain GTK themes drawing color sliders."), true); + + _misc_recent.init("/options/maxrecentdocuments/value", 0.0, 1000.0, 1.0, 1.0, 1.0, true, false); Gtk::HBox* recent_hbox = Gtk::manage(new Gtk::HBox()); diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 731ccfef8..ac3c96a88 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -187,6 +187,7 @@ protected: PrefCombo _misc_small_toolbar; PrefCombo _misc_small_secondary; PrefCombo _misc_small_tools; + PrefCheckButton _ui_colorsliders_top; PrefSpinButton _misc_recent; ZoomCorrRulerSlider _ui_zoom_correction; |
