[Xfce-bugs] [Bug 2836] xfrun4 does not pre-select the previously entered command

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Oct 31 13:29:29 CET 2008


http://bugzilla.xfce.org/show_bug.cgi?id=2836





--- Comment #11 from Frank Schmitt <frank.schmitt+xfcebugzilla at gmail.com>  2008-10-31 12:29:28 UTC ---
The comment below was for 4.6. In 4.4 the same works, too.

--- xfce-utils-4.4.2/xfrun.orig/xfrun-dialog.c    2007-11-17 20:31:32.000000000
+0100
+++ xfce-utils-4.4.2/xfrun/xfrun-dialog.c    2008-10-31 13:23:05.000000000
+0100
@@ -233,6 +233,7 @@
     gtk_widget_show(btn);
     gtk_box_pack_end(GTK_BOX(bbox), btn, FALSE, FALSE, 0);
     GTK_WIDGET_SET_FLAGS(btn, GTK_CAN_DEFAULT);
+    gtk_editable_select_region(GTK_ENTRY(entry),0,-1);
     gtk_widget_grab_default(btn);
     g_signal_connect(G_OBJECT(btn), "clicked",
                      G_CALLBACK(xfrun_run_clicked), dialog);

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list