summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-31 17:41:27 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-31 17:41:27 +0200
commitaf83d5e0ad16d957f17662e25d414d7bac02602d (patch)
tree268211d112d8f16cc2c61d5afa8b7d1a8013f6d7 /src/Gui
parent6b55af3639307b6b13a8466a7e343308d8ebaea7 (diff)
downloadabrt-af83d5e0ad16d957f17662e25d414d7bac02602d.tar.gz
abrt-af83d5e0ad16d957f17662e25d414d7bac02602d.tar.xz
abrt-af83d5e0ad16d957f17662e25d414d7bac02602d.zip
GUI: enabled doubleclick on dump in mainwindow
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCMainWindow.py7
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