From 3418b2b5cc63ee2d8648ad6127c9c25d51739385 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Wed, 21 Nov 2007 14:01:48 +0000 Subject: r562@Devoty: necoro | 2007-11-20 09:40:58 +0100 About Window updated --- portato/gui/gtk/views.py | 1 + portato/gui/gtk/windows.py | 3 +- portato/gui/templates/portato.glade | 429 ++++++++++++++++++------------------ 3 files changed, 217 insertions(+), 216 deletions(-) (limited to 'portato') diff --git a/portato/gui/gtk/views.py b/portato/gui/gtk/views.py index 35c6f71..46f8c65 100644 --- a/portato/gui/gtk/views.py +++ b/portato/gui/gtk/views.py @@ -12,6 +12,7 @@ from __future__ import absolute_import, with_statement +import pango import gtksourceview2 import logging diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 6a7e5af..d154ab1 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -15,7 +15,6 @@ from __future__ import absolute_import, with_statement # gtk stuff import gtk import gobject -import pango # other import os.path @@ -1429,6 +1428,8 @@ class MainWindow (Window): def cb_delete (self, *args): """Looks whether we really want to quit.""" + self.__save_queue = True + if not self.queue.is_empty(): ret = queue_not_empty_dialog() if ret == gtk.RESPONSE_CANCEL: diff --git a/portato/gui/templates/portato.glade b/portato/gui/templates/portato.glade index 8b23c5d..2459ffb 100644 --- a/portato/gui/templates/portato.glade +++ b/portato/gui/templates/portato.glade @@ -451,52 +451,107 @@ 5 3 - + True - 1 - True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - True - True - Installed - 0 - True - - - - False - + + + + 3 + 1 + 2 + GTK_EXPAND + + + + + + True + True + <b>Installed, but not in portage anymore</b> + True + + + 3 + 2 + 3 + GTK_FILL + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 5 - + True - True - Masked - 0 - True - + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + + + True + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True + False + + + - False - 1 + False - + True - True - Testing - 0 - True - + False + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + + + True + + - False - 2 + 1 + + 3 + 3 + 4 + 5 + 5 + + + + + True + GTK_JUSTIFY_CENTER + True + + + 3 + GTK_FILL + + 10 + + + + + True + True + <span foreground='red'><b>MISSING KEYWORD</b></span> + True + 3 2 @@ -624,90 +679,51 @@ - - True - True - <span foreground='red'><b>MISSING KEYWORD</b></span> - True - - - 3 - 2 - 3 - GTK_FILL - - - - - True - GTK_JUSTIFY_CENTER - True - - - 3 - GTK_FILL - - 10 - - - - + True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 5 + 1 + True - + True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - - - True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True - False - - - + True + Installed + 0 + True + - False + False - + True - False - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - - - True - - + True + Masked + 0 + True + + False 1 - - - 3 - 3 - 4 - 5 - 5 - - - - - True - True - <b>Installed, but not in portage anymore</b> - True + + + True + True + Testing + 0 + True + + + + False + 2 + + 3 @@ -716,22 +732,6 @@ GTK_FILL - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - - - - 3 - 1 - 2 - GTK_EXPAND - - - False @@ -1351,189 +1351,189 @@ - - True - 0 - 5 - <u><i>Masking Keywords</i></u> - True - True - - - 7 - 8 - 5 - - - - + True - 0 - 5 - <u><i>Testing Keywords</i></u> - True - True - 4 - 5 - 5 + 1 + 2 + 3 + 4 - + True 0 - 5 - <u><i>Use-Flags</i></u> - True + File name to use, if package.use is a directory: True - 1 - 2 - 6 + 3 + 4 - + True - - - True - 0 - GTK_SHADOW_OUT - - - True - 0 - <u>You may use the following placeholders:</u> - -<i>$(cat)</i>: category -<i>$(pkg)</i>: package name -<i>$(cat-1)/$(cat-2)</i>: first/second part of the category - True - - - - - - label_item - - - - + Add only exact version to package.use + 0 + True 2 + 2 + 3 - + True - Add only exact version to package.mask/package.unmask + Add only exact version to package.keywords 0 True 2 - 8 - 9 + 5 + 6 - + True 0 - File name to use, if package.mask/package.unmask is a directory: + File name to use, if package.keywords is a directory: True - 9 - 10 + 6 + 7 - + True 1 2 - 9 - 10 + 6 + 7 - + True 1 2 - 6 - 7 + 9 + 10 - + True 0 - File name to use, if package.keywords is a directory: + File name to use, if package.mask/package.unmask is a directory: True - 6 - 7 + 9 + 10 - + True - Add only exact version to package.keywords + Add only exact version to package.mask/package.unmask 0 True 2 - 5 - 6 + 8 + 9 - + True - Add only exact version to package.use - 0 - True + + + True + 0 + GTK_SHADOW_OUT + + + True + 0 + <u>You may use the following placeholders:</u> + +<i>$(cat)</i>: category +<i>$(pkg)</i>: package name +<i>$(cat-1)/$(cat-2)</i>: first/second part of the category + True + + + + + + label_item + + + + 2 - 2 - 3 - + True 0 - File name to use, if package.use is a directory: + 5 + <u><i>Use-Flags</i></u> + True True - 3 - 4 + 1 + 2 + 6 - + + True + 0 + 5 + <u><i>Testing Keywords</i></u> + True + True + + + 4 + 5 + 5 + + + + True + 0 + 5 + <u><i>Masking Keywords</i></u> + True + True - 1 - 2 - 3 - 4 + 7 + 8 + 5 @@ -1923,11 +1923,10 @@ Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net>http://portato.necoro.net René 'Necoro' Neumann - uses code from: Daniel J. Popowich - - Many thanks to the Porthole team which often inspired me or gave me hints. - (And sometimes I even copied files ^^ ;)) - +Many thanks to the Porthole team which often inspired me or gave me hints. +(And sometimes I even copied files ^^ ;)) + Catalan - Roger Calvó +German - René 'Necoro' Neumann p4r4d0x (inspired by wolfden) -- cgit v1.2.3-70-g09d2