Rediffing run-in-background.patch with common diff options.
[debian/lxpanel.git] / debian / patches / 04-run-in-background.patch
1 Author: Sergey Slipchenko <faergeek@gmail.com>
2 Description:
3  "Run" dialog always in background if started with Alt+F2 (Closes: #656672).
4
5 diff -Naurp lxpanel.orig/src/gtk-run.c lxpanel/src/gtk-run.c
6 --- lxpanel.orig/src/gtk-run.c  2011-07-29 14:37:01.000000000 +0200
7 +++ lxpanel/src/gtk-run.c       2012-04-20 14:38:44.883785353 +0200
8 @@ -344,7 +344,7 @@ void gtk_run()
9      gtk_widget_show_all( win );
10  
11      setup_auto_complete( (GtkEntry*)entry );
12 -    gtk_widget_show( win );
13 +    gtk_window_present(GTK_WINDOW(win));
14  
15      g_signal_connect(entry ,"changed", G_CALLBACK(on_entry_changed), img);
16