Hello community, here is the log from the commit of package gtk2 checked in at Fri Sep 14 00:43:22 CEST 2007. -------- --- GNOME/gtk2/gtk2.changes 2007-09-13 10:16:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/gtk2/gtk2.changes 2007-09-13 19:22:11.101500000 +0200 @@ -1,0 +2,8 @@ +Thu Sep 13 18:00:31 CEST 2007 - maw@suse.de + +- Add gtk2-bnc305195-bgo449371-menu-button-release-1.patch (#305195, + and bugzilla.gnome.org #449371 by way of bugzilla.gnome.org + #474331), which fixes problems observed in nautilus where Right + click -> Create Document fails. + +------------------------------------------------------------------- New: ---- gtk2-bnc305195-bgo449371-menu-button-release-1.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk2.spec ++++++ --- /var/tmp/diff_new_pack.AU9495/_old 2007-09-14 00:43:07.000000000 +0200 +++ /var/tmp/diff_new_pack.AU9495/_new 2007-09-14 00:43:07.000000000 +0200 @@ -22,13 +22,13 @@ # Missing in cups-devel: BuildRequires: fdupes openssl-devel %endif -URL: http://www.gtk.org/ +Url: http://www.gtk.org/ License: LGPL v2 or later Group: System/Libraries -Autoreqprov: on +AutoReqProv: on PreReq: /usr/bin/touch /bin/rm /bin/rmdir Version: 2.11.6 -Release: 24 +Release: 25 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 @@ -52,6 +52,10 @@ Patch34: gtk2-systray-tooltips.patch Patch35: gtk2-flash-player-busyloop.patch Patch36: gtk2-303869-disable-icon-cache-validation.diff +# Patches taken from upstream svn. These will generally become obsolete +# in future releases. Other patches above should probably be moved here +# too. +Patch50: gtk2-bnc305195-bgo449371-menu-button-release-1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: cairo >= 0.9.2 hicolor-icon-theme %if %suse_version > 1020 @@ -102,7 +106,7 @@ %package devel Summary: Development environment for the Gtk2 GUI library Group: Development/Libraries/X11 -Autoreqprov: on +AutoReqProv: on Requires: %{name} = %{version} atk-devel cairo-devel glibc-devel glib2-devel pango-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}') %description devel @@ -212,6 +216,7 @@ %patch34 -p1 %patch35 %patch36 -p1 +%patch50 -p0 gnome-patch-translation-update %build @@ -292,7 +297,6 @@ endif' >> $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh %endif rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2*/*/*.la - %fdupes $RPM_BUILD_ROOT %clean @@ -374,6 +378,11 @@ %{_datadir}/gtk-doc/html/* %changelog +* Thu Sep 13 2007 - maw@suse.de +- Add gtk2-bnc305195-bgo449371-menu-button-release-1.patch (#305195, + and bugzilla.gnome.org #449371 by way of bugzilla.gnome.org + [#474331]), which fixes problems observed in nautilus where Right + click -> Create Document fails. * Thu Sep 13 2007 - stbinner@suse.de - tag strange uz@cyrillic directories with %%lang(uz@cyrillic) * Thu Sep 13 2007 - federico@novell.com ++++++ gtk2-bnc305195-bgo449371-menu-button-release-1.patch ++++++ Index: gtk/gtkmenu.c =================================================================== --- gtk/gtkmenu.c (revision 18794) +++ gtk/gtkmenu.c (working copy) @@ -2710,7 +2710,17 @@ gtk_menu_button_release (GtkWidget */ if (GTK_IS_MENU_SHELL (gtk_get_event_widget ((GdkEvent *) event)) && pointer_in_menu_window (widget, event->x_root, event->y_root)) - return TRUE; + { + /* Ugly: make sure menu_shell->button gets reset to 0 when we + * bail out early here so it is in a consistent state for the + * next button_press/button_release in GtkMenuShell. + * See bug #449371. + */ + if (GTK_MENU_SHELL (widget)->active) + GTK_MENU_SHELL (widget)->button = 0; + + return TRUE; + } return GTK_WIDGET_CLASS (gtk_menu_parent_class)->button_release_event (widget, event); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de