summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--i18n/de.po357
-rw-r--r--i18n/messages.pot301
-rw-r--r--portato/gui/gtk/windows.py47
-rw-r--r--portato/gui/gui_helper.py61
-rw-r--r--portato/gui/templates/portato.glade414
5 files changed, 621 insertions, 559 deletions
diff --git a/i18n/de.po b/i18n/de.po
index 821c5b0..47ce88b 100644
--- a/i18n/de.po
+++ b/i18n/de.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Portato\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2008-01-20 14:42+0100\n"
+"PO-Revision-Date: 2008-02-23 01:01+0100\n"
"Last-Translator: René 'Necoro' Neumann <necoro@necoro.net>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -25,7 +25,7 @@ msgid "Re_load Portage"
msgstr "Aktua_lisiere Portage-Cache"
#: portato/gui/templates/portato.glade:68
-#: portato/gui/templates/portato.glade:2012
+#: portato/gui/templates/portato.glade:2026
msgid "gtk-quit"
msgstr ""
@@ -34,17 +34,17 @@ msgid "_Emerge"
msgstr "_Emerge"
#: portato/gui/templates/portato.glade:89
-#: portato/gui/templates/portato.glade:494
+#: portato/gui/templates/portato.glade:514
msgid "_Install"
msgstr "_Installieren"
#: portato/gui/templates/portato.glade:105
-#: portato/gui/templates/portato.glade:508
+#: portato/gui/templates/portato.glade:528
msgid "_Uninstall"
msgstr "_Deinstallieren"
#: portato/gui/templates/portato.glade:121
-#: portato/gui/templates/portato.glade:1001
+#: portato/gui/templates/portato.glade:1018
msgid "Update _World"
msgstr "Update _World"
@@ -66,18 +66,19 @@ msgstr "Speichere _Flags"
#: portato/gui/templates/portato.glade:190
#: portato/gui/templates/portato.glade:282
-#: portato/gui/templates/portato.glade:1987
+#: portato/gui/templates/portato.glade:2001
msgid "Emerge _Paused"
msgstr "Emerge _angehalten"
#: portato/gui/templates/portato.glade:198
#: portato/gui/templates/portato.glade:264
-#: portato/gui/templates/portato.glade:1994
+#: portato/gui/templates/portato.glade:2008
msgid "_Kill Emerge"
msgstr "_Kill Emerge"
#: portato/gui/templates/portato.glade:221
-#: portato/gui/gtk/windows.py:1075
+#: portato/gui/templates/portato.glade:1074
+#: portato/gui/gtk/windows.py:1078
msgid "Queue"
msgstr "Queue"
@@ -86,8 +87,9 @@ msgid "Oneshot"
msgstr "Oneshot"
#: portato/gui/templates/portato.glade:240
-#: portato/gui/gtk/windows.py:1268
-#: portato/gui/gtk/windows.py:1270
+#: portato/gui/templates/portato.glade:1099
+#: portato/gui/gtk/windows.py:1288
+#: portato/gui/gtk/windows.py:1290
msgid "Console"
msgstr "Konsole"
@@ -111,42 +113,67 @@ msgstr "_Über"
msgid "_Plugins"
msgstr "_Plugins"
-#: portato/gui/templates/portato.glade:368
+#: portato/gui/templates/portato.glade:373
+msgid "gtk-delete"
+msgstr ""
+
+#: portato/gui/templates/portato.glade:387
msgid "gtk-find"
msgstr ""
-#: portato/gui/templates/portato.glade:469
-#: portato/gui/templates/portato.glade:667
-#: portato/gui/templates/portato.glade:683
-#: portato/gui/templates/portato.glade:792
+#: portato/gui/templates/portato.glade:489
+#: portato/gui/templates/portato.glade:601
+#: portato/gui/templates/portato.glade:711
+#: portato/gui/templates/portato.glade:726
msgid "label"
msgstr ""
-#: portato/gui/templates/portato.glade:493
+#: portato/gui/templates/portato.glade:513
msgid "Install onto system"
msgstr "Füge zum System hinzu"
-#: portato/gui/templates/portato.glade:507
+#: portato/gui/templates/portato.glade:527
msgid "Uninstall from system"
msgstr "Lösche vom System"
-#: portato/gui/templates/portato.glade:521
+#: portato/gui/templates/portato.glade:541
msgid "Revert changes"
msgstr "Rückgängig"
-#: portato/gui/templates/portato.glade:522
+#: portato/gui/templates/portato.glade:542
msgid "Re_vert"
msgstr "Rü_ckgängig"
-#: portato/gui/templates/portato.glade:580
-#: portato/gui/gtk/windows.py:763
-#: portato/gui/gtk/windows.py:766
-#: portato/gui/gtk/windows.py:833
-#: portato/gui/gtk/windows.py:837
-msgid "Testing"
-msgstr "Testing"
+#: portato/gui/templates/portato.glade:617
+msgid "<b>License:</b>"
+msgstr "<b>Lizenz:</b>"
+
+#: portato/gui/templates/portato.glade:633
+msgid "<b>Installed, but not in portage anymore</b>"
+msgstr "<b>Installiert, aber nicht mehr im Portage-Tree vorhanden</b>"
+
+#: portato/gui/templates/portato.glade:648
+msgid "<span foreground='red'><b>MISSING KEYWORD</b></span>"
+msgstr "<span foreground='red'><b>FEHLENDES KEYWORD</b></span>"
+
+#: portato/gui/templates/portato.glade:680
+msgid "<b>Description:</b>"
+msgstr "<b>Beschreibung</b>"
+
+#: portato/gui/templates/portato.glade:695
+msgid "<b>Overlay:</b>"
+msgstr "<b>Overlay:</b>"
+
+#: portato/gui/templates/portato.glade:742
+msgid "<b>Homepage:</b>"
+msgstr "<b>Homepage:</b>"
+
+#: portato/gui/templates/portato.glade:759
+#: portato/gui/gtk/windows.py:617
+msgid "Installed"
+msgstr "Installiert"
-#: portato/gui/templates/portato.glade:613
+#: portato/gui/templates/portato.glade:778
#: portato/gui/gtk/windows.py:746
#: portato/gui/gtk/windows.py:749
#: portato/gui/gtk/windows.py:752
@@ -157,159 +184,119 @@ msgstr "Testing"
msgid "Masked"
msgstr "Masked"
-#: portato/gui/templates/portato.glade:632
-#: portato/gui/gtk/windows.py:617
-msgid "Installed"
-msgstr "Installiert"
-
-#: portato/gui/templates/portato.glade:650
-msgid "<b>Homepage:</b>"
-msgstr "<b>Homepage:</b>"
-
-#: portato/gui/templates/portato.glade:698
-msgid "<b>Overlay:</b>"
-msgstr "<b>Overlay:</b>"
-
-#: portato/gui/templates/portato.glade:714
-msgid "<b>Description:</b>"
-msgstr "<b>Beschreibung</b>"
-
-#: portato/gui/templates/portato.glade:745
-msgid "<span foreground='red'><b>MISSING KEYWORD</b></span>"
-msgstr "<span foreground='red'><b>FEHLENDES KEYWORD</b></span>"
-
-#: portato/gui/templates/portato.glade:760
-msgid "<b>Installed, but not in portage anymore</b>"
-msgstr "<b>Installiert, aber nicht mehr im Portage-Tree vorhanden</b>"
-
-#: portato/gui/templates/portato.glade:775
-msgid "<b>License:</b>"
-msgstr "<b>Lizenz:</b>"
+#: portato/gui/templates/portato.glade:811
+#: portato/gui/gtk/windows.py:763
+#: portato/gui/gtk/windows.py:766
+#: portato/gui/gtk/windows.py:833
+#: portato/gui/gtk/windows.py:837
+msgid "Testing"
+msgstr "Testing"
-#: portato/gui/templates/portato.glade:812
-msgid "_General"
-msgstr "All_gemein"
+#: portato/gui/templates/portato.glade:833
+#: portato/gui/templates/portato.glade:1692
+msgid "General"
+msgstr "Allgemein"
-#: portato/gui/templates/portato.glade:844
-msgid "U_se List"
-msgstr "U_se-Flag-Liste"
+#: portato/gui/templates/portato.glade:864
+msgid "Use List"
+msgstr "Use-Flag-Liste"
-#: portato/gui/templates/portato.glade:872
-msgid "E_build"
-msgstr "E_build"
+#: portato/gui/templates/portato.glade:891
+msgid "Ebuild"
+msgstr "Ebuild"
-#: portato/gui/templates/portato.glade:900
-msgid "C_hangelog"
-msgstr "C_hangelog"
+#: portato/gui/templates/portato.glade:918
+msgid "Changelog"
+msgstr "Changelog"
-#: portato/gui/templates/portato.glade:928
-msgid "Fi_les"
-msgstr "_Dateien"
+#: portato/gui/templates/portato.glade:945
+msgid "Files"
+msgstr "Dateien"
-#: portato/gui/templates/portato.glade:966
+#: portato/gui/templates/portato.glade:983
msgid "Execute the current selected queue"
msgstr "Führe die aktuell gewählte Queue aus"
-#: portato/gui/templates/portato.glade:985
+#: portato/gui/templates/portato.glade:1002
msgid "E_xecute"
msgstr "_Ausführen"
-#: portato/gui/templates/portato.glade:1000
+#: portato/gui/templates/portato.glade:1017
msgid "Calculate the packages which will be installed during an \"update world\""
msgstr "Berechnet die Pakete, welche während eines \"update world\" installiert werden würden"
-#: portato/gui/templates/portato.glade:1013
+#: portato/gui/templates/portato.glade:1030
msgid "Remove the selected package from the queue"
msgstr "Löscht das gewählte Paket aus der Queue"
-#: portato/gui/templates/portato.glade:1014
+#: portato/gui/templates/portato.glade:1031
msgid "_Remove"
msgstr "_Löschen"
-#: portato/gui/templates/portato.glade:1057
-msgid "_Queue"
-msgstr "_Queue"
-
-#: portato/gui/templates/portato.glade:1083
-msgid "_Console"
-msgstr "_Konsole"
+#: portato/gui/templates/portato.glade:1133
+msgid "Log"
+msgstr "Log"
-#: portato/gui/templates/portato.glade:1118
-msgid "L_og"
-msgstr "L_og"
-
-#: portato/gui/templates/portato.glade:1170
+#: portato/gui/templates/portato.glade:1184
msgid "Search Results"
msgstr "Ergebnisse"
-#: portato/gui/templates/portato.glade:1210
-#: portato/gui/templates/portato.glade:1953
-#: portato/gui/templates/portato.glade:2061
+#: portato/gui/templates/portato.glade:1224
+#: portato/gui/templates/portato.glade:1967
+#: portato/gui/templates/portato.glade:2075
msgid "gtk-cancel"
msgstr ""
-#: portato/gui/templates/portato.glade:1222
+#: portato/gui/templates/portato.glade:1236
msgid "gtk-jump-to"
msgstr ""
-#: portato/gui/templates/portato.glade:1237
+#: portato/gui/templates/portato.glade:1251
msgid "gtk-ok"
msgstr ""
-#: portato/gui/templates/portato.glade:1258
+#: portato/gui/templates/portato.glade:1272
msgid "Preferences"
msgstr "Einstellungen"
-#: portato/gui/templates/portato.glade:1293
+#: portato/gui/templates/portato.glade:1307
msgid "Debug"
msgstr "Debug"
-#: portato/gui/templates/portato.glade:1306
+#: portato/gui/templates/portato.glade:1320
msgid "Browser command: "
msgstr "Browser-Befehl: "
-#: portato/gui/templates/portato.glade:1332
-#: portato/gui/templates/portato.glade:1759
+#: portato/gui/templates/portato.glade:1346
+#: portato/gui/templates/portato.glade:1773
msgid "<b>General Options</b>"
msgstr "<b>Allgemeine Optionen</b>"
-#: portato/gui/templates/portato.glade:1382
+#: portato/gui/templates/portato.glade:1396
msgid "<b>Update World Options</b>"
msgstr "<b>Optionen für \"update world\"</b>"
-#: portato/gui/templates/portato.glade:1410
+#: portato/gui/templates/portato.glade:1424
msgid "Sync command: "
msgstr "Sync-Befehl: "
-#: portato/gui/templates/portato.glade:1431
+#: portato/gui/templates/portato.glade:1445
msgid "<b>Sync Options</b>"
msgstr "<b>Sync Optionen</b>"
-#: portato/gui/templates/portato.glade:1482
-msgid "File name to use, if package.use is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.use ein Verzeichnis ist:"
-
-#: portato/gui/templates/portato.glade:1493
-msgid "Add only exact version to package.use"
-msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-
-#: portato/gui/templates/portato.glade:1506
-msgid "Add only exact version to package.keywords"
-msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-
-#: portato/gui/templates/portato.glade:1520
-msgid "File name to use, if package.keywords is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.keywords ein Verzeichnis ist:"
+#: portato/gui/templates/portato.glade:1486
+msgid "<u><i>Masking Keywords</i></u>"
+msgstr "<u><i>Masking Keywords</i></u>"
-#: portato/gui/templates/portato.glade:1554
-msgid "File name to use, if package.mask/package.unmask is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.mask/package.unmask ein Verzeichnis ist:"
+#: portato/gui/templates/portato.glade:1501
+msgid "<u><i>Testing Keywords</i></u>"
+msgstr "<u><i>Testing Keywords</i></u>"
-#: portato/gui/templates/portato.glade:1565
-msgid "Add only exact version to package.mask/package.unmask"
-msgstr "Füge nur die exakte Paketversion zu package.mask/package.unmask hinzu"
+#: portato/gui/templates/portato.glade:1516
+msgid "<u><i>Use-Flags</i></u>"
+msgstr "<u><i>Use-Flags</i></u>"
-#: portato/gui/templates/portato.glade:1587
+#: portato/gui/templates/portato.glade:1538
msgid ""
"<u>You may use the following placeholders:</u>\n"
"\n"
@@ -323,80 +310,88 @@ msgstr ""
"<i>$(pkg)</i>: Paketname\n"
"<i>$(cat-1)/$(cat-2)</i>: erster/zweiter Teil der Kategorie"
-#: portato/gui/templates/portato.glade:1613
-msgid "<u><i>Use-Flags</i></u>"
-msgstr "<u><i>Use-Flags</i></u>"
+#: portato/gui/templates/portato.glade:1562
+msgid "Add only exact version to package.mask/package.unmask"
+msgstr "Füge nur die exakte Paketversion zu package.mask/package.unmask hinzu"
-#: portato/gui/templates/portato.glade:1628
-msgid "<u><i>Testing Keywords</i></u>"
-msgstr "<u><i>Testing Keywords</i></u>"
+#: portato/gui/templates/portato.glade:1576
+msgid "File name to use, if package.mask/package.unmask is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.mask/package.unmask ein Verzeichnis ist:"
-#: portato/gui/templates/portato.glade:1643
-msgid "<u><i>Masking Keywords</i></u>"
-msgstr "<u><i>Masking Keywords</i></u>"
+#: portato/gui/templates/portato.glade:1610
+msgid "File name to use, if package.keywords is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.keywords ein Verzeichnis ist:"
-#: portato/gui/templates/portato.glade:1660
+#: portato/gui/templates/portato.glade:1621
+msgid "Add only exact version to package.keywords"
+msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
+
+#: portato/gui/templates/portato.glade:1634
+msgid "Add only exact version to package.use"
+msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
+
+#: portato/gui/templates/portato.glade:1648
+msgid "File name to use, if package.use is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.use ein Verzeichnis ist:"
+
+#: portato/gui/templates/portato.glade:1674
msgid "<b>Use Flag and Keyword Options</b>"
msgstr "<b>Use-Flag- und Keyword-Optionen</b>"
-#: portato/gui/templates/portato.glade:1678
-msgid "General"
-msgstr "Allgemein"
-
-#: portato/gui/templates/portato.glade:1715
+#: portato/gui/templates/portato.glade:1729
msgid "Enable systray"
msgstr "Aktiviere Systray"
-#: portato/gui/templates/portato.glade:1728
+#: portato/gui/templates/portato.glade:1742
msgid "Show emerge progress in title - similar to the console tab"
msgstr "Zeige den Emerge Prozess im Fenstertitel (wie im Konsolen-Tab)"
-#: portato/gui/templates/portato.glade:1742
+#: portato/gui/templates/portato.glade:1756
msgid "Hide on minimization (only if systray is enabled)"
msgstr "Minimiere zu Systray"
-#: portato/gui/templates/portato.glade:1793
+#: portato/gui/templates/portato.glade:1807
msgid "Console Font"
msgstr "Schriftart in Konsole"
-#: portato/gui/templates/portato.glade:1803
+#: portato/gui/templates/portato.glade:1817
msgid "Chose a console font"
msgstr "Wähle eine Schriftart"
-#: portato/gui/templates/portato.glade:1820
+#: portato/gui/templates/portato.glade:1834
msgid "<b>Console Options</b>"
msgstr "<b>Konsolen Optionen</b>"
-#: portato/gui/templates/portato.glade:1860
+#: portato/gui/templates/portato.glade:1874
msgid "Package Tabs"
msgstr "Pakettabs"
-#: portato/gui/templates/portato.glade:1885
+#: portato/gui/templates/portato.glade:1899
msgid "System Tabs"
msgstr "Systemtabs"
-#: portato/gui/templates/portato.glade:1911
+#: portato/gui/templates/portato.glade:1925
msgid "<b>Tab Options</b>"
msgstr "<b>Tab Optionen</b>"
-#: portato/gui/templates/portato.glade:1935
+#: portato/gui/templates/portato.glade:1949
msgid "Visual"
msgstr "Oberfläche"
-#: portato/gui/templates/portato.glade:1962
-#: portato/gui/templates/portato.glade:2073
+#: portato/gui/templates/portato.glade:1976
+#: portato/gui/templates/portato.glade:2087
msgid "gtk-apply"
msgstr ""
-#: portato/gui/templates/portato.glade:2022
+#: portato/gui/templates/portato.glade:2036
msgid "Plugins"
msgstr "Plugins"
-#: portato/gui/templates/portato.glade:2094
+#: portato/gui/templates/portato.glade:2108
msgid "About Portato"
msgstr "Portato"
-#: portato/gui/templates/portato.glade:2104
+#: portato/gui/templates/portato.glade:2118
msgid ""
"This software is licensed under the terms of the GPLv2.\n"
"Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net>"
@@ -404,59 +399,55 @@ msgstr ""
"This software is licensed under the terms of the GPLv2.\n"
"Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net>"
-#: portato/gui/templates/portato.glade:2198
+#: portato/gui/templates/portato.glade:2213
msgid "Updateble Packages"
msgstr "Pakete mit Updates"
-#: portato/gui/templates/portato.glade:2240
+#: portato/gui/templates/portato.glade:2255
msgid "_Close"
msgstr "_Schließen"
-#: portato/gui/templates/portato.glade:2252
+#: portato/gui/templates/portato.glade:2267
msgid "Select _All"
msgstr "_Alles auswählen"
-#: portato/gui/templates/portato.glade:2267
+#: portato/gui/templates/portato.glade:2282
msgid "_Install Selected"
msgstr "_Installiere ausgewählte"
#: portato.py:42
-msgid "runs pychecker (should only be used by developers)"
-msgstr "Startet \"pychecker\". (Nur Entwickler sollten dies brauchen)."
-
-#: portato.py:45
#, python-format
msgid "the frontend to use - possible values are: %s [default: %%default]"
msgstr "Das zu benutzende Frontend. Möglichkeiten: %s [Default: %%default]"
-#: portato.py:51
+#: portato.py:48
msgid "validates the given plugin xml instead of launching Portato"
msgstr "Validiert die gegebene Plugin-XML. Startet nicht Portato."
-#: portato.py:54
+#: portato.py:51
msgid "do not start listener"
msgstr "Starte den Listener nicht."
-#: portato.py:67
+#: portato.py:59
#, python-format
msgid "Unknown frontend '%(frontend)s'. Correct frontends are: %(list)s"
msgstr "Unbekanntest Frontend '%(frontend)s'. Erlaubte Frontends sind: %(list)s"
-#: portato.py:75
+#: portato.py:67
#, python-format
msgid "'%(frontend)s' should be installed, but cannot be imported. This is definitely a bug. (%(error)s)"
msgstr "'%(frontend)s' sollte installiert sein, aber das Einbinden schlug fehl. Das ist definitiv ein Bug. (%(error)s)"
-#: portato.py:83
+#: portato.py:75
#, python-format
msgid "Validation failed. XML syntax error: %s."
msgstr "Validierung fehlgeschlagen. XML Syntax Fehler: %s."
-#: portato.py:86
+#: portato.py:78
msgid "Validation failed. Does not comply with schema."
msgstr "Validierung gegen das Schema fehlgeschlagen."
-#: portato.py:89
+#: portato.py:81
msgid "Validation succeeded."
msgstr "Validierung erfolgreich."
@@ -481,7 +472,7 @@ msgstr "Fehler-Code: %d"
msgid "Resume-loop called while process is still running!"
msgstr "\"Resume-Loop\" aufgerufen, während Emerge noch lief. Bug!"
-#: portato/plugins/etc_proposals.py:30
+#: portato/plugins/etc_proposals.py:25
msgid "Cannot start etc-proposals. Not root!"
msgstr "Kann etc-proposals nicht starten. Nur root kann das!"
@@ -594,37 +585,37 @@ msgstr "Lade Plugins"
msgid "Building frontend"
msgstr "Erstelle Oberfläche"
-#: portato/gui/gtk/windows.py:1007
-#: portato/gui/gtk/views.py:111
+#: portato/gui/gtk/windows.py:1010
+#: portato/gui/gtk/views.py:116
#, python-format
msgid "Error: %s"
msgstr "Fehler: %s"
-#: portato/gui/gtk/windows.py:1046
+#: portato/gui/gtk/windows.py:1049
msgid "Restoring Session"
msgstr "Lade Session"
-#: portato/gui/gtk/windows.py:1049
+#: portato/gui/gtk/windows.py:1052
msgid "Finishing startup"
msgstr "Erledige letzte Handgriffe :)"
-#: portato/gui/gtk/windows.py:1078
+#: portato/gui/gtk/windows.py:1081
msgid "Options"
msgstr "Optionen"
-#: portato/gui/gtk/windows.py:1088
+#: portato/gui/gtk/windows.py:1091
msgid "Categories"
msgstr "Kategorien"
-#: portato/gui/gtk/windows.py:1116
+#: portato/gui/gtk/windows.py:1119
msgid "Packages"
msgstr "Pakete"
-#: portato/gui/gtk/windows.py:1390
+#: portato/gui/gtk/windows.py:1412
msgid "use flags"
msgstr "Use Flags"
-#: portato/gui/gtk/windows.py:1401
+#: portato/gui/gtk/windows.py:1423
msgid "masking keywords"
msgstr "Masking Keywords"
@@ -768,16 +759,16 @@ msgstr ""
"Exception:\n"
"%s"
-#: portato/gui/gtk/views.py:70
+#: portato/gui/gtk/views.py:71
msgid "Package is not installed"
msgstr "Paket ist nicht installiert"
-#: portato/gui/gtk/views.py:87
+#: portato/gui/gtk/views.py:88
#, python-format
msgid "No %(old)s language file installed. Falling back to %(new)s."
msgstr "Keine \"%(old)s\" Syntaxdatei gefunden. Benutze \"%(new)s\"-Syntax."
-#: portato/gui/gtk/views.py:92
+#: portato/gui/gtk/views.py:97
#, python-format
msgid "No %(old)s language file installed. Disable highlighting."
msgstr "Keine \"%(old)s\" Syntaxdatei gefunden. Deaktiviere Hervorhebung."
@@ -786,12 +777,12 @@ msgstr "Keine \"%(old)s\" Syntaxdatei gefunden. Deaktiviere Hervorhebung."
msgid "ALL"
msgstr "ALLE"
-#: portato/gui/gui_helper.py:195
+#: portato/gui/gui_helper.py:202
#, python-format
msgid "Catched KeyError => %s seems not to be an available category. Have you played with rsync-excludes?"
msgstr "Catched KeyError => %s scheint keine valide Kategorie zu sein. Hast du mit rsync-excludes gespielt?"
-#: portato/gui/updater.py:95
+#: portato/gui/updater.py:96
#, python-format
msgid "Trying to remove package '%s' from queue which does not exist in system."
msgstr "Das Paket '%s' sollte aus der Queue entfernt werden, aber es befindet sich nicht im System."
@@ -859,12 +850,12 @@ msgstr "Es konnte kein bester Treffer für das Paket %s gefunden werden. Es sche
msgid "Found a not installed dependency: %s."
msgstr "Nicht installierte Abhängigkeit gefunden: %s"
-#: portato/backend/portage/system.py:441
+#: portato/backend/portage/system.py:445
#, python-format
msgid "Bug? No best match could be found for '%(package)s'. Needed by: '%(cpv)s'."
msgstr "Es konnte kein bester Treffer für das Paket '%(package)s' ermittelt werden (gebraucht von '%(cpv)s'). Bug?"
-#: portato/backend/flags.py:512
+#: portato/backend/flags.py:529
#, python-format
msgid "Conflicting values for masking status: %s"
msgstr "Konflikt beim Masking-Status: %s"
diff --git a/i18n/messages.pot b/i18n/messages.pot
index 9d7af70..bb5e41a 100644
--- a/i18n/messages.pot
+++ b/i18n/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-20 14:41+0100\n"
+"POT-Creation-Date: 2008-02-23 01:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -29,7 +29,7 @@ msgid "Re_load Portage"
msgstr ""
#: portato/gui/templates/portato.glade:68
-#: portato/gui/templates/portato.glade:2012
+#: portato/gui/templates/portato.glade:2026
msgid "gtk-quit"
msgstr ""
@@ -38,17 +38,17 @@ msgid "_Emerge"
msgstr ""
#: portato/gui/templates/portato.glade:89
-#: portato/gui/templates/portato.glade:494
+#: portato/gui/templates/portato.glade:514
msgid "_Install"
msgstr ""
#: portato/gui/templates/portato.glade:105
-#: portato/gui/templates/portato.glade:508
+#: portato/gui/templates/portato.glade:528
msgid "_Uninstall"
msgstr ""
#: portato/gui/templates/portato.glade:121
-#: portato/gui/templates/portato.glade:1001
+#: portato/gui/templates/portato.glade:1018
msgid "Update _World"
msgstr ""
@@ -70,17 +70,18 @@ msgstr ""
#: portato/gui/templates/portato.glade:190
#: portato/gui/templates/portato.glade:282
-#: portato/gui/templates/portato.glade:1987
+#: portato/gui/templates/portato.glade:2001
msgid "Emerge _Paused"
msgstr ""
#: portato/gui/templates/portato.glade:198
#: portato/gui/templates/portato.glade:264
-#: portato/gui/templates/portato.glade:1994
+#: portato/gui/templates/portato.glade:2008
msgid "_Kill Emerge"
msgstr ""
-#: portato/gui/templates/portato.glade:221 portato/gui/gtk/windows.py:1075
+#: portato/gui/templates/portato.glade:221
+#: portato/gui/templates/portato.glade:1074 portato/gui/gtk/windows.py:1078
msgid "Queue"
msgstr ""
@@ -88,8 +89,9 @@ msgstr ""
msgid "Oneshot"
msgstr ""
-#: portato/gui/templates/portato.glade:240 portato/gui/gtk/windows.py:1268
-#: portato/gui/gtk/windows.py:1270
+#: portato/gui/templates/portato.glade:240
+#: portato/gui/templates/portato.glade:1099 portato/gui/gtk/windows.py:1288
+#: portato/gui/gtk/windows.py:1290
msgid "Console"
msgstr ""
@@ -113,199 +115,184 @@ msgstr ""
msgid "_Plugins"
msgstr ""
-#: portato/gui/templates/portato.glade:368
+#: portato/gui/templates/portato.glade:373
+msgid "gtk-delete"
+msgstr ""
+
+#: portato/gui/templates/portato.glade:387
msgid "gtk-find"
msgstr ""
-#: portato/gui/templates/portato.glade:469
-#: portato/gui/templates/portato.glade:667
-#: portato/gui/templates/portato.glade:683
-#: portato/gui/templates/portato.glade:792
+#: portato/gui/templates/portato.glade:489
+#: portato/gui/templates/portato.glade:601
+#: portato/gui/templates/portato.glade:711
+#: portato/gui/templates/portato.glade:726
msgid "label"
msgstr ""
-#: portato/gui/templates/portato.glade:493
+#: portato/gui/templates/portato.glade:513
msgid "Install onto system"
msgstr ""
-#: portato/gui/templates/portato.glade:507
+#: portato/gui/templates/portato.glade:527
msgid "Uninstall from system"
msgstr ""
-#: portato/gui/templates/portato.glade:521
+#: portato/gui/templates/portato.glade:541
msgid "Revert changes"
msgstr ""
-#: portato/gui/templates/portato.glade:522
+#: portato/gui/templates/portato.glade:542
msgid "Re_vert"
msgstr ""
-#: portato/gui/templates/portato.glade:580 portato/gui/gtk/windows.py:763
-#: portato/gui/gtk/windows.py:766 portato/gui/gtk/windows.py:833
-#: portato/gui/gtk/windows.py:837
-msgid "Testing"
+#: portato/gui/templates/portato.glade:617
+msgid "<b>License:</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:613 portato/gui/gtk/windows.py:746
-#: portato/gui/gtk/windows.py:749 portato/gui/gtk/windows.py:752
-#: portato/gui/gtk/windows.py:860 portato/gui/gtk/windows.py:864
-#: portato/gui/gtk/windows.py:871 portato/gui/gtk/windows.py:875
-msgid "Masked"
+#: portato/gui/templates/portato.glade:633
+msgid "<b>Installed, but not in portage anymore</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:632 portato/gui/gtk/windows.py:617
-msgid "Installed"
+#: portato/gui/templates/portato.glade:648
+msgid "<span foreground='red'><b>MISSING KEYWORD</b></span>"
msgstr ""
-#: portato/gui/templates/portato.glade:650
-msgid "<b>Homepage:</b>"
+#: portato/gui/templates/portato.glade:680
+msgid "<b>Description:</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:698
+#: portato/gui/templates/portato.glade:695
msgid "<b>Overlay:</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:714
-msgid "<b>Description:</b>"
+#: portato/gui/templates/portato.glade:742
+msgid "<b>Homepage:</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:745
-msgid "<span foreground='red'><b>MISSING KEYWORD</b></span>"
+#: portato/gui/templates/portato.glade:759 portato/gui/gtk/windows.py:617
+msgid "Installed"
msgstr ""
-#: portato/gui/templates/portato.glade:760
-msgid "<b>Installed, but not in portage anymore</b>"
+#: portato/gui/templates/portato.glade:778 portato/gui/gtk/windows.py:746
+#: portato/gui/gtk/windows.py:749 portato/gui/gtk/windows.py:752
+#: portato/gui/gtk/windows.py:860 portato/gui/gtk/windows.py:864
+#: portato/gui/gtk/windows.py:871 portato/gui/gtk/windows.py:875
+msgid "Masked"
msgstr ""
-#: portato/gui/templates/portato.glade:775
-msgid "<b>License:</b>"
+#: portato/gui/templates/portato.glade:811 portato/gui/gtk/windows.py:763
+#: portato/gui/gtk/windows.py:766 portato/gui/gtk/windows.py:833
+#: portato/gui/gtk/windows.py:837
+msgid "Testing"
msgstr ""
-#: portato/gui/templates/portato.glade:812
-msgid "_General"
+#: portato/gui/templates/portato.glade:833
+#: portato/gui/templates/portato.glade:1692
+msgid "General"
msgstr ""
-#: portato/gui/templates/portato.glade:844
-msgid "U_se List"
+#: portato/gui/templates/portato.glade:864
+msgid "Use List"
msgstr ""
-#: portato/gui/templates/portato.glade:872
-msgid "E_build"
+#: portato/gui/templates/portato.glade:891
+msgid "Ebuild"
msgstr ""
-#: portato/gui/templates/portato.glade:900
-msgid "C_hangelog"
+#: portato/gui/templates/portato.glade:918
+msgid "Changelog"
msgstr ""
-#: portato/gui/templates/portato.glade:928
-msgid "Fi_les"
+#: portato/gui/templates/portato.glade:945
+msgid "Files"
msgstr ""
-#: portato/gui/templates/portato.glade:966
+#: portato/gui/templates/portato.glade:983
msgid "Execute the current selected queue"
msgstr ""
-#: portato/gui/templates/portato.glade:985
+#: portato/gui/templates/portato.glade:1002
msgid "E_xecute"
msgstr ""
-#: portato/gui/templates/portato.glade:1000
+#: portato/gui/templates/portato.glade:1017
msgid ""
"Calculate the packages which will be installed during an \"update world\""
msgstr ""
-#: portato/gui/templates/portato.glade:1013
+#: portato/gui/templates/portato.glade:1030
msgid "Remove the selected package from the queue"
msgstr ""
-#: portato/gui/templates/portato.glade:1014
+#: portato/gui/templates/portato.glade:1031
msgid "_Remove"
msgstr ""
-#: portato/gui/templates/portato.glade:1057
-msgid "_Queue"
+#: portato/gui/templates/portato.glade:1133
+msgid "Log"
msgstr ""
-#: portato/gui/templates/portato.glade:1083
-msgid "_Console"
-msgstr ""
-
-#: portato/gui/templates/portato.glade:1118
-msgid "L_og"
-msgstr ""
-
-#: portato/gui/templates/portato.glade:1170
+#: portato/gui/templates/portato.glade:1184
msgid "Search Results"
msgstr ""
-#: portato/gui/templates/portato.glade:1210
-#: portato/gui/templates/portato.glade:1953
-#: portato/gui/templates/portato.glade:2061
+#: portato/gui/templates/portato.glade:1224
+#: portato/gui/templates/portato.glade:1967
+#: portato/gui/templates/portato.glade:2075
msgid "gtk-cancel"
msgstr ""
-#: portato/gui/templates/portato.glade:1222
+#: portato/gui/templates/portato.glade:1236
msgid "gtk-jump-to"
msgstr ""
-#: portato/gui/templates/portato.glade:1237
+#: portato/gui/templates/portato.glade:1251
msgid "gtk-ok"
msgstr ""
-#: portato/gui/templates/portato.glade:1258
+#: portato/gui/templates/portato.glade:1272
msgid "Preferences"
msgstr ""
-#: portato/gui/templates/portato.glade:1293
+#: portato/gui/templates/portato.glade:1307
msgid "Debug"
msgstr ""
-#: portato/gui/templates/portato.glade:1306
+#: portato/gui/templates/portato.glade:1320
msgid "Browser command: "
msgstr ""
-#: portato/gui/templates/portato.glade:1332
-#: portato/gui/templates/portato.glade:1759
+#: portato/gui/templates/portato.glade:1346
+#: portato/gui/templates/portato.glade:1773
msgid "<b>General Options</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:1382
+#: portato/gui/templates/portato.glade:1396
msgid "<b>Update World Options</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:1410
+#: portato/gui/templates/portato.glade:1424
msgid "Sync command: "
msgstr ""
-#: portato/gui/templates/portato.glade:1431
+#: portato/gui/templates/portato.glade:1445
msgid "<b>Sync Options</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:1482
-msgid "File name to use, if package.use is a directory: "
-msgstr ""
-
-#: portato/gui/templates/portato.glade:1493
-msgid "Add only exact version to package.use"
-msgstr ""
-
-#: portato/gui/templates/portato.glade:1506
-msgid "Add only exact version to package.keywords"
-msgstr ""
-
-#: portato/gui/templates/portato.glade:1520
-msgid "File name to use, if package.keywords is a directory: "
+#: portato/gui/templates/portato.glade:1486
+msgid "<u><i>Masking Keywords</i></u>"
msgstr ""
-#: portato/gui/templates/portato.glade:1554
-msgid "File name to use, if package.mask/package.unmask is a directory: "
+#: portato/gui/templates/portato.glade:1501
+msgid "<u><i>Testing Keywords</i></u>"
msgstr ""
-#: portato/gui/templates/portato.glade:1565
-msgid "Add only exact version to package.mask/package.unmask"
+#: portato/gui/templates/portato.glade:1516
+msgid "<u><i>Use-Flags</i></u>"
msgstr ""
-#: portato/gui/templates/portato.glade:1587
+#: portato/gui/templates/portato.glade:1538
msgid ""
"<u>You may use the following placeholders:</u>\n"
"\n"
@@ -314,140 +301,144 @@ msgid ""
"<i>$(cat-1)/$(cat-2)</i>: first/second part of the category"
msgstr ""
-#: portato/gui/templates/portato.glade:1613
-msgid "<u><i>Use-Flags</i></u>"
+#: portato/gui/templates/portato.glade:1562
+msgid "Add only exact version to package.mask/package.unmask"
msgstr ""
-#: portato/gui/templates/portato.glade:1628
-msgid "<u><i>Testing Keywords</i></u>"
+#: portato/gui/templates/portato.glade:1576
+msgid "File name to use, if package.mask/package.unmask is a directory: "
msgstr ""
-#: portato/gui/templates/portato.glade:1643
-msgid "<u><i>Masking Keywords</i></u>"
+#: portato/gui/templates/portato.glade:1610
+msgid "File name to use, if package.keywords is a directory: "
msgstr ""
-#: portato/gui/templates/portato.glade:1660
-msgid "<b>Use Flag and Keyword Options</b>"
+#: portato/gui/templates/portato.glade:1621
+msgid "Add only exact version to package.keywords"
msgstr ""
-#: portato/gui/templates/portato.glade:1678
-msgid "General"
+#: portato/gui/templates/portato.glade:1634
+msgid "Add only exact version to package.use"
msgstr ""
-#: portato/gui/templates/portato.glade:1715
+#: portato/gui/templates/portato.glade:1648
+msgid "File name to use, if package.use is a directory: "
+msgstr ""
+
+#: portato/gui/templates/portato.glade:1674
+msgid "<b>Use Flag and Keyword Options</b>"
+msgstr ""
+
+#: portato/gui/templates/portato.glade:1729
msgid "Enable systray"
msgstr ""
-#: portato/gui/templates/portato.glade:1728
+#: portato/gui/templates/portato.glade:1742
msgid "Show emerge progress in title - similar to the console tab"
msgstr ""
-#: portato/gui/templates/portato.glade:1742
+#: portato/gui/templates/portato.glade:1756
msgid "Hide on minimization (only if systray is enabled)"
msgstr ""
-#: portato/gui/templates/portato.glade:1793
+#: portato/gui/templates/portato.glade:1807
msgid "Console Font"
msgstr ""
-#: portato/gui/templates/portato.glade:1803
+#: portato/gui/templates/portato.glade:1817
msgid "Chose a console font"
msgstr ""
-#: portato/gui/templates/portato.glade:1820
+#: portato/gui/templates/portato.glade:1834
msgid "<b>Console Options</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:1860
+#: portato/gui/templates/portato.glade:1874
msgid "Package Tabs"
msgstr ""
-#: portato/gui/templates/portato.glade:1885
+#: portato/gui/templates/portato.glade:1899
msgid "System Tabs"
msgstr ""
-#: portato/gui/templates/portato.glade:1911
+#: portato/gui/templates/portato.glade:1925
msgid "<b>Tab Options</b>"
msgstr ""
-#: portato/gui/templates/portato.glade:1935
+#: portato/gui/templates/portato.glade:1949
msgid "Visual"
msgstr ""
-#: portato/gui/templates/portato.glade:1962
-#: portato/gui/templates/portato.glade:2073
+#: portato/gui/templates/portato.glade:1976
+#: portato/gui/templates/portato.glade:2087
msgid "gtk-apply"
msgstr ""
-#: portato/gui/templates/portato.glade:2022
+#: portato/gui/templates/portato.glade:2036
msgid "Plugins"
msgstr ""
-#: portato/gui/templates/portato.glade:2094
+#: portato/gui/templates/portato.glade:2108
msgid "About Portato"
msgstr ""
-#: portato/gui/templates/portato.glade:2104
+#: portato/gui/templates/portato.glade:2118
msgid ""
"This software is licensed under the terms of the GPLv2.\n"
"Copyright (C) 2006-2007 René 'Necoro' Neumann <necoro@necoro.net>"
msgstr ""
-#: portato/gui/templates/portato.glade:2198
+#: portato/gui/templates/portato.glade:2213
msgid "Updateble Packages"
msgstr ""
-#: portato/gui/templates/portato.glade:2240
+#: portato/gui/templates/portato.glade:2255
msgid "_Close"
msgstr ""
-#: portato/gui/templates/portato.glade:2252
+#: portato/gui/templates/portato.glade:2267
msgid "Select _All"
msgstr ""
-#: portato/gui/templates/portato.glade:2267
+#: portato/gui/templates/portato.glade:2282
msgid "_Install Selected"
msgstr ""
#: portato.py:42
-msgid "runs pychecker (should only be used by developers)"
-msgstr ""
-
-#: portato.py:45
#, python-format
msgid "the frontend to use - possible values are: %s [default: %%default]"
msgstr ""
-#: portato.py:51
+#: portato.py:48
msgid "validates the given plugin xml instead of launching Portato"
msgstr ""
-#: portato.py:54
+#: portato.py:51
msgid "do not start listener"
msgstr ""
-#: portato.py:67
+#: portato.py:59
#, python-format
msgid "Unknown frontend '%(frontend)s'. Correct frontends are: %(list)s"
msgstr ""
-#: portato.py:75
+#: portato.py:67
#, python-format
msgid ""
"'%(frontend)s' should be installed, but cannot be imported. This is "
"definitely a bug. (%(error)s)"
msgstr ""
-#: portato.py:83
+#: portato.py:75
#, python-format
msgid "Validation failed. XML syntax error: %s."
msgstr ""
-#: portato.py:86
+#: portato.py:78
msgid "Validation failed. Does not comply with schema."
msgstr ""
-#: portato.py:89
+#: portato.py:81
msgid "Validation succeeded."
msgstr ""
@@ -472,7 +463,7 @@ msgstr ""
msgid "Resume-loop called while process is still running!"
msgstr ""
-#: portato/plugins/etc_proposals.py:30
+#: portato/plugins/etc_proposals.py:25
msgid "Cannot start etc-proposals. Not root!"
msgstr ""
@@ -583,36 +574,36 @@ msgstr ""
msgid "Building frontend"
msgstr ""
-#: portato/gui/gtk/windows.py:1007 portato/gui/gtk/views.py:111
+#: portato/gui/gtk/windows.py:1010 portato/gui/gtk/views.py:116
#, python-format
msgid "Error: %s"
msgstr ""
-#: portato/gui/gtk/windows.py:1046
+#: portato/gui/gtk/windows.py:1049
msgid "Restoring Session"
msgstr ""
-#: portato/gui/gtk/windows.py:1049
+#: portato/gui/gtk/windows.py:1052
msgid "Finishing startup"
msgstr ""
-#: portato/gui/gtk/windows.py:1078
+#: portato/gui/gtk/windows.py:1081
msgid "Options"
msgstr ""
-#: portato/gui/gtk/windows.py:1088
+#: portato/gui/gtk/windows.py:1091
msgid "Categories"
msgstr ""
-#: portato/gui/gtk/windows.py:1116
+#: portato/gui/gtk/windows.py:1119
msgid "Packages"
msgstr ""
-#: portato/gui/gtk/windows.py:1390
+#: portato/gui/gtk/windows.py:1412
msgid "use flags"
msgstr ""
-#: portato/gui/gtk/windows.py:1401
+#: portato/gui/gtk/windows.py:1423
msgid "masking keywords"
msgstr ""
@@ -750,16 +741,16 @@ msgid ""
"%s"
msgstr ""
-#: portato/gui/gtk/views.py:70
+#: portato/gui/gtk/views.py:71
msgid "Package is not installed"
msgstr ""
-#: portato/gui/gtk/views.py:87
+#: portato/gui/gtk/views.py:88
#, python-format
msgid "No %(old)s language file installed. Falling back to %(new)s."
msgstr ""
-#: portato/gui/gtk/views.py:92
+#: portato/gui/gtk/views.py:97
#, python-format
msgid "No %(old)s language file installed. Disable highlighting."
msgstr ""
@@ -768,14 +759,14 @@ msgstr ""
msgid "ALL"
msgstr ""
-#: portato/gui/gui_helper.py:195
+#: portato/gui/gui_helper.py:202
#, python-format
msgid ""
"Catched KeyError => %s seems not to be an available category. Have you "
"played with rsync-excludes?"
msgstr ""
-#: portato/gui/updater.py:95
+#: portato/gui/updater.py:96
#, python-format
msgid ""
"Trying to remove package '%s' from queue which does not exist in system."
@@ -843,13 +834,13 @@ msgstr ""
msgid "Found a not installed dependency: %s."
msgstr ""
-#: portato/backend/portage/system.py:441
+#: portato/backend/portage/system.py:445
#, python-format
msgid ""
"Bug? No best match could be found for '%(package)s'. Needed by: '%(cpv)s'."
msgstr ""
-#: portato/backend/flags.py:512
+#: portato/backend/flags.py:529
#, python-format
msgid "Conflicting values for masking status: %s"
msgstr ""
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 19dbfff..03fb5b4 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -978,6 +978,9 @@ class MainWindow (Window):
self.build_cat_list()
self.build_pkg_list()
+ # search entry
+ self.searchEntry = self.tree.get_widget("searchEntry")
+
# queue list
self.queueList = self.tree.get_widget("queueList")
self.build_queue_list()
@@ -1184,9 +1187,9 @@ class MainWindow (Window):
def save_selection ():
def _save(list):
- iter = list.get_selection().get_selected()
+ iter = list.get_selection().get_selected()[1]
if iter:
- return list.get_model().get_string_from_iter(iter[1])
+ return list.get_model().get_string_from_iter(iter)
else:
return "0"
@@ -1237,6 +1240,19 @@ class MainWindow (Window):
def jump_to (self, cp, version = None):
"""Is called when we want to jump to a specific package."""
+
+ cat, pkg = cp.split("/")
+
+ for list, idx, what, expr in ((self.catList, 0, "categories", cat), (self.pkgList, 1, "packages", pkg)):
+ pathes = [row.path for row in list.get_model() if row[idx] == expr]
+
+ if len(pathes) == 1:
+ list.get_selection().select_path(pathes[0])
+ list.scroll_to_cell(pathes[0])
+ else:
+ debug("Unexpected number of %s returned after search: %d", what, len(pathes))
+ break
+
self.show_package(cp, self.queue, version = version)
def set_uri_hook (self, browser):
@@ -1537,6 +1553,31 @@ class MainWindow (Window):
else:
SearchWindow(self.window, packages, self.jump_to)
+ return True
+
+ def cb_search_changed (self, *args):
+ txt = self.searchEntry.get_text()
+
+ if txt or self.db.restrict:
+ self.db.restrict = txt
+
+ store = self.catList.get_model()
+ store.clear()
+ self.fill_cat_store(store)
+
+ store = self.pkgList.get_model()
+ store.clear()
+ try:
+ self.fill_pkg_store(store, self.selCatName)
+ except AttributeError: # no selCatName -> so no category selected --> ignore
+ debug("No category selected --> should be no harm.")
+
+ return True
+
+ def cb_delete_search_clicked (self, *args):
+ self.searchEntry.set_text("")
+ return True
+
def cb_preferences_clicked (self, button):
PreferenceWindow(self.window, self.cfg, self.console.set_font_from_string, self.set_uri_hook, self.set_notebook_tabpos)
return True
@@ -1586,7 +1627,7 @@ class MainWindow (Window):
try:
self.fill_pkg_store(store, self.selCatName)
except AttributeError: # no selCatName -> so no category selected --> ignore
- debug("AttributeError occured --> should be no harm.")
+ debug("No category selected --> should be no harm.")
def cb_right_click (self, object, event):
if event.button == 3:
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index 91a460f..d48dadd 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -120,7 +120,7 @@ class Config (ConfigParser):
ConfigParser.write(self)
self.modify_external_configs()
-class Database:
+class Database (object):
"""An internal database which holds a simple dictionary cat -> [package_list]."""
ALL = _("ALL")
@@ -132,6 +132,7 @@ class Database:
def __initialize (self):
self._db = {self.ALL:[]}
self.inst_cats = set([self.ALL])
+ self._restrict = None
def __sort_key (self, x):
return x[1].lower()
@@ -177,19 +178,25 @@ class Database:
cat = self.ALL
try:
- if byName:
- for pkg in self._db[cat]:
- yield pkg
- else:
- ninst = []
- for pkg in self._db[cat]:
- if pkg[2]:
+ def get_pkgs():
+ if byName:
+ for pkg in self._db[cat]:
+ yield pkg
+ else:
+ ninst = []
+ for pkg in self._db[cat]:
+ if pkg[2]:
+ yield pkg
+ else:
+ ninst.append(pkg)
+
+ for pkg in ninst:
yield pkg
- else:
- ninst.append(pkg)
- for pkg in ninst:
- yield pkg
+ if self.restrict:
+ return (pkg for pkg in get_pkgs() if pkg[1].find(self.restrict) != -1)
+ else:
+ return get_pkgs()
except KeyError: # cat is in category list - but not in portage
info(_("Catched KeyError => %s seems not to be an available category. Have you played with rsync-excludes?"), cat)
@@ -203,13 +210,21 @@ class Database:
@rtype: string<iterator>
"""
- if installed:
- c = self.inst_cats
+ if not self.restrict:
+ if installed:
+ cats = self.inst_cats
+ else:
+ cats = self._db.iterkeys()
+
else:
- c = self._db.iterkeys()
+ cats = set((pkg[0] for pkg in self.get_cat(self.ALL)))
- for cat in c:
- yield cat
+ if installed:
+ cats = cats.intersection(self.inst_cats)
+
+ cats.add(self.ALL)
+
+ return (cat for cat in cats)
def reload (self, cat = None):
"""Reloads the given category.
@@ -229,6 +244,18 @@ class Database:
self.__initialize()
self.populate()
+ def get_restrict (self):
+ return self._restrict
+
+ def set_restrict (self, restrict):
+ if not restrict:
+ self._restrict = None
+ else:
+ #self._restrict = re.compile(".*%s.*" % restrict)
+ self._restrict = restrict
+
+ restrict = property(get_restrict, set_restrict)
+
class EmergeQueue:
"""This class manages the emerge queue."""
diff --git a/portato/gui/templates/portato.glade b/portato/gui/templates/portato.glade
index 335eca0..8b577e3 100644
--- a/portato/gui/templates/portato.glade
+++ b/portato/gui/templates/portato.glade
@@ -356,6 +356,8 @@
<child>
<widget class="GtkEntry" id="searchEntry">
<property name="visible">True</property>
+ <signal name="changed" handler="cb_search_changed"/>
+ <signal name="delete_text" handler="cb_search_changed"/>
<signal name="activate" handler="cb_search_clicked" object="searchEntry"/>
</widget>
<packing>
@@ -363,6 +365,23 @@
</packing>
</child>
<child>
+ <widget class="GtkButton" id="deleteSearchButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="label" translatable="yes">gtk-delete</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ <signal name="clicked" handler="cb_delete_search_clicked"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkButton" id="searchButton">
<property name="visible">True</property>
<property name="label" translatable="yes">gtk-find</property>
@@ -372,7 +391,8 @@
</widget>
<packing>
<property name="expand">False</property>
- <property name="position">1</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
</packing>
</child>
</widget>
@@ -573,106 +593,113 @@
<placeholder/>
</child>
<child>
- <widget class="GtkCheckButton" id="testingCheck">
+ <widget class="GtkLabel" id="licenseLabel">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Testing</property>
<property name="xalign">0</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- <signal name="toggled" handler="cb_testing_toggled"/>
+ <property name="label" translatable="yes">label</property>
+ <property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="maskedLabel">
+ <widget class="GtkLabel" id="licenseLabelLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
+ <property name="label" translatable="yes">&lt;b&gt;License:&lt;/b&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="maskedCheck">
+ <widget class="GtkLabel" id="notInSysLabel">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Masked</property>
- <property name="xalign">0</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- <signal name="toggled" handler="cb_masked_toggled"/>
+ <property name="label" translatable="yes">&lt;b&gt;Installed, but not in portage anymore&lt;/b&gt;</property>
+ <property name="use_markup">True</property>
</widget>
<packing>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="installedCheck">
+ <widget class="GtkLabel" id="missingLabel">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">Installed</property>
- <property name="xalign">0</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- <signal name="button_press_event" handler="cb_button_pressed"/>
+ <property name="label" translatable="yes">&lt;span foreground='red'&gt;&lt;b&gt;MISSING KEYWORD&lt;/b&gt;&lt;/span&gt;</property>
+ <property name="use_markup">True</property>
</widget>
<packing>
- <property name="top_attach">5</property>
- <property name="bottom_attach">6</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="homepageLinkLabel">
+ <widget class="GtkHBox" id="linkBox">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="spacing">5</property>
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="descLabelLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;b&gt;Homepage:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Description:&lt;/b&gt;</property>
<property name="use_markup">True</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="overlayLabel">
+ <widget class="GtkLabel" id="overlayLabelLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">label</property>
+ <property name="label" translatable="yes">&lt;b&gt;Overlay:&lt;/b&gt;</property>
+ <property name="use_markup">True</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
@@ -691,113 +718,106 @@
</packing>
</child>
<child>
- <widget class="GtkLabel" id="overlayLabelLabel">
+ <widget class="GtkLabel" id="overlayLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;b&gt;Overlay:&lt;/b&gt;</property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">label</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="descLabelLabel">
+ <widget class="GtkLabel" id="homepageLinkLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;b&gt;Description:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Homepage:&lt;/b&gt;</property>
<property name="use_markup">True</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="linkBox">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="spacing">5</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="missingLabel">
+ <widget class="GtkCheckButton" id="installedCheck">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">&lt;span foreground='red'&gt;&lt;b&gt;MISSING KEYWORD&lt;/b&gt;&lt;/span&gt;</property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Installed</property>
+ <property name="xalign">0</property>
+ <property name="response_id">0</property>
+ <property name="draw_indicator">True</property>
+ <signal name="button_press_event" handler="cb_button_pressed"/>
</widget>
<packing>
- <property name="right_attach">2</property>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
+ <property name="top_attach">5</property>
+ <property name="bottom_attach">6</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="notInSysLabel">
+ <widget class="GtkCheckButton" id="maskedCheck">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Installed, but not in portage anymore&lt;/b&gt;</property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Masked</property>
+ <property name="xalign">0</property>
+ <property name="response_id">0</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="cb_masked_toggled"/>
</widget>
<packing>
- <property name="right_attach">2</property>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="licenseLabelLabel">
+ <widget class="GtkLabel" id="maskedLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;b&gt;License:&lt;/b&gt;</property>
- <property name="use_markup">True</property>
- <property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="licenseLabel">
+ <widget class="GtkCheckButton" id="testingCheck">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="no_show_all">True</property>
+ <property name="label" translatable="yes">Testing</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">label</property>
- <property name="single_line_mode">True</property>
+ <property name="response_id">0</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="cb_testing_toggled"/>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
@@ -810,8 +830,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes">_General</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">General</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -842,8 +861,7 @@
<widget class="GtkLabel" id="label20">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">U_se List</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Use List</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -870,8 +888,7 @@
<widget class="GtkLabel" id="label16">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">E_build</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Ebuild</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -898,8 +915,7 @@
<widget class="GtkLabel" id="label14">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">C_hangelog</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Changelog</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -926,8 +942,7 @@
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">Fi_les</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Files</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -1056,8 +1071,7 @@
<widget class="GtkLabel" id="label17">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">_Queue</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Queue</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -1082,8 +1096,7 @@
<widget class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">_Console</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Console</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -1117,8 +1130,7 @@
<widget class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">L_og</property>
- <property name="use_underline">True</property>
+ <property name="label" translatable="yes">Log</property>
</widget>
<packing>
<property name="type">tab</property>
@@ -1467,189 +1479,189 @@
<placeholder/>
</child>
<child>
- <widget class="GtkEntry" id="useFileEdit">
+ <widget class="GtkLabel" id="maskLabel">
<property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Masking Keywords&lt;/i&gt;&lt;/u&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
+ <property name="y_padding">5</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="useEditLabel">
+ <widget class="GtkLabel" id="testLabel">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">File name to use, if package.use is a directory: </property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Testing Keywords&lt;/i&gt;&lt;/u&gt;</property>
+ <property name="use_markup">True</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="y_padding">5</property>
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="usePerVersionCheck">
+ <widget class="GtkLabel" id="useLabel">
<property name="visible">True</property>
- <property name="label" translatable="yes">Add only exact version to package.use</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">5</property>
+ <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Use-Flags&lt;/i&gt;&lt;/u&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="single_line_mode">True</property>
+ </widget>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_padding">6</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkEventBox" id="hintEB">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkFrame" id="hintFrame">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">GTK_SHADOW_OUT</property>
+ <child>
+ <widget class="GtkLabel" id="hintLabel">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">&lt;u&gt;You may use the following placeholders:&lt;/u&gt;
+
+&lt;i&gt;$(cat)&lt;/i&gt;: category
+&lt;i&gt;$(pkg)&lt;/i&gt;: package name
+&lt;i&gt;$(cat-1)/$(cat-2)&lt;/i&gt;: first/second part of the category</property>
+ <property name="use_markup">True</property>
+ </widget>
+ </child>
+ <child>
+ <placeholder/>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="testPerVersionCheck">
+ <widget class="GtkCheckButton" id="maskPerVersionCheck">
<property name="visible">True</property>
- <property name="label" translatable="yes">Add only exact version to package.keywords</property>
+ <property name="label" translatable="yes">Add only exact version to package.mask/package.unmask</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="right_attach">2</property>
- <property name="top_attach">5</property>
- <property name="bottom_attach">6</property>
+ <property name="top_attach">8</property>
+ <property name="bottom_attach">9</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="testEditLabel">
+ <widget class="GtkLabel" id="maskEditLabel">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">File name to use, if package.keywords is a directory: </property>
+ <property name="label" translatable="yes">File name to use, if package.mask/package.unmask is a directory: </property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
+ <property name="top_attach">9</property>
+ <property name="bottom_attach">10</property>
</packing>
</child>
<child>
- <widget class="GtkEntry" id="testFileEdit">
+ <widget class="GtkEntry" id="maskFileEdit">
<property name="visible">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
+ <property name="top_attach">9</property>
+ <property name="bottom_attach">10</property>
</packing>
</child>
<child>
- <widget class="GtkEntry" id="maskFileEdit">
+ <widget class="GtkEntry" id="testFileEdit">
<property name="visible">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">9</property>
- <property name="bottom_attach">10</property>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="maskEditLabel">
+ <widget class="GtkLabel" id="testEditLabel">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">File name to use, if package.mask/package.unmask is a directory: </property>
+ <property name="label" translatable="yes">File name to use, if package.keywords is a directory: </property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">9</property>
- <property name="bottom_attach">10</property>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="maskPerVersionCheck">
+ <widget class="GtkCheckButton" id="testPerVersionCheck">
<property name="visible">True</property>
- <property name="label" translatable="yes">Add only exact version to package.mask/package.unmask</property>
+ <property name="label" translatable="yes">Add only exact version to package.keywords</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="right_attach">2</property>
- <property name="top_attach">8</property>
- <property name="bottom_attach">9</property>
+ <property name="top_attach">5</property>
+ <property name="bottom_attach">6</property>
</packing>
</child>
<child>
- <widget class="GtkEventBox" id="hintEB">
+ <widget class="GtkCheckButton" id="usePerVersionCheck">
<property name="visible">True</property>
- <child>
- <widget class="GtkFrame" id="hintFrame">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_OUT</property>
- <child>
- <widget class="GtkLabel" id="hintLabel">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;u&gt;You may use the following placeholders:&lt;/u&gt;
-
-&lt;i&gt;$(cat)&lt;/i&gt;: category
-&lt;i&gt;$(pkg)&lt;/i&gt;: package name
-&lt;i&gt;$(cat-1)/$(cat-2)&lt;/i&gt;: first/second part of the category</property>
- <property name="use_markup">True</property>
- </widget>
- </child>
- <child>
- <placeholder/>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- </child>
+ <property name="label" translatable="yes">Add only exact version to package.use</property>
+ <property name="response_id">0</property>
+ <property name="draw_indicator">True</property>
</widget>
<packing>
<property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="useLabel">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Use-Flags&lt;/i&gt;&lt;/u&gt;</property>
- <property name="use_markup">True</property>
- <property name="single_line_mode">True</property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_padding">6</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="testLabel">
+ <widget class="GtkLabel" id="useEditLabel">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Testing Keywords&lt;/i&gt;&lt;/u&gt;</property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">File name to use, if package.use is a directory: </property>
<property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
- <property name="y_padding">5</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="maskLabel">
+ <widget class="GtkEntry" id="useFileEdit">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">5</property>
- <property name="label" translatable="yes">&lt;u&gt;&lt;i&gt;Masking Keywords&lt;/i&gt;&lt;/u&gt;</property>
- <property name="use_markup">True</property>
- <property name="single_line_mode">True</property>
</widget>
<packing>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
- <property name="y_padding">5</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
</packing>
</child>
</widget>