summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-12-09 12:04:27 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-12-09 12:04:27 +0100
commitff413cca239076576b30553ca8cc8affab7a7a30 (patch)
treebb8313747c6dcc58bbb895ee436643d790986d7d /src/Gui
parent20726897eb54314e191623dd72d58472ab60176e (diff)
parentfd81d23789d7d849fda5ad863a7803e1c010221e (diff)
downloadabrt-ff413cca239076576b30553ca8cc8affab7a7a30.tar.gz
abrt-ff413cca239076576b30553ca8cc8affab7a7a30.tar.xz
abrt-ff413cca239076576b30553ca8cc8affab7a7a30.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCMainWindow.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index d82ec09..d97b34e 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -45,7 +45,7 @@ class MainWindow():
#Get the Main Window, and connect the "destroy" event
self.window = self.wTree.get_widget("main_window3")
- if (self.window):
+ if self.window:
self.window.set_default_size(700, 480)
self.window.connect("delete_event", self.delete_event_cb)
self.window.connect("destroy", self.destroy)
@@ -108,7 +108,6 @@ class MainWindow():
self.ccdaemon.connect("crash", self.on_data_changed_cb, None)
self.ccdaemon.connect("analyze-complete", self.on_analyze_complete_cb, self.pBarWindow)
self.ccdaemon.connect("abrt-error", self.error_cb)
- #self.ccdaemon.connect("warning", self.warning_cb)
self.ccdaemon.connect("update", self.update_cb)
self.ccdaemon.connect("show", self.show_cb)
self.ccdaemon.connect("daemon-state-changed", self.on_daemon_state_changed_cb)
@@ -151,16 +150,6 @@ class MainWindow():
return
dialog.show()
- def warning_cb(self, daemon, message=None):
- # try to hide the progressbar, we dont really care if it was visible ..
- try:
- #gobject.source_remove(self.timer)
- #self.pBarWindow.hide()
- pass
- except Exception, e:
- pass
- gui_error_message("%s" % message, parent_dialog=self.window)
-
def error_cb(self, daemon, message=None):
# try to hide the progressbar, we dont really care if it was visible ..
try: