summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 11:27:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 11:27:31 +0100
commit5a5f7b41f8a29727369706f5bde48b475babdc8f (patch)
treec065117e0d2d9a79c0d6ce42ebe63c4b32e8e227 /src/Gui
parent6cab3200c281d8afd9209f835106e9ec73401018 (diff)
downloadabrt-5a5f7b41f8a29727369706f5bde48b475babdc8f.tar.gz
abrt-5a5f7b41f8a29727369706f5bde48b475babdc8f.tar.xz
abrt-5a5f7b41f8a29727369706f5bde48b475babdc8f.zip
CCMainWindow.py: remove unused warning_cb
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 d82ec092..d97b34eb 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: