Issue #3446: Updated Gtk3.18 theme

Harcoded style has been reintroduced for Gtk < 3.20 only ; a cleanup
will have to be done once Gtk3.18 support will be dropped.
This commit is contained in:
Hombre57
2016-12-06 01:33:03 +01:00
parent 8094ce7c99
commit f3f317e5bd
8 changed files with 243 additions and 408 deletions

View File

@@ -53,6 +53,11 @@ ProfilePanel::ProfilePanel () : storedPProfile(nullptr), lastFilename(""), image
fillMode->add( options.filledProfile ? *profileFillModeOnImage : *profileFillModeOffImage );
fillMode->signal_toggled().connect ( sigc::mem_fun(*this, &ProfilePanel::profileFillModeToggled) );
fillMode->set_tooltip_text(M("PROFILEPANEL_MODE_TIP"));
//GTK318
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20
fillMode->set_margin_right(2);
#endif
//GTK318
setExpandAlignProperties(fillMode, false, true, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
// Create the Combobox