From df0638989774934a9553d3355decd3e5ccaece83 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 27 Aug 2010 13:28:09 +0200 Subject: =?UTF-8?q?new-chatroom-dialog:=C2=A0remove=C2=A0markup=C2=A0from?= =?UTF-8?q?=C2=A0transltable=C2=A0string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/empathy-new-chatroom-dialog.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 ("%s", 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 (_("%s\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) ? -- cgit v1.2.3