Compare commits

...

23 Commits

Author SHA1 Message Date
Slávek Banko cc68310e38 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Slávek Banko 9c13c4d171 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Slávek Banko 68a9a26b8e Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 8 years ago
Slávek Banko 1e9cf2640c Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1045125941)
8 years ago
Slávek Banko 2c2086d242 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko ed65414ee0 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 58ff2c4799 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 917b385ae1 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 69420d7c79 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 9 years ago
Slávek Banko bcb35dbd07 cmake: add tde_add_check_executable macro 9 years ago
Slávek Banko f53ed591b2 Update version number for new target R14.0.5 9 years ago
Slávek Banko 5a42594dd6 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 9 years ago
Slávek Banko c8cf1f9338 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko 7a4a474744 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko 72530653e3 Update version number for new target R14.0.4 10 years ago
Slávek Banko 484a1d3ce2 Update version number for new target R14.0.3 10 years ago
Slávek Banko e50a6acedd Add Default as a valid option for GTK3 theme
This resolves Bug 2478

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f92343d24d)
10 years ago
Slávek Banko ae1495417e Update version number for new target R14.0.2 10 years ago
Slávek Banko be449ba2db Update version in CMakeLists files 10 years ago
Slávek Banko 9ea9c9054c Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko cd479ddfc8 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 11 years ago
Slávek Banko a5ab4eb3b1 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 11 years ago
Timothy Pearson 64ed1c50de Bring keyboard icon into XDG compliance
(cherry picked from commit 8582085e78)
11 years ago

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

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

@ -1 +1 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463 Subproject commit 2e6daa80e2d7bda8382b7d330549e1b3447ac536

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

@ -571,8 +571,9 @@ TQString kdeFindDir(const TQString& suffix, const TQString& file1, const TQStrin
TQString runCommand(const TQString& command) TQString runCommand(const TQString& command)
{ {
FILE* p = popen(command.latin1(), "r"); FILE* p = popen(command.latin1(), "r");
if ((p == NULL) || (p < 0)) if (p == NULL) {
return TQString(); return TQString();
}
TQString ret; TQString ret;
while (!feof(p)) while (!feof(p))

Loading…
Cancel
Save