From 0b56dfbf01171226a0bb035afcd13358b6477710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Aug 2015 08:18:11 +0200 Subject: Imported Upstream version 0.6.4 --- resources/locale/es/LC_MESSAGES/es.po | 497 ++++++++--------- resources/locale/es/LC_MESSAGES/gnomepie.mo | Bin 10153 -> 10513 bytes resources/locale/lt/LC_MESSAGES/gnomepie.mo | Bin 0 -> 10815 bytes resources/locale/lt/LC_MESSAGES/lt.po | 590 +++++++++++++++++++++ resources/themes/adwaita_big/arrow.svg | 129 +++++ resources/themes/adwaita_big/arrow_bg.svg | 129 +++++ resources/themes/adwaita_big/icon.svg | 245 +++++++++ resources/themes/adwaita_big/icon_highlight.svg | 248 +++++++++ resources/themes/adwaita_big/icon_mask.svg | 218 ++++++++ resources/themes/adwaita_big/icon_mask_caption.svg | 239 +++++++++ resources/themes/adwaita_big/preview.png | Bin 0 -> 1397 bytes resources/themes/adwaita_big/ring.svg | 245 +++++++++ resources/themes/adwaita_big/theme.xml | 29 + src/deamon.vala | 130 +++-- src/gui/aboutWindow.vala | 1 + src/gui/indicator.vala | 30 +- src/gui/piePreviewAddSign.vala | 18 +- src/gui/preferencesWindow.vala | 6 +- src/pies/pieManager.vala | 12 + src/utilities/bindingManager.vala | 13 +- src/utilities/paths.vala | 2 + 21 files changed, 2472 insertions(+), 309 deletions(-) create mode 100644 resources/locale/lt/LC_MESSAGES/gnomepie.mo create mode 100644 resources/locale/lt/LC_MESSAGES/lt.po create mode 100644 resources/themes/adwaita_big/arrow.svg create mode 100644 resources/themes/adwaita_big/arrow_bg.svg create mode 100644 resources/themes/adwaita_big/icon.svg create mode 100644 resources/themes/adwaita_big/icon_highlight.svg create mode 100644 resources/themes/adwaita_big/icon_mask.svg create mode 100644 resources/themes/adwaita_big/icon_mask_caption.svg create mode 100644 resources/themes/adwaita_big/preview.png create mode 100644 resources/themes/adwaita_big/ring.svg create mode 100644 resources/themes/adwaita_big/theme.xml diff --git a/resources/locale/es/LC_MESSAGES/es.po b/resources/locale/es/LC_MESSAGES/es.po index 9f916ea..ffa99cc 100644 --- a/resources/locale/es/LC_MESSAGES/es.po +++ b/resources/locale/es/LC_MESSAGES/es.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gnomepie 0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-07 08:55+0200\n" +"POT-Creation-Date: 2015-05-02 14:39+0200\n" "PO-Revision-Date: 2012-01-22 15:30-0300\n" "Last-Translator: Gabriel Dubatti \n" "Language-Team: Spanish\n" @@ -18,6 +18,229 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: ../ui/pie_options.ui:53 +msgid "Activation Settings" +msgstr "Configuración de activación" + +#: ../ui/pie_options.ui:153 +msgid "Unamed Pie" +msgstr "Renombrar un Pastel" + +#: ../ui/pie_options.ui:216 +msgid "ID:" +msgstr "ID:" + +#: ../ui/pie_options.ui:234 +msgid "It's possible to bind mouse buttons as well!" +msgstr "También es posible enlazar los botones del ratón!" + +#: ../ui/pie_options.ui:274 +msgid "Turbo mode" +msgstr "Modo Turbo" + +#: ../ui/pie_options.ui:280 ../ui/pie_options.ui:281 +msgid "If checked, the Pie will close when you release the chosen hot key." +msgstr "El Pastel cerrará cuando sueltes el atajo seleccionado." + +#: ../ui/pie_options.ui:293 +msgid "Long press for activation" +msgstr "Pulsación larga para activar" + +#: ../ui/pie_options.ui:299 ../ui/pie_options.ui:300 +msgid "" +"If checked, the Pie will only open if you press this hot key a bit longer." +msgstr "El Pastel sólo se abrirá si presionas el atajo un poco más." + +#: ../ui/pie_options.ui:312 +msgid "Open Pie centered on the screen" +msgstr "Abrir el Pastel en el centro de la pantalla" + +#: ../ui/pie_options.ui:318 ../ui/pie_options.ui:319 +msgid "" +"If checked, the Pie will open in the middle of your screen. Else it will pop " +"up at your pointer." +msgstr "" +"El Pastel abrirá en el centro de la pantalla. De lo contrario abrirá encima " +"del puntero." + +#: ../ui/pie_options.ui:331 +msgid "Warp mouse pointer to center of Pie" +msgstr "Teletransportar el mouse al centro del Pastel" + +#: ../ui/pie_options.ui:337 ../ui/pie_options.ui:338 +msgid "" +"If checked, the mouse pointer will be warped to the center of the Pie. This " +"allows for quick selections even if the Pie is opened at the screen's " +"boundary." +msgstr "" +"El puntero será teletransportado al centro del Pastel. Esto permite acelerar " +"la selección cuando el pastel es abierto cerca de un borde o en el centro de " +"la pantalla." + +#: ../ui/pie_options.ui:356 +msgid "Activation options" +msgstr "Opciones de activación" + +#: ../ui/pie_options.ui:547 +msgid "Automatically select the best pie shape" +msgstr "Seleccionar automáticamente la mejor forma de Pastel" + +#: ../ui/pie_options.ui:551 +msgid "" +"If checked, the shape will be automatically selected to minimize mouse " +"travelling." +msgstr "" +"La forma del Pastel se ajustará según la posición del puntero para minimizar " +"la distancia al centro" + +#: ../ui/pie_options.ui:571 +msgid "Pie shape" +msgstr "Forma del Pastel" + +#: ../ui/slice_select.ui:8 +msgid "Slice Options" +msgstr "Opciones de Rebanadas" + +#: ../ui/slice_select.ui:140 +msgid "There are no options for this Slice type." +msgstr "No hay opciones para este tipo de Rebanada." + +#: ../ui/slice_select.ui:166 +msgid "Name of the Slice " +msgstr "Nombre de la Rebanada " + +#: ../ui/slice_select.ui:204 +msgid "URI to open" +msgstr "URI a abrir" + +#: ../ui/slice_select.ui:242 +msgid "Command to execute" +msgstr "Comando a ejecutar" + +#: ../ui/slice_select.ui:280 +msgid "Hotkey to press" +msgstr "Atajo a presionar" + +#: ../ui/slice_select.ui:309 +msgid "Pie to open" +msgstr "Pastel a abrir" + +#: ../ui/slice_select.ui:338 +msgid "Is Quick Action" +msgstr "Es una Acción Rápida" + +#: ../ui/slice_select.ui:353 ../ui/slice_select.ui:354 +msgid "This Slice will be executed when you click in the middle of the Pie." +msgstr "Esta Rebanada se ejecutará cuando hagas click en el centro del Pastel." + +#: ../ui/slice_select.ui:386 +msgid "Slice options" +msgstr "Opciones de Rebanadas" + +#: ../ui/icon_select.ui:9 +msgid "Select an icon" +msgstr "Selecciona un icono" + +#: ../ui/icon_select.ui:103 +msgid "Icon Theme" +msgstr "Tema de iconos" + +#: ../ui/icon_select.ui:123 +msgid "Custom Icon" +msgstr "Icono personalizado" + +#: ../ui/preferences.ui:7 ../../src/gui/preferencesWindow.vala:76 +msgid "Gnome-Pie Settings" +msgstr "Preferencias de Gnome-Pie" + +#: ../ui/preferences.ui:73 +msgid "Start Gnome-Pie on login" +msgstr "Arrancar Gnome-Pie al inicio" + +#: ../ui/preferences.ui:79 ../ui/preferences.ui:80 +msgid "If checked, Gnome-Pie will start silently everytime you log in." +msgstr "Gnome-Pie se iniciará en silencio cada vez que inicies sesión." + +#: ../ui/preferences.ui:92 +msgid "Display panel icon " +msgstr "Mostrar panel de íconos " + +#: ../ui/preferences.ui:98 ../ui/preferences.ui:99 +msgid "" +"If not checked, you can access this menu by launching Gnome-Pie a second " +"time." +msgstr "" +"Si no esta activado, puedes acceder a este menú lanzando Gnome-Pie por " +"segunda vez." + +#: ../ui/preferences.ui:119 +msgid "Activation radius" +msgstr "Radio máximo de activación" + +#: ../ui/preferences.ui:157 +msgid "Behavior" +msgstr "Comportamiento" + +#: ../ui/preferences.ui:192 +msgid "Display Slice labels" +msgstr "Mostrar etiquetas en las Rebanadas" + +#: ../ui/preferences.ui:198 ../ui/preferences.ui:199 +msgid "" +"Displays the name of each Slice next to it. Only available if supported by " +"the theme." +msgstr "Mostrar el nombre de cada Rebanada. Sólo si es soportado por el Tema." + +#: ../ui/preferences.ui:219 +msgid "Global scale" +msgstr "Escala global" + +#: ../ui/preferences.ui:259 +msgid "Maximum slices per pie" +msgstr "Máximo de Rebanadas por Pastel" + +#: ../ui/preferences.ui:297 +msgid "Appearance" +msgstr "Apariencia" + +#: ../ui/preferences.ui:326 ../../src/gui/preferencesWindow.vala:107 +msgid "General Settings" +msgstr "Preferencias generales" + +#: ../ui/preferences.ui:518 +msgid "" +"This Pie is empty!\n" +"\n" +"Start adding Slices to it! This can be done by dragging stuff to the " +"plus sign below. You can try a lot! For example application launchers or " +"folders. Even URLs from your browser are possible...\n" +"\n" +"For manual and advanced configuration click on the plus sign." +msgstr "" +"Un Pastel vacío!\n" +"\n" +"Empieza añadiendo Rebanadas! Puedes hacerlo arrastrando cosas al signo " +"más. Puedes intentar muchas cosas! Por ejemplo lanzadores de aplicaciones o " +"directorios. Incluso puedes añadir URLs desde tu navegador...\n" +"\n" +"Para configuración manual y avanzada, click en el signo más." + +#: ../ui/preferences.ui:539 +msgid "" +"You have no Pies!\n" +"\n" +"Start by creating one! This can be done by clicking on the tiny little " +"plus sign in the lower left corner." +msgstr "" +"No tienes Pasteles!\n" +"\n" +"Empieza por crear uno! Puedes hacerlo haciendo click en el pequeño " +"signo más en la esquina inferior izquierda." + +#: ../ui/preferences.ui:606 ../../src/gui/preferencesWindow.vala:108 +msgid "Pie Settings" +msgstr "Preferencias del Pastel" + #: ../../src/actions/keyAction.vala:34 msgid "Press hotkey" msgstr "Presiona un atajo" @@ -44,7 +267,7 @@ msgstr "Lanzar una aplicación" #: ../../src/actions/appAction.vala:36 msgid "Executes the given command." -msgstr "Ejecutar un comando dado." +msgstr "Ejecuta un comando dado." #: ../../src/actions/pieAction.vala:34 msgid "Open Pie" @@ -54,31 +277,21 @@ msgstr "Abrir Pastel" msgid "Opens another Pie of Gnome-Pie. You may create sub menus this way." msgstr "Abre otro Pastel de Gnome-Pie. De esta manera puedes crear submenús." -#: ../../src/gui/preferencesWindow.vala:166 -msgid "No Pie selected." -msgstr "Pastel no seleccionado." +#: ../../src/gui/preferencesWindow.vala:77 +msgid "bake your pies!" +msgstr "cocina tus pasteles!" -#: ../../src/gui/preferencesWindow.vala:206 +#: ../../src/gui/preferencesWindow.vala:350 msgid "New Pie" msgstr "Nuevo Pastel" -#: ../../src/gui/preferencesWindow.vala:219 +#: ../../src/gui/preferencesWindow.vala:365 msgid "" "Do you really want to delete the selected Pie with all contained Slices?" msgstr "" "¿Realmente quieres borrar el Pastel seleccionado incluyendo todas sus " "Rebanadas?" -#: ../../src/gui/triggerSelectWindow.vala:226 -msgid "" -"This hotkey is already assigned to the pie \"%s\"! \n" -"\n" -"Please select another one or cancel your selection." -msgstr "" -"Este atajo ya está asignado al Pastel \"%s\"! \n" -"\n" -"Por favor selecciona otro atajo o cancela tu selección." - #: ../../src/gui/piePreview.vala:148 msgid "Do you really want to delete this Slice?" msgstr "¿Realmente quieres borrar esta Rebanada?" @@ -112,6 +325,10 @@ msgstr "Suelta para mover la Rebanada" msgid "Click to delete" msgstr "Click para borrar" +#: ../../src/gui/pieList.vala:77 +msgid "Pies" +msgstr "Pasteles" + #: ../../src/gui/iconSelectWindow.vala:182 msgid "All icons" msgstr "Todos los iconos" @@ -145,15 +362,25 @@ msgstr "Misceláneos" msgid "All supported image formats" msgstr "Todos los formatos de imágenes soportados" -#: ../../src/gui/newSliceWindow.vala:291 +#: ../../src/gui/newSliceWindow.vala:292 msgid "Rename me!" msgstr "Renómbrame!" +#: ../../src/gui/pieOptionsWindow.vala:274 +msgid "" +"This hotkey is already assigned to the pie \"%s\"! \n" +"\n" +"Please select another one or cancel your selection." +msgstr "" +"Este atajo ya está asignado al Pastel \"%s\"! \n" +"\n" +"Por favor selecciona otro atajo o cancela tu selección." + #: ../../src/gui/themeList.vala:62 msgid "Themes" msgstr "Temas" -#: ../../src/gui/themeList.vala:99 +#: ../../src/gui/themeList.vala:102 msgid "By" msgstr "Por" @@ -177,7 +404,7 @@ msgstr "_Cerrar" msgid "Press a hotkey ..." msgstr "Presiona un atajo ..." -#: ../../src/utilities/key.vala:65 ../../src/utilities/bindingManager.vala:177 +#: ../../src/utilities/key.vala:65 ../../src/utilities/bindingManager.vala:186 #: ../../src/utilities/trigger.vala:195 ../../src/utilities/trigger.vala:280 #: ../../src/utilities/trigger.vala:281 msgid "Not bound" @@ -265,6 +492,16 @@ msgstr "Grupo: Menú Principal" msgid "Displays your main menu structure." msgstr "Muestra la estructura de tu Menú Principal." +#: ../../src/actionGroups/workspaceWindowListGroup.vala:35 +msgid "Group: Window List for current workspace" +msgstr "Grupo: Lista de Ventanas" + +#: ../../src/actionGroups/workspaceWindowListGroup.vala:37 +msgid "Shows a Slice for each of your opened windows on the current workspace." +msgstr "" +"Muestra una Rebanada para cada una de tus Ventanas abiertas. Casi como Alt-" +"Tab." + #: ../../src/actionGroups/sessionGroup.vala:35 msgid "Group: Session Control" msgstr "Grupo: Control de Sesión" @@ -291,7 +528,8 @@ msgstr "Grupo: Marcadores" #: ../../src/actionGroups/bookmarkGroup.vala:38 msgid "Shows a Slice for each of your directory Bookmarks." -msgstr "Muestra una Rebanada por cada uno de los directorios en los Marcadores." +msgstr "" +"Muestra una Rebanada por cada uno de los directorios en los Marcadores." #: ../../src/pies/defaultConfig.vala:29 msgid "Multimedia" @@ -349,218 +587,5 @@ msgstr "Maximizar" msgid "Restore" msgstr "Restaurar" -#: ../ui/trigger_select.ui:53 -msgid "Activation Settings" -msgstr "Configuración de activación" - -#: ../ui/trigger_select.ui:132 -msgid "It's possible to bind mouse buttons as well!" -msgstr "También es posible enlazar los botones del ratón!" - -#: ../ui/trigger_select.ui:165 -msgid "Turbo mode" -msgstr "Modo Turbo" - -#: ../ui/trigger_select.ui:171 ../ui/trigger_select.ui:172 -msgid "If checked, the Pie will close when you release the chosen hot key." -msgstr "El Pastel cerrará cuando sueltes el atajo seleccionado." - -#: ../ui/trigger_select.ui:184 -msgid "Long press for activation" -msgstr "Pulsación larga para activar" - -#: ../ui/trigger_select.ui:190 ../ui/trigger_select.ui:191 -msgid "" -"If checked, the Pie will only open if you press this hot key a bit longer." -msgstr "El Pastel sólo se abrirá si presionas el atajo un poco más." - -#: ../ui/trigger_select.ui:203 -msgid "Open Pie centered on the screen" -msgstr "Abrir el Pastel en el centro de la pantalla" - -#: ../ui/trigger_select.ui:209 ../ui/trigger_select.ui:210 -msgid "" -"If checked, the Pie will open in the middle of your screen. Else it will pop " -"up at your pointer." -msgstr "" -"El Pastel abrirá en el centro de la pantalla. De lo contrario abrirá encima " -"del puntero." - -#: ../ui/trigger_select.ui:222 -msgid "Warp mouse pointer to center of Pie" -msgstr "Teletransportar el mouse al centro del Pastel" - -#: ../ui/trigger_select.ui:228 ../ui/trigger_select.ui:229 -msgid "" -"If checked, the mouse pointer will be warped to the center of the Pie. This " -"allows for quick selections even if the Pie is opened at the screen's " -"boundary." -msgstr "" -"El puntero será teletransportado al centro del Pastel. Esto permite " -"acelerar la selección cuando el pastel es abierto cerca de un borde o en el " -"centro de la pantalla." - -#: ../ui/trigger_select.ui:247 -msgid "Activation options" -msgstr "Opciones de activación" - -#: ../ui/trigger_select.ui:438 -msgid "Automatically select the best pie shape" -msgstr "Seleccionar automáticamente la mejor forma de Pastel" - -#: ../ui/trigger_select.ui:442 -msgid "" -"If checked, the shape will be automatically selected to minimize mouse " -"travelling." -msgstr "" -"La forma del Pastel se ajustará según la posición del puntero para " -"minimizar la distancia al centro" - -#: ../ui/trigger_select.ui:462 -msgid "Pie shape" -msgstr "Forma del Pastel" - -#: ../ui/slice_select.ui:8 -msgid "Slice Options" -msgstr "Opciones de Rebanadas" - -#: ../ui/slice_select.ui:141 -msgid "There are no options for this Slice type." -msgstr "No hay opciones para este tipo de Rebanada." - -#: ../ui/slice_select.ui:167 -msgid "Name of the Slice " -msgstr "Nombre de la Rebanada " - -#: ../ui/slice_select.ui:205 -msgid "URI to open" -msgstr "URI a abrir" - -#: ../ui/slice_select.ui:243 -msgid "Command to execute" -msgstr "Comando a ejecutar" - -#: ../ui/slice_select.ui:281 -msgid "Hotkey to press" -msgstr "Atajo a presionar" - -#: ../ui/slice_select.ui:310 -msgid "Pie to open" -msgstr "Pastel a abrir" - -#: ../ui/slice_select.ui:339 -msgid "Is Quick Action" -msgstr "Es una Acción Rápida" - -#: ../ui/slice_select.ui:354 ../ui/slice_select.ui:355 -msgid "This Slice will be executed when you click in the middle of the Pie." -msgstr "Esta Rebanada se ejecutará cuando hagas click en el centro del Pastel." - -#: ../ui/slice_select.ui:387 -msgid "Slice options" -msgstr "Opciones de Rebanadas" - -#: ../ui/icon_select.ui:9 -msgid "Select an icon" -msgstr "Selecciona un icono" - -#: ../ui/icon_select.ui:103 -msgid "Icon Theme" -msgstr "Tema de iconos" - -#: ../ui/icon_select.ui:123 -msgid "Custom Icon" -msgstr "Icono personalizado" - -#: ../ui/rename_pie.ui:8 -msgid "Rename a Pie" -msgstr "Renombrar un Pastel" - -#: ../ui/preferences.ui:7 -msgid "Gnome-Pie Settings" -msgstr "Configuraciones de Gnome-Pie" - -#: ../ui/preferences.ui:27 ../ui/settings.ui:8 -msgid "General Settings" -msgstr "Configuraciones Generales" - -#: ../ui/preferences.ui:266 -msgid "" -"This Pie is empty!\n" -"\n" -"Start adding Slices to it! This can be done by dragging stuff to the " -"plus sign below. You can try a lot! For example application launchers or " -"folders. Even URLs from your browser are possible...\n" -"\n" -"For manual and advanced configuration click on the plus sign." -msgstr "" -"Un Pastel vacío!\n" -"\n" -"Empieza añadiendo Rebanadas! Puedes hacerlo arrastrando cosas al signo " -"más. Puedes intentar muchas cosas! Por ejemplo lanzadores de aplicaciones o " -"directorios. Incluso puedes añadir URLs desde tu navegador...\n" -"\n" -"Para configuración manual y avanzada, click en el signo más." - -#: ../ui/preferences.ui:287 -msgid "" -"You have no Pies!\n" -"\n" -"Start by creating one! This can be done by clicking on the tiny little " -"plus sign in the lower left corner." -msgstr "" -"No tienes Pasteles!\n" -"\n" -"Empieza por crear uno! Puedes hacerlo haciendo click en el pequeño " -"signo más en la esquina inferior izquierda." - -#: ../ui/settings.ui:75 -msgid "Start Gnome-Pie on login" -msgstr "Arrancar Gnome-Pie al inicio" - -#: ../ui/settings.ui:81 ../ui/settings.ui:82 -msgid "If checked, Gnome-Pie will start silently everytime you log in." -msgstr "Gnome-Pie se iniciará en silencio cada vez que inicies sesión." - -#: ../ui/settings.ui:94 -msgid "Display panel icon " -msgstr "Mostrar panel de íconos " - -#: ../ui/settings.ui:100 ../ui/settings.ui:101 -msgid "" -"If not checked, you can access this menu by launching Gnome-Pie a second " -"time." -msgstr "Si no esta activado, puedes acceder a este menú lanzando Gnome-Pie " -"por segunda vez." - -#: ../ui/settings.ui:119 -msgid "Behavior" -msgstr "Comportamiento" - -#: ../ui/settings.ui:178 -msgid "Global scale" -msgstr "Escala Global" - -#: ../ui/settings.ui:217 -msgid "Maximum slices per pie" -msgstr "Máximo de Rebanadas por Pastel" - -#: ../ui/settings.ui:256 -msgid "Maximum activation radius" -msgstr "Radio máximo de activación" - -#: ../ui/settings.ui:287 -msgid "Display Slice labels" -msgstr "Mostrar etiquetas en las Rebanadas" - -#: ../ui/settings.ui:293 ../ui/settings.ui:294 -msgid "" -"Displays the name of each Slice next to it. Only available if supported by " -"the theme." -msgstr "" -"Mostrar el nombre de cada Rebanada. Sólo si es soportado por el Tema." - -#: ../ui/settings.ui:312 -msgid "Appearance" -msgstr "Apariencia" - +#~ msgid "No Pie selected." +#~ msgstr "Pastel no seleccionado." diff --git a/resources/locale/es/LC_MESSAGES/gnomepie.mo b/resources/locale/es/LC_MESSAGES/gnomepie.mo index 63ef92f..f0d055e 100644 Binary files a/resources/locale/es/LC_MESSAGES/gnomepie.mo and b/resources/locale/es/LC_MESSAGES/gnomepie.mo differ diff --git a/resources/locale/lt/LC_MESSAGES/gnomepie.mo b/resources/locale/lt/LC_MESSAGES/gnomepie.mo new file mode 100644 index 0000000..5c233de Binary files /dev/null and b/resources/locale/lt/LC_MESSAGES/gnomepie.mo differ diff --git a/resources/locale/lt/LC_MESSAGES/lt.po b/resources/locale/lt/LC_MESSAGES/lt.po new file mode 100644 index 0000000..59be05e --- /dev/null +++ b/resources/locale/lt/LC_MESSAGES/lt.po @@ -0,0 +1,590 @@ +# Lithuanian translations for gnomepie package. +# Copyright (C) 2015 Simon Schneegans +# This file is distributed under the same license as the gnomepie package. +# Moo , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: gnomepie 0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-19 18:29+0300\n" +"PO-Revision-Date: 2015-05-20 22:11+0200\n" +"Last-Translator: Moo \n" +"Language-Team: Lithuanian\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Poedit 1.7.5\n" + +#: ../ui/icon_select.ui:9 +msgid "Select an icon" +msgstr "Pasirinkite piktogramą" + +#: ../ui/icon_select.ui:103 +msgid "Icon Theme" +msgstr "Piktogramų Tema" + +#: ../ui/icon_select.ui:123 +msgid "Custom Icon" +msgstr "Pasirinktina Piktograma" + +#: ../ui/pie_options.ui:53 +msgid "Activation Settings" +msgstr "Aktyvinimo Nustatymai" + +#: ../ui/pie_options.ui:153 +msgid "Unamed Pie" +msgstr "Bevardis Pyragas" + +#: ../ui/pie_options.ui:216 +msgid "ID:" +msgstr "ID:" + +#: ../ui/pie_options.ui:234 +msgid "It's possible to bind mouse buttons as well!" +msgstr "Be to, galima susieti ir pelės mygtukus!" + +#: ../ui/pie_options.ui:274 +msgid "Turbo mode" +msgstr "Turbo veiksena" + +#: ../ui/pie_options.ui:280 ../ui/pie_options.ui:281 +msgid "If checked, the Pie will close when you release the chosen hot key." +msgstr "" +"Jei pažymėta, Pyragas bus užvertas, kai atleisite pasirinktą spartųjį " +"klavišą." + +#: ../ui/pie_options.ui:293 +msgid "Long press for activation" +msgstr "Aktyvinimas ilgu nuspaudimu" + +#: ../ui/pie_options.ui:299 ../ui/pie_options.ui:300 +msgid "" +"If checked, the Pie will only open if you press this hot key a bit longer." +msgstr "" +"Jei pažymėta, Pyragas bus atvertas tik tuomet, jei palaikysite šį spartųjį " +"klavišą šiek tiek ilgiau." + +#: ../ui/pie_options.ui:312 +msgid "Open Pie centered on the screen" +msgstr "Atverti Pyragą ekrano centre" + +#: ../ui/pie_options.ui:318 ../ui/pie_options.ui:319 +msgid "" +"If checked, the Pie will open in the middle of your screen. Else it will pop " +"up at your pointer." +msgstr "" +"Jei pažymėta, Pyragas bus atveriamas ekrano viduryje. Kitu atveju, jis " +"iškils iš jūsų rodyklės." + +#: ../ui/pie_options.ui:331 +msgid "Warp mouse pointer to center of Pie" +msgstr "Permesti pelės rodyklę į Pyrago vidurį" + +#: ../ui/pie_options.ui:337 ../ui/pie_options.ui:338 +msgid "" +"If checked, the mouse pointer will be warped to the center of the Pie. This " +"allows for quick selections even if the Pie is opened at the screen's " +"boundary." +msgstr "" +"Jei pažymėta, pelės rodyklė bus permesta į Pyrago vidurį. Tai leidžia " +"greitai pasirinkti netgi tais atvejais, kai Pyragas atveriamas ekrano krašte." + +#: ../ui/pie_options.ui:356 +msgid "Activation options" +msgstr "Aktyvinimo parinktys" + +#: ../ui/pie_options.ui:547 +msgid "Automatically select the best pie shape" +msgstr "Automatiškai parinkti pyragui tinkamiausią formą" + +#: ../ui/pie_options.ui:551 +msgid "" +"If checked, the shape will be automatically selected to minimize mouse " +"travelling." +msgstr "" +"Jei pažymėta, automatiškai bus parenkama forma, siekiant sumažinti pelės " +"kelią." + +#: ../ui/pie_options.ui:571 +msgid "Pie shape" +msgstr "Pyrago forma" + +#: ../ui/preferences.ui:7 ../../src/gui/preferencesWindow.vala:76 +msgid "Gnome-Pie Settings" +msgstr "Gnome-Pie Nustatymai" + +#: ../ui/preferences.ui:72 +msgid "Start Gnome-Pie on login" +msgstr "Paleisti Gnome-Pie, įjungus kompiuterį" + +#: ../ui/preferences.ui:78 ../ui/preferences.ui:79 +msgid "If checked, Gnome-Pie will start silently everytime you log in." +msgstr "" +"Jei pažymėta, Gnome-Pie bus tyliai paleidžiama, kaskart jums prisijungus." + +#: ../ui/preferences.ui:91 +msgid "Display panel icon " +msgstr "Rodyti skydelio piktogramą" + +#: ../ui/preferences.ui:97 ../ui/preferences.ui:98 +msgid "" +"If not checked, you can access this menu by launching Gnome-Pie a second " +"time." +msgstr "" +"Jei nepažymėta, galite pasiekti šį meniu, paleidę Gnome-Pie antrą kartą." + +#: ../ui/preferences.ui:118 +msgid "Activation radius" +msgstr "Aktyvinimo spindulys" + +#: ../ui/preferences.ui:156 +msgid "Behavior" +msgstr "Elgsena" + +#: ../ui/preferences.ui:191 +msgid "Display Slice labels" +msgstr "Rodyti Gabaliukų pavadinimus" + +#: ../ui/preferences.ui:197 ../ui/preferences.ui:198 +msgid "" +"Displays the name of each Slice next to it. Only available if supported by " +"the theme." +msgstr "" +"Šalia kiekvieno Gabaliuko rodo jo pavadinimą. Prieinama tik tada, jeigu tai " +"palaiko tema." + +#: ../ui/preferences.ui:218 +msgid "Global scale" +msgstr "Visuotinė skalė" + +#: ../ui/preferences.ui:258 +msgid "Maximum slices per pie" +msgstr "Daugiausia gabaliukų pyrage" + +#: ../ui/preferences.ui:296 +msgid "Appearance" +msgstr "Išvaizda" + +#: ../ui/preferences.ui:325 ../../src/gui/preferencesWindow.vala:107 +msgid "General Settings" +msgstr "Bendri Nustatymai" + +#: ../ui/preferences.ui:517 +msgid "" +"This Pie is empty!\n" +"\n" +"Start adding Slices to it! This can be done by dragging stuff to the " +"plus sign below. You can try a lot! For example application launchers or " +"folders. Even URLs from your browser are possible...\n" +"\n" +"For manual and advanced configuration click on the plus sign." +msgstr "" +"Šis Pyragas yra tuščias!\n" +"\n" +"Pridėkite jam Gabaliukus! Tai gali būti atlikta, velkant į žemiau esantį " +"pliuso ženklą įvairią medžiagą. Galite išbandyti daugelį dalykų! Pavyzdžiui, " +"programų leistukus ar aplankus. Galima netgi (URL) nuorodas iš jūsų " +"naršyklės...\n" +"\n" +"Rankinei ar išplėstinei konfigūracijai, spauskite pliuso ženklą." + +#: ../ui/preferences.ui:538 +msgid "" +"You have no Pies!\n" +"\n" +"Start by creating one! This can be done by clicking on the tiny little " +"plus sign in the lower left corner." +msgstr "" +"Jūs neturite Pyragų!\n" +"\n" +"Pradėkite, kurdami pirmą pyragą! Tai galite atlikti nuspaudę, " +"apatiniame kairiajame kampe esantį, mažytį pliuso ženklą." + +#: ../ui/preferences.ui:605 ../../src/gui/preferencesWindow.vala:108 +msgid "Pie Settings" +msgstr "Pyrago Nustatymai" + +#: ../ui/slice_select.ui:8 +msgid "Slice Options" +msgstr "Gabaliuko Parinktys" + +#: ../ui/slice_select.ui:140 +msgid "There are no options for this Slice type." +msgstr "Šiam Gabaliuko tipui parinkčių nėra." + +#: ../ui/slice_select.ui:166 +msgid "Name of the Slice " +msgstr "Gabaliuko Pavadinimas" + +#: ../ui/slice_select.ui:204 +msgid "URI to open" +msgstr "Atveriamas URI" + +#: ../ui/slice_select.ui:242 +msgid "Command to execute" +msgstr "Vykdoma komanda" + +#: ../ui/slice_select.ui:280 +msgid "Hotkey to press" +msgstr "Nuspaudžiamas spartusis klavišas" + +#: ../ui/slice_select.ui:309 +msgid "Pie to open" +msgstr "Pyragas, kurį atverti" + +#: ../ui/slice_select.ui:338 +msgid "Is Quick Action" +msgstr "Yra Greitas Veiksmas" + +#: ../ui/slice_select.ui:353 ../ui/slice_select.ui:354 +msgid "This Slice will be executed when you click in the middle of the Pie." +msgstr "Šis Gabaliukas bus vykdomas, kai nuspausite Pyrago viduryje." + +#: ../ui/slice_select.ui:386 +msgid "Slice options" +msgstr "Gabaliuko parinktys" + +#: ../../src/actionGroups/bookmarkGroup.vala:36 +msgid "Group: Bookmarks" +msgstr "Grupė: Žymės" + +#: ../../src/actionGroups/bookmarkGroup.vala:38 +msgid "Shows a Slice for each of your directory Bookmarks." +msgstr "Rodo Gabaliuką kiekvienai jūsų katalogo Žymei." + +#: ../../src/actionGroups/clipboardGroup.vala:64 +msgid "Group: Clipboard" +msgstr "Grupė: Iškarpinė" + +#: ../../src/actionGroups/clipboardGroup.vala:66 +msgid "Manages your Clipboard." +msgstr "Tvarko jūsų Iškarpinę." + +#: ../../src/actionGroups/devicesGroup.vala:35 +msgid "Group: Devices" +msgstr "Grupė: Įrenginiai" + +#: ../../src/actionGroups/devicesGroup.vala:37 +msgid "Shows a Slice for each plugged in devices, like USB-Sticks." +msgstr "" +"Rodo Gabaliuką kiekvienam, tokiam kaip USB atmintinė, prijungtam įrenginiui." + +#: ../../src/actionGroups/devicesGroup.vala:85 +msgid "Root" +msgstr "Šaknis" + +#: ../../src/actionGroups/menuGroup.vala:35 +msgid "Group: Main menu" +msgstr "Grupė: Pagrindinis meniu" + +#: ../../src/actionGroups/menuGroup.vala:37 +msgid "Displays your main menu structure." +msgstr "Rodo jūsų pagrindinio meniu struktūrą" + +#: ../../src/actionGroups/sessionGroup.vala:35 +msgid "Group: Session Control" +msgstr "Grupė: Seanso Valdymas" + +#: ../../src/actionGroups/sessionGroup.vala:37 +msgid "Shows a Slice for Shutdown, Reboot, and Hibernate." +msgstr "Rodo Gabaliuką Išjungimui, Paleidimui iš naujo ir Užmigdymui." + +#: ../../src/actionGroups/sessionGroup.vala:60 +msgid "Shutdown" +msgstr "Išjungti" + +#: ../../src/actionGroups/sessionGroup.vala:63 +msgid "Logout" +msgstr "Atsijungti" + +#: ../../src/actionGroups/sessionGroup.vala:66 +msgid "Reboot" +msgstr "Paleisti iš naujo" + +#: ../../src/actionGroups/windowListGroup.vala:34 +msgid "Group: Window List" +msgstr "Grupė: Langų Sąrašas" + +#: ../../src/actionGroups/windowListGroup.vala:36 +msgid "Shows a Slice for each of your opened Windows. Almost like Alt-Tab." +msgstr "Rodo Gabaliuką kiekvienam jūsų atvertam Langui. Beveik kaip Alt-Tab." + +#: ../../src/actionGroups/workspaceWindowListGroup.vala:35 +msgid "Group: Window List for current workspace" +msgstr "Grupė: Esamo darbalaukio Langų Sąrašas" + +#: ../../src/actionGroups/workspaceWindowListGroup.vala:37 +msgid "Shows a Slice for each of your opened windows on the current workspace." +msgstr "Rodo Gabaliuką kiekvienam, jūsų esamame darbalaukyje, atvertam langui." + +#: ../../src/actions/actionRegistry.vala:119 +msgid "Trash" +msgstr "Šiukšlinė" + +#: ../../src/actions/appAction.vala:34 +msgid "Launch application" +msgstr "Vykdyti programą" + +#: ../../src/actions/appAction.vala:36 +msgid "Executes the given command." +msgstr "Vykdo nurodytą komandą." + +#: ../../src/actions/keyAction.vala:34 +msgid "Press hotkey" +msgstr "Spausti spartųjį klavišą" + +#: ../../src/actions/keyAction.vala:36 +msgid "Simulates the activation of a hotkey." +msgstr "Imituoja sparčiojo klavišo aktyvinimą." + +#: ../../src/actions/pieAction.vala:34 +msgid "Open Pie" +msgstr "Atverti Pyragą" + +#: ../../src/actions/pieAction.vala:36 +msgid "Opens another Pie of Gnome-Pie. You may create sub menus this way." +msgstr "Atveria kitą Gnome-Pie Pyragą. Tokiu būdu galite kurti kelis submeniu." + +#: ../../src/actions/uriAction.vala:34 +msgid "Open URI" +msgstr "Atverti URI" + +#: ../../src/actions/uriAction.vala:36 +msgid "Opens a given location. You may use URL's or files paths." +msgstr "Atveria nurodytą vietą. Galite naudoti URL ar failų kelius." + +#: ../../src/gui/iconSelectWindow.vala:182 +msgid "All icons" +msgstr "Visos piktogramos" + +#: ../../src/gui/iconSelectWindow.vala:183 +#: ../../src/pies/defaultConfig.vala:36 +msgid "Applications" +msgstr "Programos" + +#: ../../src/gui/iconSelectWindow.vala:184 +msgid "Actions" +msgstr "Veiksmai" + +#: ../../src/gui/iconSelectWindow.vala:185 +msgid "Places" +msgstr "Vietos" + +#: ../../src/gui/iconSelectWindow.vala:186 +msgid "File types" +msgstr "Failų tipai" + +#: ../../src/gui/iconSelectWindow.vala:187 +msgid "Emotes" +msgstr "Jaustukai" + +#: ../../src/gui/iconSelectWindow.vala:188 +msgid "Miscellaneous" +msgstr "Įvairios" + +#: ../../src/gui/iconSelectWindow.vala:261 +msgid "All supported image formats" +msgstr "Visi palaikomi paveikslų formatai" + +#: ../../src/gui/indicator.vala:114 +msgid "_Preferences" +msgstr "_Nuostatos" + +#: ../../src/gui/indicator.vala:123 +msgid "_About" +msgstr "_Apie" + +#: ../../src/gui/indicator.vala:138 +msgid "_Quit" +msgstr "_Baigti" + +#: ../../src/gui/newSliceWindow.vala:292 +msgid "Rename me!" +msgstr "Pervadinkite mane!" + +#: ../../src/gui/newsWindow.vala:64 +msgid "_Close" +msgstr "_Užverti" + +#: ../../src/gui/pieList.vala:77 +msgid "Pies" +msgstr "Pyragai" + +#: ../../src/gui/pieOptionsWindow.vala:274 +msgid "" +"This hotkey is already assigned to the pie \"%s\"! \n" +"\n" +"Please select another one or cancel your selection." +msgstr "" +"Šis spartusis klavišas jau yra susietas su pyragu \"%s\"! \n" +"\n" +"Prašome pasirinkti kitą arba atsisakyti savo pasirinkimo." + +#: ../../src/gui/piePreview.vala:148 +msgid "Do you really want to delete this Slice?" +msgstr "Ar tikrai norite ištrinti šį Gabaliuką?" + +#: ../../src/gui/piePreviewRenderer.vala:419 +msgid "Click to edit" +msgstr "Spustelėkite, norėdami redaguoti" + +#: ../../src/gui/piePreviewRenderer.vala:419 +#: ../../src/gui/piePreviewRenderer.vala:434 +msgid "Drag to move" +msgstr "Vilkite, norėdami perkelti" + +#: ../../src/gui/piePreviewRenderer.vala:422 +msgid "Click to add a new Slice" +msgstr "Spustelėkite, norėdami pridėti" + +#: ../../src/gui/piePreviewRenderer.vala:426 +msgid "Drop to add as new Slice" +msgstr "Numeskite, norėdami pridėti" + +#: ../../src/gui/piePreviewRenderer.vala:429 +msgid "Drop to move Slice" +msgstr "Numeskite, norėdami perkelti" + +#: ../../src/gui/piePreviewRenderer.vala:434 +msgid "Click to delete" +msgstr "Spustelėkite, norėdami ištrinti" + +#: ../../src/gui/preferencesWindow.vala:77 +msgid "bake your pies!" +msgstr "kepkite savo pyragus!" + +#: ../../src/gui/preferencesWindow.vala:350 +msgid "New Pie" +msgstr "Naujas Pyragas" + +#: ../../src/gui/preferencesWindow.vala:365 +msgid "" +"Do you really want to delete the selected Pie with all contained Slices?" +msgstr "" +"Ar tikrai norite ištrinti pasirinktą Pyragą kartu su visais jo Gabaliukais?" + +#: ../../src/gui/sliceTypeList.vala:60 +msgid "Slice types" +msgstr "Gabaliukų tipai" + +#: ../../src/gui/themeList.vala:62 +msgid "Themes" +msgstr "Temos" + +#: ../../src/gui/themeList.vala:102 +msgid "By" +msgstr "Pagal" + +#: ../../src/gui/triggerSelectButton.vala:64 +msgid "Press a hotkey ..." +msgstr "Spauskite spartųjį klavišą ..." + +#: ../../src/pies/defaultConfig.vala:29 +msgid "Multimedia" +msgstr "Multimedija" + +#: ../../src/pies/defaultConfig.vala:30 +msgid "Next Track" +msgstr "Kitas Takelis" + +#: ../../src/pies/defaultConfig.vala:31 +msgid "Stop" +msgstr "Stabdyti" + +#: ../../src/pies/defaultConfig.vala:32 +msgid "Previous Track" +msgstr "Ankstesnis Takelis" + +#: ../../src/pies/defaultConfig.vala:33 +msgid "Play/Pause" +msgstr "Groti/Pristabdyti" + +#: ../../src/pies/defaultConfig.vala:45 +msgid "Bookmarks" +msgstr "Žymės" + +#: ../../src/pies/defaultConfig.vala:50 +msgid "Session" +msgstr "Seansas" + +#: ../../src/pies/defaultConfig.vala:54 +msgid "Main Menu" +msgstr "Pagrindinis Meniu" + +#: ../../src/pies/defaultConfig.vala:58 +msgid "Window" +msgstr "Langas" + +#: ../../src/pies/defaultConfig.vala:59 +msgid "Scale" +msgstr "Mastelis" + +#: ../../src/pies/defaultConfig.vala:60 +msgid "Minimize" +msgstr "Sumažinti" + +#: ../../src/pies/defaultConfig.vala:61 +msgid "Close" +msgstr "Užverti" + +#: ../../src/pies/defaultConfig.vala:62 +msgid "Maximize" +msgstr "Išdidinti" + +#: ../../src/pies/defaultConfig.vala:63 +msgid "Restore" +msgstr "Grąžinti iš išdidinimo" + +#: ../../src/utilities/bindingManager.vala:186 ../../src/utilities/key.vala:65 +#: ../../src/utilities/trigger.vala:195 ../../src/utilities/trigger.vala:280 +#: ../../src/utilities/trigger.vala:281 +msgid "Not bound" +msgstr "Nesusieta" + +#: ../../src/utilities/trigger.vala:182 +msgid "Button %i" +msgstr "Mygtukas %i" + +#: ../../src/utilities/trigger.vala:185 +msgid "LeftButton" +msgstr "KairysisMygtukas" + +#: ../../src/utilities/trigger.vala:187 +msgid "RightButton" +msgstr "DešinysisMygtukas" + +#: ../../src/utilities/trigger.vala:189 +msgid "MiddleButton" +msgstr "VidurinisMygtukas" + +#: ../../src/utilities/trigger.vala:216 +msgid "Turbo" +msgstr "Turbo" + +#: ../../src/utilities/trigger.vala:220 ../../src/utilities/trigger.vala:222 +msgid "Delayed" +msgstr "Uždelstas" + +#: ../../src/utilities/trigger.vala:226 ../../src/utilities/trigger.vala:228 +msgid "Centered" +msgstr "Centruotas" + +#: ../../src/utilities/trigger.vala:232 ../../src/utilities/trigger.vala:234 +msgid "Warp" +msgstr "Permesti" + +#: ../../src/utilities/trigger.vala:238 ../../src/utilities/trigger.vala:240 +msgid "Auto-shaped" +msgstr "Auto-forma" + +#: ../../src/utilities/trigger.vala:243 ../../src/utilities/trigger.vala:245 +msgid "Quarter pie" +msgstr "Ketvirtis pyrago" + +#: ../../src/utilities/trigger.vala:249 ../../src/utilities/trigger.vala:251 +msgid "Half pie" +msgstr "Pusė pyrago" diff --git a/resources/themes/adwaita_big/arrow.svg b/resources/themes/adwaita_big/arrow.svg new file mode 100644 index 0000000..d6e0e84 --- /dev/null +++ b/resources/themes/adwaita_big/arrow.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/resources/themes/adwaita_big/arrow_bg.svg b/resources/themes/adwaita_big/arrow_bg.svg new file mode 100644 index 0000000..128deb7 --- /dev/null +++ b/resources/themes/adwaita_big/arrow_bg.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/resources/themes/adwaita_big/icon.svg b/resources/themes/adwaita_big/icon.svg new file mode 100644 index 0000000..577fc54 --- /dev/null +++ b/resources/themes/adwaita_big/icon.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/resources/themes/adwaita_big/icon_highlight.svg b/resources/themes/adwaita_big/icon_highlight.svg new file mode 100644 index 0000000..16019c8 --- /dev/null +++ b/resources/themes/adwaita_big/icon_highlight.svg @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/resources/themes/adwaita_big/icon_mask.svg b/resources/themes/adwaita_big/icon_mask.svg new file mode 100644 index 0000000..790b51f --- /dev/null +++ b/resources/themes/adwaita_big/icon_mask.svg @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/resources/themes/adwaita_big/icon_mask_caption.svg b/resources/themes/adwaita_big/icon_mask_caption.svg new file mode 100644 index 0000000..3267701 --- /dev/null +++ b/resources/themes/adwaita_big/icon_mask_caption.svg @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/resources/themes/adwaita_big/preview.png b/resources/themes/adwaita_big/preview.png new file mode 100644 index 0000000..f104653 Binary files /dev/null and b/resources/themes/adwaita_big/preview.png differ diff --git a/resources/themes/adwaita_big/ring.svg b/resources/themes/adwaita_big/ring.svg new file mode 100644 index 0000000..7973fb3 --- /dev/null +++ b/resources/themes/adwaita_big/ring.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/resources/themes/adwaita_big/theme.xml b/resources/themes/adwaita_big/theme.xml new file mode 100644 index 0000000..16be0a0 --- /dev/null +++ b/resources/themes/adwaita_big/theme.xml @@ -0,0 +1,29 @@ + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+
+ diff --git a/src/deamon.vala b/src/deamon.vala index a35e666..24bc451 100644 --- a/src/deamon.vala +++ b/src/deamon.vala @@ -23,7 +23,7 @@ namespace GnomePie { /// only one instance of Gnome-Pie running. ///////////////////////////////////////////////////////////////////////// -public class Deamon : GLib.Object { +public class Deamon : GLib.Application { ///////////////////////////////////////////////////////////////////// /// The current version of Gnome-Pie @@ -35,15 +35,19 @@ public class Deamon : GLib.Object { /// Varaibles set by the commend line parser. ///////////////////////////////////////////////////////////////////// - public static bool header_bar = false; - public static bool stack_switcher = false; + public static bool disable_header_bar = false; + public static bool disable_stack_switcher = false; ///////////////////////////////////////////////////////////////////// /// The beginning of everything. ///////////////////////////////////////////////////////////////////// public static int main(string[] args) { - version = "0.6.2"; + version = "0.6.4"; + + // disable overlay scrollbar --- hacky workaround for black / + // transparent background + GLib.Environment.set_variable("LIBOVERLAY_SCROLLBAR", "0", true); Logger.init(); Gtk.init(ref args); @@ -68,6 +72,9 @@ public class Deamon : GLib.Object { private static string open_pie = null; private static bool reset = false; + private static bool print_ids = false; + + private static bool handled_local_args = false; ///////////////////////////////////////////////////////////////////// /// Available command line options. @@ -78,65 +85,82 @@ public class Deamon : GLib.Object { "Open the Pie with the given ID", "ID" }, { "reset", 'r', 0, GLib.OptionArg.NONE, out reset, "Reset all options to default values" }, - { "header-bar", 'b', 0, GLib.OptionArg.NONE, out header_bar, - "Uses the new GTK.HeaderBar" }, - { "stack-switcher", 's', 0, GLib.OptionArg.NONE, out stack_switcher, - "Uses the new GTK.StackSwitcher" }, + { "no-header-bar", 'b', 0, GLib.OptionArg.NONE, out disable_header_bar, + "Disables the usage of GTK.HeaderBar" }, + { "no-stack-switcher", 's', 0, GLib.OptionArg.NONE, out disable_stack_switcher, + "Disables the usage of GTK.StackSwitcher" }, + { "print-ids", 'p', 0, GLib.OptionArg.NONE, out print_ids, + "Prints all Pie names with their according IDs" }, { null } }; ///////////////////////////////////////////////////////////////////// - /// C'tor of the Deamon. It checks whether it's the firts running + /// C'tor of the Deamon. It checks whether it's the first running /// instance of Gnome-Pie. ///////////////////////////////////////////////////////////////////// - public void run(string[] args) { + public Deamon() { + Object(application_id: "org.gnome.gnomepie", + flags: GLib.ApplicationFlags.HANDLES_COMMAND_LINE); - // create unique application - var app = new GLib.Application("org.gnome.gnomepie", GLib.ApplicationFlags.HANDLES_COMMAND_LINE); + message("Welcome to Gnome-Pie " + version + "!"); - app.command_line.connect((cmd) => { - string[] tmp = cmd.get_arguments(); - unowned string[] remote_args = tmp; - if (!handle_command_line(remote_args, true)) { - Gtk.main_quit(); - } + // init locale support + Intl.bindtextdomain("gnomepie", Paths.locales); + Intl.textdomain("gnomepie"); - return 0; - }); + // init toolkits and static stuff + ActionRegistry.init(); + GroupRegistry.init(); - app.startup.connect(() => { + PieManager.init(); - message("Welcome to Gnome-Pie " + version + "!"); + // initialize icon cache + Icon.init(); - // init locale support - Intl.bindtextdomain ("gnomepie", Paths.locales); - Intl.textdomain ("gnomepie"); + // connect SigHandlers + Posix.signal(Posix.SIGINT, sig_handler); + Posix.signal(Posix.SIGTERM, sig_handler); - if (handle_command_line(args, false)) { + this.startup.connect(()=>{ - // init toolkits and static stuff - ActionRegistry.init(); - GroupRegistry.init(); - PieManager.init(); - Icon.init(); + // launch the indicator + this.indicator = new Indicator(); - // launch the indicator - this.indicator = new Indicator(); + // finished loading... so run the prog! + message("Started happily..."); + hold(); + }); + } - // connect SigHandlers - Posix.signal(Posix.SIGINT, sig_handler); - Posix.signal(Posix.SIGTERM, sig_handler); + ///////////////////////////////////////////////////////////////////// + /// Call handle_command_line on program launch. + ///////////////////////////////////////////////////////////////////// - // finished loading... so run the prog! - message("Started happily..."); + protected override bool local_command_line(ref unowned string[] args, out int exit_status) { + exit_status = 0; - Gtk.main(); - } - }); + // copy command line + string*[] _args = new string[args.length]; + for (int i = 0; i < args.length; i++) { + _args[i] = args[i]; + } + return handle_command_line(_args, false); + } - app.run(args); + ///////////////////////////////////////////////////////////////////// + /// Call handle_command_line when a remote instance was launched. + ///////////////////////////////////////////////////////////////////// + + protected override int command_line(GLib.ApplicationCommandLine cmd) { + if (handled_local_args) { + string[] tmp = cmd.get_arguments(); + unowned string[] remote_args = tmp; + handle_command_line(remote_args, true); + } + handled_local_args = true; + return 0; } ///////////////////////////////////////////////////////////////////// @@ -146,16 +170,17 @@ public class Deamon : GLib.Object { private static void sig_handler(int sig) { stdout.printf("\n"); message("Caught signal (%d), bye!".printf(sig)); - Gtk.main_quit(); + GLib.Application.get_default().release(); } + ///////////////////////////////////////////////////////////////////// /// Handles command line parameters. ///////////////////////////////////////////////////////////////////// - private bool handle_command_line(string[] args, bool show_preferences) { - // create command line options - var context = new GLib.OptionContext(" - the pie menu for linux"); + private bool handle_command_line(string[] args, bool called_from_remote) { + + var context = new GLib.OptionContext(" - Launches the pie menu for linux."); context.add_main_entries(options, null); context.add_group(Gtk.get_option_group(false)); @@ -163,6 +188,7 @@ public class Deamon : GLib.Object { context.parse(ref args); } catch(GLib.OptionError error) { warning(error.message); + message("Run '%s' to launch Gnome-Pie or run '%s --help' to see a full list of available command line options.\n", args[0], args[0]); } if (reset) { @@ -171,17 +197,23 @@ public class Deamon : GLib.Object { if (GLib.FileUtils.remove(Paths.settings) == 0) message("Removed file \"%s\"", Paths.settings); - return false; + return true; } if (open_pie != null && open_pie != "") { PieManager.open_pie(open_pie); open_pie = ""; - } else if (show_preferences) { + } else if (called_from_remote) { this.indicator.show_preferences(); } - return true; + if (print_ids) { + PieManager.print_ids(); + print_ids = false; + return true; + } + + return false; } } diff --git a/src/gui/aboutWindow.vala b/src/gui/aboutWindow.vala index b4d1e5e..896d2ba 100644 --- a/src/gui/aboutWindow.vala +++ b/src/gui/aboutWindow.vala @@ -44,6 +44,7 @@ public class AboutWindow: Gtk.AboutDialog { "Magnun Leno (PT-BR)", "Kim Boram (KO)", "Eduardo Anabalon (ES)", + "Moo (LT)", "Gabriel Dubatti (ES)", "Grégoire Bellon-Gervais (FR)", "Alex Maxime (FR)", diff --git a/src/gui/indicator.vala b/src/gui/indicator.vala index b46ee59..ddb85e6 100644 --- a/src/gui/indicator.vala +++ b/src/gui/indicator.vala @@ -67,25 +67,37 @@ public class Indicator : GLib.Object { ///////////////////////////////////////////////////////////////////// public Indicator() { - string icon = ""; + string icon = "gnome-pie-symbolic"; var screen = (Gdk.X11.Screen)Gdk.Screen.get_default(); + bool gnome_shell = false; - if (screen.get_window_manager_name() == "Mutter") + if (screen.get_window_manager_name() == "GNOME Shell") { icon = "gnome-pie"; - else - icon = "gnome-pie-symbolic"; + gnome_shell = true; + } #if HAVE_APPINDICATOR - string path = ""; + string path = ""; try { path = GLib.Path.get_dirname(GLib.FileUtils.read_link("/proc/self/exe"))+"/resources"; } catch (GLib.FileError e) { warning("Failed to get path of executable!"); } - this.indicator = new AppIndicator.Indicator.with_path("Gnome-Pie", icon, - AppIndicator.IndicatorCategory.APPLICATION_STATUS, path); + if (gnome_shell) { + + if (GLib.File.new_for_path(path).query_exists()) { + this.indicator = new AppIndicator.Indicator("Gnome-Pie", path + "/" + icon + ".svg", + AppIndicator.IndicatorCategory.APPLICATION_STATUS); + } else { + this.indicator = new AppIndicator.Indicator("Gnome-Pie", icon, + AppIndicator.IndicatorCategory.APPLICATION_STATUS); + } + } else { + this.indicator = new AppIndicator.Indicator.with_path("Gnome-Pie", icon, + AppIndicator.IndicatorCategory.APPLICATION_STATUS, path); + } var menu = new Gtk.Menu(); #else this.indicator = new Gtk.StatusIcon(); @@ -136,7 +148,9 @@ public class Indicator : GLib.Object { // quit item item = new Gtk.ImageMenuItem.with_mnemonic(_("_Quit")); - item.activate.connect(Gtk.main_quit); + item.activate.connect(()=>{ + GLib.Application.get_default().release(); + }); item.show(); menu.append(item); diff --git a/src/gui/piePreviewAddSign.vala b/src/gui/piePreviewAddSign.vala index 4a92067..b3f6f7b 100644 --- a/src/gui/piePreviewAddSign.vala +++ b/src/gui/piePreviewAddSign.vala @@ -185,14 +185,18 @@ public class PiePreviewAddSign : GLib.Object { ///////////////////////////////////////////////////////////////////// public void on_mouse_move(double angle) { - double direction = 2.0 * PI * position/parent.slice_count(); - double diff = fabs(angle-direction); + if (parent.slice_count() > 0) { + double direction = 2.0 * PI * position/parent.slice_count(); + double diff = fabs(angle-direction); - if (diff > PI) - diff = 2 * PI - diff; + if (diff > PI) + diff = 2 * PI - diff; - if (diff < 0.5*PI/parent.slice_count()) this.activity.reset_target(1.0, 1.0); - else this.activity.reset_target(-3.0, 1.5); + if (diff < 0.5*PI/parent.slice_count()) this.activity.reset_target(1.0, 1.0); + else this.activity.reset_target(-3.0, 1.5); + } else { + this.activity.reset_target(1.0, 1.0); + } } ///////////////////////////////////////////////////////////////////// @@ -211,8 +215,8 @@ public class PiePreviewAddSign : GLib.Object { public void on_button_release(double x, double y) { if (this.clicked.end == 0.9) { - this.clicked.reset_target(1.0, 0.1); this.on_clicked((int)this.position); + this.clicked.reset_target(1.0, 0.1); } } } diff --git a/src/gui/preferencesWindow.vala b/src/gui/preferencesWindow.vala index a1dacac..fe3eeb0 100644 --- a/src/gui/preferencesWindow.vala +++ b/src/gui/preferencesWindow.vala @@ -70,7 +70,7 @@ public class PreferencesWindow : GLib.Object { Gdk.EventMask.KEY_PRESS_MASK | Gdk.EventMask.POINTER_MOTION_MASK); - if (Deamon.header_bar) { + if (!Deamon.disable_header_bar) { var headerbar = new Gtk.HeaderBar(); headerbar.show_close_button = true; headerbar.title = _("Gnome-Pie Settings"); @@ -80,7 +80,7 @@ public class PreferencesWindow : GLib.Object { this.notebook = builder.get_object("notebook") as Gtk.Notebook; - if (Deamon.stack_switcher) { + if (!Deamon.disable_stack_switcher) { var main_box = builder.get_object("main-box") as Gtk.Box; var pie_settings = builder.get_object("pie-settings") as Gtk.Box; var general_settings = builder.get_object("general-settings") as Gtk.Box; @@ -241,7 +241,7 @@ public class PreferencesWindow : GLib.Object { this.captions.sensitive = false; } - if (Deamon.stack_switcher) { + if (!Deamon.disable_stack_switcher) { this.stack.set_visible_child_full("2", Gtk.StackTransitionType.NONE); } else { this.notebook.set_current_page(1); diff --git a/src/pies/pieManager.vala b/src/pies/pieManager.vala index 305b444..d2cc837 100644 --- a/src/pies/pieManager.vala +++ b/src/pies/pieManager.vala @@ -120,6 +120,18 @@ public class PieManager : GLib.Object { } } + ///////////////////////////////////////////////////////////////////// + /// Prints the names of all pies with their IDs. + ///////////////////////////////////////////////////////////////////// + + public static void print_ids() { + foreach(var pie in all_pies.entries) { + if (pie.value.id.length == 3) { + message(pie.value.id + " " + pie.value.name); + } + } + } + ///////////////////////////////////////////////////////////////////// /// Returns the hotkey which the Pie with the given ID is bound to. ///////////////////////////////////////////////////////////////////// diff --git a/src/utilities/bindingManager.vala b/src/utilities/bindingManager.vala index 6ca73cf..ac5a8fb 100644 --- a/src/utilities/bindingManager.vala +++ b/src/utilities/bindingManager.vala @@ -279,14 +279,15 @@ public class BindingManager : GLib.Object { ///////////////////////////////////////////////////////////////////// public string get_assigned_id(Trigger trigger) { - foreach (var binding in bindings) { - var first = Trigger.remove_optional(binding.trigger.name); - var second = Trigger.remove_optional(trigger.name); - if (first == second) { - return binding.id; + var second = Trigger.remove_optional(trigger.name); + if (second != "") { + foreach (var binding in bindings) { + var first = Trigger.remove_optional(binding.trigger.name); + if (first == second) { + return binding.id; + } } } - return ""; } diff --git a/src/utilities/paths.vala b/src/utilities/paths.vala index 61111e3..96bce0a 100644 --- a/src/utilities/paths.vala +++ b/src/utilities/paths.vala @@ -129,6 +129,8 @@ public class Paths : GLib.Object { } Gtk.IconTheme.get_default().append_search_path("/usr/share/pixmaps/"); + Gtk.IconTheme.get_default().append_search_path("/usr/share/icons/hicolor/scalable/apps"); + Gtk.IconTheme.get_default().append_search_path("/usr/local/share/icons/hicolor/scalable/apps"); // get global paths var default_dir = GLib.File.new_for_path("/usr/share/gnome-pie/"); -- cgit v1.2.3