aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-18 02:09:05 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-18 02:09:05 +0800
commit9d6b2a1c6ad4d96388637e30f96523390aa58de2 (patch)
treed7c6f5dfbba38e29383df02d035a017015d1d17f
parentf921268b14138d2f36a6322cbaa2f676967a8a98 (diff)
downloadgsoc2013-evolution-9d6b2a1c6ad4d96388637e30f96523390aa58de2.tar.gz
gsoc2013-evolution-9d6b2a1c6ad4d96388637e30f96523390aa58de2.tar.zst
gsoc2013-evolution-9d6b2a1c6ad4d96388637e30f96523390aa58de2.zip
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
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-folder-selection-dialog.c5
2 files changed, 12 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index e6a18e7814..0db4d162da 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2001-01-17 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* e-shell-view.c (update_for_current_uri): Display the folder name
before "Evolution" instead of after it. Also, display the
sub-version string if it was defined when configuring.
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);
}
/**