diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-04-24 11:10:30 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-04-24 11:10:30 +0800 |
commit | 7c309e43b25b9de136c5329d7fc041baeaf841c6 (patch) | |
tree | a97f3dbc1e924cbd1f6e2caa66ebffb337cc1b58 /e-util/e-paned.h | |
parent | 0fe51af01075beb777894bacca9e98aeef3f860a (diff) | |
download | gsoc2013-evolution-7c309e43b25b9de136c5329d7fc041baeaf841c6.tar.gz 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 'e-util/e-paned.h')
-rw-r--r-- | e-util/e-paned.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/e-util/e-paned.h b/e-util/e-paned.h new file mode 100644 index 0000000000..df981ca7f8 --- /dev/null +++ b/e-util/e-paned.h @@ -0,0 +1,45 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +#ifndef __E_PANED_H__ +#define __E_PANED_H__ + +#include <gdk/gdk.h> +#include <gtk/gtkframe.h> +#include <gtk/gtkhpaned.h> +#include <gtk/gtkvpaned.h> + + +#define E_PANED_TYPE (e_paned_get_type ()) +#define E_PANED(obj) (GTK_CHECK_CAST ((obj), E_PANED_TYPE, EPaned)) +#define E_PANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_PANED_TYPE, EPanedClass)) +#define E_IS_PANED(obj) (GTK_CHECK_TYPE ((obj), E_PANED_TYPE)) +#define E_IS_PANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_PANED_TYPE)) + + +typedef struct _EPaned EPaned; +typedef struct _EPanedClass EPanedClass; + + +struct _EPaned +{ + GtkFrame container; + + GList *children; + GtkPaned *toplevel_paned; + gboolean horizontal; +}; + +struct _EPanedClass +{ + GtkFrameClass parent_class; +}; + +void e_paned_insert (EPaned *paned, int pos, GtkWidget *child, + int requested_size); +void e_paned_remove (EPaned *paned, GtkWidget *child); + +GtkWidget *e_paned_new (gboolean horizontal); +void e_paned_construct (EPaned *e_paned, gboolean horizontal); +GtkType e_paned_get_type (void); + +#endif /* __E_PANED_H__ */ |