[gtk+/bgo593793-filechooser-recent-folders] No need to highlight the file's basename when setting the base folder
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/bgo593793-filechooser-recent-folders] No need to highlight the file's basename when setting the base folder
- Date: Fri, 1 Jul 2011 19:42:12 +0000 (UTC)
commit a06f1b3811b70e97a9a01bddeebe257957afd643
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jul 1 14:59:06 2011 -0500
No need to highlight the file's basename when setting the base folder
None of the cases where _gtk_file_chooser_entry_set_base_folder() appear to require
the entry highlighting the file's basename. Doing the highlighting actually makes
things look weird in Save/Recent mode if you
1. type a filename
2. click on a recent-folder,
as right after (2) your filename would get its basename highlighted for
no apparent reason.
Signed-off-by: Federico Mena Quintero <federico gnome org>
gtk/gtkfilechooserentry.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index a7393ee..07d6ba5 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -1835,7 +1835,6 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry,
g_object_ref (chooser_entry->base_folder);
clear_completions (chooser_entry);
- _gtk_file_chooser_entry_select_filename (chooser_entry);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]