[mingw-gtk2: 7/65] don't open double browser windows from about dialogs (patch is from the native gtk2 package)

epienbro epienbro at fedoraproject.org
Tue Mar 6 20:00:38 UTC 2012


commit ba65512881a0dbf5931ff07c193f487c73907ce0
Author: epienbro <epienbro at fedoraproject.org>
Date:   Fri May 22 10:05:17 2009 +0000

    don't open double browser windows from about dialogs (patch is from the
        native gtk2 package)

 double-browser.patch |   11 +++++++++++
 mingw32-gtk2.spec    |   10 +++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/double-browser.patch b/double-browser.patch
new file mode 100644
index 0000000..3b3929a
--- /dev/null
+++ b/double-browser.patch
@@ -0,0 +1,11 @@
+--- gtk+-2.16.1/gtk/gtkaboutdialog.c	2009-04-08 00:51:36.000000000 -0400
++++ hacked/gtk/gtkaboutdialog.c	2009-04-22 11:34:04.767831284 -0400
+@@ -469,8 +469,6 @@
+ 
+   priv->website_button = button = gtk_link_button_new (""); 
+   gtk_widget_set_no_show_all (button, TRUE);
+-  g_signal_connect (G_OBJECT (button), "clicked",
+-		    G_CALLBACK (activate_url), about);
+   gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
+   
+   priv->website_label = button = gtk_label_new ("");
diff --git a/mingw32-gtk2.spec b/mingw32-gtk2.spec
index 7da1be6..53f6a0c 100644
--- a/mingw32-gtk2.spec
+++ b/mingw32-gtk2.spec
@@ -6,7 +6,7 @@
 
 Name:           mingw32-gtk2
 Version:        2.16.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        MinGW Windows Gtk2 library
 
 License:        LGPLv2+
@@ -20,6 +20,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # wine %{_mingw32_bindir}/gdk-pixbuf-query-loaders.exe > gdk-pixbuf.loaders
 Source1:        gdk-pixbuf.loaders
 
+# Don't open double browser windows from about dialog
+Patch0:         double-browser.patch
+
 # Fix use of extended buttons in gtkstatusicon.
 Patch1000:      mingw32-gtk2-2.15.0-xbuttons.patch
 
@@ -79,6 +82,7 @@ Static version of the MinGW Windows Gtk2 library.
 %prep
 %setup -q -n gtk+-%{version}
 
+%patch0 -p1
 %patch1000 -p1
 %patch1001 -p0
 
@@ -318,6 +322,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/gtk-2.0/modules/libgail.a
 
 %changelog
+* Fri May 22 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.16.1-2
+- don't open double browser windows from about dialogs
+  (patch is from the native gtk2 package)
+
 * Sat Apr 18 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.16.1-1
 - Update to 2.16.1
 


More information about the scm-commits mailing list