Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/console/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/console/console.py')
-rwxr-xr-xservices/console/console.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/console/console.py b/services/console/console.py
index 2a19e9e..ad5b5ae 100755
--- a/services/console/console.py
+++ b/services/console/console.py
@@ -24,6 +24,7 @@ import sys
import gtk
import gobject
+sys.path.append(os.path.dirname(__file__))
sys.path.append(os.path.dirname(__file__) + '/lib')
sys.path.append(os.path.dirname(__file__) + '/interface')
@@ -71,8 +72,7 @@ class Console:
self.notebook.append_page(widget, gtk.Label(label))
def _delete_event_cb(self, window, gdkevent):
- window.hide()
- return True
+ gtk.main_quit()
class Service(dbus.service.Object):
def __init__(self, bus, object_path=CONSOLE_PATH):