summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-10-29 18:44:15 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-29 18:44:15 +0000
commit326f771536de9e9b621a211161827a2f02d43c5e (patch)
tree0689a9ffc57d5240c962fac4712e4dcca26de5f4 /gtk/gtkfilesel.c
parentededbc646c89796edb0f84a89dd4efd4714262d6 (diff)
downloadgdk-pixbuf-326f771536de9e9b621a211161827a2f02d43c5e.tar.gz
Grab the focus to the fileop entry for create dir / rename file.
Mon Oct 29 12:27:51 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab the focus to the fileop entry for create dir / rename file.
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 902272b14..5c7f255dd 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -1328,6 +1328,8 @@ gtk_file_selection_create_dir (GtkWidget *widget,
gtk_widget_grab_default (button);
gtk_widget_show (button);
+ gtk_widget_grab_focus (fs->fileop_entry);
+
gtk_widget_show (dialog);
}
@@ -1608,6 +1610,8 @@ gtk_file_selection_rename_file (GtkWidget *widget,
gtk_widget_grab_default (button);
gtk_widget_show (button);
+ gtk_widget_grab_focus (fs->fileop_entry);
+
gtk_widget_show (dialog);
}