summaryrefslogtreecommitdiff
path: root/portato/gui/gui_helper.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/gui_helper.py30
1 files changed, 14 insertions, 16 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index 3ed8152..0d7ecf8 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -10,27 +10,25 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
+from __future__ import absolute_import
+
+# some stuff needed
+import logging
+import os, pty
+import signal, threading, time
+from subprocess import Popen, PIPE, STDOUT
+
# some backend things
-from portato import backend
-from portato.backend import flags, system, set_system
-from portato.helper import debug, info, send_signal_to_group, set_log_level, unique_array
-from portato.waiting_queue import WaitingQueue
-from portato import plugin
+from .. import backend, plugin
+from ..backend import flags, system, set_system
+from ..helper import debug, info, send_signal_to_group, set_log_level, unique_array
+from ..waiting_queue import WaitingQueue
# parser
-from portato.config_parser import ConfigParser
+from ..config_parser import ConfigParser
# the wrapper
-from wrapper import Console, Tree
-
-# some stuff needed
-from subprocess import Popen, PIPE, STDOUT
-import threading
-import pty
-import time
-import os
-import signal
-import logging
+from .wrapper import Console, Tree
class Config:
"""Wrapper around a ConfigParser and for additional local configurations."""
d>René 'Necoro' Neumann1-1/+1 2009-09-06Automatic loading of the external menuRené 'Necoro' Neumann2-3/+25 2009-09-06Make glade update the MainWindow.ui fileRené 'Necoro' Neumann1-85/+134 2009-09-06Moved the menu to an extra fileRené 'Necoro' Neumann2-210/+207 2009-09-05One database instance is enough :)René 'Necoro' Neumann1-7/+18 2009-09-05Print database type at the bottom of exceptions. NOTE: This does not handle m...René 'Necoro' Neumann2-1/+6 2009-09-05Fix an error, where a category vanishes after refreshing, using the EixSQLDat...René 'Necoro' Neumann2-1/+19 2009-09-03And here is the debugging again :) ... using ctypesRené 'Necoro' Neumann1-1/+8 2009-09-03Screw debugging ... prefer the ctypes approach to get rid of yet another c-mo...René 'Necoro' Neumann3-27/+11 2009-09-03Use this wrapper instead of ctypes to set the textdomain and stuff for the gt...René 'Necoro' Neumann1-9/+5 2009-09-03Add small wrapper to C-gettextRené 'Necoro' Neumann2-1/+22 2009-08-31Update messages.potRené 'Necoro' Neumann1-42/+94 2009-08-31Removed the gtk- strings from translationsRené 'Necoro' Neumann7-3639/+3479 2009-08-31Removed the 'translatable' attribute from 'gtk-*' stringsRené 'Necoro' Neumann5-11/+11 2009-08-31Removed TODO. Renamed ChangeLog to TODORené 'Necoro' Neumann2-40/+0 2009-08-27Only import stuff if necessaryRené 'Necoro' Neumann1-8/+8 2009-08-25Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann1-0/+1 2009-08-25Updated portugese translationAlberto Federman Neto1-650/+687 2009-08-15Update spanish translationDaniel Halens1-245/+258 2009-08-15Use boolean flags instead of obscure C flags for ipc.MessageQueueRené 'Necoro' Neumann3-13/+15 2009-08-15TypoRené 'Necoro' Neumann1-1/+1 2009-08-15Enhanced the extensions.shRené 'Necoro' Neumann1-3/+8 2009-08-15Move eix-format to correct locationRené 'Necoro' Neumann1-0/+0