From 988c166c714f4186065faf2efe0d464260512ef6 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 12 Aug 2001 17:32:53 +0000 Subject: Grab focus on the storage set view. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Grab focus on the storage set view. svn path=/trunk/; revision=11937 --- shell/e-shell-folder-selection-dialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-folder-selection-dialog.c') diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index a07fac65e7..213dbd5557 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -378,7 +378,6 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s g_free (filename); - GTK_WIDGET_SET_FLAGS (priv->storage_set_view, GTK_CAN_FOCUS); gtk_signal_connect (GTK_OBJECT (priv->storage_set_view), "double_click", GTK_SIGNAL_FUNC (dbl_click_cb), folder_selection_dialog); @@ -408,6 +407,9 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s gtk_widget_show (priv->storage_set_view); gtk_widget_show (scroll_frame); + + GTK_WIDGET_SET_FLAGS (priv->storage_set_view, GTK_CAN_FOCUS); + gtk_widget_grab_focus (priv->storage_set_view); } /** -- cgit v1.2.3