diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-17 09:36:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-17 09:36:11 +0800 |
commit | 28b28bf057056d2aa28458b322319bf679608ae5 (patch) | |
tree | 12a503769283c9124ecfb1c97d4727d458034d30 /shell/e-shell-view.h | |
parent | fd3514c75ff7f2aeb2d904015b984796205a05fe (diff) | |
download | gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.gz gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.zst gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.zip |
Write the algorithm for sorting items in the "New" menu. Not yet tested.
svn path=/branches/kill-bonobo/; revision=36004
Diffstat (limited to 'shell/e-shell-view.h')
-rw-r--r-- | shell/e-shell-view.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h index 641eed6406..5f1be6fa7d 100644 --- a/shell/e-shell-view.h +++ b/shell/e-shell-view.h @@ -60,6 +60,7 @@ struct _EShellViewClass { const gchar *label; const gchar *icon_name; + GtkWidget * (*create_new_menu) (EShellView *shell_view); GtkWidget * (*get_content_widget) (EShellView *shell_view); GtkWidget * (*get_sidebar_widget) (EShellView *shell_view); GtkWidget * (*get_status_widget) (EShellView *shell_view); @@ -69,11 +70,21 @@ GType e_shell_view_get_type (void); const gchar * e_shell_view_get_title (EShellView *shell_view); void e_shell_view_set_title (EShellView *shell_view, const gchar *title); -GtkWindow * e_shell_view_get_window (EShellView *shell_view); +GtkWidget * e_shell_view_get_window (EShellView *shell_view); +GtkWidget * e_shell_view_create_new_menu (EShellView *shell_view); GtkWidget * e_shell_view_get_content_widget (EShellView *shell_view); GtkWidget * e_shell_view_get_sidebar_widget (EShellView *shell_view); GtkWidget * e_shell_view_get_status_widget (EShellView *shell_view); +void e_shell_view_register_new_item_actions + (EShellView *shell_view, + const GtkActionEntry *entries, + guint n_entries); +void e_shell_view_register_new_source_actions + (EShellView *shell_view, + const GtkActionEntry *entries, + guint n_entries); + G_END_DECLS #endif /* E_SHELL_VIEW_H */ |