aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-02-07 10:35:58 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-02-07 10:35:58 +0000
commit2b9d7908ec2117de20887ebda1baca1049a54e87 (patch)
tree54f40d832c626c691c52703140152455b8a2ed99 /src/indicator-datetime.c
parentb4f0c229fe3f6b1c74bff1caf3aca774a1c0e0f6 (diff)
downloadayatana-indicator-datetime-2b9d7908ec2117de20887ebda1baca1049a54e87.tar.gz
ayatana-indicator-datetime-2b9d7908ec2117de20887ebda1baca1049a54e87.tar.bz2
ayatana-indicator-datetime-2b9d7908ec2117de20887ebda1baca1049a54e87.zip
Updated datetime service slightly to draw coloured dots for evolution colours, evolution is still slightly broken at doing it's part here and returns null colours.
Updated configure.ac (hope this doesn't break merge), and added the radio menu item with a right aligned time to the indicator so we can have location/timezone entries.
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 20485e5..1f61864 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1236,9 +1236,9 @@ new_timezone_item(DbusmenuMenuitem * newitem,
mi_data->radio = gtk_radio_button_new(location_group);
if (location_group == NULL)
- location_group = gtk_radio_button_get_group(mi_data->radio);
+ location_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(mi_data->radio));
- gtk_toggle_button_set_active(mi_data->radio,
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mi_data->radio),
dbusmenu_menuitem_property_get_bool(newitem, TIMEZONE_MENUITEM_PROP_RADIO));
gtk_box_pack_start(GTK_BOX(hbox), mi_data->radio, FALSE, FALSE, 0);