[nautilus/merge_replace_dialog] Focus the entry after clicking on 'Reset'.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/merge_replace_dialog] Focus the entry after clicking on 'Reset'.
- Date: Fri, 9 Apr 2010 09:25:27 +0000 (UTC)
commit 1b4be41f6408764501524e37c61497fc5095be27
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 ae28826..f4c5ac4 100644
--- a/libnautilus-private/nautilus-file-conflict-dialog.c
+++ b/libnautilus-private/nautilus-file-conflict-dialog.c
@@ -396,6 +396,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]