Made simple-add event work.

Fixed GcalEventOverlay handling of dates.
Added initial code and methods to handle adding events to GcalManager.
Fixed in GcalMonthView handling of dates passed to event-creation.
Fixed gcal-utils sources for gcc warning.
Fixed calling order in GcalWindow.
This commit is contained in:
Erick Pérez Castellanos
2012-08-23 09:43:57 -04:00
parent 45e5eb5222
commit a9da2aa552
7 changed files with 138 additions and 23 deletions
+18 -18
View File
@@ -47,35 +47,35 @@ typedef enum
} GcalEditableMode;
typedef
const gchar* (*GcalTranslateFunc) (GtkWidget *source_widget);
const gchar* (*GcalTranslateFunc) (GtkWidget *source_widget);
GType icaltime_get_type (void) G_GNUC_CONST;
void gcal_gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
gboolean should_activate);
void gcal_gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
gboolean should_activate);
const gchar* gcal_get_group_name (const gchar *base_uri);
const gchar* gcal_get_group_name (const gchar *base_uri);
icaltimetype* gcal_dup_icaltime (icaltimetype *date);
icaltimetype* gcal_dup_icaltime (const icaltimetype *date);
gchar* gcal_get_source_name (GtkTreeModel *model,
const gchar *uid);
gchar* gcal_get_source_name (GtkTreeModel *model,
const gchar *uid);
gchar* gcal_get_source_uid (GtkTreeModel *model,
const gchar *name);
gchar* gcal_get_source_uid (GtkTreeModel *model,
const gchar *name);
const gchar* gcal_get_weekday (gint i);
const gchar* gcal_get_weekday (gint i);
/* code brought from evolution */
gsize e_strftime_fix_am_pm (gchar *str,
gsize max,
const gchar *fmt,
const struct tm *tm);
gsize e_utf8_strftime_fix_am_pm (gchar *str,
gsize e_strftime_fix_am_pm (gchar *str,
gsize max,
const gchar *fmt,
const struct tm *tm);
gsize e_utf8_strftime_fix_am_pm (gchar *str,
gsize max,
const gchar *fmt,
const struct tm *tm);
gsize max,
const gchar *fmt,
const struct tm *tm);
#endif // __GCAL_UTILS_H__