option to use system theme. Also clearlooks used for themeing causes instability and observed to crash cairo rendering (at least on win)

This commit is contained in:
Andrey Skvortsov
2010-10-14 21:23:26 -07:00
parent bdb28d59b5
commit f6a432e6bb
9 changed files with 74 additions and 38 deletions

View File

@@ -94,6 +94,8 @@ class Preferences : public Gtk::Dialog {
Gtk::ComboBoxText* intent;
Gtk::ComboBoxText* theme;
Gtk::HBox* hbtheme;
Gtk::CheckButton* chUseSystemTheme;
Gtk::FontButton* fontbutton;
Gtk::ComboBoxText* cformat;
@@ -115,7 +117,7 @@ class Preferences : public Gtk::Dialog {
RTWindow* parent;
Options moptions;
sigc::connection dmconn, dmconnBatch, tconn, fconn, addc, setc;
sigc::connection dmconn, dmconnBatch, tconn, fconn, addc, setc, usethcon;
Glib::ustring initialTheme;
Glib::ustring initialFont;
@@ -126,6 +128,7 @@ class Preferences : public Gtk::Dialog {
void dmethodBatchChanged ();
void workflowUpdate();
void themeChanged ();
void useThemeChanged();
void fontChanged ();
void switchThemeTo (Glib::ustring newTheme);
void switchFontTo (Glib::ustring newFont);