galternatives-0.13.5+nmu2/0000755000000000000000000000000011420653650012215 5ustar galternatives-0.13.5+nmu2/translations/0000755000000000000000000000000011411200163014721 5ustar galternatives-0.13.5+nmu2/translations/es.po0000644000000000000000000001264611411174203015706 0ustar # Spanish Translation for GAlternatives # Copyright (C) 2003, Gustavo Noronha Silva # This file is distributed under the same license as the galternatives package. # Ricardo Mones Lastra , 2004. # msgid "" msgstr "" "Project-Id-Version: galternatives 0.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: 2004-01-26 13:43+0100\n" "Last-Translator: Ricardo Mones Lastra \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "Desconocido/Ninguno" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "Alternativas" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "Est�seguro de que quiere eliminar esta opción?" #: ../galternatives/main.py:316 msgid "Choice" msgstr "Elección" #: ../galternatives/main.py:323 msgid "Priority" msgstr "Prioridad" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "Opciones" #: ../galternatives/main.py:338 msgid "Name" msgstr "Nombre" #: ../galternatives/main.py:343 msgid "Slave" msgstr "Esclavo" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "Ejecutando el Configurador de alternativas..." #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" "Necesito la contraseña de root para\n" "ejecutar el Configurador de alternativas." #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "Probando galternatives..." #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "Sin descripción" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:8 msgid "_File" msgstr "_Fichero" #: ../galternatives.h:9 msgid "_Help" msgstr "_Ayuda" #: ../galternatives.h:10 msgid "_About" msgstr "_Acerca de" #: ../galternatives.h:11 msgid "Status:" msgstr "Estado:" #: ../galternatives.h:12 msgid "auto" msgstr "auto" #: ../galternatives.h:13 msgid "manual" msgstr "manual" #: ../galternatives.h:14 msgid "Alternative" msgstr "Alternativa" #: ../galternatives.h:17 msgid "Details" msgstr "Detalles" #: ../galternatives.h:18 msgid "Slaves" msgstr "Esclavos" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "Acerca de G Alternatives" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "Alternativas" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" "Una herramienta para ayudar al administrador a seleccionar que programas " "proporcionarán los servicios al usuario por defecto.\n" "\n" "(C) 2003 Gustavo Noronha Silva" #: ../galternatives.h:24 msgid "C_redits" msgstr "C_réditos" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "Créditos de G Alternatives" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "Gustavo Noronha Silva " #: ../galternatives.h:27 msgid "Written by" msgstr "Escrito por" #: ../galternatives.h:28 msgid "translator_credits" msgstr "Ricardo Mones " #: ../galternatives.h:29 msgid "Translated by" msgstr "Traducido por" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "Leandro A. F. Pereira " #: ../galternatives.h:31 msgid "Thanks to" msgstr "Gracias a" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "Añadiendo opción a la alternativa" #: ../galternatives.h:33 msgid "Path:" msgstr "Ruta:" #: ../galternatives.h:34 msgid "*" msgstr "*" #: ../galternatives.h:35 #, fuzzy msgid "_Browse..." msgstr "Navegar..." #: ../galternatives.h:36 msgid "Priority:" msgstr "Prioridad:" #: ../galternatives.h:37 msgid "Select File" msgstr "" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "Configurador de alternativas" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "Configurar las alternativas por defecto del sistema" #~ msgid "" #~ "Default Terminal Emulator to use when running text-based applications, " #~ "mainly from the Debian menu." #~ msgstr "" #~ "Emulador de terminal por defecto a usar cuando se ejecutan aplicaciones " #~ "basadas en texto, principalmente desde el menu de Debian." #~ msgid "X Terminal Emulator" #~ msgstr "Emulador de terminal X" galternatives-0.13.5+nmu2/translations/POTFILES.in0000644000000000000000000000026410063420333016505 0ustar [encoding: UTF-8] galternatives/main.py galternatives/alternative.py galternatives/common.py galternatives.h galternatives.desktop.in descriptions/x-terminal-emulator.control.in.h galternatives-0.13.5+nmu2/translations/merge-translations.sh0000755000000000000000000000060410474251300021105 0ustar #!/bin/sh test -d translations || cd .. intltool-merge -d translations galternatives.desktop.in galternatives.desktop for desc in descriptions/*.in; do intltool-merge -d translations ${desc} ${desc%.in} done cd translations LANGS=$(find . -name \*.po | cut -d '.' -f 2 | tr -d '/') for lang in ${LANGS}; do echo ${lang}: msgfmt --statistics -o ${lang}.mo ${lang}.po done galternatives-0.13.5+nmu2/translations/install-translations.sh0000755000000000000000000000051010132573414021454 0ustar #!/bin/sh test -d translations && cd translations LANGS=$(find . -name \*.po | cut -d '.' -f 2 | tr -d '/') for lang in ${LANGS}; do echo ${lang}: mkdir -p ../debian/galternatives/usr/share/locale/${lang}/LC_MESSAGES cp ${lang}.mo ../debian/galternatives/usr/share/locale/${lang}/LC_MESSAGES/galternatives.mo done galternatives-0.13.5+nmu2/translations/extract-translations.sh0000755000000000000000000000036310063420333021460 0ustar #!/bin/sh test -d translations && cd translations for desc in ../descriptions/*.in; do intltool-extract --type=gettext/ini ${desc} done intltool-update -g galternatives -p for desch in ../descriptions/*in.h; do rm -f ${desch} done galternatives-0.13.5+nmu2/translations/fr.po0000644000000000000000000001370711411174203015705 0ustar # translation of fr.po to French # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: galternatives 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: 2005-02-20 08:20+0100\n" "Last-Translator: Sebastien Bacher \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "Inconnu/Aucun" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "Alternatives" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" "Le fichier ou répertoire choisi n'existe pas.\n" "Veuillez choisir un chemin valable." #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "Voulez-vous vraiment supprimer cette option ?" #: ../galternatives/main.py:316 msgid "Choice" msgstr "Choix" #: ../galternatives/main.py:323 msgid "Priority" msgstr "Priorité" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "Options" #: ../galternatives/main.py:338 msgid "Name" msgstr "Nom" #: ../galternatives/main.py:343 msgid "Slave" msgstr "Lien secondaire" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "Exécution du configurateur d'alternatives..." #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" "Le mot de passe du superutilisateur est nécessaire pour lancer le " "configurateur d'alternatives." #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" "Ce programme doit s'exécuter avec les privilèges du superutilisateur et /" "usr/bin/gksu n'est pas disponible.\n" "\n" "Il n'est pas possible de demander le mot de passe du superutilisateur sans " "ce programme. Il ne sera pas possible d'utiliser GAlternatives à moins " "d'autoriser les utilisateurs non privilégiés à modifier le système " "d'alternatives." #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "Vérification de galternatives..." #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "Aucune description" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:8 msgid "_File" msgstr "_Fichier" #: ../galternatives.h:9 msgid "_Help" msgstr "_Aide" #: ../galternatives.h:10 msgid "_About" msgstr "À _propos" #: ../galternatives.h:11 msgid "Status:" msgstr "État :" #: ../galternatives.h:12 msgid "auto" msgstr "auto" #: ../galternatives.h:13 msgid "manual" msgstr "manuel" #: ../galternatives.h:14 msgid "Alternative" msgstr "Alternative" #: ../galternatives.h:17 msgid "Details" msgstr "Détails" #: ../galternatives.h:18 msgid "Slaves" msgstr "Liens secondaires" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "À propos de G Alternatives" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" "Outil qui assiste l'administrateur dans le choix des programmes qui " "assureront par défaut une fonction donnée.\n" "\n" "(C) 2003 Gustavo Noronha Silva" #: ../galternatives.h:24 msgid "C_redits" msgstr "_Remerciements" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "Remerciements pour G Alternatives" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "Gustavo Noronha Silva " #: ../galternatives.h:27 msgid "Written by" msgstr "Écrit par" #: ../galternatives.h:28 msgid "translator_credits" msgstr "Remerciements pour les traductions" #: ../galternatives.h:29 msgid "Translated by" msgstr "Traduit par" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "Leandro A. F. Pereira " #: ../galternatives.h:31 msgid "Thanks to" msgstr "Merci à" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "Ajouter une option à l'alternative" #: ../galternatives.h:33 msgid "Path:" msgstr "Chemin :" #: ../galternatives.h:34 msgid "*" msgstr "*" #: ../galternatives.h:35 msgid "_Browse..." msgstr "_Parcourir..." #: ../galternatives.h:36 msgid "Priority:" msgstr "Priorité :" #: ../galternatives.h:37 msgid "Select File" msgstr "Choix d'un fichier" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "Configurateur d'alternatives" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "Configuration des alternatives par défaut du système" #~ msgid "" #~ "Default Terminal Emulator to use when running text-based applications, " #~ "mainly from the Debian menu." #~ msgstr "" #~ "Émulateur de terminal par défaut à utiliser pour lancer des applications " #~ "en mode texte, principalement à partir du menu Debian." #~ msgid "X Terminal Emulator" #~ msgstr "Émulateur de terminal X" galternatives-0.13.5+nmu2/translations/sv.po0000644000000000000000000001274111411174203015723 0ustar # Swedish translation of galternatives. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the galternatives package. # Daniel Nylander , 2006. # msgid "" msgstr "" "Project-Id-Version: galternatives 0.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: 2006-01-14 17:19+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "Okänd/Ingen" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "Alternativ" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" "Filen eller katalogen du valde existerar inte.\n" "Välj en giltig." #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "Är du säker att du vill ta bort detta alternativ?" #: ../galternatives/main.py:316 msgid "Choice" msgstr "Val" #: ../galternatives/main.py:323 msgid "Priority" msgstr "Prioritet" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "Alternativ" #: ../galternatives/main.py:338 msgid "Name" msgstr "Namn" #: ../galternatives/main.py:343 msgid "Slave" msgstr "Slav" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "Kör Alternativkonfiguratorn..." #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" "Jag behöver ditt root-lösenord för\n" "att köra Alternativkonfiguratorn." #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" "Detta program bör köras som root och /usr/bin/gksu är inte tillgänglig.\n" "\n" "Jag kan inte begära lösenordet själv utan gksu. Om du inte har modifierat " "ditt system att specifikt tillåta din normala användare att modifiera " "alterativsystemet kommer GAlternatives inte att fungera." #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "Testar galternatives..." #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "Ingen beskrivning" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:8 msgid "_File" msgstr "_Arkiv" #: ../galternatives.h:9 msgid "_Help" msgstr "_Hjälp" #: ../galternatives.h:10 msgid "_About" msgstr "_Om" #: ../galternatives.h:11 msgid "Status:" msgstr "Status:" #: ../galternatives.h:12 msgid "auto" msgstr "auto" #: ../galternatives.h:13 msgid "manual" msgstr "manuell" #: ../galternatives.h:14 msgid "Alternative" msgstr "Alternativ" #: ../galternatives.h:17 msgid "Details" msgstr "Detaljer" #: ../galternatives.h:18 msgid "Slaves" msgstr "Slavar" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "Om G Alternatives" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" "Ett verktyg att hjälpa administratören att välja vilka program som ger " "specifika tjänster för användarna som standard.\n" "\n" "(C) 2003 Gustavo Noronha Silva" #: ../galternatives.h:24 msgid "C_redits" msgstr "Med_verkande" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "Medverkande i G Alternatives" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "Gustavo Noronha Silva " #: ../galternatives.h:27 msgid "Written by" msgstr "Skrivet av" #: ../galternatives.h:28 msgid "translator_credits" msgstr "" "Daniel Nylander \n" "Skicka synpunkter på översättningen till " #: ../galternatives.h:29 msgid "Translated by" msgstr "Översatt av" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "Leandro A. F. Pereira " #: ../galternatives.h:31 msgid "Thanks to" msgstr "Tack till" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "Lägger till nytt alternativ" #: ../galternatives.h:33 msgid "Path:" msgstr "Sökväg:" #: ../galternatives.h:34 msgid "*" msgstr "*" #: ../galternatives.h:35 msgid "_Browse..." msgstr "_Bläddra..." #: ../galternatives.h:36 msgid "Priority:" msgstr "Prioritet:" #: ../galternatives.h:37 msgid "Select File" msgstr "Välj fil" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "Alternativkonfiguratorn" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "Konfigurera systemets standardalternativ" galternatives-0.13.5+nmu2/translations/galternatives.pot0000644000000000000000000001006011411174203020317 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "" #: ../galternatives/main.py:316 msgid "Choice" msgstr "" #: ../galternatives/main.py:323 msgid "Priority" msgstr "" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "" #: ../galternatives/main.py:338 msgid "Name" msgstr "" #: ../galternatives/main.py:343 msgid "Slave" msgstr "" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "" #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "" #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "" #: ../galternatives.h:8 msgid "_File" msgstr "" #: ../galternatives.h:9 msgid "_Help" msgstr "" #: ../galternatives.h:10 msgid "_About" msgstr "" #: ../galternatives.h:11 msgid "Status:" msgstr "" #: ../galternatives.h:12 msgid "auto" msgstr "" #: ../galternatives.h:13 msgid "manual" msgstr "" #: ../galternatives.h:14 msgid "Alternative" msgstr "" #: ../galternatives.h:17 msgid "Details" msgstr "" #: ../galternatives.h:18 msgid "Slaves" msgstr "" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" #: ../galternatives.h:24 msgid "C_redits" msgstr "" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "" #: ../galternatives.h:27 msgid "Written by" msgstr "" #: ../galternatives.h:28 msgid "translator_credits" msgstr "" #: ../galternatives.h:29 msgid "Translated by" msgstr "" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "" #: ../galternatives.h:31 msgid "Thanks to" msgstr "" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "" #: ../galternatives.h:33 msgid "Path:" msgstr "" #: ../galternatives.h:34 msgid "*" msgstr "" #: ../galternatives.h:35 msgid "_Browse..." msgstr "" #: ../galternatives.h:36 msgid "Priority:" msgstr "" #: ../galternatives.h:37 msgid "Select File" msgstr "" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "" galternatives-0.13.5+nmu2/translations/clean-translations.sh0000755000000000000000000000005510132572564021101 0ustar #!/bin/sh find . -name \*.mo -exec rm {} \; galternatives-0.13.5+nmu2/translations/update-po.sh0000755000000000000000000000032210132572564017173 0ustar #!/bin/sh LANGS=$(find . -name \*.po | cut -d '.' -f 2 | tr -d '/') for lang in ${LANGS}; do echo ${lang}: msgmerge -o ${lang}.po.new ${lang}.po galternatives.pot mv ${lang}.po.new ${lang}.po done galternatives-0.13.5+nmu2/translations/cs.po0000644000000000000000000001266711411174203015707 0ustar # Czech translation of galternatives. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the galternatives package. # Miroslav Kure , 2006. # msgid "" msgstr "" "Project-Id-Version: galternatives\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: 2006-04-09 15:33+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "Neznámý/Žádný" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "Alternativy" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" "Zvolený soubor nebo adresář neexistuje.\n" "Vyberte prosím nějaký existující." #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "Jste si jisti, že chcete tuto možnost odstranit?" #: ../galternatives/main.py:316 msgid "Choice" msgstr "Výběr" #: ../galternatives/main.py:323 msgid "Priority" msgstr "Priorita" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "Volby" #: ../galternatives/main.py:338 msgid "Name" msgstr "Jméno" #: ../galternatives/main.py:343 msgid "Slave" msgstr "Závislost" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "Spouštím nastavení alternativ..." #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" "Pro spuštění editoru alternativ\n" "potřebuji heslo uživatele root." #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" "Tento program by měl být spuštěn pod uživatelem root, ovšem /usr/bin/gksu " "není dostupný.\n" "\n" "Bez gksu si neumím vyžádat heslo. Pokud jste explicitně nezměnili systém " "tak, abyste mohli zasahovat do systému alternativ jako běžný uživatel, " "GAlternatives nebude fungovat." #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "Testuji galternatives..." #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "Bez popisu" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "G Alternativy" #: ../galternatives.h:8 msgid "_File" msgstr "_Soubor" #: ../galternatives.h:9 msgid "_Help" msgstr "Nápo_věda" #: ../galternatives.h:10 msgid "_About" msgstr "_O programu" #: ../galternatives.h:11 msgid "Status:" msgstr "Stav:" #: ../galternatives.h:12 msgid "auto" msgstr "automatický" #: ../galternatives.h:13 msgid "manual" msgstr "ruční" #: ../galternatives.h:14 msgid "Alternative" msgstr "Alternativa" #: ../galternatives.h:17 msgid "Details" msgstr "Podrobnosti" #: ../galternatives.h:18 msgid "Slaves" msgstr "Závislosti" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "O G Alternativách" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "G Alternativy" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" "Nástroj, který pomáhá administrátorovi vybrat výchozí programy, které mají " "uživatelům poskytovat dané služby.\n" "\n" "(C) 2003 Gustavo Noronha Silva" #: ../galternatives.h:24 msgid "C_redits" msgstr "Uznání" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "G Alternativy - uznání" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "Gustavo Noronha Silva " #: ../galternatives.h:27 msgid "Written by" msgstr "Autoři" #: ../galternatives.h:28 msgid "translator_credits" msgstr "Miroslav Kuře " #: ../galternatives.h:29 msgid "Translated by" msgstr "Překladatelé" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "Leandro A. F. Pereira " #: ../galternatives.h:31 msgid "Thanks to" msgstr "Poděkování" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "Přidání alternativy" #: ../galternatives.h:33 msgid "Path:" msgstr "Cesta:" #: ../galternatives.h:34 msgid "*" msgstr "*" #: ../galternatives.h:35 msgid "_Browse..." msgstr "_Procházet..." #: ../galternatives.h:36 msgid "Priority:" msgstr "Priorita:" #: ../galternatives.h:37 msgid "Select File" msgstr "Výběr souboru" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "Nastavení alternativ" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "Nastaví výchozí alternativy pro celý systém" galternatives-0.13.5+nmu2/translations/update-translations.sh0000755000000000000000000000016410063420333021267 0ustar #!/bin/sh test -d translations && cd translations ./extract-translations.sh ./update-po.sh ./merge-translations.shgalternatives-0.13.5+nmu2/translations/pt_BR.po0000644000000000000000000001462011411174203016277 0ustar # Brazilian Portuguese Translation for GAlternatives # Copyright (C) 2003, Gustavo Noronha Silva # This file is distributed under the same license as the galternatives package. # Gustavo Noronha Silva , 2003. # msgid "" msgstr "" "Project-Id-Version: galternatives 0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-25 18:42+0000\n" "PO-Revision-Date: 2004-12-08 00:07-0200\n" "Last-Translator: Gustavo Noronha Silva \n" "Language-Team: Debian Brasil \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../galternatives/main.py:78 msgid "Unknown/None" msgstr "Desconhecido/Nenhum" #: ../galternatives/main.py:165 msgid "Alternatives" msgstr "Alternativas" #: ../galternatives/main.py:208 msgid "" "The file or directory you selected does not exist.\n" "Please select a valid one." msgstr "" "O arquivo ou diretório que você selecionou não existe.\n" "Por favor selecione um caminha válido." #: ../galternatives/main.py:255 msgid "Are you sure you want to remove this option?" msgstr "Tem certeza de que quer remover essa opção?" #: ../galternatives/main.py:316 msgid "Choice" msgstr "Escolha" #: ../galternatives/main.py:323 msgid "Priority" msgstr "Prioridade" #: ../galternatives/main.py:332 ../galternatives.h:16 msgid "Options" msgstr "Opções" #: ../galternatives/main.py:338 msgid "Name" msgstr "Nome" #: ../galternatives/main.py:343 msgid "Slave" msgstr "Ajudantes" #: ../galternatives/main.py:484 msgid "Running Alternatives Configurator..." msgstr "Executando o Configurador de Alternativas..." #: ../galternatives/main.py:485 msgid "" "I need your root password to run\n" "the Alternatives Configurator." msgstr "" "Eu preciso da sua senha de administrador para\n" "executar o Configurador de Alternativas." #: ../galternatives/main.py:491 msgid "" "This program should be run as root and /usr/bin/gksu is not available.\n" "\n" "I am unable to request the password myself without gksu. Unless you have " "modified your system to explicitely allow your normal user to modify the " "alternatives system, GAlternatives will not work." msgstr "" "Esse programa deve ser executado como root e o /usr/bin/gksu não está " "disponível.\n" "\n" "Não consigo pedir a senha de root eu mesmo sem o gksu. A menos que você " "tenha modificado seu sistema explicitamente para permitir que seu usuário " "comum modifique o sistema de alternatives o GAlternatives não funcionará." #: ../galternatives/main.py:507 msgid "Testing galternatives..." msgstr "Testando o galternatives..." #: ../galternatives/alternative.py:16 ../galternatives.h:15 msgid "No description" msgstr "Sem descrição" #. #. * Arquivo de strings que podem ser traduzidas gerado pelo Glade. #. * Adicione esse arquivo ao POTFILE.in do seu projeto. #. * NÃO compile esse arquivo como parte de sua aplicação. #. #: ../galternatives.h:7 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:8 msgid "_File" msgstr "_Arquivo" #: ../galternatives.h:9 msgid "_Help" msgstr "A_juda" #: ../galternatives.h:10 msgid "_About" msgstr "_Sobre" #: ../galternatives.h:11 msgid "Status:" msgstr "Estado:" #: ../galternatives.h:12 msgid "auto" msgstr "auto" #: ../galternatives.h:13 msgid "manual" msgstr "manual" #: ../galternatives.h:14 msgid "Alternative" msgstr "Alternativa" #: ../galternatives.h:17 msgid "Details" msgstr "Detalhes" #: ../galternatives.h:18 msgid "Slaves" msgstr "Ajudantes" #: ../galternatives.h:19 msgid "About G Alternatives" msgstr "Sobre o G Alternatives" #: ../galternatives.h:20 msgid "G Alternatives" msgstr "G Alternatives" #: ../galternatives.h:21 msgid "" "A tool to help the administrator select which programs provide specific " "services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva" msgstr "" "Uma ferramenta para ajudar o administrador a selecionar que programas " "fornecem serviços específicos para o usuário por padrão.\n" "\n" "(C) 2003 Gustavo Noronha Silva" #: ../galternatives.h:24 msgid "C_redits" msgstr "C_réditos" #: ../galternatives.h:25 msgid "G Alternatives Credits" msgstr "Créditos do G Alternatives" #: ../galternatives.h:26 msgid "Gustavo Noronha Silva " msgstr "Gustavo Noronha Silva " #: ../galternatives.h:27 msgid "Written by" msgstr "Escrito por" #: ../galternatives.h:28 msgid "translator_credits" msgstr "Gustavo Noronha Silva " #: ../galternatives.h:29 msgid "Translated by" msgstr "Traduzido por" #: ../galternatives.h:30 msgid "Leandro A. F. Pereira " msgstr "Leandro A. F. Pereira " #: ../galternatives.h:31 msgid "Thanks to" msgstr "Obrigado a" #: ../galternatives.h:32 msgid "Adding option to alternative" msgstr "Adicionando opção para a alternativa" #: ../galternatives.h:33 msgid "Path:" msgstr "Caminho:" #: ../galternatives.h:34 msgid "*" msgstr "*" #: ../galternatives.h:35 msgid "_Browse..." msgstr "_Navegar..." #: ../galternatives.h:36 msgid "Priority:" msgstr "Prioridade:" #: ../galternatives.h:37 msgid "Select File" msgstr "Selecionar Arquivo" #: ../galternatives.desktop.in.h:1 msgid "Alternatives Configurator" msgstr "Configurador de Alternativas" #: ../galternatives.desktop.in.h:2 msgid "Configure the system default alternatives" msgstr "Configure as alternativas padrão do sistema" #~ msgid "" #~ "Default Terminal Emulator to use when running text-based applications, " #~ "mainly from the Debian menu." #~ msgstr "" #~ "Emulador de Terminal padrão usado ao rodar aplicações baseadas em texto, " #~ "principalmente a partir do menu Debian." #~ msgid "X Terminal Emulator" #~ msgstr "Emulador de Terminal do X" #~ msgid "G Alternatives" #~ msgstr "G Alternatives" #~ msgid "Manual" #~ msgstr "Manual" #~ msgid "Details..." #~ msgstr "Detalhes..." #~ msgid "_Quit" #~ msgstr "_Sair" #, fuzzy #~ msgid "galternatives" #~ msgstr "Testando o galternatives..." #, fuzzy #~ msgid "galternatives.glade" #~ msgstr "Testando o galternatives..." #, fuzzy #~ msgid "alternatives_tv" #~ msgstr "Testando o galternatives..." galternatives-0.13.5+nmu2/galternatives.desktop0000644000000000000000000000132611420653650016462 0ustar [Desktop Entry] Version=1.0 Name=Alternatives Configurator Name[cs]=Nastavení alternativ Name[es]=Configurador de alternativas Name[fr]=Configurateur d'alternatives Name[pt_BR]=Configurador de Alternativas Name[sv]=Alternativkonfiguratorn Comment=Configure the system default alternatives Comment[cs]=Nastaví výchozí alternativy pro celý systém Comment[es]=Configurar las alternativas por defecto del sistema Comment[fr]=Configuration des alternatives par défaut du système Comment[pt_BR]=Configure as alternativas padrão do sistema Comment[sv]=Konfigurera systemets standardalternativ Type=Application Exec=/usr/sbin/galternatives Icon=galternatives Terminal=false Categories=Settings;GTK;System; StartupNotify=true galternatives-0.13.5+nmu2/galternatives.h0000644000000000000000000000252210063420333015227 0ustar /* * Arquivo de strings que podem ser traduzidas gerado pelo Glade. * Adicione esse arquivo ao POTFILE.in do seu projeto. * NÃO compile esse arquivo como parte de sua aplicação. */ gchar *s = N_("G Alternatives"); gchar *s = N_("_File"); gchar *s = N_("_Help"); gchar *s = N_("_About"); gchar *s = N_("Status:"); gchar *s = N_("auto"); gchar *s = N_("manual"); gchar *s = N_("Alternative"); gchar *s = N_("No description"); gchar *s = N_("Options"); gchar *s = N_("Details"); gchar *s = N_("Slaves"); gchar *s = N_("About G Alternatives"); gchar *s = N_("G Alternatives"); gchar *s = N_("A tool to help the administrator select which programs provide specific services for the user by default.\n" "\n" "(C) 2003 Gustavo Noronha Silva"); gchar *s = N_("C_redits"); gchar *s = N_("G Alternatives Credits"); gchar *s = N_("Gustavo Noronha Silva "); gchar *s = N_("Written by"); gchar *s = N_("translator_credits"); gchar *s = N_("Translated by"); gchar *s = N_("Leandro A. F. Pereira "); gchar *s = N_("Thanks to"); gchar *s = N_("Adding option to alternative"); gchar *s = N_("Path:"); gchar *s = N_("*"); gchar *s = N_("_Browse..."); gchar *s = N_("Priority:"); gchar *s = N_("Select File"); galternatives-0.13.5+nmu2/galternatives.glade0000644000000000000000000012513310063420333016060 0ustar True G Alternatives GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 640 500 True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False 0 True True _File True True True gtk-quit True True _Help True True _About True True gtk-dialog-info 1 0.5 0.5 0 0 0 False False True True 200 True False 0 True GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS True True True gtk-new True True False False True True gtk-properties True True False False True True gtk-delete True True False False True 0 False False True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True 0 True True True False True False 2 6 True False 0 5 True False 1 gtk-dialog-question 6 0.5 0.5 0 0 0 True True True Status: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 True True True True 0 True auto True True manual True 0 False False 0 False True True False 0 True <span size="xx-large" weight="bold">Alternative</span> False True GTK_JUSTIFY_CENTER False False 0.5 0.5 0 0 0 True False True True No description False False GTK_JUSTIFY_FILL True True 0.5 0.5 0 0 0 False False 0 True True 0 False True True 0 0.5 GTK_SHADOW_ETCHED_IN True False 0 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True 0 True True True GTK_BUTTONBOX_END 0 True True True gtk-add True GTK_RELIEF_NORMAL True True True True gtk-properties True GTK_RELIEF_NORMAL True True True True gtk-delete True GTK_RELIEF_NORMAL True 0 False True True Options False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item 0 True True True True 0 True True True False 0 False False Details GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 400 300 True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True 0 0.5 GTK_SHADOW_ETCHED_IN True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True True Slaves False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item About G Alternatives GTK_WINDOW_TOPLEVEL GTK_WIN_POS_MOUSE False True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST 6 269 True False 11 True 0.5 0.5 0 0 0 False False True <span size="xx-large" weight="bold">G Alternatives</span> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False 214 True A tool to help the administrator select which programs provide specific services for the user by default. (C) 2003 Gustavo Noronha Silva False False GTK_JUSTIFY_CENTER True False 0.5 0.5 0 0 0 False True True GTK_BUTTONBOX_DEFAULT_STYLE 0 True True True GTK_RELIEF_NORMAL True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-dialog-info 4 0.5 0.5 0 0 0 False False True C_redits True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True True gtk-close True GTK_RELIEF_NORMAL True 0 False True 8 G Alternatives Credits GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 200 True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False 10 True True True True GTK_POS_TOP False False True Gustavo Noronha Silva <kov@debian.org> False False GTK_JUSTIFY_LEFT False False 0.03 0.03 8 8 False True True Written by False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab True translator_credits False False GTK_JUSTIFY_LEFT False False 0.03 0.03 8 8 False True True Translated by False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab True Leandro A. F. Pereira <leandro@linuxmag.com.br> False False GTK_JUSTIFY_LEFT False False 0.03 0.03 8 8 False True True Thanks to False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 0 True True True 1 0.5 0.1 1 0 0 0 0 True True gtk-close True GTK_RELIEF_NORMAL True 0 False False Adding option to alternative GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST 7 True 5 3 False 3 5 True Path: False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 1 0 1 fill True True True True 0 True * False 1 2 0 1 True True _Browse... True GTK_RELIEF_NORMAL True 2 3 0 1 fill True Priority: False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 1 1 2 fill True 1 0.5 0.05 1 0 0 0 0 True True 1 0 True GTK_UPDATE_ALWAYS False False 20 0 1000 1 10 10 1 2 1 2 True GTK_BUTTONBOX_END 0 True True True gtk-cancel True GTK_RELIEF_NORMAL True True True True gtk-ok True GTK_RELIEF_NORMAL True 0 3 4 5 fill True 0 3 3 4 fill True False 0 0 3 2 3 fill 10 Select File GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True True True True GTK_RELIEF_NORMAL True True True True GTK_RELIEF_NORMAL True galternatives-0.13.5+nmu2/TODO0000644000000000000000000000073010063420333012675 0ustar - find a way to distinguish between local and 'system' options (added Fri Jan 9 03:03:30 2004, incomplete, priority medium) - provide a way to select 'slaves' to the option (added Fri Jan 9 03:05:00 2004, incomplete, priority medium) - add a 'Revert' button to the option-selecting stuff (added Sun Jan 11 14:34:10 2004, incomplete, priority medium) - make adding/removing/editing alternatives work (added Fri Jan 9 03:05:33 2004, incomplete, priority low) galternatives-0.13.5+nmu2/setup.py0000644000000000000000000000254610063420333013726 0ustar #!/usr/local/bin/python import os, sys from distutils.core import setup import galternatives from galternatives.common import VERSION data = [ ('bin', ['galternatives/galternatives']), ('share/pixmaps', ['pixmaps/galternatives.png']), ('share/galternatives', ['galternatives.glade']), ('share/galternatives/descriptions', ['descriptions/x-terminal-emulator.control']) ] if sys.argv[1] == 'build' or sys.argv[1] == 'install': curdir = os.getcwd () os.chdir ('%s/translations' % (curdir)) os.system ('./update-translations.sh') pipe = os.popen ('./list-mos.sh') while True: line = pipe.readline ().strip () if line == '': break data.append (('share/locale/%s/LC_MESSAGES' % (line), ['translations/%s/galternatives.mo' % (line)])) pipe.close () print data os.chdir (curdir) if __name__ == '__main__' : setup(name = "galternatives", version = VERSION, license = "GPL", description = "Manager for the alternatives system", author = "Gustavo Noronha Silva", author_email = "kov@debian.org", url = "http://galternatives.alioth.debian.org/", packages = [ 'galternatives' ], data_files = data) galternatives-0.13.5+nmu2/debian/0000755000000000000000000000000011420653661013441 5ustar galternatives-0.13.5+nmu2/debian/galternatives.install0000644000000000000000000000042611354046652017705 0ustar galternatives/galternatives usr/sbin/ galternatives.glade usr/share/galternatives/ galternatives.desktop usr/share/applications/ pixmaps/galternatives.png usr/share/pixmaps/ debian/galternatives.xpm usr/share/pixmaps/ descriptions/*control usr/share/galternatives/descriptions/ galternatives-0.13.5+nmu2/debian/changelog0000644000000000000000000002001211420653650015304 0ustar galternatives (0.13.5+nmu2ubuntu1) maverick; urgency=low * Merge from debian unstable (LP: #605311). Remaining changes: - Update desktop file to current standards and remove empty TryExec - galternatives.desktop.in, galternatives.desktop: add Settings in Categories to install icon in Settings menu entry - debian/galternatives.menu: update section to Applications/System/ Administration -- Angel Abad Sat, 26 Jun 2010 01:24:37 +0100 galternatives (0.13.5+nmu2) unstable; urgency=low [ Piotr Ożarowski ] * Non-maintainer upload. * Change XS-Python-Version from "current" to ">= 2.4" (closes: #586317) [ Andreas Barth ] * actually uploading to unstable -- Andreas Barth Fri, 25 Jun 2010 18:37:51 +0000 galternatives (0.13.5ubuntu1) maverick; urgency=low * Merge from debian unstable. (LP: #588901) Remaining changes: - Update desktop file to current standards and remove empty TryExec * galternatives.desktop.in, galternatives.desktop: add Settings in Categories to install icon in Settings menu entry * debian/galternatives.menu: update section to Applications/System/ Administration -- Stefano Rivera Wed, 02 Jun 2010 22:19:10 +0200 galternatives (0.13.5) unstable; urgency=low * take over package (Closes: #365365) * fix problem with rebuilding package by converting to dh7 (Closes: #574767) -- Ryan Niebur Mon, 29 Mar 2010 00:03:14 -0700 galternatives (0.13.4ubuntu1) hardy; urgency=low * debian/control: - updated maintainer field * galternatives.desktop.in: - removed deprecated Encoding field - removed deprecated Application entry from Categories field - updated Icon field - removed X-GNOME-DocPath and TryExec fields (LP: #104998) * galternatives.desktop: - removed deprecated Encoding field - removed deprecated Application entry from Categories field - updated Icon field - removed X-GNOME-DocPath and TryExec fields -- Mario Bonino Wed, 05 Dec 2007 12:56:12 +0100 galternatives (0.13.4) unstable; urgency=low * QA upload. * translations/merge-translations.sh: Fix bashism. Closes: #384824. * Build-depend on debhelper (>= 5.0.37.2) for new dh_python. -- Matej Vela Sun, 27 Aug 2006 10:13:45 +0200 galternatives (0.13.3) unstable; urgency=low * QA Upload * Add Manpage (Closes: #379563) debian/rules: add DEB_INSTALL_MANPAGES_xx -- Michael Ablassmeier Mon, 7 Aug 2006 17:22:31 +0200 galternatives (0.13.2) unstable; urgency=low * QA upload. * Update package to the last python policy (Closes: #380803). -- Pierre Habouzit Tue, 1 Aug 2006 21:39:35 +0200 galternatives (0.13.1) unstable; urgency=low * QA Upload * Add Swedish and Czech translations (Closes: #348058, #361665) * Move Debhelper and CDBS to Build-Depends * Conforms with new Standards Version -- Michael Ablassmeier Wed, 17 May 2006 14:48:10 +0200 galternatives (0.13) unstable; urgency=low * Orphaning thepackage. -- Gustavo Noronha Silva Sat, 29 Apr 2006 12:10:59 -0300 galternatives (0.12) unstable; urgency=low * debian/galternatives.menu: - accepted patch by Guilherme de S. Pastore to fix the misuse of the hints field (Closes: #314398) * translations/fr.po: - updated by Christian Perrier (Closes: #298520) * galternatives/main.py: - accepted patch by Kazuhiro NISHIYAMA to sort by priority and right-align it (Closes: #301002) * debian/control: - increased Standards-Version with no changes -- Gustavo Noronha Silva Wed, 17 Aug 2005 22:41:25 -0300 galternatives (0.11) unstable; urgency=low * New release * galternatives/main.py, galternatives/galternatives: - look for /usr/bin/gksu before using it when being ran by a normal user and, if it is not found, show a dialog saying things are probably not work. * debian/control: - change Depends on gksu to Recommends and conflicts with versions before 0.8.0, to avoid breakage (Closes: #276967) -- Gustavo Noronha Silva Wed, 8 Dec 2004 00:05:26 -0200 galternatives (0.10) unstable; urgency=medium * New release * galternatives/alternative.py: - no longer provide a default argument to 'status' on Alternative.set_option_status method * galternatives/main.py: - fixed property names to use the Alternative class instead of the old self.* stuff for the alternative name and link (Closes: #281629) * urgency medium because it fixes a nasty bug -- Gustavo Noronha Silva Mon, 22 Nov 2004 01:53:02 -0200 galternatives (0.9) unstable; urgency=low * New release * galternatives/main.py, galternatives/alternative.py: - also include 'unixname' to hold the name of the file and alternative besides the name given by the description file (Closes: #263547) * galternatives/main.py: - replace all gtk.mainloop's for gtk.main's and all gtk.mainquit's for gtk.main_quit's (Closes: #275590) - options are now ordered by priority (Closes: #256538) * translations/{update-po,merge-translations}.sh: - fixed to show what languages are being dealt with at the moment * translations/pt_BR/galternatives.po: - translation updated -- Gustavo Noronha Silva Mon, 11 Oct 2004 16:05:07 -0300 galternatives (0.8) unstable; urgency=low * New release * galternatives/main.py: - fixed problems with toggle buttons and manual/auto menu not behaving (Closes: #254350, #254406) * debian/control: - added python to Build-Depends-Indep (Closes: 254141) -- Gustavo Noronha Silva Mon, 14 Jun 2004 19:01:16 -0300 galternatives (0.7) unstable; urgency=low * New release - first release to unstable - uses first-try setup.py * main.py, galternatives, alternative.py: - modified to accept the new locations of the descriptions, image and description files (/usr/share/galternatives subdirs) - galternative is now a Python script instead of a shell script * debian/galternatives.menu: - added quotes to make lintian happy * debian/control: - Standards-Version 3.6.1, no changes -- Gustavo Noronha Silva Sat, 12 Jun 2004 12:31:13 -0300 galternatives (0.6) experimental; urgency=low * New release * main.py: - add option dialog now has the file selector that works and the spinbutton is being taken into account * translations/fr.po: - new translation, by seb128! -- Gustavo Noronha Silva Thu, 22 Jan 2004 13:01:54 -0200 galternatives (0.5) experimental; urgency=low * New release * main.py: - fixed problem with image - made debuging optional through a --debug command line (Closes: #226336) * debian/galternatives.install: - use pixmaps/galternatives.png to install, instead of ./galternatives.png, which I now removed * debian/docs, TODO: - adding a small TODO file to list what needs to be worked on right now -- Gustavo Noronha Silva Fri, 9 Jan 2004 02:31:31 -0200 galternatives (0.4) experimental; urgency=low * New release - implements adding and removing options - better parser, now uses /var/lib/dpkg/alternatives/ files, no longer parses update-alternatives output -- Gustavo Noronha Silva Mon, 22 Dec 2003 23:34:27 -0200 galternatives (0.3) experimental; urgency=low * New release - implementing menu stuff, credits and basic UI for new features like adding new alternatives/options -- Gustavo Noronha Silva Sun, 7 Dec 2003 13:40:07 -0200 galternatives (0.2) experimental; urgency=low * New release - provide basic infra-structure to handle descriptions for the alternatives -- Gustavo Noronha Silva Mon, 17 Nov 2003 23:56:11 -0200 galternatives (0.1) experimental; urgency=low * Initial release. -- Gustavo Noronha Silva Sat, 15 Nov 2003 09:37:01 -0200 galternatives-0.13.5+nmu2/debian/galternatives.docs0000644000000000000000000000000410063420333017143 0ustar TODOgalternatives-0.13.5+nmu2/debian/control0000644000000000000000000000134611420653650015046 0ustar Source: galternatives Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Ryan Niebur Build-Depends: debhelper (>= 7.2) Build-Depends-Indep: python-dev (>= 2.3), python-support (>= 0.3), intltool, gettext, python-glade2 Standards-Version: 3.7.2 XS-Python-Version: >= 2.4 Package: galternatives Architecture: all Depends: ${python:Depends}, python-glade2 Recommends: gksu Conflicts: gksu (<< 0.8.0) Description: graphical setup tool for the alternatives system A GUI to help the system administrator to choose what program should provide a given service. . This is a graphical front-end to the update-alternatives program shipped with dpkg. galternatives-0.13.5+nmu2/debian/manpages0000644000000000000000000000002711354046526015160 0ustar debian/galternatives.1 galternatives-0.13.5+nmu2/debian/galternatives.menu0000644000000000000000000000043411420653650017176 0ustar ?package(galternatives):\ needs="x11"\ section="Applications/System/Administration"\ title="Alternatives Configurator"\ longtitle="Allows you to choose the default applications to provide some features."\ icon="/usr/share/pixmaps/galternatives.xpm"\ command="/usr/sbin/galternatives" galternatives-0.13.5+nmu2/debian/pycompat0000644000000000000000000000000210463726632015215 0ustar 2 galternatives-0.13.5+nmu2/debian/copyright0000644000000000000000000000054410432615334015374 0ustar This package was debianized by Gustavo Noronha Silva on Sat, 15 Nov 2003 09:37:01 -0200 It was downloaded from http://beterraba.no-ip.org/galternatives/ Copyright Holder: Gustavo Noronha Silva License: This program is licensed under the GPL, wich can be found, on Debian systems on /usr/share/common-licenses galternatives-0.13.5+nmu2/debian/rules0000755000000000000000000000041611354046620014517 0ustar #!/usr/bin/make -f CMD=$(subst override_,,$@) %: dh --buildsystem=python_distutils --with python-support $@ override_dh_auto_build: /bin/sh translations/update-translations.sh $(CMD) override_dh_auto_install: /bin/sh translations/install-translations.sh $(CMD) galternatives-0.13.5+nmu2/debian/galternatives.10000644000000000000000000000071410465655447016411 0ustar .TH "galternatives" "1" .SH "NAME" galternatives \- A front-end to the update-alternatives .SH "SYNOPSIS" \fBgalternatives .SH "DESCRIPTION" .B galternatives is a front-end to the Debian update-alternatives tools. galternatives allows the user to specify a preferred application to handle commonly-used commands. .SH "AUTHOR" .PP This manual page was written by Andrew Burton adb@iinet.net.au for the \fBDebian GNU/Linux\fP system (but may be used by others). galternatives-0.13.5+nmu2/debian/compat0000644000000000000000000000000211354046716014642 0ustar 7 galternatives-0.13.5+nmu2/debian/galternatives.xpm0000644000000000000000000001667510063420333017044 0ustar /* XPM */ static char * galternatives_xpm[] = { "30 32 344 2", " c None", ". c #1B1B1B", "+ c #4A4A4A", "@ c #424242", "# c #171717", "$ c #282828", "% c #C4C4C4", "& c #858585", "* c #ACACAC", "= c #B5B5B5", "- c #B6B6B6", "; c #A8A8A8", "> c #545454", ", c #1D1D1D", "' c #989898", ") c #646464", "! c #C7C7C7", "~ c #E8E8E8", "{ c #878787", "] c #5A5A5A", "^ c #C2C2C2", "/ c #C3C3C3", "( c #616161", "_ c #666666", ": c #CCCCCC", "< c #949494", "[ c #A9A9A9", "} c #F5F5F5", "| c #DBDBDB", "1 c #343434", "2 c #323232", "3 c #686868", "4 c #696969", "5 c #6A6A6A", "6 c #606060", "7 c #0E0E0E", "8 c #020202", "9 c #363B2D", "0 c #3C4235", "a c #414A41", "b c #404F54", "c c #2D363D", "d c #0E1012", "e c #575757", "f c #BBBBBB", "g c #AAAAAA", "h c #E4E4E4", "i c #FAFAFA", "j c #FDFDFD", "k c #777777", "l c #5B5B5B", "m c #7A7A7A", "n c #585858", "o c #383838", "p c #161922", "q c #3E3D2D", "r c #888A64", "s c #90987B", "t c #91A090", "u c #9BAFAA", "v c #8A9DA6", "w c #384855", "x c #999B9C", "y c #ADADAD", "z c #A6A6A6", "A c #E2E2E2", "B c #DDDDDD", "C c #848484", "D c #363636", "E c #191919", "F c #20040B", "G c #5B0E22", "H c #3E1E25", "I c #19070C", "J c #555453", "K c #3B3B3C", "L c #3B3E44", "M c #999169", "N c #CEC693", "O c #C1C0A3", "P c #CDD4C2", "Q c #E9ECD0", "R c #E8ECD7", "S c #A1B5BA", "T c #5E7279", "U c #858686", "V c #DCDCDC", "W c #5E0D24", "X c #9B163B", "Y c #B0163F", "Z c #C41642", "` c #9F1939", " . c #492E34", ".. c #545452", "+. c #505246", "@. c #92906E", "#. c #D2CC97", "$. c #D7D4AC", "%. c #F6F4CC", "&. c #EEF1CD", "*. c #E1E7C5", "=. c #B4C5B8", "-. c #486C88", ";. c #A6ABB0", ">. c #A1A1A0", ",. c #1E1E1E", "'. c #13110D", "). c #531D28", "!. c #851634", "~. c #AC173E", "{. c #C61643", "]. c #C61A46", "^. c #581A2A", "/. c #1F1E1E", "(. c #3C4440", "_. c #485B60", ":. c #969A82", "<. c #CDBE90", "[. c #C7C697", "}. c #ADC098", "|. c #8DAAA7", "1. c #6793B5", "2. c #45709B", "3. c #495155", "4. c #312D28", "5. c #71694F", "6. c #A69976", "7. c #624942", "8. c #791631", "9. c #A8183F", "0. c #AF2749", "a. c #24100D", "b. c #112011", "c. c #263B42", "d. c #243F55", "e. c #435B6A", "f. c #97947B", "g. c #BDB184", "h. c #C9BF95", "i. c #7E99A5", "j. c #4C7DAD", "k. c #4C7297", "l. c #989278", "m. c #4E4735", "n. c #8D8363", "o. c #D4C494", "p. c #C8B98D", "q. c #806F5C", "r. c #451E26", "s. c #473522", "t. c #2C530E", "u. c #1C3810", "v. c #1D363B", "w. c #213C4F", "x. c #274258", "y. c #556669", "z. c #9D9D78", "A. c #D2C796", "B. c #86989A", "C. c #42698F", "D. c #83867A", "E. c #9D8F70", "F. c #605744", "G. c #867C5D", "H. c #CDBD8F", "I. c #82795D", "J. c #3D5722", "K. c #316310", "L. c #1F3E0C", "M. c #162A24", "N. c #1E3849", "O. c #243F53", "P. c #3D505B", "Q. c #606C69", "R. c #A19A7A", "S. c #5C6D74", "T. c #747B74", "U. c #B2A17A", "V. c #857762", "W. c #4F4739", "X. c #8B8061", "Y. c #D3C393", "Z. c #D0C191", "`. c #847E5A", " + c #264111", ".+ c #2B3C18", "++ c #403C32", "@+ c #52554F", "#+ c #616963", "$+ c #60675F", "%+ c #62645A", "&+ c #918669", "*+ c #B7A67C", "=+ c #B8A77D", "-+ c #A99977", ";+ c #706454", ">+ c #2D2820", ",+ c #857A5D", "'+ c #CFBF91", ")+ c #D0C092", "!+ c #D3C293", "~+ c #D3C394", "{+ c #CEBF90", "]+ c #A29672", "^+ c #9B8E6D", "/+ c #90816C", "(+ c #92836D", "_+ c #9E8F72", ":+ c #AC9C78", "<+ c #B9A87D", "[+ c #98896F", "}+ c #63594A", "|+ c #322D23", "1+ c #B6A486", "2+ c #B7A686", "3+ c #BEAD89", "4+ c #C5B48C", "5+ c #CCBC8F", "6+ c #BDAC81", "7+ c #AF9F79", "8+ c #A59575", "9+ c #9D8D72", "0+ c #96866F", "a+ c #99866D", "b+ c #A7876B", "c+ c #B97C5F", "d+ c #B89570", "e+ c #A39273", "f+ c #554C3E", "g+ c #010100", "h+ c #AF9D83", "i+ c #B2A084", "j+ c #BCAA89", "k+ c #BAA888", "l+ c #BBAA88", "m+ c #BAA97E", "n+ c #BA8F6C", "o+ c #BA5042", "p+ c #B94C3F", "q+ c #B78466", "r+ c #B87F62", "s+ c #B83D34", "t+ c #B92625", "u+ c #B9352F", "v+ c #B78C6A", "w+ c #5A513C", "x+ c #0F0D0A", "y+ c #AE9C82", "z+ c #C3B38C", "A+ c #D1C192", "B+ c #C9B98D", "C+ c #BA9D76", "D+ c #BA352F", "E+ c #BA2323", "F+ c #BA302C", "G+ c #BA2F2B", "H+ c #B92221", "I+ c #B82020", "J+ c #BA2524", "K+ c #B27E61", "L+ c #383125", "M+ c #000000", "N+ c #B09E83", "O+ c #CABA8F", "P+ c #CFBF90", "Q+ c #BCAB7F", "R+ c #BA9873", "S+ c #BB2323", "T+ c #BA2222", "U+ c #B92121", "V+ c #A18267", "W+ c #312C24", "X+ c #010101", "Y+ c #BDAC89", "Z+ c #D2C293", "`+ c #CDBD8E", " @ c #BBAA7F", ".@ c #BAA47A", "+@ c #BA5F4B", "@@ c #BA2625", "#@ c #BA2E2B", "$@ c #BA7F61", "%@ c #9F8F71", "&@ c #2C2822", "*@ c #C5B58C", "=@ c #BAA279", "-@ c #BA7259", ";@ c #BA342F", ">@ c #BA2D2A", ",@ c #BA7A5D", "'@ c #BAA87D", ")@ c #2B2621", "!@ c #030303", "~@ c #C8B88E", "{@ c #CFBE8F", "]@ c #BA4D3F", "^@ c #BA2927", "/@ c #BA6F56", "(@ c #BAA67C", "_@ c #9C8D70", ":@ c #352F28", "<@ c #D2C192", "[@ c #BCAB80", "}@ c #BAA078", "|@ c #BA6953", "1@ c #85785F", "2@ c #383329", "3@ c #BEAD81", "4@ c #BAA77D", "5@ c #BAA87E", "6@ c #938564", "7@ c #393529", "8@ c #2A261E", "9@ c #030302", "0@ c #AC9F78", "a@ c #C5B587", "b@ c #B4A47A", "c@ c #6F654B", "d@ c #1A1812", "e@ c #020201", "f@ c #776E53", "g@ c #CBBC8D", "h@ c #C8B88A", "i@ c #B0A077", "j@ c #988A67", "k@ c #59513C", "l@ c #16140F", "m@ c #030202", "n@ c #72694F", "o@ c #807659", "p@ c #A09470", "q@ c #C8B98B", "r@ c #B8A77C", "s@ c #938664", "t@ c #484130", "u@ c #1A1711", "v@ c #645C45", "w@ c #373327", "x@ c #7C7357", "y@ c #978C69", "z@ c #8C805F", "A@ c #7D7154", "B@ c #474030", "C@ c #040302", " ", " . + ", " @ @ # $ % & ", " + * = - ; > , ' ) ! ~ { ", " ] ^ / % ^ ( _ : < [ } | 1 ", " 2 3 4 5 6 7 8 9 0 a b c d e f g [ h i j k ", " l m 5 n o p q r s t u v w x y z A B C D E ", " F G H I J K L M N O P Q R S T U V ^ _ ", " W X Y Z ` ...+.@.#.$.%.&.*.=.-.;.>.,. ", " '.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4. ", " 5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m. ", " n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F. ", " G.o.o.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W. ", " X.Y.o.o.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+ ", " ,+'+)+!+~+{+]+^+/+(+_+:+U.*+<+=+[+}+ ", " |+1+2+3+4+5+6+<+7+8+9+0+a+b+c+d+e+f+ ", " g+h+i+j+k+l+m+m+n+o+p+q+r+s+t+u+v+w+ ", " x+y+z+Y.A+B+m+C+D+E+E+F+G+H+I+J+K+L+ ", " M+N+O+o.Y.P+Q+R+E+S+E+E+E+T+U+E+V+W+ ", " X+Y+Z+o.Y.`+ @.@+@@@E+E+E+E+#@$@%@&@ ", " X+*@o.o.Y.`+m+m+=@-@;@E+E+>@,@'@%@)@ ", " !@~@o.o.o.{@Q+m+m+m+m+]@^@/@(@m+_@:@ ", " X+A+o.o.o.<@[@m+m+m+m+}@|@C+m+m+1@2@ ", " M+P+o.o.o.Y.3@m+m+m+m+m+4@5@<+6@7@8@ ", " 9@0@o.Y.~+o.a@m+m+m+m+m+m+b@c@d@e@ ", " f@g@Y.Y.o.h@m+m+m+m+i@j@k@l@m@ ", " n@o@p@q@Y.`+[@m+r@s@t@u@9@ ", " v@w@x@y@z@A@B@l@C@ ", " ", " ", " ", " "}; galternatives-0.13.5+nmu2/debian/clean0000644000000000000000000000004411354046540014442 0ustar galternatives/*pyc translations/*mo galternatives-0.13.5+nmu2/galternatives.desktop.in0000644000000000000000000000036211420653650017066 0ustar [Desktop Entry] Version=1.0 _Name=Alternatives Configurator _Comment=Configure the system default alternatives Type=Application Exec=/usr/sbin/galternatives Icon=galternatives Terminal=false Categories=Settings;GTK;System; StartupNotify=true galternatives-0.13.5+nmu2/descriptions/0000755000000000000000000000000011411174203014713 5ustar galternatives-0.13.5+nmu2/descriptions/x-terminal-emulator.control0000644000000000000000000000032511411174204022224 0ustar [Alternative Entry] Encoding=UTF-8 Name=X Terminal Emulator Description=Default Terminal Emulator to use when running text-based applications, mainly from the Debian menu. Type=Application Icon=x-terminal-emulatorgalternatives-0.13.5+nmu2/descriptions/x-terminal-emulator.control.in0000644000000000000000000000032510132572564022643 0ustar [Alternative Entry] Encoding=UTF-8 Name=X Terminal Emulator Description=Default Terminal Emulator to use when running text-based applications, mainly from the Debian menu. Type=Application Icon=x-terminal-emulatorgalternatives-0.13.5+nmu2/pixmaps/0000755000000000000000000000000010300763702013672 5ustar galternatives-0.13.5+nmu2/pixmaps/galternatives.png0000644000000000000000000000770610063420333017256 0ustar PNG  IHDR04̓gAMA a pHYs  d_hIDATx{T՝?5=O <Ebj%B&b\*WC|nָnRMUIͮ%ɮjaTPF+"Eo߾0ѤRGU=w!<{ُ>芍7^XBkmmՊ .O /,ܳgOm~F?Z|X~lTl'$:)4M]رCD"!6o|cf I!CZ gyMUU 0 L4M袋!rB`|cشil6;{)D"i4:?N*B44McƓO>y;@> 2ʢ* yt2204\0_nYbWJ欏ۃF8* IKo@T)Jj6v$ /8r;:K~:/ [,u|q9)K4M  H6GXbؼq̥&Ù.l:ɔ})imݛ2̞OcbxRJ t颙<Ⓓ$ 4KA3qB%H\,o^v?Bۯ$9yx<1*B" )帪s*vذ ey]A H jLʪfyҽmmU9~_CsK!}I6љ3KwR)&:l)ed`ZM?yp#<bBn"UMUQmHHF2'#|^ܸj/]׋N!Yb_o'^3-i|_b=NIL@R -`U)t6OgNk2R*#괉LOj+;t\0Nnei膂TM$A+1S['dmL֣?頩 ᰆa(XFRBw=rN[:X=7U!ҟh9 n{U(Dy>BTYIiuO.Nx^@;|N8cpA *fք0 %[(uEkC}|@\7@J=K@^d.e7dG1XؤllDDͻȆ( %xN_\$T1-o;b|q(*@v\nјNՔ0B\'v\|  ]x? o!ȹrhčj8p#N-*TUPY0 շ+Xm; (?ܨ /X{!ȐdsKW%E2LIx흽2蹇Ҩ̔s w@%74s `ד]O>@Tɴ:wgM%cD!4Q~.׺R,aAIDQF%|9br&D&[0b!\7 zea@իWTJ]v*%Rjm݄škꄭ  es@S7(|F0O>id:_ݙ3g>LRN` -]*+XyU]x,ON'ƯX_ҁX.29t>]`bbyFт gj?pvtq'P ,*/[@kW@eIH|?  Kv ٞMs]V4EsgGix佦*OJ|bQ9L%a*TnB!sʕZ}}Bڀ!:/|^s~|_rPR!UU n-D-XяN'žQetZ!ֻh:.gNl`۾gmΝ:uժUL1`ls#@dܽa=i=?X?RNJ<441$8Ψ8}iڗ3G?ly/y=z@O'3pu]OQVw::yNFp"_-/==ɤRfߑWoe\Gq@vQж$9.@71cFmz h@Spؼɲu9$e1jҶ8zPr\P.`?#Wn"@DQD0$Rgg|vP ?#ǩFbq  0rs?DN3?SK,IENDB`galternatives-0.13.5+nmu2/galternatives.gladep0000644000000000000000000000072610063420333016240 0ustar galternatives galternatives FALSE TRUE TRUE galternatives.h galternatives-0.13.5+nmu2/galternatives/0000755000000000000000000000000011420653661015067 5ustar galternatives-0.13.5+nmu2/galternatives/__init__.py0000755000000000000000000000004610063420333017171 0ustar #!/usr/bin/python from main import * galternatives-0.13.5+nmu2/galternatives/common.py0000755000000000000000000000007110132553057016727 0ustar #!/usr/bin/python PACKAGE='galternatives' VERSION='0.9' galternatives-0.13.5+nmu2/galternatives/gadebug.py0000755000000000000000000000013110063420333017023 0ustar #!/usr/bin/python DEBUG = False def print_debug (str): if DEBUG: print str galternatives-0.13.5+nmu2/galternatives/main.py0000755000000000000000000004473110300761200016362 0ustar #!/usr/bin/python import pygtk pygtk.require ('2.0') import gtk, gobject from gtk import glade from common import PACKAGE import sys, os, gettext from alternative import Alternative _ = gettext.gettext DEBUG = False def print_debug (str): if DEBUG: print str def gtk_main_quit (*args): gtk.main_quit () class GAlternatives: ALTERNATIVES = 0 CHOICE = 0 PRIORITY = 1 OPTIONS = 2 SLAVENAME = 0 SLAVEPATH = 1 def __init__ (self): gettext.bindtextdomain (PACKAGE) gettext.textdomain (PACKAGE) glade.bindtextdomain(PACKAGE) glade.textdomain (PACKAGE) locale = os.getenv ('LC_MESSAGES') if not locale: locale = os.getenv ('LC_ALL') if not locale: locale = os.getenv ('LANG', 'C') try: self.locale = locale[:locale.index ('.')] except ValueError: self.locale = locale print_debug ('SL: %s - L: %s' % (self.locale, locale)) self.gui = glade.XML ('/usr/share/galternatives/galternatives.glade') self.gui.signal_autoconnect (globals ()) self.main_window = self.gui.get_widget ('main_window') # menus / about / credits self.about_window = self.gui.get_widget ('about_window') self.about_window.connect ('delete-event', self.close_about_window_cb) self.about_image = self.gui.get_widget ('about_image') self.about_image.set_from_file ('/usr/share/pixmaps/galternatives.png') self.about_mitem = self.gui.get_widget ('about_mitem') self.about_mitem.connect ('activate', self.show_about_window_cb) self.credits_button = self.gui.get_widget ('credits_button') self.credits_button.connect ('clicked', self.show_credits_window_cb) self.about_close_button = self.gui.get_widget ('about_close_button') self.about_close_button.connect ('clicked', self.close_about_window_cb) self.credits_window = self.gui.get_widget ('credits_window') self.credits_window.connect ('delete-event', self.close_credits_window_cb) translator_label = self.gui.get_widget ('translator_label') if translator_label.get_text () == 'translator_credits': translator_label.set_text (_('Unknown/None')) self.credits_close_button = self.gui.get_widget ('credits_close_button') self.credits_close_button.connect ('clicked', self.close_credits_window_cb) # alternatives treeview self.alternatives_tv = self.gui.get_widget ('alternatives_tv') self.alternatives_model = gtk.TreeStore (gobject.TYPE_STRING) self.alternatives_tv.set_model (self.alternatives_model) self.set_alternatives_columns () self.alternatives_selection = self.alternatives_tv.get_selection () self.alternatives_selection.connect ('changed', self.alternative_selected_cb) self.status_menu = self.gui.get_widget ('status_menu') self.status_changed_signal = self.status_menu.connect ('changed', self.status_changed_cb) self.update_alternatives () # tree for options for each alternative self.options_tv = self.gui.get_widget ('options_tv') self.options_model = gtk.TreeStore (gobject.TYPE_BOOLEAN, gobject.TYPE_INT, gobject.TYPE_STRING) self.options_model.set_sort_column_id (self.PRIORITY, gtk.SORT_DESCENDING) self.options_tv.set_model (self.options_model) self.set_options_columns () self.opt_add_button = self.gui.get_widget ('opt_add_button') self.opt_add_button.connect ('clicked', self.show_add_opt_window_cb) self.opt_properties_button = self.gui.get_widget ('opt_properties_button') self.opt_properties_button.connect ('clicked', self.show_details_cb) self.opt_remove_button = self.gui.get_widget ('opt_remove_button') self.opt_remove_button.connect ('clicked', self.remove_option_cb) # add option window self.add_opt_window = self.gui.get_widget ('add_opt_window') self.add_opt_window.connect ('delete-event', self.hide_add_opt_window_cb) self.add_opt_entry = self.gui.get_widget ('add_opt_entry') self.add_opt_spin = self.gui.get_widget ('add_opt_spin') self.file_selector = self.gui.get_widget ('file_selector') self.filesel_ok = self.gui.get_widget ('filesel_ok') self.filesel_ok.connect ('clicked', self.close_filesel_cb) self.filesel_cancel = self.gui.get_widget ('filesel_cancel') self.filesel_cancel.connect ('clicked', self.close_filesel_cb) self.browse_opt_button = self.gui.get_widget ('browse_opt_button') self.browse_opt_button.connect ('clicked', self.choose_opt_cb) self.add_opt_cancel = self.gui.get_widget ('add_opt_cancel') self.add_opt_cancel.connect ('clicked', self.hide_add_opt_window_cb) self.add_opt_ok = self.gui.get_widget ('add_opt_ok') self.add_opt_ok.connect ('clicked', self.add_option_cb) # details window self.details_window = self.gui.get_widget ('details_window') self.details_window.connect ('delete_event', self.hide_details_cb) # tree for slaves for each option self.slaves_tv = self.gui.get_widget ('slaves_tv') self.slaves_model = gtk.TreeStore (gobject.TYPE_STRING, gobject.TYPE_STRING) self.slaves_tv.set_model (self.slaves_model) self.set_slaves_columns () # selects the first alternative on the list iter = self.alternatives_model.get_iter_first () if iter != None: self.alternatives_selection.select_iter (iter) def mainloop (self): gtk.main () def refresh_ui (self): while gtk.events_pending (): gtk.main_iteration_do (False) def set_alternatives_columns (self): cell_renderer = gtk.CellRendererText () column = gtk.TreeViewColumn (_('Alternatives'), cell_renderer, text=self.ALTERNATIVES) self.alternatives_tv.append_column (column) def option_choice_toggled_cb (self, cr, path): iter = self.options_model.get_iter_from_string (path) current_status = self.options_model.get_value (iter, self.CHOICE) if current_status: return self.set_alternative_option (iter) def show_add_opt_window_cb (self, *args): # FIXME: need to finish this part of the window # for slave in self.altslaves: # label = gtk.Label () # label.set_text ('%s (%s)' % (slave['name'], slave['link'])) # self.add_opt_window.vbox.pack_start (label, 1, 1, 0) # # entry self.add_opt_window.show_all () def hide_add_opt_window_cb (self, *args): self.add_opt_window.hide () self.add_opt_entry.set_text ('') self.add_opt_entry.grab_focus () def add_option_cb (self, *args): alt = self.alternative unixname = alt.get_unixname () link = alt.get_link () path = self.add_opt_entry.get_text () print_debug ('I should be adding %s to the %s alternative here...' %\ (path, self.alternative)) if os.path.exists (path): s = os.stat (path) else: msg = _('The file or directory you selected does not exist.\n' 'Please select a valid one.') dialog = gtk.MessageDialog (self.main_window, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE, msg) result = dialog.run () dialog.destroy () return priority = self.add_opt_spin.get_value () cmd = '/usr/sbin/update-alternatives --install %s %s %s %d > /dev/null 2>&1' % (link, unixname, path, priority) result = os.system (cmd) print_debug (cmd) print_debug ('Result: %d' % (result)) self.hide_add_opt_window_cb (self) self.update_metainfo () self.update_options_tree () def choose_opt_cb (self, *args): self.file_selector.show_now () gtk.main () filename = self.file_selector.get_filename () if filename != '': self.add_opt_entry.set_text (filename) self.file_selector.set_filename ('') print_debug ('File selected: %s' % (filename)) def close_filesel_cb (self, *args): self.file_selector.hide () if gtk.main_level () > 1: gtk.main_quit () def remove_option_cb (self, *args): alt = self.alternative selection = self.options_tv.get_selection () unixname = alt.get_unixname () tm, iter = selection.get_selected () option = self.options_model.get_value (iter, self.OPTIONS) if self.ask_for_confirmation (_('Are you sure you want to remove this option?')): cmd = '/usr/sbin/update-alternatives --remove %s %s > /dev/null 2>&1' % (unixname, option) result = os.system (cmd) print_debug (cmd) print_debug ('Result: %d' % (result)) self.update_metainfo () self.update_options_tree () def ask_for_confirmation (self, msg): dialog = gtk.MessageDialog (self.main_window, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, msg) result = dialog.run () dialog.destroy () if result == gtk.RESPONSE_YES: return True else: return False def set_alternative_option (self, iter): alt = self.alternative unixname = alt.get_unixname () option = self.options_model.get_value (iter, self.OPTIONS) result = os.system ('/usr/sbin/update-alternatives --set %s %s > /dev/null 2>&1' % (unixname, option)) print_debug ('/usr/sbin/update-alternatives --set %s %s > /dev/null 2>&1' % (unixname, option)) print_debug ('Result: %d' % (result)) def deactivate (model, path, iter): if self.options_model.get_value (iter, self.CHOICE): self.options_model.set (iter, self.CHOICE, False) self.options_model.foreach (deactivate) self.options_model.set (iter, self.CHOICE, False) # refresh the GUI, to get the new situation self.update_metainfo () self.update_options_tree () def set_options_columns (self): """ set_options_columns () Sets up the columns for the Options list for the currently selected alternative. """ self.options_tv.set_reorderable (True) cell_renderer = gtk.CellRendererToggle () cell_renderer.set_radio (True) cell_renderer.connect ('toggled', self.option_choice_toggled_cb) column = gtk.TreeViewColumn (_('Choice'), cell_renderer, active=self.CHOICE) column.set_fixed_width (50) self.options_tv.append_column (column) cell_renderer = gtk.CellRendererText () cell_renderer.set_property ('xalign', 0.9) column = gtk.TreeViewColumn (_('Priority'), cell_renderer, text=self.PRIORITY) column.set_sort_order (gtk.SORT_DESCENDING) column.set_sort_indicator (True) column.set_sort_column_id (self.PRIORITY) column.set_fixed_width (50) self.options_tv.append_column (column) cell_renderer = gtk.CellRendererText () column = gtk.TreeViewColumn (_('Options'), cell_renderer, text=self.OPTIONS) self.options_tv.append_column (column) def set_slaves_columns (self): cell_renderer = gtk.CellRendererText () column = gtk.TreeViewColumn (_('Name'), cell_renderer, text=self.SLAVENAME) self.slaves_tv.append_column (column) cell_renderer = gtk.CellRendererText () column = gtk.TreeViewColumn (_('Slave'), cell_renderer, text=self.SLAVEPATH) self.slaves_tv.append_column (column) def update_alternatives (self, directory='/var/lib/dpkg/alternatives/'): self.alternatives_model.clear () alternatives = os.listdir (directory) alternatives.sort () for alternative in alternatives: iter = self.alternatives_model.append (None) self.alternatives_model.set (iter, self.ALTERNATIVES, alternative) def alternative_selected_cb (self, selection): # feels faster ;) self.refresh_ui () self.update_metainfo () self.update_options_tree () def status_changed_cb (self, *args): alt = self.alternative selection = self.options_tv.get_selection () self.refresh_ui () option = self.status_menu.get_history () if option == 0: alt.set_option_status ('auto') os.system ('/usr/sbin/update-alternatives --auto %s > /dev/null 2>&1' % (alt.get_unixname ())) else: alt.set_option_status ('manual') tm, iter = selection.get_selected () self.set_alternative_option (iter) self.update_metainfo () self.update_options_tree () def update_options_tree (self): alt = self.alternative selection = self.options_tv.get_selection () self.options_model.clear () for option in alt.get_options (): if option['path'] == alt.get_current_option (): is_chosen = True else: is_chosen = False iter = self.options_model.append (None) self.options_model.set (iter, self.CHOICE, is_chosen, self.PRIORITY, int(option['priority']), self.OPTIONS, option['path']) # selects the first alternative on the list iter = self.options_model.get_iter_first () if iter != None: selection.select_iter (iter) def option_get_selected (self): selection = self.options_tv.get_selection () tm, iter = selection.get_selected () if iter == None: return return tm.get_value (iter, self.OPTIONS) def show_details_cb (self, data): self.update_slaves_tree () self.details_window.show_all () def hide_details_cb (self, *args): self.details_window.hide () def show_about_window_cb (self, *args): self.about_window.show_all () def close_about_window_cb (self, *args): self.about_window.hide () def show_credits_window_cb (self, *args): self.credits_window.show_all () def close_credits_window_cb (self, *args): self.credits_window.hide () def options_find_path_in_list (self, path): alt = self.alternative for option in alt.get_options (): if option['path'] == path: return option return None def update_slaves_tree (self): option = self.option_get_selected () self.slaves_model.clear () option = self.options_find_path_in_list (option) for slave in option['slaves']: iter = self.slaves_model.append (None) self.slaves_model.set (iter, self.SLAVENAME, slave['name'], self.SLAVEPATH, slave['path']) def update_metainfo (self): selection = self.alternatives_tv.get_selection () tm, iter = selection.get_selected () self.alternative = Alternative (tm.get_value (iter, self.ALTERNATIVES)) alt = self.alternative alternative_label = self.gui.get_widget ('alternative_label') description_label = self.gui.get_widget ('description_label') status_menu = self.gui.get_widget ('status_menu') # feedback! self.refresh_ui () # set the name of the alternative to the information area alternative_label.set_markup ('%s\n[ %s ]' % \ (alt.get_name (), alt.get_link ())) description_label.set_text (alt.get_description ()) # need to block this signal, or the status_menu change will # undo my changes self.status_menu.handler_block (self.status_changed_signal) if alt.get_option_status () == 'auto': status_menu.set_history (0) else: status_menu.set_history (1) self.status_menu.handler_unblock (self.status_changed_signal) if __name__ == '__main__': if os.getuid (): if os.access ('/usr/bin/gksu', os.X_OK): sys.exit (os.system ('/usr/bin/gksu -t "%s" -m "%s" -u root %s' % (_('Running Alternatives Configurator...'), _('I need your root password to run\n' 'the Alternatives Configurator.'), sys.argv[0]))) else: dialog = gtk.MessageDialog (None, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING, gtk.BUTTONS_CLOSE) dialog.set_markup (_('This program should be run as root and /usr/bin/gksu is not available.\n\n' 'I am unable to request the password myself without gksu. Unless you have ' 'modified your system to explicitely allow your normal user to modify ' 'the alternatives system, GAlternatives will not work.')) dialog.run () dialog.destroy () DEBUG = False try: if sys.argv[1] == '--debug': DEBUG = True except IndexError: pass galternatives = GAlternatives () print_debug (_('Testing galternatives...')) gtk.main () galternatives-0.13.5+nmu2/galternatives/galternatives0000755000000000000000000000264410155461257017675 0ustar #!/usr/bin/python import os, sys import galternatives from galternatives import gtk import gettext from galternatives.common import PACKAGE _ = gettext.gettext gettext.bindtextdomain (PACKAGE) gettext.textdomain (PACKAGE) if os.getuid (): if os.access ('/usr/bin/gksu', os.X_OK): sys.exit (os.system ('/usr/bin/gksu -t "%s" -m "%s" -u root %s' % (_('Running Alternatives Configurator...'), _('I need your root password to run\n' 'the Alternatives Configurator.'), sys.argv[0]))) else: dialog = gtk.MessageDialog (None, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING, gtk.BUTTONS_CLOSE) dialog.set_markup (_('This program should be run as root and /usr/bin/gksu is not available.\n\n' 'I am unable to request the password myself without gksu. Unless you have ' 'modified your system to explicitely allow your normal user to modify ' 'the alternatives system, GAlternatives will not work.')) dialog.run () dialog.destroy () ga = galternatives.GAlternatives () try: if sys.argv[1] == '--debug': ga.DEBUG = True except IndexError: pass ga.mainloop () galternatives-0.13.5+nmu2/galternatives/alternative.py0000755000000000000000000001160110150262331017746 0ustar #!/usr/bin/python from common import PACKAGE import os, gettext _ = gettext.gettext from gadebug import print_debug class Alternative: def __init__ (self, unixname, locale = 'C'): # default fallback, in case there's no control file, or a # corrupted one self.unixname = unixname self.name = unixname self.description = _('No description') self.locale = locale try: desc_file = open ('/usr/share/galternatives/descriptions/%s.control' % (unixname)) # init some variables, cause we're gonna check all of # them, and some may be unitialized original_name = '' translated_name = '' original_desc = '' translated_desc = '' while 1: str = desc_file.readline ().strip () if str == '': break elif str[:4] == 'Name': translation_start = 5 + len (self.locale) if str[4] == '=': original_name = str[5:] elif str[5:translation_start] == self.locale: translated_name = str[translation_start+2:] elif str[:11] == 'Description': print_debug (str) translation_start = 12 + len (self.locale) if str[11] == '=': original_desc = str[12:] elif str[12:translation_start] == self.locale: translated_desc = str[translation_start+2:] desc_file.close () if translated_name: self.name = translated_name else: self.name = original_name if translated_desc: self.description = translated_desc else: self.description = original_desc except IOError: pass # now get the real information! altfile = open ('/var/lib/dpkg/alternatives/%s' % (unixname)) # parsing file self.option_status = altfile.readline ().strip () print_debug ('The Status is: %s' % (self.option_status)) self.link = altfile.readline ().strip () print_debug ('The link is: %s' % (self.link)) # find out what are the slaves used by this alternative # we need that to know how many slaves to expect from each # alternative self.slaves = [] while 1: line = altfile.readline ().strip () if line == '': break sdict = {} sdict['name'] = line sdict['link'] = altfile.readline ().strip () self.slaves.append (sdict) self.current_option = os.readlink ('/etc/alternatives/%s' % (unixname)) print_debug ('Link currently points to: %s' % (self.current_option)) self.options = [] while 1: line = altfile.readline ().strip () if line == '': break odict = {} odict['path'] = line odict['priority'] = altfile.readline ().strip () print_debug (odict) optslaves = [] for count in range(len (self.slaves)): sdict = {} sdict['name'] = self.slaves[count]['name'] sdict['path'] = altfile.readline ().strip () optslaves.append (sdict) odict['slaves'] = optslaves self.options.append (odict) print_debug (self.options) altfile.close () def get_unixname (self): return self.unixname def get_name (self): return self.name def get_description (self): return self.description def get_options (self): return self.options def get_slaves (self): return self.slaves def get_link (self): return self.link def get_current_option (self): return self.current_option def get_option_status (self): return self.option_status def set_option_status (self, status): self.option_status = status def set_unixname (self, unixname): self.unixname = unixname def set_name (self, name): self.name = name def set_description (self, description): self.description = description def set_options (self, options): self.options = options def set_slaves (self, slaves): self.slaves = slaves def set_link (self, link): self.link = link if __name__ == '__main__': alt = Alternative ('x-terminal-emulator') print 'name: %s\nlink: %s\ndescription: %s\nOptions:' \ % (alt.get_name (), alt.get_link(), alt.get_description ()) print alt.get_options () print 'current_option: %s' % (alt.get_current_option ())