Changed toolbar button to Toggles.

Added behavior in GcalToolbar to manage the toogling mode of the view buttons
Added parameter in gcal_window_new to set the view-type initially.
This commit is contained in:
Erick Pérez Castellanos
2012-07-13 09:27:31 -04:00
parent f462712227
commit 08f5e46513
5 changed files with 89 additions and 30 deletions
+5 -2
View File
@@ -62,8 +62,11 @@ GType gcal_toolbar_get_type (void) G_GNUC_CONST;
ClutterActor* gcal_toolbar_new (void);
void gcal_toolbar_set_mode (GcalToolbar *toolbar,
GcalToolbarMode mode);
void gcal_toolbar_set_mode (GcalToolbar *toolbar,
GcalToolbarMode mode);
void gcal_toolbar_set_active_view (GcalToolbar *toolbar,
GcalWindowViewType view_type);
G_END_DECLS