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/ChangeLog | 6 ++++++ shell/e-shell-folder-selection-dialog.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index ecb28973e7..48095961a6 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-08-12 Ettore Perazzoli + + * e-shell-folder-selection-dialog.c + (e_shell_folder_selection_dialog_construct): Grab focus on the + storage set view. + 2001-08-12 Ettore Perazzoli * e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the 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