diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-03-17 14:03:52 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-03-17 14:03:52 +0100 |
commit | 28f200449d9009667b428976a74eefc9094d376f (patch) | |
tree | 86cc77a14b46a2ac0f3d3ef0c39f22de23c2e69c | |
parent | e7f9a93381bb3021cbeabf2eb51e68b6743c07c7 (diff) | |
download | abrt-28f200449d9009667b428976a74eefc9094d376f.tar.gz abrt-28f200449d9009667b428976a74eefc9094d376f.tar.xz abrt-28f200449d9009667b428976a74eefc9094d376f.zip |
GUI: fixed crash count column sorting rhbz#573139
-rw-r--r-- | src/Gui/CCDump.py | 2 | ||||
-rw-r--r-- | src/Gui/CCMainWindow.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Gui/CCDump.py b/src/Gui/CCDump.py index 1b06caa7..fe903845 100644 --- a/src/Gui/CCDump.py +++ b/src/Gui/CCDump.py @@ -63,7 +63,7 @@ class Dump(): return self.uid[CD_CONTENT] def getCount(self): - return self.Count[CD_CONTENT] + return int(self.Count[CD_CONTENT]) def getExecutable(self): return self.executable[CD_CONTENT] diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 74e61ba0..8e8d6939 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -59,7 +59,7 @@ class MainWindow(): UNIX_TIME_COL = 7 DUMP_OBJECT_COL = 8 #icon, package_name, application, date, crash_rate, user, is_reported, time_in_sec ?object? - self.dumpsListStore = gtk.ListStore(gtk.gdk.Pixbuf, str,str,str,str,str,bool, int, object) + self.dumpsListStore = gtk.ListStore(gtk.gdk.Pixbuf, str,str,str,int,str,bool, int, object) self.dlist.set_model(self.dumpsListStore) # add pixbuff separatelly icon_column = gtk.TreeViewColumn(_("Icon")) |