diff options
Diffstat (limited to 'tdegtk/tdegtk-theme.cpp')
-rw-r--r-- | tdegtk/tdegtk-theme.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp index 118b173..446480b 100644 --- a/tdegtk/tdegtk-theme.cpp +++ b/tdegtk/tdegtk-theme.cpp @@ -494,6 +494,7 @@ void writeGtkThemeControlFile(int forceRecreate) { GtkSettingsValue svalue; if (gtksettings) { g_object_set(gtksettings, "gtk-alternative-button-order", TRUE, NULL); + g_object_set(gtksettings, "gtk-primary-button-warps-slider", FALSE, NULL); g_object_set(gtksettings, "gtk-button-images", tde_showIconsOnPushButtons, NULL); g_object_set(gtksettings, "gtk-menu-popup-delay", tqApp->style().styleHint(TQStyle::SH_PopupMenu_SubMenuPopupDelay), NULL); g_object_set(gtksettings, "gtk-icon-sizes", iconSettingsString.ascii(), NULL); @@ -674,6 +675,11 @@ void writeGtkThemeControlFile(int forceRecreate) { stream.unsetDevice(); themeFile.close(); } + + if (gtk3TQtDebug) { + // Load possibly modified theme control file before writing a new one + gtk3_tqt_reload_theme_definition_file(themeFilePath.latin1()); + } themeFile.open(IO_WriteOnly | IO_Truncate); stream.setDevice(TQT_TQIODEVICE(&themeFile)); @@ -725,6 +731,12 @@ void writeGtkThemeControlFile(int forceRecreate) { // Work around problems detailed in upstream GTK bug #687677 stream << parse_rc_string(TQString("-GtkComboBox-shadow-type: in"), "*"); + stream << parse_rc_string(TQString("-GtkScrolledWindow-scrollbars-within-bevel: 1"), "*"); + stream << parse_rc_string(TQString("-GtkScrolledWindow-scrollbar-spacing: 0px"), "*"); + stream << parse_rc_string(TQString("border-style: inset"), "GtkScrolledWindow"); + stream << parse_rc_string("border-width: " + TQString::number(2) + "px " + TQString::number(2) + "px " + TQString::number(2) + "px " + TQString::number(2) + "px", "GtkScrolledWindow"); + stream << parse_rc_string("padding: " + TQString::number(0) + "px " + TQString::number(0) + "px " + TQString::number(0) + "px " + TQString::number(0) + "px", "GtkScrolledWindow"); + stream << parse_rc_string("-GtkComboBox-arrow-size: " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ArrowSize)), "*"); stream << parse_rc_string("-GtkComboBox-arrow-scaling: 0", "*"); |