aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 18:49:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 19:35:29 +0800
commitcb6f0691b1129d7ba2e5d88147733b8e87241ad5 (patch)
tree0215a44ed4705627579bc6f8213d855faf675e65 /libempathy-gtk/empathy-individual-widget.c
parent70159532bf83cb1e8210155b2e968f833fa4dd7e (diff)
downloadgsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar.gz
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar.bz2
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar.lz
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar.xz
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.tar.zst
gsoc2013-empathy-cb6f0691b1129d7ba2e5d88147733b8e87241ad5.zip
remove markups around 'Location'
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.c')
-rw-r--r--libempathy-gtk/empathy-individual-widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 302aa4fb9..8c2604c86 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -585,13 +585,17 @@ location_update (EmpathyIndividualWidget *self)
gchar *text;
gint64 stamp;
time_t time_;
+ gchar *tmp;
stamp = g_value_get_int64 (value);
time_ = stamp;
user_date = empathy_time_to_string_relative (time_);
- text = g_strconcat ( _("<b>Location</b>, "), user_date, NULL);
+ tmp = g_strdup_printf ("<b>%s</b>", _("Location"));
+ /* translators: format is "Location, $date" */
+ text = g_strdup_printf (_("%s, %s"), tmp, user_date);
+ g_free (tmp);
gtk_label_set_markup (GTK_LABEL (priv->label_location), text);
g_free (user_date);
g_free (text);