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:
authorEduardo Silva <edsiper@monotop.(none)>2007-03-10 22:16:40 (GMT)
committer Eduardo Silva <edsiper@monotop.(none)>2007-03-10 22:16:40 (GMT)
commit29d23cbe7764cb66551876c47800a2cbad4e48d3 (patch)
tree3b632db50e5aabbd415407d5fefe460f6e12382c /services/console/console.py
parent361581c0d157bb28f64dfe4f1f9cfb976172d0b6 (diff)
Console: new battery status box
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):