[gnome-photos/wip/rishi/collection: 6/54] export-dialog: Ensure that the Folder Name GtkEntry has focus
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/collection: 6/54] export-dialog: Ensure that the Folder Name GtkEntry has focus
- Date: Tue, 6 Feb 2018 23:23:41 +0000 (UTC)
commit a3d0816a5fdfe56c3ff8bcdfe5d4047f42d10b34
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Feb 6 20:35:49 2018 +0100
export-dialog: Ensure that the Folder Name GtkEntry has focus
The Name Folder GtkEntry seems to have been getting the focus purely
by accident. Explicitly grabbing it will ensure that it stays that way
and prevent some future change from breaking it.
src/photos-export-dialog.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/photos-export-dialog.c b/src/photos-export-dialog.c
index 4519f3dd..f0b92653 100644
--- a/src/photos-export-dialog.c
+++ b/src/photos-export-dialog.c
@@ -202,6 +202,8 @@ photos_export_dialog_constructed (GObject *object)
photos_export_dialog_guess_sizes,
self);
}
+
+ gtk_widget_grab_focus (self->dir_entry);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]