rpms/gtk2/F-12 fresh-tooltips.patch,1.5,1.6 gtk2.spec,1.426,1.427

Matthias Clasen mclasen at fedoraproject.org
Wed Oct 28 19:38:14 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gtk2/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25685

Modified Files:
	fresh-tooltips.patch gtk2.spec 
Log Message:
more tooltip fixes


fresh-tooltips.patch:
 gtk/gtkwidget.c         |    8 +
 hacked/gtk/gtktooltip.c |  276 ++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 265 insertions(+), 19 deletions(-)

Index: fresh-tooltips.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/F-12/fresh-tooltips.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- fresh-tooltips.patch	28 Oct 2009 16:18:39 -0000	1.5
+++ fresh-tooltips.patch	28 Oct 2009 19:38:13 -0000	1.6
@@ -55,10 +55,10 @@
 +  if (rgba)
 +    gtk_widget_set_colormap (tooltip->window, rgba);
 +
-+#if 0
++
    gtk_window_set_type_hint (GTK_WINDOW (tooltip->window),
  			    GDK_WINDOW_TYPE_HINT_TOOLTIP);
-+#endif
++
 +
    gtk_widget_set_app_paintable (tooltip->window, TRUE);
    gtk_window_set_resizable (GTK_WINDOW (tooltip->window), FALSE);
@@ -350,3 +350,20 @@
  	   *x, *y);
  #endif
  
+--- gtk+-2.18.3/gtk/gtkwidget.c	2009-10-09 01:00:44.000000000 -0400
++++ hacked/gtk/gtkwidget.c	2009-10-28 10:53:01.569855420 -0400
+@@ -2386,6 +2386,14 @@
+                                                              P_("The length of vertical scroll arrows"),
+                                                              1, G_MAXINT, 16,
+                                                              GTK_PARAM_READABLE));
++
++  gtk_widget_class_install_style_property (klass,
++                                           g_param_spec_boolean ("new-tooltip-style",
++                                                                 NULL,
++                                                                 NULL,
++                                                                 FALSE,
++                                                                 GTK_PARAM_READABLE));
++
+ }
+ 
+ static void


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/F-12/gtk2.spec,v
retrieving revision 1.426
retrieving revision 1.427
diff -u -p -r1.426 -r1.427
--- gtk2.spec	28 Oct 2009 16:18:39 -0000	1.426
+++ gtk2.spec	28 Oct 2009 19:38:13 -0000	1.427
@@ -17,7 +17,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.18/gtk+-%{version}.tar.bz2
@@ -35,6 +35,8 @@ Patch3: image-size-alloc.patch
 # https://bugzilla.gnome.org/show_bug.cgi?id=599617
 Patch4: fresh-tooltips.patch
 # from upstream
+Patch5: allow-set-hint.patch
+# from upstream
 Patch6: compose-sequences.patch
 # from upstream
 Patch7: symbolic-color-parsing.patch
@@ -159,6 +161,7 @@ This package contains developer document
 %patch2 -p1 -b .icon-padding
 %patch3 -p1 -b .image-size-alloc
 %patch4 -p1 -b .fresh-tooltips
+%patch5 -p1 -b .allow-set-hint
 %patch6 -p1 -b .compose-sequences
 %patch7 -p1 -b .symbolic-color-parsing
 %patch8 -p1 -b .tooltip-positioning
@@ -400,7 +403,7 @@ fi
 
 
 %changelog
-* Wed Oct 28 2009 Matthias Clasen <mclasen at redhta.com> - 2.18.3-13
+* Wed Oct 28 2009 Matthias Clasen <mclasen at redhta.com> - 2.18.3-14
 - Make the new tooltips sharp
 - Improve the Metacity compositor workaround for new tooltips
 




More information about the fedora-extras-commits mailing list