diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-03-21 09:27:04 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-03-21 09:27:04 +0800 |
commit | b76bf69d8db9267bd8ab3760c46c893598a1dd44 (patch) | |
tree | 294684300a405b95cd2cb09b61f17c5385950047 /shell/e-shell-view.h | |
parent | 3a392efcc529c62923c7f40019004912c71aacf7 (diff) | |
download | gsoc2013-evolution-b76bf69d8db9267bd8ab3760c46c893598a1dd44.tar.gz gsoc2013-evolution-b76bf69d8db9267bd8ab3760c46c893598a1dd44.tar.zst gsoc2013-evolution-b76bf69d8db9267bd8ab3760c46c893598a1dd44.zip |
New private field in EShellView added, which contains the notebook and a
* shell/e-shell-view.h: New private field in EShellView added,
which contains the notebook and a hashtable of folders to views.
* shell/e-shell-view.c (e_shell_view_set_view): Instead of
creating a new control every time we set the view, we now keep our
controls in a notebook. This function now switches to the correct
notebook page, or creates a new page/control as necessary.
(e_shell_view_new): Creates and inserts the notebook into the
shell.
svn path=/trunk/; revision=2122
Diffstat (limited to 'shell/e-shell-view.h')
-rw-r--r-- | shell/e-shell-view.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h index 5f5c5d39c6..3045b7adb7 100644 --- a/shell/e-shell-view.h +++ b/shell/e-shell-view.h @@ -11,6 +11,8 @@ #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; @@ -22,13 +24,13 @@ struct _EShellView { EFolder *efolder; -/* - * - */ - char shortcut_displayed; + + gboolean shortcut_displayed; GtkWidget *shortcut_hpaned; GtkWidget *shortcut_bar; GtkWidget *contents; + + EShellViewPrivate *priv; }; typedef struct { |