summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-24 18:13:39 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-24 18:13:39 +0100
commit1f09119a5a664774230a9788d51ebbe5cd700868 (patch)
tree174f8ca76f6115e49cb7893eaf36289b79640a24 /src/Gui
parent0535b83d1d7fa5c99c4cf2dfd075511b8a7dcb24 (diff)
downloadabrt-1f09119a5a664774230a9788d51ebbe5cd700868.tar.gz
abrt-1f09119a5a664774230a9788d51ebbe5cd700868.tar.xz
abrt-1f09119a5a664774230a9788d51ebbe5cd700868.zip
Fixed some exceptions in gui.
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/ccgui.glade102
-rwxr-xr-xsrc/Gui/mainwindow.py6
2 files changed, 53 insertions, 55 deletions
diff --git a/src/Gui/ccgui.glade b/src/Gui/ccgui.glade
index 61c2981..fadb605 100644
--- a/src/Gui/ccgui.glade
+++ b/src/Gui/ccgui.glade
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Mon Feb 23 15:20:47 2009 -->
+<!--Generated with glade3 3.4.5 on Tue Feb 24 14:18:21 2009 -->
<glade-interface>
<widget class="GtkWindow" id="main_window">
<property name="default_width">640</property>
@@ -202,7 +202,7 @@
<child>
<widget class="GtkLabel" id="Package">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Package&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Package:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
</child>
@@ -235,7 +235,7 @@
<child>
<widget class="GtkLabel" id="Executable">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Executable&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Executable:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
</child>
@@ -259,7 +259,7 @@
<child>
<widget class="GtkLabel" id="CRate">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Crash rate&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Crash rate:&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
</child>
@@ -459,6 +459,53 @@
<placeholder/>
</child>
<child>
+ <widget class="GtkLabel" id="label14">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">BlackList</property>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkEntry" id="entry1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label15">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Database Plugin</property>
+ </widget>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkComboBox" id="combobox1">
+ <property name="visible">True</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label16">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">OpenPGP Public Keys</property>
+ </widget>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkHBox" id="hbox7">
<property name="visible">True</property>
<child>
@@ -506,53 +553,6 @@
<property name="bottom_attach">3</property>
</packing>
</child>
- <child>
- <widget class="GtkLabel" id="label16">
- <property name="visible">True</property>
- <property name="label" translatable="yes">OpenPGP Public Keys</property>
- </widget>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- </packing>
- </child>
- <child>
- <widget class="GtkComboBox" id="combobox1">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label15">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Database Plugin</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="entry1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label14">
- <property name="visible">True</property>
- <property name="label" translatable="yes">BlackList</property>
- </widget>
- </child>
</widget>
</child>
<child>
diff --git a/src/Gui/mainwindow.py b/src/Gui/mainwindow.py
index b333379..7f2cb7c 100755
--- a/src/Gui/mainwindow.py
+++ b/src/Gui/mainwindow.py
@@ -15,8 +15,6 @@ def cb(self, *args):
pass
class MainWindow():
- """This is an Hello World GTK application"""
-
def __init__(self):
try:
self.ccdaemon = CCDBusBackend.DBusManager()
@@ -105,7 +103,7 @@ class MainWindow():
return
# this should work until we keep the row object in the last position
- dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), len(dumpsListStore))
+ dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), len(self.dlist.get_columns()))
lDate = self.wTree.get_widget("lDate")
#move this to Dump class
@@ -124,7 +122,7 @@ class MainWindow():
dumpsListStore, path = self.dlist.get_selection().get_selected_rows()
if not path:
return
- dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), len(dumpsListStore))
+ dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), len(self.dlist.get_columns()))
# show the report window with selected dump
report_dialog = ReporterDialog(dump)
report_dialog.run()