rpms/gtk2/devel systray-tooltips.patch, NONE, 1.1 gtk2.spec, 1.246, 1.247

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Wed Jul 25 17:51:24 UTC 2007


Author: mclasen

Update of /cvs/extras/rpms/gtk2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13070

Modified Files:
	gtk2.spec 
Added Files:
	systray-tooltips.patch 
Log Message:
fix systray icon tooltips


systray-tooltips.patch:

--- NEW FILE systray-tooltips.patch ---
diff -up gtk+-2.11.6/gtk/gtktooltip.c.systray-tooltips gtk+-2.11.6/gtk/gtktooltip.c
--- gtk+-2.11.6/gtk/gtktooltip.c.systray-tooltips	2007-07-25 13:46:43.000000000 -0400
+++ gtk+-2.11.6/gtk/gtktooltip.c	2007-07-25 13:47:05.000000000 -0400
@@ -1116,7 +1116,7 @@ _gtk_tooltip_handle_event (GdkEvent *eve
   /* Hide the tooltip when there's no new tooltip widget */
   if (!has_tooltip_widget)
     {
-      if (current_tooltip && GTK_TOOLTIP_VISIBLE (current_tooltip))
+      if (current_tooltip)
 	gtk_tooltip_hide_tooltip (current_tooltip);
 
       return;


Index: gtk2.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- gtk2.spec	25 Jul 2007 02:12:44 -0000	1.246
+++ gtk2.spec	25 Jul 2007 17:50:52 -0000	1.247
@@ -16,7 +16,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPL
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.11/gtk+-%{version}.tar.bz2
@@ -33,6 +33,8 @@
 Patch3: cups-authstring.patch
 # fixed in upstream svn
 Patch4: silence-icon-cache-validator.patch
+# fixed in upstream svn
+Patch5: systray-tooltips.patch
 
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
@@ -121,6 +123,7 @@
 #%patch2 -p1 -b .fam
 %patch3 -p0 -b .authstring
 %patch4 -p1 -b .silence
+%patch5 -p1 -b .tooltips
 
 for i in config.guess config.sub ; do
   test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -291,6 +294,9 @@
 %doc tmpdocs/examples
 
 %changelog
+* Wed Jul 25 2007 Matthias Clasen <mclasen at redhat.com> - 2.11.6-3
+- Fix the behaviour of tooltips on system tray icons
+
 * Tue Jul 24 2007 Matthias Clasen <mclasen at redhat.com> - 2.11.6-2
 - Silence the icon cache validator (#248789)
 




More information about the scm-commits mailing list