Rediffing run-in-background.patch.
[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  2012-04-20 17:12:48.476544070 +0200
7 +++ lxpanel/src/gtk-run.c       2012-04-20 17:16:39.430117995 +0200
8 @@ -385,7 +385,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