From 929dd21b5b07e5700ddcd1f83e2a21e1f8611cb4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Jul 2010 09:40:50 -0500 Subject: Adding in an update on changing the format string. --- src/indicator-datetime.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index 5bbfd48..c0a682d 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -132,6 +132,8 @@ static GtkMenu * get_menu (IndicatorObject * io); static GVariant * bind_enum_set (const GValue * value, const GVariantType * type, gpointer user_data); static gboolean bind_enum_get (GValue * value, GVariant * variant, gpointer user_data); static gchar * generate_format_string (IndicatorDatetime * self); +static void update_label (IndicatorDatetime * io); +static void guess_label_size (IndicatorDatetime * self); /* Indicator Module Config */ INDICATOR_SET_VERSION @@ -432,7 +434,8 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec self->priv->time_string = newformat; /* And update everything */ - /* TODO: Update everything */ + update_label(self); + guess_label_size(self); return; } -- cgit v1.2.3