summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCMainWindow.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-10-22 15:32:53 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-10-22 15:32:53 +0200
commit038b9a3473f56dcf80cf5eb053f8cefcc0ef5f01 (patch)
tree3092861eb103aab0aef416b6efe0c8f0c6d6e91c /src/Gui/CCMainWindow.py
parent326f6403b29aa2e2932826dc6facb567ebac8ab7 (diff)
downloadabrt-038b9a3473f56dcf80cf5eb053f8cefcc0ef5f01.tar.gz
abrt-038b9a3473f56dcf80cf5eb053f8cefcc0ef5f01.tar.xz
abrt-038b9a3473f56dcf80cf5eb053f8cefcc0ef5f01.zip
GUI: make the newest dump selected
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r--src/Gui/CCMainWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index eee6884..e68d2fb 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -210,7 +210,8 @@ class MainWindow():
entry.getTime("%c"), entry.getCount(), entry.isReported(), entry])
# activate the last row if any..
if n:
- self.dlist.set_cursor(self.dumpsListStore.get_path(n))
+ # we can use (0,) as path for the first row, but what if API changes?
+ self.dlist.set_cursor(self.dumpsListStore.get_path(self.dumpsListStore.get_iter_first()))
def filter_dumps(self, model, miter, data):
# for later..