aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-sidebar.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-sidebar.h')
-rw-r--r--shell/e-sidebar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-sidebar.h b/shell/e-sidebar.h
index e224698346..fc4b782c96 100644
--- a/shell/e-sidebar.h
+++ b/shell/e-sidebar.h
@@ -36,6 +36,11 @@ typedef struct _ESidebar ESidebar;
typedef struct _ESidebarPrivate ESidebarPrivate;
typedef struct _ESidebarClass ESidebarClass;
+typedef enum {
+ E_SIDEBAR_MODE_TEXT,
+ E_SIDEBAR_MODE_ICON
+} ESidebarMode;
+
struct _ESidebar {
GtkContainer parent;
@@ -63,4 +68,8 @@ void e_sidebar_add_button (ESidebar *sidebar,
void e_sidebar_select_button (ESidebar *sidebar,
int id);
+ESidebarMode e_sidebar_get_mode (ESidebar *sidebar);
+void e_sidebar_set_mode (ESidebar *sidebar, ESidebarMode mode);
+
+
#endif /* _E_SIDEBAR_H_ */