
+ + * 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
58 lines
1.6 KiB
C
58 lines
1.6 KiB
C
#ifndef E_SHELL_VIEW_H
|
|
#define E_SHELL_VIEW_H
|
|
|
|
#include <bonobo/bonobo-object.h>
|
|
#include <bonobo/bonobo-ui-handler.h>
|
|
#include "e-shell.h"
|
|
#include "e-util/e-paned.h"
|
|
|
|
#define E_SHELL_VIEW_TYPE (e_shell_view_get_type ())
|
|
#define E_SHELL_VIEW(o) (GTK_CHECK_CAST ((o), E_SHELL_VIEW_TYPE, EShellView))
|
|
#define E_SHELL_VIEW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_SHELL_VIEW_TYPE, EShellViewClass))
|
|
#define E_IS_SHELL_VIEW(o) (GTK_CHECK_TYPE ((o), E_SHELL_VIEW_TYPE))
|
|
#define E_IS_SHELL_VIEW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_SHELL_VIEW_TYPE))
|
|
|
|
typedef struct _EShellViewPrivate EShellViewPrivate;
|
|
|
|
struct _EShellView {
|
|
GnomeApp parent;
|
|
|
|
/* Pointer to our model */
|
|
EShell *eshell;
|
|
|
|
/* Our user interface handler */
|
|
BonoboUIHandler *uih;
|
|
|
|
|
|
EFolder *efolder;
|
|
|
|
gboolean shortcut_displayed;
|
|
GtkWidget *hpaned;
|
|
GtkWidget *shortcut_bar;
|
|
GtkWidget *treeview;
|
|
GtkWidget *contents;
|
|
|
|
EShellViewPrivate *priv;
|
|
};
|
|
|
|
typedef struct {
|
|
GnomeAppClass parent_class;
|
|
} EShellViewClass;
|
|
|
|
GtkWidget *e_shell_view_new (EShell *eshell, EFolder *folder,
|
|
gboolean show_shortcut_bar);
|
|
GtkType e_shell_view_get_type (void);
|
|
|
|
void e_shell_view_new_folder (EShellView *esv);
|
|
void e_shell_view_new_shortcut (EShellView *esv);
|
|
|
|
void e_shell_view_set_view (EShellView *eshell_view,
|
|
EFolder *efolder);
|
|
|
|
void e_shell_view_toggle_shortcut_bar (EShellView *eshell_view);
|
|
void e_shell_view_toggle_treeview (EShellView *eshell_view);
|
|
|
|
void e_shell_view_display_shortcut_bar (EShellView *eshell_view, gboolean display);
|
|
|
|
#endif /* E_SHELL_VIEW_H */
|