summaryrefslogtreecommitdiff
path: root/portato/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/windows')
-rw-r--r--portato/gui/windows/main.py2
-rw-r--r--portato/gui/windows/plugin.py2
-rw-r--r--portato/gui/windows/preference.py2
-rw-r--r--portato/gui/windows/search.py2
-rw-r--r--portato/gui/windows/splash.py1
-rw-r--r--portato/gui/windows/update.py2
6 files changed, 5 insertions, 6 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 14a0181..32b6660 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -23,7 +23,7 @@ import itertools as itt
# our backend stuff
from ...backend import flags, system # must be the first to avoid circular deps
from ... import get_listener, plugin, dependency
-from ...helper import debug, warning, error, info, unique_array, N_, _
+from ...helper import debug, warning, error, info, unique_array
from ...session import Session
from ...constants import CONFIG_LOCATION, VERSION, APP_ICON
from ...backend.exceptions import PackageNotFoundException, BlockedException
diff --git a/portato/gui/windows/plugin.py b/portato/gui/windows/plugin.py
index 672bff5..fb9446e 100644
--- a/portato/gui/windows/plugin.py
+++ b/portato/gui/windows/plugin.py
@@ -15,7 +15,7 @@ from __future__ import absolute_import
import gtk
from .basic import AbstractDialog
-from ...helper import _, debug
+from ...helper import debug
class PluginWindow (AbstractDialog):
diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py
index 41db921..991e7b3 100644
--- a/portato/gui/windows/preference.py
+++ b/portato/gui/windows/preference.py
@@ -16,7 +16,7 @@ import gtk
from .basic import AbstractDialog
from ..dialogs import io_ex_dialog
-from ...helper import _, debug
+from ...helper import debug
class PreferenceWindow (AbstractDialog):
"""Window displaying some preferences."""
diff --git a/portato/gui/windows/search.py b/portato/gui/windows/search.py
index 6e34a0e..e776dd1 100644
--- a/portato/gui/windows/search.py
+++ b/portato/gui/windows/search.py
@@ -14,7 +14,7 @@ from __future__ import absolute_import
import gtk
from .basic import AbstractDialog
-from ...helper import _, debug
+from ...helper import debug
class SearchWindow (AbstractDialog):
"""A window showing the results of a search process."""
diff --git a/portato/gui/windows/splash.py b/portato/gui/windows/splash.py
index 52c2543..df19a9b 100644
--- a/portato/gui/windows/splash.py
+++ b/portato/gui/windows/splash.py
@@ -15,7 +15,6 @@ from __future__ import absolute_import
import gtk
from .basic import Window
-from ...helper import _
from ...constants import VERSION, APP_ICON
class SplashScreen (Window):
diff --git a/portato/gui/windows/update.py b/portato/gui/windows/update.py
index 8e4fad1..e369c49 100644
--- a/portato/gui/windows/update.py
+++ b/portato/gui/windows/update.py
@@ -17,7 +17,7 @@ from .basic import AbstractDialog
from ..dialogs import unmask_dialog, blocked_dialog
from ...backend import system
from ...backend.exceptions import PackageNotFoundException, BlockedException
-from ...helper import _, debug
+from ...helper import debug
class UpdateWindow (AbstractDialog):