Glue code for using those editable widgets.

Added GcalEventWidget::activated signal.
Fixed bug in GcalMonthView preventing to get button events.
Added methods in GcalUtils from Evo for formatting time.
..and stuff
This commit is contained in:
Erick Pérez Castellanos
2012-07-03 15:20:00 -04:00
parent 5c47b9312c
commit 39ed044ca5
6 changed files with 312 additions and 39 deletions
+8 -6
View File
@@ -38,6 +38,14 @@ typedef struct _GcalEventWidget GcalEventWidget;
typedef struct _GcalEventWidgetClass GcalEventWidgetClass;
typedef struct _GcalEventWidgetPrivate GcalEventWidgetPrivate;
struct _GcalEventWidgetClass
{
GtkWidgetClass parent_class;
/* signals */
void (*activated) (GcalEventWidget *event_widget);
};
struct _GcalEventWidget
{
GtkWidget parent;
@@ -45,12 +53,6 @@ struct _GcalEventWidget
GcalEventWidgetPrivate *priv;
};
struct _GcalEventWidgetClass
{
GtkWidgetClass parent_class;
};
GType gcal_event_widget_get_type (void);
GtkWidget* gcal_event_widget_new (gchar *uuid);