Escape room name for gtk/pango
This commit is contained in:
parent
9b4b19f1df
commit
c810c61c41
|
@ -21,6 +21,7 @@
|
|||
##
|
||||
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
import gtk
|
||||
import gtk.glade
|
||||
|
@ -1034,9 +1035,10 @@ class GroupchatControl(ChatControlBase):
|
|||
sectext = _('If you close this window, you will be disconnected '
|
||||
'from this room.')
|
||||
|
||||
escaped_name = re.subn("_", "__", self.name)[0]
|
||||
dialog = dialogs.ConfirmationDialogCheck(pritext, sectext,
|
||||
_('Do _not ask me about closing "%s" again' %\
|
||||
self.name))
|
||||
escaped_name))
|
||||
|
||||
if dialog.get_response() != gtk.RESPONSE_OK:
|
||||
retval = False
|
||||
|
|
Loading…
Reference in New Issue