diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-31 17:41:27 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-31 17:41:27 +0200 |
commit | af83d5e0ad16d957f17662e25d414d7bac02602d (patch) | |
tree | 268211d112d8f16cc2c61d5afa8b7d1a8013f6d7 /src | |
parent | 6b55af3639307b6b13a8466a7e343308d8ebaea7 (diff) | |
download | abrt-af83d5e0ad16d957f17662e25d414d7bac02602d.tar.gz abrt-af83d5e0ad16d957f17662e25d414d7bac02602d.tar.xz abrt-af83d5e0ad16d957f17662e25d414d7bac02602d.zip |
GUI: enabled doubleclick on dump in mainwindow
Diffstat (limited to 'src')
-rw-r--r-- | src/Gui/CCMainWindow.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 2b1dc784..8c687d0b 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -102,6 +102,7 @@ class MainWindow(): column.set_resizable(True) #connect signals self.dlist.connect("cursor-changed", self.on_tvDumps_cursor_changed) + self.dlist.connect("row-activated", self.on_dumpRowActivated) self.wTree.get_widget("bDelete").connect("clicked", self.on_bDelete_clicked, self.dlist) self.wTree.get_widget("bReport").connect("clicked", self.on_bReport_clicked) self.wTree.get_widget("miQuit").connect("activate", self.on_bQuit_clicked) @@ -284,8 +285,12 @@ class MainWindow(): #print "got another crash, refresh gui?" def on_bReport_clicked(self, button): - # FIXME don't duplicate the code, move to function dumpsListStore, path = self.dlist.get_selection().get_selected_rows() + self.on_dumpRowActivated(self.dlist, None, path, None) + + def on_dumpRowActivated(self, treeview, iter, path, user_data=None): + # FIXME don't duplicate the code, move to function + dumpsListStore, path = treeview.get_selection().get_selected_rows() if not path: return self.update_pBar = False |