Compare commits

...

7 Commits

@ -6,7 +6,7 @@ cmake_minimum_required( VERSION 2.8 )
project( gtk-qt-engine )
set( PACKAGE gtk-qt-engine )
set( VERSION R14.0.0 )
set( VERSION R14.0.2 )
##### include essential cmake modules ###########

@ -1 +1 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
Subproject commit e1928ee8fcab77e67f8e6b222f9861ecd18a3050

@ -1 +1 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
Subproject commit 04cc5a03d8bd6c170ec4ac17ab2edad1ded07285

@ -188,7 +188,7 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&)
widget->styleIcon->setPixmap(iconLoader.loadIcon("style", TDEIcon::Desktop));
widget->styleIcon3->setPixmap(iconLoader.loadIcon("style", TDEIcon::Desktop));
widget->fontIcon->setPixmap(iconLoader.loadIcon("fonts", TDEIcon::Desktop));
widget->keyboardIcon->setPixmap(iconLoader.loadIcon("keyboard", TDEIcon::Desktop));
widget->keyboardIcon->setPixmap(iconLoader.loadIcon("input-keyboard", TDEIcon::Desktop));
getInstalledThemes();
load();
@ -267,17 +267,17 @@ void KcmGtk::getInstalledThemes()
}
}
bool gtk3installed = false;
bool gtk3installed = !gtk3Themes.empty();
widget->styleBox3->clear();
if(!gtk3Themes.empty()) {
if(gtk3installed) {
TQStringList otherGtk3Styles = gtk3Themes.keys();
if(otherGtk3Styles.find("tdegtk")!=otherGtk3Styles.end()) {
otherGtk3Styles.remove(otherGtk3Styles.find("tdegtk"));
}
gtk3installed = !otherGtk3Styles.empty();
if(gtk3installed) {
widget->styleBox3->insertStringList(otherGtk3Styles);
if(otherGtk3Styles.find("Default")==otherGtk3Styles.end()) {
otherGtk3Styles.prepend("Default");
}
widget->styleBox3->insertStringList(otherGtk3Styles);
}
widget->styleKde3->setEnabled(gtk3installed);
widget->styleBox3->setEnabled(gtk3installed);

Loading…
Cancel
Save