aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 19:28:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 19:35:29 +0800
commitdf0638989774934a9553d3355decd3e5ccaece83 (patch)
tree9948c2df7c61bdd446acc1abb5050ba0ff4ca771
parentcb6f0691b1129d7ba2e5d88147733b8e87241ad5 (diff)
downloadgsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar.gz
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar.bz2
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar.lz
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar.xz
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.tar.zst
gsoc2013-empathy-df0638989774934a9553d3355decd3e5ccaece83.zip
new-chatroom-dialog: remove markup from transltable string
-rw-r--r--src/empathy-new-chatroom-dialog.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index 63e766449..3808daacc 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -590,6 +590,7 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
gchar *tooltip;
const gchar *need_password;
const gchar *invite_only;
+ gchar *tmp;
DEBUG ("New chatroom listed: %s (%s)",
empathy_chatroom_get_name (chatroom),
@@ -600,13 +601,15 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
selection = gtk_tree_view_get_selection (view);
store = GTK_LIST_STORE (dialog->model);
members = g_strdup_printf ("%d", empathy_chatroom_get_members_count (chatroom));
+ tmp = g_strdup_printf ("<b>%s</b>", empathy_chatroom_get_name (chatroom));
/* Translators: Room/Join's roomlist tooltip. Parameters are a channel name,
yes/no, yes/no and a number. */
- tooltip = g_strdup_printf (_("<b>%s</b>\nInvite required: %s\nPassword required: %s\nMembers: %s"),
- empathy_chatroom_get_name (chatroom),
+ tooltip = g_strdup_printf (_("%s\nInvite required: %s\nPassword required: %s\nMembers: %s"),
+ tmp,
empathy_chatroom_get_invite_only (chatroom) ? _("Yes") : _("No"),
empathy_chatroom_get_need_password (chatroom) ? _("Yes") : _("No"),
members);
+ g_free (tmp);
invite_only = (empathy_chatroom_get_invite_only (chatroom) ?
GTK_STOCK_INDEX : NULL);
need_password = (empathy_chatroom_get_need_password (chatroom) ?