From 9d6b2a1c6ad4d96388637e30f96523390aa58de2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 17 Jan 2001 18:09:05 +0000 Subject: Make the folder selection dialog use the right bevel for the scroll frame, and make it grab the focus as soon as it's shown. (For some reason, it doesn't seem to work though.) svn path=/trunk/; revision=7588 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-folder-selection-dialog.c | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index e6a18e7814..0db4d162da 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-01-17 Ettore Perazzoli + + * e-shell-folder-selection-dialog.c + (e_shell_folder_selection_dialog_construct): Set the shadow type + for the EScrollFrame. Also, make the EStorageSetView widget grab + the focus. For some reason it doesnt' seem to work, but I'll + blame ETree for now. + 2001-01-17 Ettore Perazzoli * e-shell-view.c (update_for_current_uri): Display the folder name diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 525c950563..6c3e429a83 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -1,7 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* e-shell-folder-selection-dialog.c * - * Copyright (C) 2000 Helix Code, Inc. + * Copyright (C) 2000, 2001 Ximian, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -326,6 +326,7 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s set_default_folder (folder_selection_dialog, default_uri); scroll_frame = e_scroll_frame_new (NULL, NULL); + e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (scroll_frame), GTK_SHADOW_IN); e_scroll_frame_set_policy (E_SCROLL_FRAME (scroll_frame), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); @@ -336,6 +337,8 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s gtk_widget_show (scroll_frame); gtk_widget_show (priv->storage_set_view); + + gtk_widget_grab_focus (priv->storage_set_view); } /** -- cgit