aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-04-24 11:10:30 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-04-24 11:10:30 +0800
commit7c309e43b25b9de136c5329d7fc041baeaf841c6 (patch)
treea97f3dbc1e924cbd1f6e2caa66ebffb337cc1b58 /shell/e-shell-view-menu.c
parent0fe51af01075beb777894bacca9e98aeef3f860a (diff)
downloadgsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.gz
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.bz2
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.lz
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.xz
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.zst
gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.zip
+ * 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
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c19
1 files changed, 19 insertions, 0 deletions
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
};