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:
+6
-4
@@ -21,6 +21,7 @@
|
||||
#define __GCAL_WINDOW_H__
|
||||
|
||||
#include "gcal-application.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
@@ -53,12 +54,13 @@ struct _GcalWindowClass
|
||||
|
||||
GType gcal_window_get_type (void);
|
||||
|
||||
GtkWidget* gcal_window_new (GcalApplication *app);
|
||||
GtkWidget* gcal_window_new_with_view (GcalApplication *app,
|
||||
GcalWindowViewType view_type);
|
||||
|
||||
void gcal_window_show_notification (GcalWindow *window,
|
||||
GtkWidget *notification);
|
||||
void gcal_window_show_notification (GcalWindow *window,
|
||||
GtkWidget *notification);
|
||||
|
||||
void gcal_window_hide_notification (GcalWindow *window);
|
||||
void gcal_window_hide_notification (GcalWindow *window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user