Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable gdialog: changed layout of SimpleMessage

Some translated titles are larger than the messages and they
are truncated.

Changeset cad3c95b26d8

Parent 9acefcc18690

by Giampaolo Fadel

Changes to one file · Browse files at cad3c95b26d8 Showing diff from parent 9acefcc18690 Diff from another changeset...

 
33
34
35
36
37
 
 
 
38
39
40
 
33
34
35
 
 
36
37
38
39
40
41
@@ -33,8 +33,9 @@
  def __init__(self, title, message, parent, type=gtk.MESSAGE_INFO):   SimpleMessage.__init__(self, parent, gtk.DIALOG_MODAL,   type, gtk.BUTTONS_CLOSE) - self.set_title(hglib.toutf(title)) - self.set_markup('<b>' + hglib.toutf(message) + '</b>') + self.set_title(_('TortoiseHG')) + self.set_markup('<b>' + hglib.toutf(title) + '</b>') + self.format_secondary_markup(hglib.toutf(message))   mod = gtklib.get_thg_modifier()   key, modifier = gtk.accelerator_parse(mod+'Return')   accel_group = gtk.AccelGroup()