Rediffing run-in-background.patch with common diff options.
authorDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 12:49:49 +0000 (14:49 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 14:34:17 +0000 (16:34 +0200)
debian/patches/04-run-in-background.patch [new file with mode: 0644]
debian/patches/run-in-background.patch [deleted file]
debian/patches/series

diff --git a/debian/patches/04-run-in-background.patch b/debian/patches/04-run-in-background.patch
new file mode 100644 (file)
index 0000000..1acc9f9
--- /dev/null
@@ -0,0 +1,16 @@
+Author: Sergey Slipchenko <faergeek@gmail.com>
+Description:
+ "Run" dialog always in background if started with Alt+F2 (Closes: #656672).
+
+diff -Naurp lxpanel.orig/src/gtk-run.c lxpanel/src/gtk-run.c
+--- lxpanel.orig/src/gtk-run.c 2011-07-29 14:37:01.000000000 +0200
++++ lxpanel/src/gtk-run.c      2012-04-20 14:38:44.883785353 +0200
+@@ -344,7 +344,7 @@ void gtk_run()
+     gtk_widget_show_all( win );
+     setup_auto_complete( (GtkEntry*)entry );
+-    gtk_widget_show( win );
++    gtk_window_present(GTK_WINDOW(win));
+     g_signal_connect(entry ,"changed", G_CALLBACK(on_entry_changed), img);
diff --git a/debian/patches/run-in-background.patch b/debian/patches/run-in-background.patch
deleted file mode 100644 (file)
index d7a8e0c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Author: Sergey Slipchenko <faergeek@gmail.com>
-Description: Closes: #656672
---- a/src/gtk-run.c
-+++ b/src/gtk-run.c
-@@ -344,7 +344,7 @@ void gtk_run()
-     gtk_widget_show_all( win );
-     setup_auto_complete( (GtkEntry*)entry );
--    gtk_widget_show( win );
-+    gtk_window_present(GTK_WINDOW(win));
-     g_signal_connect(entry ,"changed", G_CALLBACK(on_entry_changed), img);
index e54bc41..11fea24 100644 (file)
@@ -1,4 +1,4 @@
 01-default-config.patch
 02-desktop-number.patch
 03-potfiles.patch
-run-in-background.patch
+04-run-in-background.patch