From e4f0e899d681aeb3577054644b032101e3cd2d16 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 18 Apr 2008 00:53:14 +0200 Subject: Added seqizz' nick to the translators listings --- portato/gui/templates/AboutWindow.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui') diff --git a/portato/gui/templates/AboutWindow.glade b/portato/gui/templates/AboutWindow.glade index 57708d9..fe041c4 100644 --- a/portato/gui/templates/AboutWindow.glade +++ b/portato/gui/templates/AboutWindow.glade @@ -28,7 +28,7 @@ Thanks goto: Catalan - Roger Calvó German - René 'Necoro' Neumann Polish - Tomasz Osiński -Turkish - Gürkan Gür +Turkish - Gürkan 'seqizz' Gür p4r4d0x (inspired by wolfden) -- cgit v1.2.3-70-g09d2 From 92443dcb6dd74e67899553ab58ce1a30560bd8dd Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 21 Apr 2008 23:10:37 +0200 Subject: Added shortcut for 'Reload Portage' - increased max. scrollback lines --- portato/gui/templates/MainWindow.glade | 194 +++++++++++++++++---------------- portato/gui/windows/main.py | 2 +- 2 files changed, 99 insertions(+), 97 deletions(-) (limited to 'portato/gui') diff --git a/portato/gui/templates/MainWindow.glade b/portato/gui/templates/MainWindow.glade index 7422126..788a339 100644 --- a/portato/gui/templates/MainWindow.glade +++ b/portato/gui/templates/MainWindow.glade @@ -1,6 +1,6 @@ - + 2 @@ -46,6 +46,8 @@ Re_load Portage True + + True @@ -614,271 +616,271 @@ - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True 0 - label + use flags + PANGO_ELLIPSIZE_END True 1 2 - 3 - 4 + 4 + 5 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True 0 - <b>License:</b> + <b>Use Flags:</b> True True - 3 - 4 + 4 + 5 GTK_FILL 5 - + True + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True - <b>Installed, but not in portage anymore</b> - True + Testing + 0 + 0 + True + - 2 - 5 - 6 + 7 + 8 + GTK_FILL - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True - <span foreground='red'><b>MISSING KEYWORD</b></span> - True + 0 + 1 2 - 5 - 6 + 8 + 9 - + True + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 5 - - - + True + Masked + 0 + 0 + True + - 1 - 2 - 2 - 3 + 8 + 9 + GTK_FILL - + True + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True + Installed 0 - <b>Description:</b> - True - True + 0 + True + + 6 + 7 GTK_FILL - 5 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True 0 - <b>Overlay:</b> + <b>Homepage:</b> True True - 1 - 2 + 2 + 3 GTK_FILL 5 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True 0 label - True + True 1 2 + 1 + 2 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True 0 label - True + True 1 2 - 1 - 2 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True 0 - <b>Homepage:</b> + <b>Overlay:</b> True True - 2 - 3 + 1 + 2 GTK_FILL 5 - + True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True - Installed 0 - 0 - True - + <b>Description:</b> + True + True - 6 - 7 GTK_FILL + 5 - + True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True - Masked - 0 - 0 - True - + 5 + + + - 8 - 9 - GTK_FILL + 1 + 2 + 2 + 3 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 0 + True + <span foreground='red'><b>MISSING KEYWORD</b></span> + True - 1 2 - 8 - 9 + 5 + 6 - + True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True - Testing - 0 - 0 - True - + <b>Installed, but not in portage anymore</b> + True - 7 - 8 - GTK_FILL + 2 + 5 + 6 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True 0 - <b>Use Flags:</b> + <b>License:</b> True True - 4 - 5 + 3 + 4 GTK_FILL 5 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True 0 - use flags - PANGO_ELLIPSIZE_END + label True 1 2 - 4 - 5 + 3 + 4 diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 99739ae..314a500 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -829,7 +829,7 @@ class MainWindow (Window): Builds the terminal. """ - self.console.set_scrollback_lines(1024) + self.console.set_scrollback_lines(2**30) self.console.set_scroll_on_output(True) self.console.set_font_from_string(self.cfg.get("consolefont", "GUI")) self.console.connect("button-press-event", self.cb_right_click) -- cgit v1.2.3-70-g09d2 From 57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 29 Apr 2008 19:13:24 +0200 Subject: Changed max scrollback lines to 2**20 to prevent segfaults --- portato/gui/windows/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui') diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 314a500..5dffad3 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -829,7 +829,7 @@ class MainWindow (Window): Builds the terminal. """ - self.console.set_scrollback_lines(2**30) + self.console.set_scrollback_lines(2**20) self.console.set_scroll_on_output(True) self.console.set_font_from_string(self.cfg.get("consolefont", "GUI")) self.console.connect("button-press-event", self.cb_right_click) -- cgit v1.2.3-70-g09d2 From a28492883e6d11b79856a14b4da5d1074e42f99f Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 1 May 2008 20:46:39 +0200 Subject: Fixed small bug --- portato/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui') diff --git a/portato/gui/utils.py b/portato/gui/utils.py index 151ec22..dc9b9f3 100644 --- a/portato/gui/utils.py +++ b/portato/gui/utils.py @@ -204,7 +204,7 @@ class Database (object): else: ninst = [] for pkg in self._db[cat]: - if pkg[2]: + if pkg.inst: yield pkg else: ninst.append(pkg) -- cgit v1.2.3-70-g09d2 From 496036eaf6faac0f32e8d746f1d8b34f460cedb0 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 2 May 2008 01:37:50 +0200 Subject: Added pause systray icon --- icons/pausing.png | Bin 0 -> 3121 bytes icons/pausing.svg | 171 ++++++++++++++++++++++++++++++++++++++++++++ portato/gui/windows/main.py | 4 +- 3 files changed, 174 insertions(+), 1 deletion(-) create mode 100644 icons/pausing.png create mode 100644 icons/pausing.svg (limited to 'portato/gui') diff --git a/icons/pausing.png b/icons/pausing.png new file mode 100644 index 0000000..af4bf6b Binary files /dev/null and b/icons/pausing.png differ diff --git a/icons/pausing.svg b/icons/pausing.svg new file mode 100644 index 0000000..0d8f05a --- /dev/null +++ b/icons/pausing.svg @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 5dffad3..88f95c4 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -25,7 +25,7 @@ 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 from ...session import Session -from ...constants import CONFIG_LOCATION, VERSION, APP_ICON +from ...constants import CONFIG_LOCATION, VERSION, APP_ICON, ICON_DIR from ...backend.exceptions import PackageNotFoundException, BlockedException # more GUI stuff @@ -1599,8 +1599,10 @@ class MainWindow (Window): self.emergePaused = cb.get_active() if not self.emergePaused: self.queue.continue_emerge() + self.tray.set_from_file(APP_ICON) else: self.queue.stop_emerge() + self.tray.set_from_file(os.path.join(ICON_DIR, "pausing.png")) # block the handlers of the other buttons # so that calling "set_active" does not call this callback recursivly -- cgit v1.2.3-70-g09d2 From 364faebfc4db1d907affe5eb093f8d53fea9657d Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sat, 3 May 2008 14:34:28 +0200 Subject: Added python version to traceback --- portato/gui/exception_handling.py | 1 + 1 file changed, 1 insertion(+) (limited to 'portato/gui') diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py index 6bda133..29cd4e6 100644 --- a/portato/gui/exception_handling.py +++ b/portato/gui/exception_handling.py @@ -118,6 +118,7 @@ def get_version_infos(): return "\n".join(( "Portato version: %s" % VERSION, + "Python version: %s" % sys.version, "Used backend: %s" % system.get_version(), "pygtk: %s (using GTK+: %s)" % (convert(gtk.pygtk_version), convert(gtk.gtk_version)), "pygobject: %s (using GLib: %s)" % (convert(gobject.pygobject_version), convert(gobject.glib_version)), -- cgit v1.2.3-70-g09d2 From 8ad9b9d4cbe16aeb9d3545ccde89d675f398f04d Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 15 May 2008 21:46:12 +0200 Subject: Fixed spelling --- portato/gui/templates/UpdateWindow.glade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/gui') diff --git a/portato/gui/templates/UpdateWindow.glade b/portato/gui/templates/UpdateWindow.glade index 4cc678a..2bf712e 100644 --- a/portato/gui/templates/UpdateWindow.glade +++ b/portato/gui/templates/UpdateWindow.glade @@ -1,10 +1,10 @@ - + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Updateble Packages + Updatable Packages GTK_WIN_POS_CENTER_ON_PARENT True True -- cgit v1.2.3-70-g09d2 From c24b4970e48771a32155cbc79060c76d218fdd85 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 16 May 2008 17:58:58 +0200 Subject: Fixed copyright string --- portato/gui/templates/AboutWindow.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui') diff --git a/portato/gui/templates/AboutWindow.glade b/portato/gui/templates/AboutWindow.glade index fe041c4..d5cfbef 100644 --- a/portato/gui/templates/AboutWindow.glade +++ b/portato/gui/templates/AboutWindow.glade @@ -16,7 +16,7 @@ False Portato This software is licensed under the terms of the GPLv2. -Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net> +Copyright (C) 2006-2008 René 'Necoro' Neumann <necoro@necoro.net> A Portage GUI http://portato.necoro.net René 'Necoro' Neumann -- cgit v1.2.3-70-g09d2