From 7c309e43b25b9de136c5329d7fc041baeaf841c6 Mon Sep 17 00:00:00 2001 From: Matthew Loper Date: Mon, 24 Apr 2000 03:10:30 +0000 Subject: + * widgets/Makefile.am: Added e-paned directory. + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575 --- shell/e-shell-view-menu.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'shell/e-shell-view-menu.c') diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 8e8231d774..29f3db1376 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -92,6 +92,19 @@ esv_cmd_close_open_items (GtkWidget *widget, EShellView *esv) printf ("Unimplemented function"); } +static void +esv_cmd_toggle_shortcut_bar (GtkWidget *widget, EShellView *esv) +{ + e_shell_view_toggle_shortcut_bar (esv); +} + +static void +esv_cmd_toggle_treeview (GtkWidget *widget, EShellView *esv) +{ + e_shell_view_toggle_treeview (esv); +} + + /* * Fixme * @@ -182,6 +195,12 @@ static GnomeUIInfo esv_menu_edit [] = { }; static GnomeUIInfo esv_menu_view [] = { + { GNOME_APP_UI_ITEM, N_("_Toggle Shortcut Bar"), + N_("Toggles the shortcut bar"), esv_cmd_toggle_shortcut_bar, NULL, + NULL, 0, 0, 'n', GDK_CONTROL_MASK | GDK_SHIFT_MASK }, + { GNOME_APP_UI_ITEM, N_("_Toggle Treeview"), + N_("Toggles the tree view"), esv_cmd_toggle_treeview, NULL, + NULL, 0, 0, 'n', GDK_CONTROL_MASK | GDK_SHIFT_MASK }, GNOMEUIINFO_END }; -- cgit v1.2.3