File: 07_point_to_package.patch

package info (click to toggle)
gtk-qt-engine 1%3A1.1%2Bsvn5-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 664 kB
  • ctags: 417
  • sloc: cpp: 2,113; ansic: 1,472; makefile: 16; sh: 10
file content (61 lines) | stat: -rw-r--r-- 2,515 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Description: Point to the package name and disables the link to upstream homepage and to "Change paths"
Origin:      vendor
Author:      Didier Raboud <didier@raboud.com>
Last-Update: 2009-08-25
--- a/kcm_gtk/kcmgtkwidget.ui
+++ b/kcm_gtk/kcmgtkwidget.ui
@@ -89,6 +89,25 @@ p, li { white-space: pre-wrap; }
        </widget>
       </item>
       <item row="3" column="1" colspan="4" >
+       <widget class="QLabel" name="warning2" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text" >
+         <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
+p, li { white-space: pre-wrap; }
+&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
+&lt;p style=" margin-top:0px; margin-bottom:0px; marginleft:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">In Debian, this engine can be found in the gtk-qt-engine package.&lt;/p>&lt;/body>&lt;/html></string>
+        </property>
+        <property name="wordWrap" >
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <!--item row="3" column="1" colspan="4" >
        <widget class="KUrlLabel" name="warning2" >
         <property name="text" >
          <string>Gtk-Qt theme engine homepage</string>
@@ -104,7 +123,7 @@ p, li { white-space: pre-wrap; }
          <string>Change search paths...</string>
         </property>
        </widget>
-      </item>
+      </item-->
       <item row="4" column="3" colspan="2" >
        <spacer>
         <property name="orientation" >
--- a/kcm_gtk/kcmgtk.cpp
+++ b/kcm_gtk/kcmgtk.cpp
@@ -59,7 +59,7 @@ KcmGtk::KcmGtk(QWidget* parent, const QV
 	
 	m_searchPaths = new SearchPaths(this);
 	connect(m_searchPaths, SIGNAL(accepted()), SLOT(getInstalledThemes()));
-	connect(m_ui.warning3, SIGNAL(clicked()), m_searchPaths, SLOT(exec()));
+	//connect(m_ui.warning3, SIGNAL(clicked()), m_searchPaths, SLOT(exec()));
 	
 	// Load icons
 	KIconLoader* loader = KIconLoader::global();
@@ -173,7 +173,7 @@ void KcmGtk::getInstalledThemes()
 	m_ui.styleKde->setEnabled(installed);
 	m_ui.warning1->setHidden(installed);
 	m_ui.warning2->setHidden(installed);
-	m_ui.warning3->setHidden(installed);
+	//m_ui.warning3->setHidden(installed);
 }
 
 void KcmGtk::fontChangeClicked()