[nautilus/gnome-2-32: 31/283] Focus the entry after clicking on 'Reset'.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-2-32: 31/283] Focus the entry after clicking on 'Reset'.
- Date: Thu, 12 Aug 2010 11:06:37 +0000 (UTC)
commit 71dfd0db092a693c07426d6324cf8c38627ca021
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Apr 9 11:14:56 2010 +0200
Focus the entry after clicking on 'Reset'.
.../nautilus-file-conflict-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-conflict-dialog.c b/libnautilus-private/nautilus-file-conflict-dialog.c
index 4594673..67751e3 100644
--- a/libnautilus-private/nautilus-file-conflict-dialog.c
+++ b/libnautilus-private/nautilus-file-conflict-dialog.c
@@ -400,6 +400,7 @@ reset_button_clicked_cb (GtkButton *w,
gtk_entry_set_text (GTK_ENTRY (details->entry),
details->conflict_name);
+ gtk_widget_grab_focus (details->entry);
eel_filename_get_rename_region (details->conflict_name,
&start_pos, &end_pos);
gtk_editable_select_region (GTK_EDITABLE (details->entry),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]