summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-10-22 15:21:38 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-10-22 15:21:38 +0000
commit8059f2c4d9751a531a1b672699508ccd2cc3c53b (patch)
treef71df25d867bf18f3c606d393fbe998afecf4af0 /src
parentPreferences: Simplify code from 9f2c9d85b73ff773e6181d700678f28757714992 (diff)
downloadinkscape-8059f2c4d9751a531a1b672699508ccd2cc3c53b.tar.gz
inkscape-8059f2c4d9751a531a1b672699508ccd2cc3c53b.zip
Preferences: Minor consistency fixes for UI
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index bd4f5c75e..351eb0845 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1991,9 +1991,10 @@ void InkscapePreferences::initPageSystem()
_sys_systemdata.get_buffer()->insert(_sys_systemdata.get_buffer()->end(), tmp);
_sys_systemdata.set_editable(false);
_sys_systemdata_scroll.add(_sys_systemdata);
- _sys_systemdata_scroll.set_size_request(0, 80);
+ _sys_systemdata_scroll.set_size_request(100, 80);
_sys_systemdata_scroll.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
- _page_system.add_line(true, _("System data: "), _sys_systemdata_scroll, "", _("Locations of system data"), true);
+ _sys_systemdata_scroll.set_shadow_type(Gtk::SHADOW_IN);
+ _page_system.add_line(true, _("System data: "), _sys_systemdata_scroll, "", _("Locations of system data"), true);
tmp = "";
gchar** paths = 0;
@@ -2005,8 +2006,9 @@ void InkscapePreferences::initPageSystem()
}
_sys_icon.set_editable(false);
_sys_icon_scroll.add(_sys_icon);
- _sys_icon_scroll.set_size_request(0, 80);
+ _sys_icon_scroll.set_size_request(100, 80);
_sys_icon_scroll.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
+ _sys_icon_scroll.set_shadow_type(Gtk::SHADOW_IN);
_page_system.add_line(true, _("Icon theme: "), _sys_icon_scroll, "", _("Locations of icon themes"), true);
this->AddPage(_page_system, _("System"), PREFS_PAGE_SYSTEM);