Add notes to gtk engine on how to fix the Tree View...when GTK fixes it first!

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1259600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 0ee1f62b13
commit 06969072e5

@ -2119,6 +2119,11 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
stream << parse_rc_string("xthickness = 1", "*.GtkButton.*");
stream << parse_rc_string("ythickness = 1", "*.GtkButton.*");
// stream << parse_rc_string("GtkTreeView::allow-rules = 0", "*");
// stream << parse_rc_string("GtkTreeView::tree-line-width = 1", "*");
// stream << parse_rc_string("GtkTreeView::vertical-separator = 30", "*");
// //stream << parse_rc_string("GtkTreeView::odd-row-color = { 0.0, 0.0, 0.0 }", "*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkToolbar*GtkButton*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkToolbar*GtkToggleButton*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkButton*");
@ -2126,10 +2131,10 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
// Qt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain...
stream << parse_rc_string("GtkNotebook::tab-overlap = 1", "*");
// This one may not work...
//insertIntProperty(rc_style, "GtkCheckButton", "indicator-size", tqApp->tqstyle().tqpixelMetric(TQStyle::PM_IndicatorHeight) );
// For icons
// Build the list of icon theme directories.
@ -2144,7 +2149,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
}
stream << "\npixmap_path \"" + iconThemeDirs.join( ":" ) + "\"\n\n";
stream << "style \"KDE-icons\" {\n";
stream << doIconMapping("gtk-about", "actions/about_kde.png");
stream << doIconMapping("gtk-add", "actions/add.png");

Loading…
Cancel
Save