Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit gtk2
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 15 Aug 2007 20:24:42 +0200
  • Message-id: <20070815182442.5F0F6678180@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gtk2
checked in at Wed Aug 15 20:24:42 CEST 2007.

--------
--- GNOME/gtk2/gtk2.changes     2007-08-06 23:38:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/gtk2/gtk2.changes      2007-08-14 22:35:54.549830000 +0200
@@ -1,0 +2,16 @@
+Tue Aug 14 22:35:07 CEST 2007 - jpr@xxxxxxx
+
+- Enable xinput for wacom tablets, it needs a configure flag
+
+-------------------------------------------------------------------
+Tue Aug 14 16:21:35 CEST 2007 - jpr@xxxxxxx
+
+- Backport tooltip fixes from upstream svn (#298343, #297149)
+
+-------------------------------------------------------------------
+Mon Aug 13 20:06:05 CEST 2007 - federico@xxxxxxxxxx
+
+- Removed references to obsolete patches from the SPEC file.  Fixes
+  https://bugzilla.novell.com/show_bug.cgi?id=299262
+
+-------------------------------------------------------------------

Old:
----
  gtk2-makefile-typo.patch

New:
----
  gtk2-systray-tooltips.patch
  gtk2-tooltip-compat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk2.spec ++++++
--- /var/tmp/diff_new_pack.v10901/_old  2007-08-15 20:24:06.000000000 +0200
+++ /var/tmp/diff_new_pack.v10901/_new  2007-08-15 20:24:06.000000000 +0200
@@ -28,7 +28,7 @@
 Autoreqprov:    on
 PreReq:         /usr/bin/touch /bin/rm /bin/rmdir
 Version:        2.11.6
-Release:        8
+Release:        11
 Summary:        Library for Creation of Graphical User Interfaces (version 2)
 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
 Source1:        SuSEconfig.gtk2
@@ -48,12 +48,8 @@
 Patch24:        gtk+-2.8.6-fontsel.patch
 Patch31:        gtk+-2.8.6-fontsel-fix.patch
 Patch32:        gtk2-set-invisible-char-to-circle.patch
-# remove
-# Patch38:        gtk2-po.patch
-Patch39:        gtk2-makefile-typo.patch
-# Patch40:        gdk-pixbuf-226710.patch
-# Patch41:        gtk2-235661-pixbuf-loader-error-checking.diff
-# Patch42:        gtk2-216883-filechooser-fix-invisible-shortcuts.diff
+Patch33:        gtk2-tooltip-compat.patch
+Patch34:        gtk2-systray-tooltips.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       cairo >= 0.9.2 hicolor-icon-theme
 %if %suse_version > 1020
@@ -210,11 +206,8 @@
 %patch24
 %patch31
 %patch32 -p1
-# %patch38 -p1
-#%patch39
-# %patch40 -p1
-# %patch41 -p0
-# %patch42 -p1
+%patch33 -p1
+%patch34 -p1
 gnome-patch-translation-update
 
 %build
@@ -245,7 +238,7 @@
        --with-gdktarget=directfb\
        --enable-fbmanager
 %else
-%configure
+%configure --with-xinput=xfree
 %endif
 make %{?jobs:-j%jobs}
 
@@ -377,6 +370,13 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Tue Aug 14 2007 - jpr@xxxxxxx
+- Enable xinput for wacom tablets, it needs a configure flag
+* Tue Aug 14 2007 - jpr@xxxxxxx
+- Backport tooltip fixes from upstream svn (#298343, #297149)
+* Mon Aug 13 2007 - federico@xxxxxxxxxx
+- Removed references to obsolete patches from the SPEC file.  Fixes
+  https://bugzilla.novell.com/show_bug.cgi?id=299262
 * Mon Aug 06 2007 - maw@xxxxxxx
 - Split out a -lang subpackage
 - Use %%fdupes.

++++++ gtk2-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;
++++++ gtk2-tooltip-compat.patch ++++++
--- trunk/gtk/gtktooltips.c     2007/07/21 13:19:11     18520
+++ trunk/gtk/gtktooltips.c     2007/08/07 13:32:19     18587
@@ -103,6 +103,8 @@
   private->tips_data_table =
     g_hash_table_new_full (NULL, NULL, NULL,
                            (GDestroyNotify) gtk_tooltips_destroy_data);
+
+  gtk_tooltips_force_window (tooltips);
 }
 
 static void
@@ -144,6 +146,12 @@
 
   g_return_if_fail (tooltips != NULL);
 
+  if (tooltips->tip_window)
+    {
+      gtk_widget_destroy (tooltips->tip_window);
+      tooltips->tip_window = NULL;
+    }
+
   g_hash_table_remove_all (private->tips_data_table);
 
   GTK_OBJECT_CLASS (gtk_tooltips_parent_class)->destroy (object);
@@ -154,7 +162,18 @@
 {
   g_return_if_fail (GTK_IS_TOOLTIPS (tooltips));
 
-  /* nop */
+  if (!tooltips->tip_window)
+    {
+      tooltips->tip_window = gtk_window_new (GTK_WINDOW_POPUP);
+      g_signal_connect (tooltips->tip_window,
+                       "destroy",
+                       G_CALLBACK (gtk_widget_destroyed),
+                       &tooltips->tip_window);
+
+      tooltips->tip_label = gtk_label_new (NULL);
+      gtk_container_add (GTK_CONTAINER (tooltips->tip_window),
+                        tooltips->tip_label);
+    }
 }
 
 void




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread