~ubuntu-branches/ubuntu/quantal/kde-gtk-config/quantal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Delete dependencies on Gtk libs
Author: Jonathan Riddell <jriddell@ubuntu.com>
Reviewed-by: Boris Pek <tehnick-8@mail.ru>
Forwarded: not-needed
Last-Update: 2012-09-07

--- kde-gtk-config-2.0.orig/CMakeLists.txt
+++ kde-gtk-config-2.0/CMakeLists.txt
@@ -44,8 +44,6 @@
 install(FILES ${GHNS_FILES} DESTINATION ${CONFIG_INSTALL_DIR})
 install(FILES kde-gtk-config.desktop DESTINATION ${SERVICES_INSTALL_DIR})
 
-add_subdirectory(gtkproxies)
-add_subdirectory(gtk3proxies)
 add_subdirectory(icons)
 find_package(Msgfmt REQUIRED)
 find_package(Gettext REQUIRED)
--- kde-gtk-config-2.0.orig/src/gtkconfigkcmodule.cpp
+++ kde-gtk-config-2.0/src/gtkconfigkcmodule.cpp
@@ -88,6 +88,9 @@
     
     ui->gtk2Preview->setIcon(KIcon("document-preview")); //!! for some reason it doesn't work with QIcon::fromTheme
     ui->gtk3Preview->setIcon(KIcon("document-preview"));
+
+    ui->gtk2Preview->hide();
+    ui->gtk3Preview->hide();
     
     m_p2 = new KProcess(this);
     m_p2->setEnv("GTK2_RC_FILES", m_tempGtk2Preview, true);