Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

Merge with self

Changeset 149ae31c9c84

Parents 3372580e0163

Parents f6009be3d5ad

by Steve Borho

Changes to one file · Browse files at 149ae31c9c84 Showing diff from parent 3372580e0163 f6009be3d5ad Diff from another changeset...

 
40
41
42
43
44
45
 
 
 
 
 
 
46
47
48
 
40
41
42
 
 
 
43
44
45
46
47
48
49
50
51
@@ -40,9 +40,12 @@
  key, modifier = gtk.accelerator_parse(mod+'Return')   accel_group = gtk.AccelGroup()   self.add_accel_group(accel_group) - buttons = self.get_children()[0].get_children()[1].get_children() - buttons[0].add_accelerator('clicked', accel_group, key, - modifier, gtk.ACCEL_VISIBLE) + try: + buttons = self.get_children()[0].get_children()[1].get_children() + buttons[0].add_accelerator('clicked', accel_group, key, + modifier, gtk.ACCEL_VISIBLE) + except IndexError: + pass    class CustomPrompt(gtk.MessageDialog):   ''' Custom prompt dialog. Provide a list of choices with ampersands