aboutsummaryrefslogtreecommitdiff
path: root/panel
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-16 21:22:52 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-16 21:22:52 -0600
commit6f2e235e660094f6ec27a0a099428ac3fe852ff7 (patch)
treecb22e66d926a9dd5c9f436458b3d9c44aa643977 /panel
parent83dcdd840483c9183fcd500b0f63d1d011da90bf (diff)
downloadayatana-indicator-datetime-6f2e235e660094f6ec27a0a099428ac3fe852ff7.tar.gz
ayatana-indicator-datetime-6f2e235e660094f6ec27a0a099428ac3fe852ff7.tar.bz2
ayatana-indicator-datetime-6f2e235e660094f6ec27a0a099428ac3fe852ff7.zip
sync with utils
Diffstat (limited to 'panel')
-rw-r--r--panel/datetime-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/panel/datetime-prefs.c b/panel/datetime-prefs.c
index 90f9e79..3e7fc3c 100644
--- a/panel/datetime-prefs.c
+++ b/panel/datetime-prefs.c
@@ -220,7 +220,7 @@ toggle_ntp (GtkWidget * radio, GParamSpec * pspec G_GNUC_UNUSED, IndicatorDateti
static void
sync_entry (IndicatorDatetimePanel * self, const gchar * location)
{
- gchar * name = get_current_zone_name (location, self->priv->settings);
+ gchar * name = get_timezone_name (location, self->priv->settings);
gtk_entry_set_text (GTK_ENTRY (self->priv->tz_entry), name);
g_free (name);
@@ -635,7 +635,7 @@ entry_focus_out (GtkEntry * entry,
gchar * zone;
g_object_get (location, "zone", &zone, NULL);
- gchar * name = get_current_zone_name (zone, self->priv->settings);
+ gchar * name = get_timezone_name (zone, self->priv->settings);
gboolean correct = (g_strcmp0 (gtk_entry_get_text (entry), name) == 0);
g_free (name);
g_free (zone);