empathy r2778 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Apr 10 16:53:46 2009
New Revision: 2778
URL: http://svn.gnome.org/viewvc/empathy?rev=2778&view=rev

Log:
Add a tooltip, mark user visible strings for translation

From: Davyd Madeley <davyd madeley id au>

Modified:
   trunk/libempathy-gtk/empathy-presence-chooser.c

Modified: trunk/libempathy-gtk/empathy-presence-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-presence-chooser.c	(original)
+++ trunk/libempathy-gtk/empathy-presence-chooser.c	Fri Apr 10 16:53:46 2009
@@ -227,7 +227,7 @@
 				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 @@
 	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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]