diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-09-04 21:21:52 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-09-04 23:03:45 +0200 |
commit | 2c3ec9c5ce60c7619ff6ea02697dbc76bca31c84 (patch) | |
tree | 532954b4cf7d3c07abcd448162e641ccba403433 /src | |
parent | 8117ec0dcb2227588afcb49b2a09c707e4a1be45 (diff) | |
download | nautilus-2c3ec9c5ce60c7619ff6ea02697dbc76bca31c84.tar.gz |
files-view: focus entry of popover
Focusing a container or so is not valid, you need to focus the
actual widget that is going to be focused.
https://bugzilla.gnome.org/show_bug.cgi?id=754288
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-files-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index 5c5b1588a..648b8ecde 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -2096,7 +2096,7 @@ nautilus_files_view_rename_file_popover_new (NautilusFilesView *view, gtk_popover_set_relative_to (GTK_POPOVER (widget_data->widget), GTK_WIDGET (view)); gtk_widget_show (widget_data->widget); - gtk_widget_grab_focus (widget_data->widget); + gtk_widget_grab_focus (widget_data->name_entry); /* Select the name part withouth the file extension */ eel_filename_get_rename_region (nautilus_file_get_display_name (target_file), |