aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-15 13:44:12 -0500
committerMichael Terry <mike@mterry.name>2011-02-15 13:44:12 -0500
commitd0f273eb94489f7c0e0c8b57c1d07c3f1a2f66a2 (patch)
tree68d60ae1d9675d9a46b5b27e6e0510e065d2927c
parent09bfd842c5834c2e20731eec340210b8ef2158a0 (diff)
downloadayatana-indicator-datetime-d0f273eb94489f7c0e0c8b57c1d07c3f1a2f66a2.tar.gz
ayatana-indicator-datetime-d0f273eb94489f7c0e0c8b57c1d07c3f1a2f66a2.tar.bz2
ayatana-indicator-datetime-d0f273eb94489f7c0e0c8b57c1d07c3f1a2f66a2.zip
fix typo so timezone labels show up
-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 a9b77b9..6c9ac55 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1253,14 +1253,14 @@ new_timezone_item(DbusmenuMenuitem * newitem,
gtk_widget_show(mi_data->radio);
/* Label, probably a username, chat room or mailbox name */
- mi_data->label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, APPOINTMENT_MENUITEM_PROP_LABEL));
+ mi_data->label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, TIMEZONE_MENUITEM_PROP_LABEL));
gtk_misc_set_alignment(GTK_MISC(mi_data->label), 0.0, 0.5);
gtk_box_pack_start(GTK_BOX(hbox), mi_data->label, TRUE, TRUE, 0);
gtk_widget_show(mi_data->label);
/* Usually either the time or the count on the individual
item. */
- mi_data->right = gtk_label_new(dbusmenu_menuitem_property_get(newitem, APPOINTMENT_MENUITEM_PROP_RIGHT));
+ mi_data->right = gtk_label_new(dbusmenu_menuitem_property_get(newitem, TIMEZONE_MENUITEM_PROP_RIGHT));
gtk_size_group_add_widget(indicator_right_group, mi_data->right);
gtk_misc_set_alignment(GTK_MISC(mi_data->right), 1.0, 0.5);
gtk_box_pack_start(GTK_BOX(hbox), mi_data->right, FALSE, FALSE, 0);