From b618c3d0693aec564c6746238fd05d94e31d3b76 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 3 Apr 2012 14:54:55 +0000 Subject: Tue Apr 3 14:54:45 UTC 2012 --- extra/transmission/fix_minimize.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 extra/transmission/fix_minimize.patch (limited to 'extra/transmission') diff --git a/extra/transmission/fix_minimize.patch b/extra/transmission/fix_minimize.patch deleted file mode 100644 index fe0f42a03..000000000 --- a/extra/transmission/fix_minimize.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: /trunk/gtk/main.c -=================================================================== ---- /trunk/gtk/main.c (revision 12968) -+++ /trunk/gtk/main.c (revision 13067) -@@ -73,4 +73,5 @@ - gboolean is_iconified; - -+ guint activation_count; - guint timer; - guint update_model_soon_tag; -@@ -533,6 +534,14 @@ - - static void --on_activate( GApplication * app UNUSED, gpointer unused UNUSED ) --{ -+on_activate( GApplication * app UNUSED, struct cbdata * cbdata ) -+{ -+ cbdata->activation_count++; -+ -+ /* GApplication emits an 'activate' signal when bootstrapping the primary. -+ * Ordinarily we handle that by presenting the main window, but if the user -+ * user started Transmission minimized, ignore that initial signal... */ -+ if( cbdata->is_iconified && ( cbdata->activation_count == 1 ) ) -+ return; -+ - gtr_action_activate( "present-main-window" ); - } -- cgit v1.2.3-54-g00ecf