aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-presence-chooser.c
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-11 00:53:46 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-04-11 00:53:46 +0800
commit9f8a30bbd4f896f12354d1f627f4b6563c1d846a (patch)
treec74e2f1a389f7abbe9372174d1db3d346be08495 /libempathy-gtk/empathy-presence-chooser.c
parent26b2f0398ec9fa30d55c4774100d94bae11a372f (diff)
downloadgsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar.gz
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar.bz2
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar.lz
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar.xz
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.tar.zst
gsoc2013-empathy-9f8a30bbd4f896f12354d1f627f4b6563c1d846a.zip
Add a tooltip, mark user visible strings for translation
From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2778
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 9359199eb..43aad33c5 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -227,7 +227,7 @@ set_status_editing (EmpathyPresenceChooser *self, gboolean editing)
GTK_STOCK_OK);
gtk_entry_set_icon_tooltip_text (GTK_ENTRY (entry),
GTK_ENTRY_ICON_SECONDARY,
- "Set status");
+ _("Set status"));
gtk_entry_set_icon_sensitive (GTK_ENTRY (entry),
GTK_ENTRY_ICON_PRIMARY,
FALSE);
@@ -437,6 +437,11 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
g_signal_connect_swapped (priv->idle, "notify",
G_CALLBACK (presence_chooser_presence_changed_cb),
chooser);
+
+ g_object_set (chooser,
+ // FIXME: this string sucks
+ "tooltip-text", _("Set your presence and current status"),
+ NULL);
}
static void