Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

status: do not re-register our custom signal to gtk.TreeView

Changeset 34cca6c1326c

Parent 3025747aaf2b

by Steve Borho

Changes to one file · Browse files at 34cca6c1326c Showing diff from parent 3025747aaf2b Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
339
340
341
342
343
 
 
 
344
345
346
 
339
340
341
 
 
342
343
344
345
346
347
@@ -339,8 +339,9 @@
    # Create a new signal for our purposes   newsigname = 'copy-clipboard' - gobject.signal_new(newsigname, gtk.TreeView, - gobject.SIGNAL_ACTION, gobject.TYPE_NONE, ()) + if newsigname not in gobject.signal_list_names(gtk.TreeView): + gobject.signal_new(newsigname, gtk.TreeView, + gobject.SIGNAL_ACTION, gobject.TYPE_NONE, ())     self.diff_tree = gtk.TreeView(self.diff_model)   self.diff_tree.connect(newsigname, self.copy_to_clipboard)