diff options
21 files changed, 2472 insertions, 309 deletions
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 <gdubatti@gmail.com>\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 "" +"<b><big>This Pie is empty!</big>\n" +"\n" +"Start adding Slices to it!</b> 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 "" +"<b><big>Un Pastel vacío!</big>\n" +"\n" +"Empieza añadiendo Rebanadas!</b> 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 "" +"<b><big>You have no Pies!</big>\n" +"\n" +"Start by creating one! </b> This can be done by clicking on the tiny little " +"plus sign in the lower left corner." +msgstr "" +"<b><big>No tienes Pasteles!</big>\n" +"\n" +"Empieza por crear uno! </b> 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 "" -"<b><big>This Pie is empty!</big>\n" -"\n" -"Start adding Slices to it!</b> 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 "" -"<b><big>Un Pastel vacío!</big>\n" -"\n" -"Empieza añadiendo Rebanadas!</b> 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 "" -"<b><big>You have no Pies!</big>\n" -"\n" -"Start by creating one! </b> This can be done by clicking on the tiny little " -"plus sign in the lower left corner." -msgstr "" -"<b><big>No tienes Pasteles!</big>\n" -"\n" -"Empieza por crear uno! </b> 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 Binary files differindex 63ef92f..f0d055e 100644 --- a/resources/locale/es/LC_MESSAGES/gnomepie.mo +++ b/resources/locale/es/LC_MESSAGES/gnomepie.mo diff --git a/resources/locale/lt/LC_MESSAGES/gnomepie.mo b/resources/locale/lt/LC_MESSAGES/gnomepie.mo Binary files differnew file mode 100644 index 0000000..5c233de --- /dev/null +++ b/resources/locale/lt/LC_MESSAGES/gnomepie.mo 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 <code@simonschneegans.de> +# This file is distributed under the same license as the gnomepie package. +# Moo <hazap@hotmail.com>, 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 <hazap@hotmail.com>\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 "" +"<b><big>This Pie is empty!</big>\n" +"\n" +"Start adding Slices to it!</b> 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 "" +"<b><big>Šis Pyragas yra tuščias!</big>\n" +"\n" +"Pridėkite jam Gabaliukus!</b> 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 "" +"<b><big>You have no Pies!</big>\n" +"\n" +"Start by creating one! </b> This can be done by clicking on the tiny little " +"plus sign in the lower left corner." +msgstr "" +"<b><big>Jūs neturite Pyragų!</big>\n" +"\n" +"Pradėkite, kurdami pirmą pyragą! </b> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="arrow.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="1" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="93.12865" + inkscape:cy="42.239723" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="1174" + inkscape:window-height="737" + inkscape:window-x="225" + inkscape:window-y="142" + inkscape:window-maximized="0"> + <sodipodi:guide + orientation="0,1" + position="111.25,50" + id="guide2994" /> + <sodipodi:guide + orientation="1,0" + position="89.714173,50" + id="guide2995" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + sodipodi:type="arc" + style="fill:#efefef;fill-opacity:1;stroke:none" + id="path3765" + sodipodi:cx="83.125" + sodipodi:cy="50" + sodipodi:rx="16.696428" + sodipodi:ry="16.696428" + d="m 99.821428,50 a 16.696428,16.696428 0 1 1 -33.392856,0 16.696428,16.696428 0 1 1 33.392856,0 z" + transform="matrix(0.47058823,0,0,0.47058823,44.007354,978.83277)" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="arrow_bg.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="1" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="93.12865" + inkscape:cy="42.239723" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="1174" + inkscape:window-height="737" + inkscape:window-x="225" + inkscape:window-y="142" + inkscape:window-maximized="0"> + <sodipodi:guide + orientation="0,1" + position="111.25,50" + id="guide2994" /> + <sodipodi:guide + orientation="1,0" + position="89.714173,50" + id="guide2995" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + sodipodi:type="arc" + style="fill:#efefef;fill-opacity:1;stroke:#a1a1a1;stroke-opacity:1;stroke-width:1.42587502;stroke-miterlimit:4;stroke-dasharray:none" + id="path3765" + sodipodi:cx="83.125" + sodipodi:cy="50" + sodipodi:rx="16.696428" + sodipodi:ry="16.696428" + d="m 99.821428,50 a 16.696428,16.696428 0 1 1 -33.392856,0 16.696428,16.696428 0 1 1 33.392856,0 z" + transform="matrix(0.47058823,0,0,0.47058823,44.007354,978.83277)" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="icon.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3784"> + <stop + style="stop-color:#edeeed;stop-opacity:1" + offset="0" + id="stop3786" /> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="1" + id="stop3788" /> + </linearGradient> + <linearGradient + id="linearGradient3800"> + <stop + id="stop3810" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + style="stop-color:#000000;stop-opacity:0.63106796" + offset="0.5776158" + id="stop3780" /> + <stop + id="stop3813" + offset="0.75491738" + style="stop-color:#000000;stop-opacity:0.27843137;" /> + <stop + id="stop3811" + offset="0.79946876" + style="stop-color:#000000;stop-opacity:0.19215686;" /> + <stop + id="stop3782" + offset="0.86143982" + style="stop-color:#000000;stop-opacity:0.10980392;" /> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="1" + id="stop3804" /> + </linearGradient> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient3767"> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="0" + id="stop3769" /> + <stop + id="stop4739" + offset="0.3680203" + style="stop-color:#ffffff;stop-opacity:0;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.66666667;" + offset="0.59831607" + id="stop4703" /> + <stop + id="stop4713" + offset="0.66058904" + style="stop-color:#ffffff;stop-opacity:0.45490196;" /> + <stop + id="stop4711" + offset="0.70194155" + style="stop-color:#ffffff;stop-opacity:0.34901961;" /> + <stop + id="stop4709" + offset="0.74285865" + style="stop-color:#ffffff;stop-opacity:0.25490196;" /> + <stop + id="stop4707" + offset="0.8251282" + style="stop-color:#ffffff;stop-opacity:0.1254902;" /> + <stop + id="stop4705" + offset="0.90009141" + style="stop-color:#ffffff;stop-opacity:0.05490196;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="1" + id="stop3771" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3767" + id="radialGradient3775" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3800" + id="radialGradient3808" + cx="50" + cy="50" + fx="50" + fy="50" + r="49.47143" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.194041,0,0,1.1819698,-9.7020495,-9.098491)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3784" + id="linearGradient3809" + x1="52.98814" + y1="97.627907" + x2="53.845432" + y2="2.1650128" + gradientUnits="userSpaceOnUse" /> + <filter + inkscape:collect="always" + id="filter3806"> + <feGaussianBlur + inkscape:collect="always" + stdDeviation="3.9697952" + id="feGaussianBlur3808" /> + </filter> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="2.8" + inkscape:cx="60.809331" + inkscape:cy="44.929803" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="958" + inkscape:window-height="1024" + inkscape:window-x="960" + inkscape:window-y="30" + inkscape:window-maximized="0" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + transform="matrix(0.81275299,0,0,0.80831217,10.329173,964.74428)" + d="M 98.57143,50 A 48.57143,48.57143 0 1 1 1.4285698,50 48.57143,48.57143 0 1 1 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3792" + style="fill:#000000;fill-opacity:0.43646414;stroke:none;filter:url(#filter3806)" + sodipodi:type="arc" /> + <path + transform="matrix(0.78754387,0,0,0.78995914,10.622807,962.78534)" + d="M 98.57143,50 C 98.57143,76.82526 76.82526,98.57143 50,98.57143 23.17474,98.57143 1.4285698,76.82526 1.4285698,50 1.4285698,23.17474 23.17474,1.4285698 50,1.4285698 76.82526,1.4285698 98.57143,23.17474 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3782" + style="fill:url(#linearGradient3809);fill-opacity:1;stroke:#000000;stroke-width:0.88747953999999984;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.32596686" + sodipodi:type="arc" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="icon_highlight.svg"> + <defs + id="defs4"> + <linearGradient + inkscape:collect="always" + id="linearGradient3794"> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="0" + id="stop3796" /> + <stop + style="stop-color:#d9d9d9;stop-opacity:1" + offset="1" + id="stop3798" /> + </linearGradient> + <linearGradient + id="linearGradient3784"> + <stop + style="stop-color:#edeeed;stop-opacity:1" + offset="0" + id="stop3786" /> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="1" + id="stop3788" /> + </linearGradient> + <linearGradient + id="linearGradient3800"> + <stop + id="stop3810" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + style="stop-color:#000000;stop-opacity:0.63106796" + offset="0.5776158" + id="stop3780" /> + <stop + id="stop3813" + offset="0.75491738" + style="stop-color:#000000;stop-opacity:0.27843137;" /> + <stop + id="stop3811" + offset="0.79946876" + style="stop-color:#000000;stop-opacity:0.19215686;" /> + <stop + id="stop3782" + offset="0.86143982" + style="stop-color:#000000;stop-opacity:0.10980392;" /> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="1" + id="stop3804" /> + </linearGradient> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient3767"> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="0" + id="stop3769" /> + <stop + id="stop4739" + offset="0.3680203" + style="stop-color:#ffffff;stop-opacity:0;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.66666667;" + offset="0.59831607" + id="stop4703" /> + <stop + id="stop4713" + offset="0.66058904" + style="stop-color:#ffffff;stop-opacity:0.45490196;" /> + <stop + id="stop4711" + offset="0.70194155" + style="stop-color:#ffffff;stop-opacity:0.34901961;" /> + <stop + id="stop4709" + offset="0.74285865" + style="stop-color:#ffffff;stop-opacity:0.25490196;" /> + <stop + id="stop4707" + offset="0.8251282" + style="stop-color:#ffffff;stop-opacity:0.1254902;" /> + <stop + id="stop4705" + offset="0.90009141" + style="stop-color:#ffffff;stop-opacity:0.05490196;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="1" + id="stop3771" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3767" + id="radialGradient3775" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3800" + id="radialGradient3808" + cx="50" + cy="50" + fx="50" + fy="50" + r="49.47143" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.194041,0,0,1.1819698,-9.7020495,-9.098491)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3794" + id="linearGradient3807" + x1="35.535618" + y1="3.2004027" + x2="35.887642" + y2="97.42083" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3784" + id="linearGradient3809" + x1="52.98814" + y1="97.627907" + x2="53.845432" + y2="2.1650128" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="2.8" + inkscape:cx="25.913098" + inkscape:cy="22.489584" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="958" + inkscape:window-height="1100" + inkscape:window-x="529" + inkscape:window-y="133" + inkscape:window-maximized="0" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + transform="matrix(0.78754387,0,0,0.78995914,10.622807,962.78534)" + d="M 98.57143,50 A 48.57143,48.57143 0 1 1 1.4285698,50 48.57143,48.57143 0 1 1 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3782" + style="fill:url(#linearGradient3809);fill-opacity:1;stroke:url(#linearGradient3807);stroke-width:1.50654160999999998;stroke-miterlimit:4;stroke-dasharray:none;opacity:0.67156863" + sodipodi:type="arc" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="icon_mask_caption.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3784"> + <stop + style="stop-color:#edeeed;stop-opacity:1" + offset="0" + id="stop3786" /> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="1" + id="stop3788" /> + </linearGradient> + <linearGradient + id="linearGradient3800"> + <stop + id="stop3810" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + style="stop-color:#000000;stop-opacity:0.63106796" + offset="0.5776158" + id="stop3780" /> + <stop + id="stop3813" + offset="0.75491738" + style="stop-color:#000000;stop-opacity:0.27843137;" /> + <stop + id="stop3811" + offset="0.79946876" + style="stop-color:#000000;stop-opacity:0.19215686;" /> + <stop + id="stop3782" + offset="0.86143982" + style="stop-color:#000000;stop-opacity:0.10980392;" /> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="1" + id="stop3804" /> + </linearGradient> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient3767"> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="0" + id="stop3769" /> + <stop + id="stop4739" + offset="0.3680203" + style="stop-color:#ffffff;stop-opacity:0;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.66666667;" + offset="0.59831607" + id="stop4703" /> + <stop + id="stop4713" + offset="0.66058904" + style="stop-color:#ffffff;stop-opacity:0.45490196;" /> + <stop + id="stop4711" + offset="0.70194155" + style="stop-color:#ffffff;stop-opacity:0.34901961;" /> + <stop + id="stop4709" + offset="0.74285865" + style="stop-color:#ffffff;stop-opacity:0.25490196;" /> + <stop + id="stop4707" + offset="0.8251282" + style="stop-color:#ffffff;stop-opacity:0.1254902;" /> + <stop + id="stop4705" + offset="0.90009141" + style="stop-color:#ffffff;stop-opacity:0.05490196;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="1" + id="stop3771" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3767" + id="radialGradient3775" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3800" + id="radialGradient3808" + cx="50" + cy="50" + fx="50" + fy="50" + r="49.47143" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.194041,0,0,1.1819698,-9.7020495,-9.098491)" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="2.8" + inkscape:cx="49.391465" + inkscape:cy="7.0614638" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="960" + inkscape:window-height="1024" + inkscape:window-x="960" + inkscape:window-y="30" + inkscape:window-maximized="0" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + transform="matrix(0.86084846,0,0,0.86348855,6.9575772,959.10887)" + d="M 98.57143,50 A 48.57143,48.57143 0 1 1 1.4285698,50 48.57143,48.57143 0 1 1 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3782" + style="fill:#000000;fill-opacity:1;stroke:none" + sodipodi:type="arc" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="icon_mask.svg"> + <defs + id="defs4"> + <linearGradient + inkscape:collect="always" + id="linearGradient3905"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop3907" /> + <stop + style="stop-color:#000000;stop-opacity:0;" + offset="1" + id="stop3909" /> + </linearGradient> + <linearGradient + id="linearGradient3784"> + <stop + style="stop-color:#edeeed;stop-opacity:1" + offset="0" + id="stop3786" /> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="1" + id="stop3788" /> + </linearGradient> + <linearGradient + id="linearGradient3800"> + <stop + id="stop3810" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + style="stop-color:#000000;stop-opacity:0.63106796" + offset="0.5776158" + id="stop3780" /> + <stop + id="stop3813" + offset="0.75491738" + style="stop-color:#000000;stop-opacity:0.27843137;" /> + <stop + id="stop3811" + offset="0.79946876" + style="stop-color:#000000;stop-opacity:0.19215686;" /> + <stop + id="stop3782" + offset="0.86143982" + style="stop-color:#000000;stop-opacity:0.10980392;" /> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="1" + id="stop3804" /> + </linearGradient> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient3767"> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="0" + id="stop3769" /> + <stop + id="stop4739" + offset="0.3680203" + style="stop-color:#ffffff;stop-opacity:0;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.66666667;" + offset="0.59831607" + id="stop4703" /> + <stop + id="stop4713" + offset="0.66058904" + style="stop-color:#ffffff;stop-opacity:0.45490196;" /> + <stop + id="stop4711" + offset="0.70194155" + style="stop-color:#ffffff;stop-opacity:0.34901961;" /> + <stop + id="stop4709" + offset="0.74285865" + style="stop-color:#ffffff;stop-opacity:0.25490196;" /> + <stop + id="stop4707" + offset="0.8251282" + style="stop-color:#ffffff;stop-opacity:0.1254902;" /> + <stop + id="stop4705" + offset="0.90009141" + style="stop-color:#ffffff;stop-opacity:0.05490196;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="1" + id="stop3771" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3767" + id="radialGradient3775" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3800" + id="radialGradient3808" + cx="50" + cy="50" + fx="50" + fy="50" + r="49.47143" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.194041,0,0,1.1819698,-9.7020495,-9.098491)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3905" + id="linearGradient3911" + x1="49.52224" + y1="53.611294" + x2="49.52224" + y2="80.898804" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="2.8" + inkscape:cx="49.391465" + inkscape:cy="7.0614638" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="960" + inkscape:window-height="1024" + inkscape:window-x="960" + inkscape:window-y="30" + inkscape:window-maximized="0" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + transform="matrix(0.86084846,0,0,0.86348855,6.9575772,959.10887)" + d="M 98.57143,50 A 48.57143,48.57143 0 1 1 1.4285698,50 48.57143,48.57143 0 1 1 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3782" + style="fill:url(#linearGradient3911);fill-opacity:1;stroke:none" + sodipodi:type="arc" /> + </g> +</svg> diff --git a/resources/themes/adwaita_big/preview.png b/resources/themes/adwaita_big/preview.png Binary files differnew file mode 100644 index 0000000..f104653 --- /dev/null +++ b/resources/themes/adwaita_big/preview.png 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="100" + height="100" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="ring.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3784"> + <stop + style="stop-color:#edeeed;stop-opacity:1" + offset="0" + id="stop3786" /> + <stop + style="stop-color:#f8f8f8;stop-opacity:1" + offset="1" + id="stop3788" /> + </linearGradient> + <linearGradient + id="linearGradient3800"> + <stop + id="stop3810" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + style="stop-color:#000000;stop-opacity:0.63106796" + offset="0.5776158" + id="stop3780" /> + <stop + id="stop3813" + offset="0.75491738" + style="stop-color:#000000;stop-opacity:0.27843137;" /> + <stop + id="stop3811" + offset="0.79946876" + style="stop-color:#000000;stop-opacity:0.19215686;" /> + <stop + id="stop3782" + offset="0.86143982" + style="stop-color:#000000;stop-opacity:0.10980392;" /> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="1" + id="stop3804" /> + </linearGradient> + <linearGradient + id="linearGradient3007"> + <stop + id="stop3009" + offset="0" + style="stop-color:#ffffff;stop-opacity:0" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="0.3680203" + id="stop3011" /> + <stop + id="stop3013" + offset="0.57677984" + style="stop-color:#ffffff;stop-opacity:0.66666667;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.45490196;" + offset="0.66058904" + id="stop3015" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.34901961;" + offset="0.70194155" + id="stop3017" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.25490196;" + offset="0.74285865" + id="stop3019" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.1254902;" + offset="0.8251282" + id="stop3021" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.05490196;" + offset="0.90009141" + id="stop3023" /> + <stop + id="stop3025" + offset="1" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient3767"> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="0" + id="stop3769" /> + <stop + id="stop4739" + offset="0.3680203" + style="stop-color:#ffffff;stop-opacity:0;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.66666667;" + offset="0.59831607" + id="stop4703" /> + <stop + id="stop4713" + offset="0.66058904" + style="stop-color:#ffffff;stop-opacity:0.45490196;" /> + <stop + id="stop4711" + offset="0.70194155" + style="stop-color:#ffffff;stop-opacity:0.34901961;" /> + <stop + id="stop4709" + offset="0.74285865" + style="stop-color:#ffffff;stop-opacity:0.25490196;" /> + <stop + id="stop4707" + offset="0.8251282" + style="stop-color:#ffffff;stop-opacity:0.1254902;" /> + <stop + id="stop4705" + offset="0.90009141" + style="stop-color:#ffffff;stop-opacity:0.05490196;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0" + offset="1" + id="stop3771" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3767" + id="radialGradient3775" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3007" + id="radialGradient3005" + gradientUnits="userSpaceOnUse" + cx="50.002552" + cy="49.744911" + fx="50.002552" + fy="49.744911" + r="49.750011" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3800" + id="radialGradient3808" + cx="50" + cy="50" + fx="50" + fy="50" + r="49.47143" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.194041,0,0,1.1819698,-9.7020495,-9.098491)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3784" + id="linearGradient3809" + x1="52.98814" + y1="97.627907" + x2="53.845432" + y2="2.1650128" + gradientUnits="userSpaceOnUse" /> + <filter + inkscape:collect="always" + id="filter3801"> + <feGaussianBlur + inkscape:collect="always" + stdDeviation="2.3351737" + id="feGaussianBlur3803" /> + </filter> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#1d1d1d" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="5.6" + inkscape:cx="51.295153" + inkscape:cy="27.155314" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:showpageshadow="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="958" + inkscape:window-height="1024" + inkscape:window-x="0" + inkscape:window-y="30" + inkscape:window-maximized="0" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Ebene 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-952.36218)"> + <path + transform="matrix(0.8695154,0,0,0.86476442,6.5242291,960.94215)" + d="M 98.57143,50 A 48.57143,48.57143 0 1 1 1.4285698,50 48.57143,48.57143 0 1 1 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3792" + style="fill:#000000;fill-opacity:0.43529412;stroke:none;filter:url(#filter3801)" + sodipodi:type="arc" /> + <path + transform="matrix(0.86318078,0,0,0.86318078,6.8409607,959.07906)" + d="M 98.57143,50 C 98.57143,76.82526 76.82526,98.57143 50,98.57143 23.17474,98.57143 1.4285698,76.82526 1.4285698,50 1.4285698,23.17474 23.17474,1.4285698 50,1.4285698 76.82526,1.4285698 98.57143,23.17474 98.57143,50 z" + sodipodi:ry="48.57143" + sodipodi:rx="48.57143" + sodipodi:cy="50" + sodipodi:cx="50" + id="path3782" + style="fill:url(#linearGradient3809);fill-opacity:1;stroke:#000000;stroke-width:0.46340235;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.32549021000000000" + sodipodi:type="arc" /> + </g> +</svg> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<theme name="Adwaita Big" description="Similar to Adwaita but with bigger icons" author="Simon Schneegans" email="code@simonschneegans.de"> + <pie radius="110" maxZoom="1.1" zoomRange="0.1" transitionTime="0.2" springiness="1.5" + fadeInTime="0.3" fadeOutTime="0.3" fadeInZoom="0.5" fadeOutZoom="0.7" fadeInRotation="0.2" fadeOutRotation="-0.3"> + <center radius="80" activeRadius="55"> + <center_layer file="ring.svg" + active_scale="0.8" active_rotationMode="auto" active_rotationSpeed="0" active_colorize="false" active_alpha="1.0" + inactive_scale="0.8" inactive_rotationMode="auto" inactive_rotationSpeed="0" inactive_colorize="false" inactive_alpha="1.0" /> + </center> + <slices radius="25"> + <activeSlice> + <slice_layer type="file" file="icon.svg" scale="1.7" /> + <slice_layer type="file" colorize="true" file="icon_highlight.svg" scale="1.7" /> + <slice_layer type="icon" scale="1.4" file="icon_mask_caption.svg" visibility="with_caption" /> + <slice_layer type="icon" scale="1.4" file="icon_mask.svg" visibility="without_caption" /> + <slice_layer type="caption" y="22" font="sans 8" width="50" color="#333" height="20" visibility="with_caption" /> + </activeSlice> + <inactiveSlice> + <slice_layer type="file" file="icon.svg" scale="1.7" /> + <slice_layer type="icon" scale="1.4" file="icon_mask_caption.svg" visibility="with_caption" /> + <slice_layer type="icon" scale="1.4" file="icon_mask.svg" visibility="without_caption" /> + <slice_layer type="caption" y="22" font="sans 8" width="50" color="#333" height="20" visibility="with_caption" /> + </inactiveSlice> + </slices> + <caption position="0" font="sans 10" width="80" height="80" color="#333"/> + </pie> +</theme> + 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 <magnun@codecommunity.org> (PT-BR)", "Kim Boram <Boramism@gmail.com> (KO)", "Eduardo Anabalon <lalo1412@gmail.com> (ES)", + "Moo <hazap@hotmail.com> (LT)", "Gabriel Dubatti <gdubatti@gmail.com> (ES)", "Grégoire Bellon-Gervais <greggbg@gmail.com> (FR)", "Alex Maxime <cad.maxime@gmail.com> (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 @@ -121,6 +121,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/"); |