Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/console/console.py
diff options
context:
space:
mode:
authorEduardo Silva <edsiper@tuto.(none)>2007-01-02 01:39:01 (GMT)
committer Eduardo Silva <edsiper@tuto.(none)>2007-01-02 01:39:01 (GMT)
commit80cd6af44c296ee8bc9ba30ad54f335fd4b7a4fe (patch)
treee11cd61d9ba9444683a342aeb979f161f43c1c82 /shell/console/console.py
parenta4e1b6b3ffb86e96c4a4f5e7a95e9757fb5e7f91 (diff)
New log viewer, no more tabs
Diffstat (limited to 'shell/console/console.py')
-rwxr-xr-xshell/console/console.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/console/console.py b/shell/console/console.py
index c105e85..a95425c 100755
--- a/shell/console/console.py
+++ b/shell/console/console.py
@@ -1,5 +1,22 @@
#!/usr/bin/env python
+# Copyright (C) 2006, Eduardo Silva (edsiper@gmail.com).
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
import gtk
# Console interfaces
@@ -9,6 +26,7 @@ import terminal
window = gtk.Window()
window.set_title('Developer console')
+window.connect("delete-event", gtk.main_quit)
width = gtk.gdk.screen_width() * 95 / 100
height = gtk.gdk.screen_height() * 95 / 100