From 28f200449d9009667b428976a74eefc9094d376f Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 17 Mar 2010 14:03:52 +0100 Subject: GUI: fixed crash count column sorting rhbz#573139 --- src/Gui/CCDump.py | 2 +- src/Gui/CCMainWindow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Gui') 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")) -- cgit From 08a103a39ac773464d1bc9bcb39c274d6dba729b Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 17 Mar 2010 21:48:57 +0100 Subject: GUI: added version to about dialog --- src/Gui/Makefile.am | 3 +++ src/Gui/ccgui.glade | 1 + 2 files changed, 4 insertions(+) (limited to 'src/Gui') diff --git a/src/Gui/Makefile.am b/src/Gui/Makefile.am index 04f12926..15df057c 100644 --- a/src/Gui/Makefile.am +++ b/src/Gui/Makefile.am @@ -30,3 +30,6 @@ install-exec-hook: sed 's:/usr/share:$(datadir):g' -i $(DESTDIR)$(bindir)/$$b || exit $$?; \ sed 's:VERSION:@VERSION@:g' -i $(DESTDIR)$(bindir)/$$b || exit $$?; \ done + +install-data-hook: + sed 's:@VER@:$(VERSION):g' -i $(DESTDIR)$(pkgdatadir)/ccgui.glade || exit $$? diff --git a/src/Gui/ccgui.glade b/src/Gui/ccgui.glade index 21d6bfef..38bd3d11 100644 --- a/src/Gui/ccgui.glade +++ b/src/Gui/ccgui.glade @@ -11,6 +11,7 @@ dialog False ABRT + @VER@ (C) 2009 Red Hat, Inc. (C) 2010 Red Hat, Inc. http://fedorahosted.org/abrt/ -- cgit