Compare commits
38 Commits
3.17.92
...
matthiasc/
Author | SHA1 | Date | |
---|---|---|---|
39f974358c | |||
0fb98606ef | |||
dd0d5a757c | |||
0bbb226faf | |||
35b38d5cb2 | |||
09e8a437d4 | |||
d2bedcc182 | |||
84eda6e459 | |||
f5e7530fc7 | |||
f983b34784 | |||
36bbe64898 | |||
627a393ed6 | |||
a025b151ef | |||
18b6f13395 | |||
051413550f | |||
3e10574736 | |||
9a3041004b | |||
87f71b8ce1 | |||
825146f1e3 | |||
52995416fd | |||
6c43d0247a | |||
9aa98d9f0c | |||
c3a29d6df1 | |||
82f84416a9 | |||
9dd3162dbe | |||
7ef519756a | |||
3bbe74d1c1 | |||
409f6718b8 | |||
9c0e179080 | |||
b3b278d41f | |||
0f466dbafb | |||
fbb4a9a3a6 | |||
8ddae5cd71 | |||
b0915c7b60 | |||
831bb4e334 | |||
4e025506fa | |||
abccf451bf | |||
14954117c0 |
8
NEWS
8
NEWS
@ -1,3 +1,11 @@
|
|||||||
|
3.18.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Translations:
|
||||||
|
Sendy Aditya Suryana [id], Kris Thomsen [da], Seán de Búrca [ga],
|
||||||
|
Andika Triwidada [id], Enrico Nicoletto [pt_BR], Anders Jonsson [sv],
|
||||||
|
Rūdolfs Mazurs [lv]
|
||||||
|
|
||||||
3.17.92
|
3.17.92
|
||||||
=======
|
=======
|
||||||
* Fix race when loading multiple background animations [Josselin; #741453]
|
* Fix race when loading multiple background animations [Josselin; #741453]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
AC_PREREQ(2.63)
|
AC_PREREQ(2.63)
|
||||||
AC_INIT([gnome-shell],[3.17.92],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
|
AC_INIT([gnome-shell],[3.18.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
|
||||||
|
AX_IS_RELEASE([git-directory])
|
||||||
|
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_SRCDIR([src/shell-global.c])
|
AC_CONFIG_SRCDIR([src/shell-global.c])
|
||||||
@ -76,7 +77,7 @@ AC_MSG_RESULT($enable_systemd)
|
|||||||
CLUTTER_MIN_VERSION=1.21.5
|
CLUTTER_MIN_VERSION=1.21.5
|
||||||
GOBJECT_INTROSPECTION_MIN_VERSION=1.45.4
|
GOBJECT_INTROSPECTION_MIN_VERSION=1.45.4
|
||||||
GJS_MIN_VERSION=1.39.0
|
GJS_MIN_VERSION=1.39.0
|
||||||
MUTTER_MIN_VERSION=3.17.92
|
MUTTER_MIN_VERSION=3.18.0
|
||||||
GTK_MIN_VERSION=3.15.0
|
GTK_MIN_VERSION=3.15.0
|
||||||
GIO_MIN_VERSION=2.45.3
|
GIO_MIN_VERSION=2.45.3
|
||||||
LIBECAL_MIN_VERSION=3.5.3
|
LIBECAL_MIN_VERSION=3.5.3
|
||||||
@ -220,7 +221,7 @@ if test "$enable_man" != no; then
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
|
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
|
||||||
|
|
||||||
GNOME_COMPILE_WARNINGS([error])
|
AX_COMPILER_FLAGS()
|
||||||
case "$WARN_CFLAGS" in
|
case "$WARN_CFLAGS" in
|
||||||
*-Werror*)
|
*-Werror*)
|
||||||
WARN_CFLAGS="$WARN_CFLAGS -Wno-error=deprecated-declarations"
|
WARN_CFLAGS="$WARN_CFLAGS -Wno-error=deprecated-declarations"
|
||||||
@ -269,7 +270,7 @@ Build configuration:
|
|||||||
Prefix: ${prefix}
|
Prefix: ${prefix}
|
||||||
Source code location: ${srcdir}
|
Source code location: ${srcdir}
|
||||||
Compiler: ${CC}
|
Compiler: ${CC}
|
||||||
Compiler Warnings: $enable_compile_warnings
|
Compiler Warnings: $ax_enable_compile_warnings
|
||||||
|
|
||||||
Support for NetworkManager: $have_networkmanager
|
Support for NetworkManager: $have_networkmanager
|
||||||
Support for GStreamer recording: $build_recorder
|
Support for GStreamer recording: $build_recorder
|
||||||
|
@ -1230,7 +1230,7 @@ const NotificationMessage = new Lang.Class({
|
|||||||
this._closed = true;
|
this._closed = true;
|
||||||
this.notification.destroy(MessageTray.NotificationDestroyedReason.DISMISSED);
|
this.notification.destroy(MessageTray.NotificationDestroyedReason.DISMISSED);
|
||||||
}));
|
}));
|
||||||
notification.connect('destroy', Lang.bind(this,
|
this._destroyId = notification.connect('destroy', Lang.bind(this,
|
||||||
function() {
|
function() {
|
||||||
if (!this._closed)
|
if (!this._closed)
|
||||||
this.close();
|
this.close();
|
||||||
@ -1262,6 +1262,10 @@ const NotificationMessage = new Lang.Class({
|
|||||||
if (this._updatedId)
|
if (this._updatedId)
|
||||||
this.notification.disconnect(this._updatedId);
|
this.notification.disconnect(this._updatedId);
|
||||||
this._updatedId = 0;
|
this._updatedId = 0;
|
||||||
|
|
||||||
|
if (this._destroyId)
|
||||||
|
this.notification.disconnect(this._destroyId);
|
||||||
|
this._destroyId = 0;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -396,6 +396,7 @@ const PopupImageMenuItem = new Lang.Class({
|
|||||||
this.actor.add_child(this.label);
|
this.actor.add_child(this.label);
|
||||||
this._icon = new St.Icon({ style_class: 'popup-menu-icon' });
|
this._icon = new St.Icon({ style_class: 'popup-menu-icon' });
|
||||||
this.actor.add_child(this._icon, { align: St.Align.END });
|
this.actor.add_child(this._icon, { align: St.Align.END });
|
||||||
|
this.actor.label_actor = this.label;
|
||||||
|
|
||||||
this.setIcon(iconName);
|
this.setIcon(iconName);
|
||||||
},
|
},
|
||||||
|
503
po/pt_BR.po
503
po/pt_BR.po
@ -20,10 +20,9 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gnome-shell\n"
|
"Project-Id-Version: gnome-shell\n"
|
||||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=general\n"
|
||||||
"shell&keywords=I18N+L10N&component=general\n"
|
"POT-Creation-Date: 2015-09-17 08:22+0000\n"
|
||||||
"POT-Creation-Date: 2015-08-10 20:07+0000\n"
|
"PO-Revision-Date: 2015-09-18 15:33-0300\n"
|
||||||
"PO-Revision-Date: 2015-08-10 20:38-0300\n"
|
|
||||||
"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
|
"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
|
||||||
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
|
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
@ -31,7 +30,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: Poedit 1.6.4\n"
|
"X-Generator: Poedit 1.7.3\n"
|
||||||
"X-Project-Style: gnome\n"
|
"X-Project-Style: gnome\n"
|
||||||
|
|
||||||
#: ../data/50-gnome-shell-system.xml.in.h:1
|
#: ../data/50-gnome-shell-system.xml.in.h:1
|
||||||
@ -62,8 +61,7 @@ msgstr "Abre o menu do aplicativo"
|
|||||||
msgid "GNOME Shell"
|
msgid "GNOME Shell"
|
||||||
msgstr "GNOME Shell"
|
msgstr "GNOME Shell"
|
||||||
|
|
||||||
#: ../data/gnome-shell.desktop.in.in.h:2
|
#: ../data/gnome-shell.desktop.in.in.h:2 ../data/gnome-shell-wayland.desktop.in.in.h:2
|
||||||
#: ../data/gnome-shell-wayland.desktop.in.in.h:2
|
|
||||||
msgid "Window management and application launching"
|
msgid "Window management and application launching"
|
||||||
msgstr "Gerenciamento de janelas e lançador de aplicativos"
|
msgstr "Gerenciamento de janelas e lançador de aplicativos"
|
||||||
|
|
||||||
@ -82,17 +80,11 @@ msgstr "GNOME Shell (compositor wayland)"
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:1
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:1
|
||||||
msgid "Enable internal tools useful for developers and testers from Alt-F2"
|
msgid "Enable internal tools useful for developers and testers from Alt-F2"
|
||||||
msgstr ""
|
msgstr "Habilitar ferramentas internas úteis para desenvolvedores e testadores a partir do Alt-F2"
|
||||||
"Habilitar ferramentas internas úteis para desenvolvedores e testadores a "
|
|
||||||
"partir do Alt-F2"
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:2
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:2
|
||||||
msgid ""
|
msgid "Allows access to internal debugging and monitoring tools using the Alt-F2 dialog."
|
||||||
"Allows access to internal debugging and monitoring tools using the Alt-F2 "
|
msgstr "Permite acesso a ferramentas internas de depuração e monitoramento usando o diálogo Alt-F2."
|
||||||
"dialog."
|
|
||||||
msgstr ""
|
|
||||||
"Permite acesso a ferramentas internas de depuração e monitoramento usando o "
|
|
||||||
"diálogo Alt-F2."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
||||||
msgid "UUIDs of extensions to enable"
|
msgid "UUIDs of extensions to enable"
|
||||||
@ -100,16 +92,13 @@ msgstr "UUIDs das extensões para habilitar"
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:4
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:4
|
||||||
msgid ""
|
msgid ""
|
||||||
"GNOME Shell extensions have a UUID property; this key lists extensions which "
|
"GNOME Shell extensions have a UUID property; this key lists extensions which should be loaded. Any extension that wants "
|
||||||
"should be loaded. Any extension that wants to be loaded needs to be in this "
|
"to be loaded needs to be in this list. You can also manipulate this list with the EnableExtension and DisableExtension D-"
|
||||||
"list. You can also manipulate this list with the EnableExtension and "
|
"Bus methods on org.gnome.Shell."
|
||||||
"DisableExtension D-Bus methods on org.gnome.Shell."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"As extensões do GNOME Shell possuem uma propriedade UUID; esta chave lista "
|
"As extensões do GNOME Shell possuem uma propriedade UUID; esta chave lista as extensões que devem ser carregadas. "
|
||||||
"as extensões que devem ser carregadas. Qualquer extensão que quiser ser "
|
"Qualquer extensão que quiser ser carregada precisa estar nesta lista. Você também pode manipular esta lista com os "
|
||||||
"carregada precisa estar nesta lista. Você também pode manipular esta lista "
|
"métodos do DBus EnableExtension e DisableExtensions em org.gnome.Shell."
|
||||||
"com os métodos do DBus EnableExtension e DisableExtensions em org.gnome."
|
|
||||||
"Shell."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
|
||||||
msgid "Disables the validation of extension version compatibility"
|
msgid "Disables the validation of extension version compatibility"
|
||||||
@ -117,27 +106,20 @@ msgstr "Desabilita a validação de compatibilidade da versão da extensão"
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:6
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:6
|
||||||
msgid ""
|
msgid ""
|
||||||
"GNOME Shell will only load extensions that claim to support the current "
|
"GNOME Shell will only load extensions that claim to support the current running version. Enabling this option will "
|
||||||
"running version. Enabling this option will disable this check and try to "
|
"disable this check and try to load all extensions regardless of the versions they claim to support."
|
||||||
"load all extensions regardless of the versions they claim to support."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"O GNOME Shell somente carregará extensões que declaram possuir suporte a "
|
"O GNOME Shell somente carregará extensões que declaram possuir suporte a versão atual em execução. Ao habilitar esta "
|
||||||
"versão atual em execução. Ao habilitar esta opção, esta verificação será "
|
"opção, esta verificação será desabilitada e haverá tentativas de carregar todas as extensões independente das versões "
|
||||||
"desabilitada e haverá tentativas de carregar todas as extensões independente "
|
"que estas declaram suportar."
|
||||||
"das versões que estas declaram suportar."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
|
||||||
msgid "List of desktop file IDs for favorite applications"
|
msgid "List of desktop file IDs for favorite applications"
|
||||||
msgstr ""
|
msgstr "Lista dos IDs de arquivo de área de trabalho para os aplicativos favoritos"
|
||||||
"Lista dos IDs de arquivo de área de trabalho para os aplicativos favoritos"
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:8
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:8
|
||||||
msgid ""
|
msgid "The applications corresponding to these identifiers will be displayed in the favorites area."
|
||||||
"The applications corresponding to these identifiers will be displayed in the "
|
msgstr "Os aplicativos correspondentes a estes identificadores serão exibidos na área de favoritos."
|
||||||
"favorites area."
|
|
||||||
msgstr ""
|
|
||||||
"Os aplicativos correspondentes a estes identificadores serão exibidos na "
|
|
||||||
"área de favoritos."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:9
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:9
|
||||||
msgid "App Picker View"
|
msgid "App Picker View"
|
||||||
@ -145,8 +127,7 @@ msgstr "Visualização do seletor de aplicativos"
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:10
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:10
|
||||||
msgid "Index of the currently selected view in the application picker."
|
msgid "Index of the currently selected view in the application picker."
|
||||||
msgstr ""
|
msgstr "Índice da visualização atualmente selecionada no seletor de aplicativos."
|
||||||
"Índice da visualização atualmente selecionada no seletor de aplicativos."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:11
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:11
|
||||||
msgid "History for command (Alt-F2) dialog"
|
msgid "History for command (Alt-F2) dialog"
|
||||||
@ -162,32 +143,23 @@ msgid "Always show the 'Log out' menu item in the user menu."
|
|||||||
msgstr "Sempre mostrar o item de menu \"Encerrar sessão\" no menu de usuário."
|
msgstr "Sempre mostrar o item de menu \"Encerrar sessão\" no menu de usuário."
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:15
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:15
|
||||||
msgid ""
|
msgid "This key overrides the automatic hiding of the 'Log out' menu item in single-user, single-session situations."
|
||||||
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
|
|
||||||
"user, single-session situations."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Essa chave sobrescreve a ocultação automática do item de menu \"Encerrar "
|
"Essa chave sobrescreve a ocultação automática do item de menu \"Encerrar sessão\" quando houver somente um usuário, em "
|
||||||
"sessão\" quando houver somente um usuário, em situações de somente uma "
|
"situações de somente uma sessão."
|
||||||
"sessão."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:16
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:16
|
||||||
msgid ""
|
msgid "Whether to remember password for mounting encrypted or remote filesystems"
|
||||||
"Whether to remember password for mounting encrypted or remote filesystems"
|
msgstr "Se lembra ou não as senhas para montar sistemas de arquivos criptografados ou remotos"
|
||||||
msgstr ""
|
|
||||||
"Se lembra ou não as senhas para montar sistemas de arquivos criptografados "
|
|
||||||
"ou remotos"
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:17
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:17
|
||||||
msgid ""
|
msgid ""
|
||||||
"The shell will request a password when an encrypted device or a remote "
|
"The shell will request a password when an encrypted device or a remote filesystem is mounted. If the password can be "
|
||||||
"filesystem is mounted. If the password can be saved for future use a "
|
"saved for future use a 'Remember Password' checkbox will be present. This key sets the default state of the checkbox."
|
||||||
"'Remember Password' checkbox will be present. This key sets the default "
|
|
||||||
"state of the checkbox."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"O shell irá pedir uma senha quando um dispositivo criptografado ou um "
|
"O shell irá pedir uma senha quando um dispositivo criptografado ou um sistema de arquivo remoto for montado. Caso a "
|
||||||
"sistema de arquivo remoto for montado. Caso a senha possa ser salva para uso "
|
"senha possa ser salva para uso posterior, a caixa de seleção 'Lembrar senha' estará presente. Esta chave ajusta o estado "
|
||||||
"posterior, a caixa de seleção 'Lembrar senha' estará presente. Esta chave "
|
"padrão da caixa de seleção."
|
||||||
"ajusta o estado padrão da caixa de seleção."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:18
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:18
|
||||||
msgid "Show the week date in the calendar"
|
msgid "Show the week date in the calendar"
|
||||||
@ -210,11 +182,8 @@ msgid "Keybinding to open the \"Show Applications\" view"
|
|||||||
msgstr "Atalho de teclado para abrir a visualização \"Mostrar aplicativos\""
|
msgstr "Atalho de teclado para abrir a visualização \"Mostrar aplicativos\""
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
|
||||||
msgid ""
|
msgid "Keybinding to open the \"Show Applications\" view of the Activities Overview."
|
||||||
"Keybinding to open the \"Show Applications\" view of the Activities Overview."
|
msgstr "Atalho de teclado para abrir a visualização \"Mostrar aplicativos\" do panorama de atividades."
|
||||||
msgstr ""
|
|
||||||
"Atalho de teclado para abrir a visualização \"Mostrar aplicativos\" do "
|
|
||||||
"panorama de atividades."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:24
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:24
|
||||||
msgid "Keybinding to open the overview"
|
msgid "Keybinding to open the overview"
|
||||||
@ -230,8 +199,7 @@ msgstr "Atalho de teclado para alternar a visibilidade da lista de notificação
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:27
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:27
|
||||||
msgid "Keybinding to toggle the visibility of the notification list."
|
msgid "Keybinding to toggle the visibility of the notification list."
|
||||||
msgstr ""
|
msgstr "Atalho de teclado para alternar a visibilidade da lista de notificação."
|
||||||
"Atalho de teclado para alternar a visibilidade da lista de notificação."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:28
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:28
|
||||||
msgid "Keybinding to focus the active notification"
|
msgid "Keybinding to focus the active notification"
|
||||||
@ -243,11 +211,8 @@ msgstr "Atalho de teclado para ativar a notificação ativa."
|
|||||||
|
|
||||||
# Tween pode significar uma contração de Between ou se referir a um termo "in-between" usado em animação gráfica. -- Enrico
|
# Tween pode significar uma contração de Between ou se referir a um termo "in-between" usado em animação gráfica. -- Enrico
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
|
||||||
msgid ""
|
msgid "Keybinding that pauses and resumes all running tweens, for debugging purposes"
|
||||||
"Keybinding that pauses and resumes all running tweens, for debugging purposes"
|
msgstr "Atalho de teclado que pausa e continua todos os intermediários em execução, a fim de depuração"
|
||||||
msgstr ""
|
|
||||||
"Atalho de teclado que pausa e continua todos os intermediários em execução, "
|
|
||||||
"a fim de depuração"
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:31
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:31
|
||||||
msgid "Which keyboard to use"
|
msgid "Which keyboard to use"
|
||||||
@ -263,12 +228,11 @@ msgstr "Limitar o alternador ao espaço de trabalho atual."
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:34
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:34
|
||||||
msgid ""
|
msgid ""
|
||||||
"If true, only applications that have windows on the current workspace are "
|
"If true, only applications that have windows on the current workspace are shown in the switcher. Otherwise, all "
|
||||||
"shown in the switcher. Otherwise, all applications are included."
|
"applications are included."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Se verdadeiro, o alternador mostrará somente os aplicativos que possuem "
|
"Se verdadeiro, o alternador mostrará somente os aplicativos que possuem janelas no espaço de trabalho atual. Caso "
|
||||||
"janelas no espaço de trabalho atual. Caso contrário, todos os aplicativos "
|
"contrário, todos os aplicativos serão incluídos."
|
||||||
"serão incluídos."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:35
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:35
|
||||||
msgid "The application icon mode."
|
msgid "The application icon mode."
|
||||||
@ -276,37 +240,29 @@ msgstr "O modo ícone do aplicativo."
|
|||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:36
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:36
|
||||||
msgid ""
|
msgid ""
|
||||||
"Configures how the windows are shown in the switcher. Valid possibilities "
|
"Configures how the windows are shown in the switcher. Valid possibilities are 'thumbnail-only' (shows a thumbnail of the "
|
||||||
"are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-"
|
"window), 'app-icon-only' (shows only the application icon) or 'both'."
|
||||||
"only' (shows only the application icon) or 'both'."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Configura como as janelas são mostradas no alternador. As possibilidades "
|
"Configura como as janelas são mostradas no alternador. As possibilidades válidas são 'thumbnail-only' (mostra uma "
|
||||||
"válidas são 'thumbnail-only' (mostra uma miniatura da janela), 'app-icon-"
|
"miniatura da janela), 'app-icon-only' (mostra apenas o ícone do aplicativo) ou 'both'."
|
||||||
"only' (mostra apenas o ícone do aplicativo) ou 'both'."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
|
||||||
msgid ""
|
msgid "If true, only windows from the current workspace are shown in the switcher. Otherwise, all windows are included."
|
||||||
"If true, only windows from the current workspace are shown in the switcher. "
|
|
||||||
"Otherwise, all windows are included."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Se verdadeiro, o alternador mostrará somente as janelas do espaço de "
|
"Se verdadeiro, o alternador mostrará somente as janelas do espaço de trabalho atual. Caso contrário, todos as janelas "
|
||||||
"trabalho atual. Caso contrário, todos as janelas serão incluídas."
|
"serão incluídas."
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:38
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:38
|
||||||
msgid "Attach modal dialog to the parent window"
|
msgid "Attach modal dialog to the parent window"
|
||||||
msgstr "Anexar diálogo modal à janela pai"
|
msgstr "Anexar diálogo modal à janela pai"
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:39
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:39
|
||||||
msgid ""
|
msgid "This key overrides the key in org.gnome.mutter when running GNOME Shell."
|
||||||
"This key overrides the key in org.gnome.mutter when running GNOME Shell."
|
msgstr "Esta chave sobrescreve a chave em org.gnome.mutter ao executar o Shell do GNOME."
|
||||||
msgstr ""
|
|
||||||
"Esta chave sobrescreve a chave em org.gnome.mutter ao executar o Shell do "
|
|
||||||
"GNOME."
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:40
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:40
|
||||||
msgid "Enable edge tiling when dropping windows on screen edges"
|
msgid "Enable edge tiling when dropping windows on screen edges"
|
||||||
msgstr ""
|
msgstr "Habilitar contorno ladrilhado ao arrastar janelas sobre as bordas da tela"
|
||||||
"Habilitar contorno ladrilhado ao arrastar janelas sobre as bordas da tela"
|
|
||||||
|
|
||||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:41
|
#: ../data/org.gnome.shell.gschema.xml.in.in.h:41
|
||||||
msgid "Workspaces are managed dynamically"
|
msgid "Workspaces are managed dynamically"
|
||||||
@ -333,20 +289,17 @@ msgstr "Ocorreu um erro ao carregar o dialogo de preferências para %s:"
|
|||||||
msgid "GNOME Shell Extensions"
|
msgid "GNOME Shell Extensions"
|
||||||
msgstr "Extensões do Shell do GNOME"
|
msgstr "Extensões do Shell do GNOME"
|
||||||
|
|
||||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:145
|
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:145 ../js/ui/components/polkitAgent.js:179
|
||||||
#: ../js/ui/components/polkitAgent.js:179 ../js/ui/endSessionDialog.js:452
|
#: ../js/ui/endSessionDialog.js:452 ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
|
||||||
#: ../js/ui/status/network.js:916
|
#: ../js/ui/status/network.js:916
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Cancelar"
|
msgstr "Cancelar"
|
||||||
|
|
||||||
#: ../js/gdm/authPrompt.js:169 ../js/gdm/authPrompt.js:215
|
#: ../js/gdm/authPrompt.js:169 ../js/gdm/authPrompt.js:215 ../js/gdm/authPrompt.js:447
|
||||||
#: ../js/gdm/authPrompt.js:435
|
|
||||||
msgid "Next"
|
msgid "Next"
|
||||||
msgstr "Próximo"
|
msgstr "Próximo"
|
||||||
|
|
||||||
#: ../js/gdm/authPrompt.js:211 ../js/ui/shellMountOperation.js:403
|
#: ../js/gdm/authPrompt.js:211 ../js/ui/shellMountOperation.js:403 ../js/ui/unlockDialog.js:59
|
||||||
#: ../js/ui/unlockDialog.js:59
|
|
||||||
msgid "Unlock"
|
msgid "Unlock"
|
||||||
msgstr "Desbloquear"
|
msgstr "Desbloquear"
|
||||||
|
|
||||||
@ -363,17 +316,16 @@ msgstr "Escolher sessão"
|
|||||||
msgid "Not listed?"
|
msgid "Not listed?"
|
||||||
msgstr "Não está listado?"
|
msgstr "Não está listado?"
|
||||||
|
|
||||||
#: ../js/gdm/loginDialog.js:847
|
#: ../js/gdm/loginDialog.js:850
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid "(e.g., user or %s)"
|
msgid "(e.g., user or %s)"
|
||||||
msgstr "(ex.: usuário ou %s)"
|
msgstr "(ex.: usuário ou %s)"
|
||||||
|
|
||||||
#: ../js/gdm/loginDialog.js:852 ../js/ui/components/networkAgent.js:271
|
#: ../js/gdm/loginDialog.js:855 ../js/ui/components/networkAgent.js:271 ../js/ui/components/networkAgent.js:289
|
||||||
#: ../js/ui/components/networkAgent.js:289
|
|
||||||
msgid "Username: "
|
msgid "Username: "
|
||||||
msgstr "Nome de usuário: "
|
msgstr "Nome de usuário: "
|
||||||
|
|
||||||
#: ../js/gdm/loginDialog.js:1181
|
#: ../js/gdm/loginDialog.js:1184
|
||||||
msgid "Login Window"
|
msgid "Login Window"
|
||||||
msgstr "Janela de sessão"
|
msgstr "Janela de sessão"
|
||||||
|
|
||||||
@ -512,8 +464,7 @@ msgstr "Alterar plano de fundo…"
|
|||||||
msgid "Display Settings"
|
msgid "Display Settings"
|
||||||
msgstr "Configurações de exibição"
|
msgstr "Configurações de exibição"
|
||||||
|
|
||||||
#: ../js/ui/backgroundMenu.js:22 ../js/ui/panel.js:650
|
#: ../js/ui/backgroundMenu.js:22 ../js/ui/panel.js:650 ../js/ui/status/system.js:366
|
||||||
#: ../js/ui/status/system.js:357
|
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Configurações"
|
msgstr "Configurações"
|
||||||
|
|
||||||
@ -640,16 +591,13 @@ msgstr "Senha:"
|
|||||||
msgid "Type again:"
|
msgid "Type again:"
|
||||||
msgstr "Digite novamente:"
|
msgstr "Digite novamente:"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:140 ../js/ui/status/network.js:277
|
#: ../js/ui/components/networkAgent.js:140 ../js/ui/status/network.js:269 ../js/ui/status/network.js:352
|
||||||
#: ../js/ui/status/network.js:359 ../js/ui/status/network.js:919
|
#: ../js/ui/status/network.js:919
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Conectar"
|
msgstr "Conectar"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:233
|
#: ../js/ui/components/networkAgent.js:233 ../js/ui/components/networkAgent.js:245 ../js/ui/components/networkAgent.js:273
|
||||||
#: ../js/ui/components/networkAgent.js:245
|
#: ../js/ui/components/networkAgent.js:293 ../js/ui/components/networkAgent.js:303
|
||||||
#: ../js/ui/components/networkAgent.js:273
|
|
||||||
#: ../js/ui/components/networkAgent.js:293
|
|
||||||
#: ../js/ui/components/networkAgent.js:303
|
|
||||||
msgid "Password: "
|
msgid "Password: "
|
||||||
msgstr "Senha: "
|
msgstr "Senha: "
|
||||||
|
|
||||||
@ -669,23 +617,16 @@ msgstr "Senha da chave privada: "
|
|||||||
msgid "Service: "
|
msgid "Service: "
|
||||||
msgstr "Serviço: "
|
msgstr "Serviço: "
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:320
|
#: ../js/ui/components/networkAgent.js:320 ../js/ui/components/networkAgent.js:658
|
||||||
#: ../js/ui/components/networkAgent.js:658
|
|
||||||
msgid "Authentication required by wireless network"
|
msgid "Authentication required by wireless network"
|
||||||
msgstr "Autenticação requisitada pela rede sem fio"
|
msgstr "Autenticação requisitada pela rede sem fio"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:321
|
#: ../js/ui/components/networkAgent.js:321 ../js/ui/components/networkAgent.js:659
|
||||||
#: ../js/ui/components/networkAgent.js:659
|
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid ""
|
msgid "Passwords or encryption keys are required to access the wireless network “%s”."
|
||||||
"Passwords or encryption keys are required to access the wireless network "
|
msgstr "Senhas ou chaves criptografadas são necessárias para acessar a rede sem fio \"%s\"."
|
||||||
"“%s”."
|
|
||||||
msgstr ""
|
|
||||||
"Senhas ou chaves criptografadas são necessárias para acessar a rede sem fio "
|
|
||||||
"\"%s\"."
|
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:325
|
#: ../js/ui/components/networkAgent.js:325 ../js/ui/components/networkAgent.js:662
|
||||||
#: ../js/ui/components/networkAgent.js:662
|
|
||||||
msgid "Wired 802.1X authentication"
|
msgid "Wired 802.1X authentication"
|
||||||
msgstr "Autenticação 802.1X cabeada"
|
msgstr "Autenticação 802.1X cabeada"
|
||||||
|
|
||||||
@ -693,18 +634,15 @@ msgstr "Autenticação 802.1X cabeada"
|
|||||||
msgid "Network name: "
|
msgid "Network name: "
|
||||||
msgstr "Nome da rede: "
|
msgstr "Nome da rede: "
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:332
|
#: ../js/ui/components/networkAgent.js:332 ../js/ui/components/networkAgent.js:666
|
||||||
#: ../js/ui/components/networkAgent.js:666
|
|
||||||
msgid "DSL authentication"
|
msgid "DSL authentication"
|
||||||
msgstr "Autenticação DSL"
|
msgstr "Autenticação DSL"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:339
|
#: ../js/ui/components/networkAgent.js:339 ../js/ui/components/networkAgent.js:672
|
||||||
#: ../js/ui/components/networkAgent.js:672
|
|
||||||
msgid "PIN code required"
|
msgid "PIN code required"
|
||||||
msgstr "Código PIN requisitado"
|
msgstr "Código PIN requisitado"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:340
|
#: ../js/ui/components/networkAgent.js:340 ../js/ui/components/networkAgent.js:673
|
||||||
#: ../js/ui/components/networkAgent.js:673
|
|
||||||
msgid "PIN code is needed for the mobile broadband device"
|
msgid "PIN code is needed for the mobile broadband device"
|
||||||
msgstr "O código PIN é necessário para o dispositivo móvel de banda larga"
|
msgstr "O código PIN é necessário para o dispositivo móvel de banda larga"
|
||||||
|
|
||||||
@ -712,20 +650,17 @@ msgstr "O código PIN é necessário para o dispositivo móvel de banda larga"
|
|||||||
msgid "PIN: "
|
msgid "PIN: "
|
||||||
msgstr "PIN: "
|
msgstr "PIN: "
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:348
|
#: ../js/ui/components/networkAgent.js:348 ../js/ui/components/networkAgent.js:679
|
||||||
#: ../js/ui/components/networkAgent.js:679
|
|
||||||
msgid "Mobile broadband network password"
|
msgid "Mobile broadband network password"
|
||||||
msgstr "Senha da rede de banda larga móvel"
|
msgstr "Senha da rede de banda larga móvel"
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:349
|
#: ../js/ui/components/networkAgent.js:349 ../js/ui/components/networkAgent.js:663 ../js/ui/components/networkAgent.js:667
|
||||||
#: ../js/ui/components/networkAgent.js:663
|
|
||||||
#: ../js/ui/components/networkAgent.js:667
|
|
||||||
#: ../js/ui/components/networkAgent.js:680
|
#: ../js/ui/components/networkAgent.js:680
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid "A password is required to connect to “%s”."
|
msgid "A password is required to connect to “%s”."
|
||||||
msgstr "Uma senha é necessária para se conectar a \"%s\""
|
msgstr "Uma senha é necessária para se conectar a \"%s\""
|
||||||
|
|
||||||
#: ../js/ui/components/networkAgent.js:647 ../js/ui/status/network.js:1654
|
#: ../js/ui/components/networkAgent.js:647 ../js/ui/status/network.js:1658
|
||||||
msgid "Network Manager"
|
msgid "Network Manager"
|
||||||
msgstr "Gerenciador de rede"
|
msgstr "Gerenciador de rede"
|
||||||
|
|
||||||
@ -873,14 +808,9 @@ msgstr "Reiniciar & instalar atualizações"
|
|||||||
#: ../js/ui/endSessionDialog.js:121
|
#: ../js/ui/endSessionDialog.js:121
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid "The system will automatically restart and install updates in %d second."
|
msgid "The system will automatically restart and install updates in %d second."
|
||||||
msgid_plural ""
|
msgid_plural "The system will automatically restart and install updates in %d seconds."
|
||||||
"The system will automatically restart and install updates in %d seconds."
|
msgstr[0] "O sistema irá reiniciar e instalar atualizações automaticamente em %d segundo."
|
||||||
msgstr[0] ""
|
msgstr[1] "O sistema irá reiniciar e instalar atualizações automaticamente em %d segundos."
|
||||||
"O sistema irá reiniciar e instalar atualizações automaticamente em %d "
|
|
||||||
"segundo."
|
|
||||||
msgstr[1] ""
|
|
||||||
"O sistema irá reiniciar e instalar atualizações automaticamente em %d "
|
|
||||||
"segundos."
|
|
||||||
|
|
||||||
#: ../js/ui/endSessionDialog.js:127
|
#: ../js/ui/endSessionDialog.js:127
|
||||||
msgctxt "button"
|
msgctxt "button"
|
||||||
@ -899,9 +829,7 @@ msgstr "Desligar após atualizações serem instaladas"
|
|||||||
|
|
||||||
#: ../js/ui/endSessionDialog.js:338
|
#: ../js/ui/endSessionDialog.js:338
|
||||||
msgid "Running on battery power: please plug in before installing updates."
|
msgid "Running on battery power: please plug in before installing updates."
|
||||||
msgstr ""
|
msgstr "Funcionando na bateria: por favor, conecte na tomada antes de instalar atualizações."
|
||||||
"Funcionando na bateria: por favor, conecte na tomada antes de instalar "
|
|
||||||
"atualizações."
|
|
||||||
|
|
||||||
#: ../js/ui/endSessionDialog.js:355
|
#: ../js/ui/endSessionDialog.js:355
|
||||||
msgid "Some applications are busy or have unsaved work."
|
msgid "Some applications are busy or have unsaved work."
|
||||||
@ -963,17 +891,13 @@ msgstr "Ocultar erros"
|
|||||||
msgid "Show Errors"
|
msgid "Show Errors"
|
||||||
msgstr "Exibir erros"
|
msgstr "Exibir erros"
|
||||||
|
|
||||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
#: ../js/ui/lookingGlass.js:716
|
||||||
#: ../js/ui/status/location.js:176
|
|
||||||
msgid "Enabled"
|
msgid "Enabled"
|
||||||
msgstr "Habilitado"
|
msgstr "Habilitado"
|
||||||
|
|
||||||
#. Translators: this is for a network device that cannot be activated
|
|
||||||
#. because it's disabled by rfkill (airplane mode) */
|
|
||||||
#. translators:
|
#. translators:
|
||||||
#. * The device has been disabled
|
#. * The device has been disabled
|
||||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
#: ../js/ui/lookingGlass.js:719 ../src/gvc/gvc-mixer-control.c:1830
|
||||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Desabilitado"
|
msgstr "Desabilitado"
|
||||||
|
|
||||||
@ -1027,7 +951,7 @@ msgstr "Sair"
|
|||||||
msgid "Activities"
|
msgid "Activities"
|
||||||
msgstr "Atividades"
|
msgstr "Atividades"
|
||||||
|
|
||||||
#: ../js/ui/panel.js:755
|
#: ../js/ui/panel.js:754
|
||||||
msgid "Top Bar"
|
msgid "Top Bar"
|
||||||
msgstr "Barra superior"
|
msgstr "Barra superior"
|
||||||
|
|
||||||
@ -1067,7 +991,7 @@ msgid_plural "%d new notifications"
|
|||||||
msgstr[0] "%d nova notificação"
|
msgstr[0] "%d nova notificação"
|
||||||
msgstr[1] "%d novas notificações"
|
msgstr[1] "%d novas notificações"
|
||||||
|
|
||||||
#: ../js/ui/screenShield.js:432 ../js/ui/status/system.js:365
|
#: ../js/ui/screenShield.js:432 ../js/ui/status/system.js:374
|
||||||
msgid "Lock"
|
msgid "Lock"
|
||||||
msgstr "Bloquear"
|
msgstr "Bloquear"
|
||||||
|
|
||||||
@ -1159,14 +1083,9 @@ msgstr "Alto contraste"
|
|||||||
msgid "Large Text"
|
msgid "Large Text"
|
||||||
msgstr "Texto grande"
|
msgstr "Texto grande"
|
||||||
|
|
||||||
#: ../js/ui/status/bluetooth.js:49
|
#: ../js/ui/status/bluetooth.js:51 ../js/ui/status/network.js:178 ../js/ui/status/network.js:353
|
||||||
msgid "Bluetooth"
|
#: ../js/ui/status/network.js:1279 ../js/ui/status/network.js:1394 ../js/ui/status/rfkill.js:90
|
||||||
msgstr "Bluetooth"
|
#: ../js/ui/status/rfkill.js:117
|
||||||
|
|
||||||
#: ../js/ui/status/bluetooth.js:51 ../js/ui/status/network.js:178
|
|
||||||
#: ../js/ui/status/network.js:360 ../js/ui/status/network.js:1279
|
|
||||||
#: ../js/ui/status/network.js:1390 ../js/ui/status/rfkill.js:91
|
|
||||||
#: ../js/ui/status/rfkill.js:118
|
|
||||||
msgid "Turn Off"
|
msgid "Turn Off"
|
||||||
msgstr "Desligar"
|
msgstr "Desligar"
|
||||||
|
|
||||||
@ -1174,16 +1093,18 @@ msgstr "Desligar"
|
|||||||
msgid "Bluetooth Settings"
|
msgid "Bluetooth Settings"
|
||||||
msgstr "Configurações de Bluetooth"
|
msgstr "Configurações de Bluetooth"
|
||||||
|
|
||||||
#: ../js/ui/status/bluetooth.js:104
|
#. Translators: this is the number of connected bluetooth devices */
|
||||||
|
#: ../js/ui/status/bluetooth.js:105
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid "%d Connected Device"
|
msgid "%d Connected"
|
||||||
msgid_plural "%d Connected Devices"
|
msgid_plural "%d Connected"
|
||||||
msgstr[0] "%d dispositivo conectado"
|
msgstr[0] "%d conectado"
|
||||||
msgstr[1] "%d dispositivos conectados"
|
msgstr[1] "%d conectados"
|
||||||
|
|
||||||
#: ../js/ui/status/bluetooth.js:106 ../js/ui/status/network.js:1307
|
# Livre no sentido de disponível, ou seja, não estar em uso --Enrico
|
||||||
msgid "Not Connected"
|
#: ../js/ui/status/bluetooth.js:107
|
||||||
msgstr "Não conectado"
|
msgid "Not In Use"
|
||||||
|
msgstr "Livre"
|
||||||
|
|
||||||
#: ../js/ui/status/brightness.js:44
|
#: ../js/ui/status/brightness.js:44
|
||||||
msgid "Brightness"
|
msgid "Brightness"
|
||||||
@ -1193,11 +1114,11 @@ msgstr "Brilho"
|
|||||||
msgid "Show Keyboard Layout"
|
msgid "Show Keyboard Layout"
|
||||||
msgstr "Exibir disposição de teclado"
|
msgstr "Exibir disposição de teclado"
|
||||||
|
|
||||||
#: ../js/ui/status/location.js:65
|
#: ../js/ui/status/location.js:71 ../js/ui/status/location.js:177
|
||||||
msgid "Location"
|
msgid "Location Enabled"
|
||||||
msgstr "Localização"
|
msgstr "Localização habilitada"
|
||||||
|
|
||||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:178
|
||||||
msgid "Disable"
|
msgid "Disable"
|
||||||
msgstr "Desabilitar"
|
msgstr "Desabilitar"
|
||||||
|
|
||||||
@ -1206,10 +1127,14 @@ msgid "Privacy Settings"
|
|||||||
msgstr "Configurações de privacidade"
|
msgstr "Configurações de privacidade"
|
||||||
|
|
||||||
#: ../js/ui/status/location.js:176
|
#: ../js/ui/status/location.js:176
|
||||||
msgid "In Use"
|
msgid "Location In Use"
|
||||||
msgstr "Em uso"
|
msgstr "Localização em uso"
|
||||||
|
|
||||||
#: ../js/ui/status/location.js:180
|
#: ../js/ui/status/location.js:180
|
||||||
|
msgid "Location Disabled"
|
||||||
|
msgstr "Localização desabilitada"
|
||||||
|
|
||||||
|
#: ../js/ui/status/location.js:181
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Habilitar"
|
msgstr "Habilitar"
|
||||||
|
|
||||||
@ -1217,62 +1142,85 @@ msgstr "Habilitar"
|
|||||||
msgid "<unknown>"
|
msgid "<unknown>"
|
||||||
msgstr "<desconhecido>"
|
msgstr "<desconhecido>"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:457 ../js/ui/status/network.js:1305
|
#. Translators: %s is a network identifier */
|
||||||
#: ../js/ui/status/network.js:1509
|
#: ../js/ui/status/network.js:451 ../js/ui/status/network.js:1308
|
||||||
msgid "Off"
|
#, javascript-format
|
||||||
msgstr "Off"
|
msgid "%s Off"
|
||||||
|
msgstr "%s desligado"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:459
|
#. Translators: %s is a network identifier */
|
||||||
msgid "Connected"
|
#: ../js/ui/status/network.js:454
|
||||||
msgstr "Conectado"
|
#, javascript-format
|
||||||
|
msgid "%s Connected"
|
||||||
|
msgstr "Conectado a %s"
|
||||||
|
|
||||||
# Não gerenciável para transmitir a idéia que o Networkmanager não consegue gerenciar o dispositivo --Enrico
|
# Não gerenciável para transmitir a idéia que o Networkmanager não consegue gerenciar o dispositivo --Enrico
|
||||||
#. Translators: this is for network devices that are physically present but are not
|
#. Translators: this is for network devices that are physically present but are not
|
||||||
#. under NetworkManager's control (and thus cannot be used in the menu) */
|
#. under NetworkManager's control (and thus cannot be used in the menu);
|
||||||
#: ../js/ui/status/network.js:463
|
#. %s is a network identifier */
|
||||||
msgid "Unmanaged"
|
#: ../js/ui/status/network.js:459
|
||||||
msgstr "Não gerenciável"
|
#, javascript-format
|
||||||
|
msgid "%s Unmanaged"
|
||||||
|
msgstr "%s não é gerenciável"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:465
|
#. Translators: %s is a network identifier */
|
||||||
msgid "Disconnecting"
|
#: ../js/ui/status/network.js:462
|
||||||
msgstr "Desconectando"
|
#, javascript-format
|
||||||
|
msgid "%s Disconnecting"
|
||||||
|
msgstr "Desconectando de %s"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:471 ../js/ui/status/network.js:1299
|
#. Translators: %s is a network identifier */
|
||||||
msgid "Connecting"
|
#: ../js/ui/status/network.js:469 ../js/ui/status/network.js:1300
|
||||||
msgstr "Conectando"
|
#, javascript-format
|
||||||
|
msgid "%s Connecting"
|
||||||
|
msgstr "Conectando a %s"
|
||||||
|
|
||||||
#. Translators: this is for network connections that require some kind of key or password */
|
#. Translators: this is for network connections that require some kind of key or password; %s is a network identifier */
|
||||||
#: ../js/ui/status/network.js:474
|
#: ../js/ui/status/network.js:472
|
||||||
msgid "Authentication required"
|
#, javascript-format
|
||||||
msgstr "Autenticação necessária"
|
msgid "%s Requires Authentication"
|
||||||
|
msgstr "%s requer autenticação"
|
||||||
|
|
||||||
#. Translators: this is for devices that require some kind of firmware or kernel
|
#. Translators: this is for devices that require some kind of firmware or kernel
|
||||||
#. module, which is missing */
|
#. module, which is missing; %s is a network identifier */
|
||||||
#: ../js/ui/status/network.js:482
|
#: ../js/ui/status/network.js:480
|
||||||
msgid "Firmware missing"
|
#, javascript-format
|
||||||
msgstr "Firmware em falta"
|
msgid "Firmware Missing For %s"
|
||||||
|
msgstr "Firmware em falta para %s"
|
||||||
|
|
||||||
#. Translators: this is for a network device that cannot be activated (for example it
|
#. Translators: this is for a network device that cannot be activated (for example it
|
||||||
#. is disabled by rfkill, or it has no coverage */
|
#. is disabled by rfkill, or it has no coverage; %s is a network identifier */
|
||||||
#: ../js/ui/status/network.js:486
|
#: ../js/ui/status/network.js:484
|
||||||
msgid "Unavailable"
|
#, javascript-format
|
||||||
msgstr "Indisponível"
|
msgid "%s Unavailable"
|
||||||
|
msgstr "%s está indisponível"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:488 ../js/ui/status/network.js:1693
|
#. Translators: %s is a network identifier */
|
||||||
msgid "Connection failed"
|
#: ../js/ui/status/network.js:487
|
||||||
msgstr "Falha de conexão"
|
#, javascript-format
|
||||||
|
msgid "%s Connection Failed"
|
||||||
|
msgstr "Falha na conexão de %s"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:504
|
#: ../js/ui/status/network.js:503
|
||||||
msgid "Wired Settings"
|
msgid "Wired Settings"
|
||||||
msgstr "Configurações da rede cabeada"
|
msgstr "Configurações da rede cabeada"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:546 ../js/ui/status/network.js:624
|
#: ../js/ui/status/network.js:545 ../js/ui/status/network.js:624
|
||||||
msgid "Mobile Broadband Settings"
|
msgid "Mobile Broadband Settings"
|
||||||
msgstr "Configurações de banda larga móvel"
|
msgstr "Configurações de banda larga móvel"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1303
|
#. Translators: %s is a network identifier */
|
||||||
msgid "Hardware Disabled"
|
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1305
|
||||||
msgstr "Hardware desabilitado"
|
#, javascript-format
|
||||||
|
msgid "%s Hardware Disabled"
|
||||||
|
msgstr "Hardware de %s desabilitado"
|
||||||
|
|
||||||
|
#. Translators: this is for a network device that cannot be activated
|
||||||
|
#. because it's disabled by rfkill (airplane mode); %s is a network identifier */
|
||||||
|
#: ../js/ui/status/network.js:592
|
||||||
|
#, javascript-format
|
||||||
|
msgid "%s Disabled"
|
||||||
|
msgstr "%s está desabilitado"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:632
|
#: ../js/ui/status/network.js:632
|
||||||
msgid "Use as Internet connection"
|
msgid "Use as Internet connection"
|
||||||
@ -1314,7 +1262,7 @@ msgstr "Selecione uma rede"
|
|||||||
msgid "No Networks"
|
msgid "No Networks"
|
||||||
msgstr "Nenhuma rede"
|
msgstr "Nenhuma rede"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:904 ../js/ui/status/rfkill.js:116
|
#: ../js/ui/status/network.js:904 ../js/ui/status/rfkill.js:115
|
||||||
msgid "Use hardware switch to turn off"
|
msgid "Use hardware switch to turn off"
|
||||||
msgstr "Usar alternador de hardware para desligar"
|
msgstr "Usar alternador de hardware para desligar"
|
||||||
|
|
||||||
@ -1330,36 +1278,52 @@ msgstr "Configurações de Wi-Fi"
|
|||||||
msgid "Turn On"
|
msgid "Turn On"
|
||||||
msgstr "Ligar"
|
msgstr "Ligar"
|
||||||
|
|
||||||
|
#. Translators: %s is a network identifier */
|
||||||
#: ../js/ui/status/network.js:1296
|
#: ../js/ui/status/network.js:1296
|
||||||
msgid "Hotspot Active"
|
#, javascript-format
|
||||||
msgstr "Ponto de acesso ativo"
|
msgid "%s Hotspot Active"
|
||||||
|
msgstr "Ponto de acesso %s está ativo"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1407
|
#. Translators: %s is a network identifier */
|
||||||
|
#: ../js/ui/status/network.js:1311
|
||||||
|
#, javascript-format
|
||||||
|
msgid "%s Not Connected"
|
||||||
|
msgstr "%s não está conectado"
|
||||||
|
|
||||||
|
#: ../js/ui/status/network.js:1411
|
||||||
msgid "connecting..."
|
msgid "connecting..."
|
||||||
msgstr "conectando..."
|
msgstr "conectando..."
|
||||||
|
|
||||||
#. Translators: this is for network connections that require some kind of key or password */
|
#. Translators: this is for network connections that require some kind of key or password */
|
||||||
#: ../js/ui/status/network.js:1410
|
#: ../js/ui/status/network.js:1414
|
||||||
msgid "authentication required"
|
msgid "authentication required"
|
||||||
msgstr "autenticação necessária"
|
msgstr "autenticação necessária"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1412
|
#: ../js/ui/status/network.js:1416
|
||||||
msgid "connection failed"
|
msgid "connection failed"
|
||||||
msgstr "conexão falhou"
|
msgstr "conexão falhou"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1478 ../js/ui/status/rfkill.js:94
|
#: ../js/ui/status/network.js:1482 ../js/ui/status/rfkill.js:93
|
||||||
msgid "Network Settings"
|
msgid "Network Settings"
|
||||||
msgstr "Configurações de rede"
|
msgstr "Configurações de rede"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1480
|
#: ../js/ui/status/network.js:1484
|
||||||
msgid "VPN Settings"
|
msgid "VPN Settings"
|
||||||
msgstr "Configurações de VPN"
|
msgstr "Configurações de VPN"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1499
|
#: ../js/ui/status/network.js:1503
|
||||||
msgid "VPN"
|
msgid "VPN"
|
||||||
msgstr "VPN"
|
msgstr "VPN"
|
||||||
|
|
||||||
#: ../js/ui/status/network.js:1694
|
#: ../js/ui/status/network.js:1513
|
||||||
|
msgid "VPN Off"
|
||||||
|
msgstr "VPN desligada"
|
||||||
|
|
||||||
|
#: ../js/ui/status/network.js:1697
|
||||||
|
msgid "Connection failed"
|
||||||
|
msgstr "Falha de conexão"
|
||||||
|
|
||||||
|
#: ../js/ui/status/network.js:1698
|
||||||
msgid "Activation of network connection failed"
|
msgid "Activation of network connection failed"
|
||||||
msgstr "Falha ao ativar a conexão da rede"
|
msgstr "Falha ao ativar a conexão da rede"
|
||||||
|
|
||||||
@ -1385,41 +1349,31 @@ msgstr "%d:%02d restante(s) (%d%%)"
|
|||||||
msgid "%d∶%02d Until Full (%d%%)"
|
msgid "%d∶%02d Until Full (%d%%)"
|
||||||
msgstr "%d:%02d até completamente carregada (%d%%)"
|
msgstr "%d:%02d até completamente carregada (%d%%)"
|
||||||
|
|
||||||
# UPS significa uninterruptible power supply, mas no Brasil vejo usando mais
|
|
||||||
# "No-break", que é a mesma coisa, então optei pela segunda. -- Rafael Ferreira
|
|
||||||
#: ../js/ui/status/power.js:119
|
|
||||||
msgid "UPS"
|
|
||||||
msgstr "No-break"
|
|
||||||
|
|
||||||
#: ../js/ui/status/power.js:121
|
|
||||||
msgid "Battery"
|
|
||||||
msgstr "Bateria"
|
|
||||||
|
|
||||||
#: ../js/ui/status/rfkill.js:88
|
#: ../js/ui/status/rfkill.js:88
|
||||||
msgid "Airplane Mode"
|
msgid "Airplane Mode On"
|
||||||
msgstr "Modo avião"
|
msgstr "Modo avião ligado"
|
||||||
|
|
||||||
#: ../js/ui/status/rfkill.js:90
|
#: ../js/ui/status/system.js:343
|
||||||
msgid "On"
|
|
||||||
msgstr "On"
|
|
||||||
|
|
||||||
#: ../js/ui/status/system.js:337
|
|
||||||
msgid "Switch User"
|
msgid "Switch User"
|
||||||
msgstr "Alternar usuário"
|
msgstr "Alternar usuário"
|
||||||
|
|
||||||
#: ../js/ui/status/system.js:342
|
#: ../js/ui/status/system.js:348
|
||||||
msgid "Log Out"
|
msgid "Log Out"
|
||||||
msgstr "Encerrar sessão"
|
msgstr "Encerrar sessão"
|
||||||
|
|
||||||
#: ../js/ui/status/system.js:361
|
#: ../js/ui/status/system.js:353
|
||||||
|
msgid "Account Settings"
|
||||||
|
msgstr "Configurações de conta"
|
||||||
|
|
||||||
|
#: ../js/ui/status/system.js:370
|
||||||
msgid "Orientation Lock"
|
msgid "Orientation Lock"
|
||||||
msgstr "Bloqueio da orientação"
|
msgstr "Bloqueio da orientação"
|
||||||
|
|
||||||
#: ../js/ui/status/system.js:369
|
#: ../js/ui/status/system.js:378
|
||||||
msgid "Suspend"
|
msgid "Suspend"
|
||||||
msgstr "Suspender"
|
msgstr "Suspender"
|
||||||
|
|
||||||
#: ../js/ui/status/system.js:372
|
#: ../js/ui/status/system.js:381
|
||||||
msgid "Power Off"
|
msgid "Power Off"
|
||||||
msgstr "Desligar"
|
msgstr "Desligar"
|
||||||
|
|
||||||
@ -1518,12 +1472,10 @@ msgid "Always on Visible Workspace"
|
|||||||
msgstr "Sempre na área de trabalho visível"
|
msgstr "Sempre na área de trabalho visível"
|
||||||
|
|
||||||
#: ../js/ui/windowMenu.js:105
|
#: ../js/ui/windowMenu.js:105
|
||||||
#| msgid "Move to Workspace Up"
|
|
||||||
msgid "Move to Workspace Left"
|
msgid "Move to Workspace Left"
|
||||||
msgstr "Mover para a área de trabalho esquerda"
|
msgstr "Mover para a área de trabalho esquerda"
|
||||||
|
|
||||||
#: ../js/ui/windowMenu.js:110
|
#: ../js/ui/windowMenu.js:110
|
||||||
#| msgid "Move to Workspace Up"
|
|
||||||
msgid "Move to Workspace Right"
|
msgid "Move to Workspace Right"
|
||||||
msgstr "Mover para a área de trabalho direita"
|
msgstr "Mover para a área de trabalho direita"
|
||||||
|
|
||||||
@ -1615,6 +1567,34 @@ msgstr "A senha não pode estar em branco"
|
|||||||
msgid "Authentication dialog was dismissed by the user"
|
msgid "Authentication dialog was dismissed by the user"
|
||||||
msgstr "O diálogo de autenticação foi descartado pelo usuário"
|
msgstr "O diálogo de autenticação foi descartado pelo usuário"
|
||||||
|
|
||||||
|
#~ msgid "Bluetooth"
|
||||||
|
#~ msgstr "Bluetooth"
|
||||||
|
|
||||||
|
#~ msgid "%d Connected Device"
|
||||||
|
#~ msgid_plural "%d Connected Devices"
|
||||||
|
#~ msgstr[0] "%d dispositivo conectado"
|
||||||
|
#~ msgstr[1] "%d dispositivos conectados"
|
||||||
|
|
||||||
|
#~ msgid "Off"
|
||||||
|
#~ msgstr "Off"
|
||||||
|
|
||||||
|
#~ msgid "Authentication required"
|
||||||
|
#~ msgstr "Autenticação necessária"
|
||||||
|
|
||||||
|
# UPS significa uninterruptible power supply, mas no Brasil vejo usando mais
|
||||||
|
# "No-break", que é a mesma coisa, então optei pela segunda. -- Rafael Ferreira
|
||||||
|
#~ msgid "UPS"
|
||||||
|
#~ msgstr "No-break"
|
||||||
|
|
||||||
|
#~ msgid "Battery"
|
||||||
|
#~ msgstr "Bateria"
|
||||||
|
|
||||||
|
#~ msgid "Airplane Mode"
|
||||||
|
#~ msgstr "Modo avião"
|
||||||
|
|
||||||
|
#~ msgid "On"
|
||||||
|
#~ msgstr "On"
|
||||||
|
|
||||||
#~ msgctxt "event list time"
|
#~ msgctxt "event list time"
|
||||||
#~ msgid "%H∶%M"
|
#~ msgid "%H∶%M"
|
||||||
#~ msgstr "%H∶%M"
|
#~ msgstr "%H∶%M"
|
||||||
@ -1713,10 +1693,8 @@ msgstr "O diálogo de autenticação foi descartado pelo usuário"
|
|||||||
#~ msgid "This account is already connected to the server"
|
#~ msgid "This account is already connected to the server"
|
||||||
#~ msgstr "Esta conta já está conectada ao servidor"
|
#~ msgstr "Esta conta já está conectada ao servidor"
|
||||||
|
|
||||||
#~ msgid ""
|
#~ msgid "Connection has been replaced by a new connection using the same resource"
|
||||||
#~ "Connection has been replaced by a new connection using the same resource"
|
#~ msgstr "A conexão foi substituída por uma nova conexão usando o mesmo recurso"
|
||||||
#~ msgstr ""
|
|
||||||
#~ "A conexão foi substituída por uma nova conexão usando o mesmo recurso"
|
|
||||||
|
|
||||||
#~ msgid "The account already exists on the server"
|
#~ msgid "The account already exists on the server"
|
||||||
#~ msgstr "A conta já existe no servidor"
|
#~ msgstr "A conta já existe no servidor"
|
||||||
@ -1727,18 +1705,15 @@ msgstr "O diálogo de autenticação foi descartado pelo usuário"
|
|||||||
#~ msgid "Certificate has been revoked"
|
#~ msgid "Certificate has been revoked"
|
||||||
#~ msgstr "O certificado foi revogado"
|
#~ msgstr "O certificado foi revogado"
|
||||||
|
|
||||||
#~ msgid ""
|
#~ msgid "Certificate uses an insecure cipher algorithm or is cryptographically weak"
|
||||||
#~ "Certificate uses an insecure cipher algorithm or is cryptographically weak"
|
#~ msgstr "O certificado usa um algoritmo de cifragem inseguro ou é criptograficamente fraco"
|
||||||
#~ msgstr ""
|
|
||||||
#~ "O certificado usa um algoritmo de cifragem inseguro ou é "
|
|
||||||
#~ "criptograficamente fraco"
|
|
||||||
|
|
||||||
#~ msgid ""
|
#~ msgid ""
|
||||||
#~ "The length of the server certificate, or the depth of the server "
|
#~ "The length of the server certificate, or the depth of the server certificate chain, exceed the limits imposed by the "
|
||||||
#~ "certificate chain, exceed the limits imposed by the cryptography library"
|
#~ "cryptography library"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
#~ "O comprimento do certificado do servidor, ou a profundidade da cadeia do "
|
#~ "O comprimento do certificado do servidor, ou a profundidade da cadeia do certificado excedeu os limites impostos pela "
|
||||||
#~ "certificado excedeu os limites impostos pela biblioteca de criptografia"
|
#~ "biblioteca de criptografia"
|
||||||
|
|
||||||
#~ msgid "Internal error"
|
#~ msgid "Internal error"
|
||||||
#~ msgstr "Erro interno"
|
#~ msgstr "Erro interno"
|
||||||
|
729
po/sr@latin.po
729
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
@ -176,15 +176,15 @@ gtk_menu_tracker_section_sync_separators (GtkMenuTrackerSection *section,
|
|||||||
|
|
||||||
if (subsection)
|
if (subsection)
|
||||||
{
|
{
|
||||||
gboolean could_have_separator;
|
gboolean section_could_have_separator;
|
||||||
|
|
||||||
could_have_separator = (section->with_separators && n_items > 0) || subsection->separator_label;
|
section_could_have_separator = (section->with_separators && n_items > 0) || subsection->separator_label;
|
||||||
|
|
||||||
/* Only pass the parent_model and parent_index in case they may be used to create the separator. */
|
/* Only pass the parent_model and parent_index in case they may be used to create the separator. */
|
||||||
n_items += gtk_menu_tracker_section_sync_separators (subsection, tracker, offset + n_items,
|
n_items += gtk_menu_tracker_section_sync_separators (subsection, tracker, offset + n_items,
|
||||||
could_have_separator,
|
section_could_have_separator,
|
||||||
could_have_separator ? section->model : NULL,
|
section_could_have_separator ? section->model : NULL,
|
||||||
could_have_separator ? i : 0);
|
section_could_have_separator ? i : 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
n_items++;
|
n_items++;
|
||||||
@ -197,11 +197,11 @@ gtk_menu_tracker_section_sync_separators (GtkMenuTrackerSection *section,
|
|||||||
if (should_have_separator > section->has_separator)
|
if (should_have_separator > section->has_separator)
|
||||||
{
|
{
|
||||||
/* Add a separator */
|
/* Add a separator */
|
||||||
GtkMenuTrackerItem *item;
|
GtkMenuTrackerItem *menuitem;
|
||||||
|
|
||||||
item = _gtk_menu_tracker_item_new (tracker->observable, parent_model, parent_index, NULL, TRUE);
|
menuitem = _gtk_menu_tracker_item_new (tracker->observable, parent_model, parent_index, NULL, TRUE);
|
||||||
(* tracker->insert_func) (item, offset, tracker->user_data);
|
(* tracker->insert_func) (menuitem, offset, tracker->user_data);
|
||||||
g_object_unref (item);
|
g_object_unref (menuitem);
|
||||||
|
|
||||||
section->has_separator = TRUE;
|
section->has_separator = TRUE;
|
||||||
}
|
}
|
||||||
|
2
src/gvc
2
src/gvc
Submodule src/gvc updated: fac3a900e5...0a79019088
18
src/main.c
18
src/main.c
@ -54,7 +54,7 @@ static void
|
|||||||
shell_dbus_acquire_name (GDBusProxy *bus,
|
shell_dbus_acquire_name (GDBusProxy *bus,
|
||||||
guint32 request_name_flags,
|
guint32 request_name_flags,
|
||||||
guint32 *request_name_result,
|
guint32 *request_name_result,
|
||||||
gchar *name,
|
const gchar *name,
|
||||||
gboolean fatal)
|
gboolean fatal)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
@ -68,24 +68,26 @@ shell_dbus_acquire_name (GDBusProxy *bus,
|
|||||||
NULL, /* cancellable */
|
NULL, /* cancellable */
|
||||||
&error)))
|
&error)))
|
||||||
{
|
{
|
||||||
g_printerr ("failed to acquire %s: %s\n", name, error->message);
|
g_printerr ("failed to acquire %s: %s\n", name, error ? error->message : "");
|
||||||
|
g_clear_error (&error);
|
||||||
if (!fatal)
|
if (!fatal)
|
||||||
return;
|
return;
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
g_variant_get (request_name_variant, "(u)", request_name_result);
|
g_variant_get (request_name_variant, "(u)", request_name_result);
|
||||||
|
g_variant_unref (request_name_variant);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
shell_dbus_acquire_names (GDBusProxy *bus,
|
shell_dbus_acquire_names (GDBusProxy *bus,
|
||||||
guint32 request_name_flags,
|
guint32 request_name_flags,
|
||||||
gchar *name,
|
const gchar *name,
|
||||||
gboolean fatal, ...) G_GNUC_NULL_TERMINATED;
|
gboolean fatal, ...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
shell_dbus_acquire_names (GDBusProxy *bus,
|
shell_dbus_acquire_names (GDBusProxy *bus,
|
||||||
guint32 request_name_flags,
|
guint32 request_name_flags,
|
||||||
gchar *name,
|
const gchar *name,
|
||||||
gboolean fatal, ...)
|
gboolean fatal, ...)
|
||||||
{
|
{
|
||||||
va_list al;
|
va_list al;
|
||||||
@ -130,6 +132,12 @@ shell_dbus_init (gboolean replace)
|
|||||||
NULL, /* cancellable */
|
NULL, /* cancellable */
|
||||||
&error);
|
&error);
|
||||||
|
|
||||||
|
if (!bus)
|
||||||
|
{
|
||||||
|
g_printerr ("Failed to get a session bus proxy: %s", error->message);
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
|
||||||
request_name_flags = G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT;
|
request_name_flags = G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT;
|
||||||
if (replace)
|
if (replace)
|
||||||
request_name_flags |= DBUS_NAME_FLAG_REPLACE_EXISTING;
|
request_name_flags |= DBUS_NAME_FLAG_REPLACE_EXISTING;
|
||||||
@ -454,7 +462,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
/* Initialize the global object */
|
/* Initialize the global object */
|
||||||
if (session_mode == NULL)
|
if (session_mode == NULL)
|
||||||
session_mode = is_gdm_mode ? "gdm" : "user";
|
session_mode = is_gdm_mode ? (char *)"gdm" : (char *)"user";
|
||||||
|
|
||||||
_shell_global_init ("session-mode", session_mode, NULL);
|
_shell_global_init ("session-mode", session_mode, NULL);
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ shell_app_system_finalize (GObject *object)
|
|||||||
* Return Value: (transfer none): The global #ShellAppSystem singleton
|
* Return Value: (transfer none): The global #ShellAppSystem singleton
|
||||||
*/
|
*/
|
||||||
ShellAppSystem *
|
ShellAppSystem *
|
||||||
shell_app_system_get_default ()
|
shell_app_system_get_default (void)
|
||||||
{
|
{
|
||||||
static ShellAppSystem *instance = NULL;
|
static ShellAppSystem *instance = NULL;
|
||||||
|
|
||||||
@ -348,6 +348,9 @@ _shell_app_system_notify_app_state_changed (ShellAppSystem *self,
|
|||||||
case SHELL_APP_STATE_STOPPED:
|
case SHELL_APP_STATE_STOPPED:
|
||||||
g_hash_table_remove (self->priv->running_apps, app);
|
g_hash_table_remove (self->priv->running_apps, app);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
g_signal_emit (self, signals[APP_STATE_CHANGED], 0, app);
|
g_signal_emit (self, signals[APP_STATE_CHANGED], 0, app);
|
||||||
}
|
}
|
||||||
|
@ -996,7 +996,7 @@ on_enable_monitoring_key_changed (GSettings *settings,
|
|||||||
* Return Value: (transfer none): The global #ShellAppUsage instance
|
* Return Value: (transfer none): The global #ShellAppUsage instance
|
||||||
*/
|
*/
|
||||||
ShellAppUsage *
|
ShellAppUsage *
|
||||||
shell_app_usage_get_default ()
|
shell_app_usage_get_default (void)
|
||||||
{
|
{
|
||||||
static ShellAppUsage *instance;
|
static ShellAppUsage *instance;
|
||||||
|
|
||||||
|
@ -491,6 +491,9 @@ shell_app_activate_full (ShellApp *app,
|
|||||||
case SHELL_APP_STATE_RUNNING:
|
case SHELL_APP_STATE_RUNNING:
|
||||||
shell_app_activate_window (app, NULL, timestamp);
|
shell_app_activate_window (app, NULL, timestamp);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -699,7 +702,7 @@ static int
|
|||||||
shell_app_get_last_user_time (ShellApp *app)
|
shell_app_get_last_user_time (ShellApp *app)
|
||||||
{
|
{
|
||||||
GSList *iter;
|
GSList *iter;
|
||||||
int last_user_time;
|
guint32 last_user_time;
|
||||||
|
|
||||||
last_user_time = 0;
|
last_user_time = 0;
|
||||||
|
|
||||||
@ -709,7 +712,7 @@ shell_app_get_last_user_time (ShellApp *app)
|
|||||||
last_user_time = MAX (last_user_time, meta_window_get_user_time (iter->data));
|
last_user_time = MAX (last_user_time, meta_window_get_user_time (iter->data));
|
||||||
}
|
}
|
||||||
|
|
||||||
return last_user_time;
|
return (int)last_user_time;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -68,7 +68,6 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
ClutterActor *window_actor =
|
ClutterActor *window_actor =
|
||||||
CLUTTER_ACTOR (meta_window_get_compositor_private (window));
|
CLUTTER_ACTOR (meta_window_get_compositor_private (window));
|
||||||
MetaDisplay *display = shell_global_get_display (shell_global_get ());
|
|
||||||
GCallback remove_cb = G_CALLBACK (shell_gtk_embed_remove_window_actor);
|
GCallback remove_cb = G_CALLBACK (shell_gtk_embed_remove_window_actor);
|
||||||
cairo_region_t *empty_region;
|
cairo_region_t *empty_region;
|
||||||
|
|
||||||
|
@ -125,9 +125,10 @@ on_window_draw (GtkWidget *window,
|
|||||||
WindowInfo *info)
|
WindowInfo *info)
|
||||||
{
|
{
|
||||||
cairo_rectangle_int_t allocation;
|
cairo_rectangle_int_t allocation;
|
||||||
gtk_widget_get_allocation (window, &allocation);
|
|
||||||
double x_offset, y_offset;
|
double x_offset, y_offset;
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (window, &allocation);
|
||||||
|
|
||||||
/* We draw an arbitrary pattern of red lines near the border of the
|
/* We draw an arbitrary pattern of red lines near the border of the
|
||||||
* window to make it more clear than empty windows if something
|
* window to make it more clear than empty windows if something
|
||||||
* is drastrically wrong.
|
* is drastrically wrong.
|
||||||
|
@ -626,7 +626,7 @@ shell_perf_log_collect_statistics (ShellPerfLog *perf_log)
|
|||||||
{
|
{
|
||||||
gint64 event_time = get_time ();
|
gint64 event_time = get_time ();
|
||||||
gint64 collection_time;
|
gint64 collection_time;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
if (!perf_log->enabled)
|
if (!perf_log->enabled)
|
||||||
return;
|
return;
|
||||||
@ -672,6 +672,9 @@ shell_perf_log_collect_statistics (ShellPerfLog *perf_log)
|
|||||||
statistic->recorded = TRUE;
|
statistic->recorded = TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warning ("Unsupported signature in event");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -819,7 +822,7 @@ shell_perf_log_dump_events (ShellPerfLog *perf_log,
|
|||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GString *output;
|
GString *output;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
output = g_string_new (NULL);
|
output = g_string_new (NULL);
|
||||||
g_string_append (output, "[ ");
|
g_string_append (output, "[ ");
|
||||||
|
@ -156,16 +156,16 @@ shell_recorder_src_send_event (GstElement * element, GstEvent * event)
|
|||||||
ShellRecorderSrc *src = SHELL_RECORDER_SRC (element);
|
ShellRecorderSrc *src = SHELL_RECORDER_SRC (element);
|
||||||
gboolean res;
|
gboolean res;
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
|
||||||
case GST_EVENT_EOS:
|
{
|
||||||
shell_recorder_src_close (src);
|
shell_recorder_src_close (src);
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
break;
|
}
|
||||||
default:
|
else
|
||||||
|
{
|
||||||
res = GST_CALL_PARENT_WITH_DEFAULT (GST_ELEMENT_CLASS, send_event, (element,
|
res = GST_CALL_PARENT_WITH_DEFAULT (GST_ELEMENT_CLASS, send_event, (element,
|
||||||
event), FALSE);
|
event), FALSE);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -1182,12 +1182,12 @@ recorder_pipeline_bus_watch (GstBus *bus,
|
|||||||
{
|
{
|
||||||
RecorderPipeline *pipeline = data;
|
RecorderPipeline *pipeline = data;
|
||||||
|
|
||||||
switch (message->type)
|
if (message->type == GST_MESSAGE_EOS)
|
||||||
{
|
{
|
||||||
case GST_MESSAGE_EOS:
|
|
||||||
recorder_pipeline_closed (pipeline);
|
recorder_pipeline_closed (pipeline);
|
||||||
return FALSE; /* remove watch */
|
return FALSE; /* remove watch */
|
||||||
case GST_MESSAGE_ERROR:
|
}
|
||||||
|
else if (message->type == GST_MESSAGE_ERROR)
|
||||||
{
|
{
|
||||||
GError *error;
|
GError *error;
|
||||||
|
|
||||||
@ -1197,9 +1197,6 @@ recorder_pipeline_bus_watch (GstBus *bus,
|
|||||||
recorder_pipeline_closed (pipeline);
|
recorder_pipeline_closed (pipeline);
|
||||||
return FALSE; /* remove watch */
|
return FALSE; /* remove watch */
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leave the watch in place */
|
/* Leave the watch in place */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -84,7 +84,7 @@ shell_util_get_transformed_allocation (ClutterActor *actor,
|
|||||||
*/
|
*/
|
||||||
ClutterVertex v[4];
|
ClutterVertex v[4];
|
||||||
gfloat x_min, x_max, y_min, y_max;
|
gfloat x_min, x_max, y_min, y_max;
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
g_return_if_fail (CLUTTER_IS_ACTOR (actor));
|
g_return_if_fail (CLUTTER_IS_ACTOR (actor));
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ shell_util_format_date (const char *format,
|
|||||||
*/
|
*/
|
||||||
/* Copied from gtkcalendar.c */
|
/* Copied from gtkcalendar.c */
|
||||||
int
|
int
|
||||||
shell_util_get_week_start ()
|
shell_util_get_week_start (void)
|
||||||
{
|
{
|
||||||
int week_start;
|
int week_start;
|
||||||
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
|
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
|
||||||
|
@ -865,7 +865,7 @@ shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size)
|
|||||||
* Return Value: (transfer none): The global #ShellWindowTracker instance
|
* Return Value: (transfer none): The global #ShellWindowTracker instance
|
||||||
*/
|
*/
|
||||||
ShellWindowTracker *
|
ShellWindowTracker *
|
||||||
shell_window_tracker_get_default ()
|
shell_window_tracker_get_default (void)
|
||||||
{
|
{
|
||||||
static ShellWindowTracker *instance;
|
static ShellWindowTracker *instance;
|
||||||
|
|
||||||
|
@ -801,9 +801,6 @@ struct _StButtonAccessibleClass
|
|||||||
StWidgetAccessibleClass parent_class;
|
StWidgetAccessibleClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void st_button_accessible_class_init (StButtonAccessibleClass *klass);
|
|
||||||
static void st_button_accessible_init (StButtonAccessible *button);
|
|
||||||
|
|
||||||
/* AtkObject */
|
/* AtkObject */
|
||||||
static void st_button_accessible_initialize (AtkObject *obj,
|
static void st_button_accessible_initialize (AtkObject *obj,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
@ -94,8 +94,8 @@ st_drawing_area_paint (ClutterActor *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (priv->texture != NULL &&
|
if (priv->texture != NULL &&
|
||||||
(width != cogl_texture_get_width (priv->texture) ||
|
(width != (int)cogl_texture_get_width (priv->texture) ||
|
||||||
height != cogl_texture_get_height (priv->texture)))
|
height != (int)cogl_texture_get_height (priv->texture)))
|
||||||
{
|
{
|
||||||
cogl_object_unref (priv->texture);
|
cogl_object_unref (priv->texture);
|
||||||
priv->texture = NULL;
|
priv->texture = NULL;
|
||||||
|
@ -408,9 +408,6 @@ struct _StLabelAccessibleClass
|
|||||||
StWidgetAccessibleClass parent_class;
|
StWidgetAccessibleClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void st_label_accessible_class_init (StLabelAccessibleClass *klass);
|
|
||||||
static void st_label_accessible_init (StLabelAccessible *label);
|
|
||||||
|
|
||||||
/* AtkObject */
|
/* AtkObject */
|
||||||
static void st_label_accessible_initialize (AtkObject *obj,
|
static void st_label_accessible_initialize (AtkObject *obj,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
@ -211,7 +211,7 @@ calculate_gaussian_kernel (gdouble sigma,
|
|||||||
{
|
{
|
||||||
gdouble *ret, sum;
|
gdouble *ret, sum;
|
||||||
gdouble exp_divisor;
|
gdouble exp_divisor;
|
||||||
gint half, i;
|
guint half, i;
|
||||||
|
|
||||||
g_return_val_if_fail (sigma > 0, NULL);
|
g_return_val_if_fail (sigma > 0, NULL);
|
||||||
|
|
||||||
@ -383,9 +383,6 @@ _st_create_shadow_pipeline (StShadow *shadow_spec,
|
|||||||
|
|
||||||
if (G_UNLIKELY (shadow_pipeline_template == NULL))
|
if (G_UNLIKELY (shadow_pipeline_template == NULL))
|
||||||
{
|
{
|
||||||
CoglContext *ctx =
|
|
||||||
clutter_backend_get_cogl_context (clutter_get_default_backend ());
|
|
||||||
|
|
||||||
shadow_pipeline_template = cogl_pipeline_new (ctx);
|
shadow_pipeline_template = cogl_pipeline_new (ctx);
|
||||||
|
|
||||||
/* We set up the pipeline to blend the shadow texture with the combine
|
/* We set up the pipeline to blend the shadow texture with the combine
|
||||||
|
@ -450,6 +450,7 @@ adjust_with_direction (StAdjustment *adj,
|
|||||||
delta = 1.0;
|
delta = 1.0;
|
||||||
break;
|
break;
|
||||||
case CLUTTER_SCROLL_SMOOTH:
|
case CLUTTER_SCROLL_SMOOTH:
|
||||||
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -485,6 +486,9 @@ st_scroll_bar_scroll_event (ClutterActor *actor,
|
|||||||
case CLUTTER_SCROLL_RIGHT:
|
case CLUTTER_SCROLL_RIGHT:
|
||||||
adjust_with_direction (priv->adjustment, event->direction);
|
adjust_with_direction (priv->adjustment, event->direction);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_return_val_if_reached (FALSE);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -378,6 +378,9 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
|
|||||||
* but that's not cleanly defined at the moment */
|
* but that's not cleanly defined at the moment */
|
||||||
min_width = 0;
|
min_width = 0;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (priv->vscrollbar_policy)
|
switch (priv->vscrollbar_policy)
|
||||||
@ -396,6 +399,9 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
|
|||||||
*/
|
*/
|
||||||
account_for_vscrollbar = !priv->overlay_scrollbars;
|
account_for_vscrollbar = !priv->overlay_scrollbars;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account_for_vscrollbar)
|
if (account_for_vscrollbar)
|
||||||
@ -452,6 +458,9 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
|||||||
/* We've requested space for the scrollbar, subtract it back out */
|
/* We've requested space for the scrollbar, subtract it back out */
|
||||||
for_width -= sb_width;
|
for_width -= sb_width;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (priv->hscrollbar_policy)
|
switch (priv->hscrollbar_policy)
|
||||||
@ -470,6 +479,9 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
|||||||
*/
|
*/
|
||||||
account_for_hscrollbar = !priv->overlay_scrollbars;
|
account_for_hscrollbar = !priv->overlay_scrollbars;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
clutter_actor_get_preferred_height (priv->child, for_width,
|
clutter_actor_get_preferred_height (priv->child, for_width,
|
||||||
@ -489,6 +501,9 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
|||||||
* but that's not cleanly defined at the moment */
|
* but that's not cleanly defined at the moment */
|
||||||
min_height = 0;
|
min_height = 0;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account_for_hscrollbar)
|
if (account_for_hscrollbar)
|
||||||
@ -759,6 +774,9 @@ st_scroll_view_scroll_event (ClutterActor *self,
|
|||||||
case CLUTTER_SCROLL_RIGHT:
|
case CLUTTER_SCROLL_RIGHT:
|
||||||
adjust_with_direction (priv->hadjustment, event->direction);
|
adjust_with_direction (priv->hadjustment, event->direction);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warn_if_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -335,6 +335,9 @@ st_theme_node_get_corner_border_widths (StThemeNode *node,
|
|||||||
if (border_width_2)
|
if (border_width_2)
|
||||||
*border_width_2 = node->border_width[ST_SIDE_LEFT];
|
*border_width_2 = node->border_width[ST_SIDE_LEFT];
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,6 +384,9 @@ st_theme_node_lookup_corner (StThemeNode *node,
|
|||||||
over (&node->border_color[ST_SIDE_BOTTOM], &corner.color, &corner.border_color_1);
|
over (&node->border_color[ST_SIDE_BOTTOM], &corner.color, &corner.border_color_1);
|
||||||
over (&node->border_color[ST_SIDE_LEFT], &corner.color, &corner.border_color_2);
|
over (&node->border_color[ST_SIDE_LEFT], &corner.color, &corner.border_color_2);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (corner.color.alpha == 0 &&
|
if (corner.color.alpha == 0 &&
|
||||||
@ -433,6 +439,9 @@ get_background_scale (StThemeNode *node,
|
|||||||
else if (node->background_size_h > -1)
|
else if (node->background_size_h > -1)
|
||||||
*scale_w = node->background_size_h / background_image_height;
|
*scale_w = node->background_size_h / background_image_height;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (*scale_h < 0.0)
|
if (*scale_h < 0.0)
|
||||||
*scale_h = *scale_w;
|
*scale_h = *scale_w;
|
||||||
@ -960,7 +969,7 @@ st_theme_node_prerender_background (StThemeNode *node,
|
|||||||
gboolean draw_background_image_shadow = FALSE;
|
gboolean draw_background_image_shadow = FALSE;
|
||||||
gboolean has_visible_outline;
|
gboolean has_visible_outline;
|
||||||
ClutterColor border_color;
|
ClutterColor border_color;
|
||||||
int border_width[4];
|
guint border_width[4];
|
||||||
guint rowstride;
|
guint rowstride;
|
||||||
guchar *data;
|
guchar *data;
|
||||||
ClutterActorBox actor_box;
|
ClutterActorBox actor_box;
|
||||||
@ -1298,15 +1307,15 @@ st_theme_node_load_border_image (StThemeNode *node)
|
|||||||
if (node->border_slices_texture == COGL_INVALID_HANDLE)
|
if (node->border_slices_texture == COGL_INVALID_HANDLE)
|
||||||
{
|
{
|
||||||
StBorderImage *border_image;
|
StBorderImage *border_image;
|
||||||
|
GFile *file;
|
||||||
|
int scale_factor;
|
||||||
|
|
||||||
border_image = st_theme_node_get_border_image (node);
|
border_image = st_theme_node_get_border_image (node);
|
||||||
if (border_image == NULL)
|
if (border_image == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
GFile *file;
|
|
||||||
file = st_border_image_get_file (border_image);
|
file = st_border_image_get_file (border_image);
|
||||||
|
|
||||||
int scale_factor;
|
|
||||||
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
|
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
|
||||||
|
|
||||||
node->border_slices_texture = st_texture_cache_load_file_to_cogl_texture (st_texture_cache_get_default (),
|
node->border_slices_texture = st_texture_cache_load_file_to_cogl_texture (st_texture_cache_get_default (),
|
||||||
@ -1350,12 +1359,12 @@ st_theme_node_load_background_image (StThemeNode *node)
|
|||||||
{
|
{
|
||||||
GFile *background_image;
|
GFile *background_image;
|
||||||
StShadow *background_image_shadow_spec;
|
StShadow *background_image_shadow_spec;
|
||||||
|
int scale_factor;
|
||||||
|
|
||||||
background_image = st_theme_node_get_background_image (node);
|
background_image = st_theme_node_get_background_image (node);
|
||||||
if (background_image == NULL)
|
if (background_image == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
int scale_factor;
|
|
||||||
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
|
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
|
||||||
|
|
||||||
background_image_shadow_spec = st_theme_node_get_background_image_shadow (node);
|
background_image_shadow_spec = st_theme_node_get_background_image_shadow (node);
|
||||||
@ -1588,10 +1597,10 @@ st_theme_node_paint_borders (StThemeNodePaintState *state,
|
|||||||
{
|
{
|
||||||
StThemeNode *node = state->node;
|
StThemeNode *node = state->node;
|
||||||
float width, height;
|
float width, height;
|
||||||
int border_width[4];
|
guint border_width[4];
|
||||||
guint border_radius[4];
|
guint border_radius[4];
|
||||||
int max_border_radius = 0;
|
guint max_border_radius = 0;
|
||||||
int max_width_radius[4];
|
guint max_width_radius[4];
|
||||||
int corner_id, side_id;
|
int corner_id, side_id;
|
||||||
ClutterColor border_color;
|
ClutterColor border_color;
|
||||||
guint8 alpha;
|
guint8 alpha;
|
||||||
@ -1720,6 +1729,9 @@ st_theme_node_paint_borders (StThemeNodePaintState *state,
|
|||||||
max_width_radius[ST_CORNER_BOTTOMLEFT], height,
|
max_width_radius[ST_CORNER_BOTTOMLEFT], height,
|
||||||
0, 0.5, 0.5, 1);
|
0, 0.5, 0.5, 1);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1814,6 +1826,9 @@ st_theme_node_paint_borders (StThemeNodePaintState *state,
|
|||||||
verts[7] = height - border_width[ST_SIDE_BOTTOM];
|
verts[7] = height - border_width[ST_SIDE_BOTTOM];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
cogl_rectangles (verts, n_rects);
|
cogl_rectangles (verts, n_rects);
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,6 @@
|
|||||||
#include "st-theme-context.h"
|
#include "st-theme-context.h"
|
||||||
#include "st-theme-node-private.h"
|
#include "st-theme-node-private.h"
|
||||||
|
|
||||||
static void st_theme_node_init (StThemeNode *node);
|
|
||||||
static void st_theme_node_class_init (StThemeNodeClass *klass);
|
|
||||||
static void st_theme_node_dispose (GObject *object);
|
static void st_theme_node_dispose (GObject *object);
|
||||||
static void st_theme_node_finalize (GObject *object);
|
static void st_theme_node_finalize (GObject *object);
|
||||||
|
|
||||||
@ -596,6 +594,9 @@ get_color_from_rgba_term (CRTerm *term,
|
|||||||
case 3:
|
case 3:
|
||||||
a = value;
|
a = value;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
arg = arg->next;
|
arg = arg->next;
|
||||||
@ -840,25 +841,20 @@ st_theme_node_lookup_time (StThemeNode *node,
|
|||||||
if (strcmp (decl->property->stryng->str, property_name) == 0)
|
if (strcmp (decl->property->stryng->str, property_name) == 0)
|
||||||
{
|
{
|
||||||
CRTerm *term = decl->value;
|
CRTerm *term = decl->value;
|
||||||
|
int factor = 1;
|
||||||
|
|
||||||
if (term->type != TERM_NUMBER)
|
if (term->type != TERM_NUMBER)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
switch (term->content.num->type)
|
if (term->content.num->type != NUM_TIME_S ||
|
||||||
{
|
term->content.num->type != NUM_TIME_MS)
|
||||||
case NUM_TIME_S:
|
continue;
|
||||||
*value = 1000 * term->content.num->val;
|
|
||||||
result = TRUE;
|
|
||||||
break;
|
|
||||||
case NUM_TIME_MS:
|
|
||||||
*value = term->content.num->val;
|
|
||||||
result = TRUE;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (result)
|
if (term->content.num->type == NUM_TIME_S)
|
||||||
|
factor = 1000;
|
||||||
|
|
||||||
|
*value = factor * term->content.num->val;
|
||||||
|
result = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1109,6 +1105,7 @@ get_length_from_term (StThemeNode *node,
|
|||||||
case NUM_FREQ_KHZ:
|
case NUM_FREQ_KHZ:
|
||||||
case NUM_UNKNOWN_TYPE:
|
case NUM_UNKNOWN_TYPE:
|
||||||
case NB_NUM_TYPE:
|
case NB_NUM_TYPE:
|
||||||
|
default:
|
||||||
g_warning ("Ignoring invalid type of number of length property");
|
g_warning ("Ignoring invalid type of number of length property");
|
||||||
return VALUE_NOT_FOUND;
|
return VALUE_NOT_FOUND;
|
||||||
}
|
}
|
||||||
@ -3023,7 +3020,7 @@ st_theme_node_get_border_image (StThemeNode *node)
|
|||||||
CRStyleSheet *base_stylesheet;
|
CRStyleSheet *base_stylesheet;
|
||||||
int borders[4];
|
int borders[4];
|
||||||
int n_borders = 0;
|
int n_borders = 0;
|
||||||
int i;
|
int j;
|
||||||
|
|
||||||
const char *url;
|
const char *url;
|
||||||
int border_top;
|
int border_top;
|
||||||
@ -3053,7 +3050,7 @@ st_theme_node_get_border_image (StThemeNode *node)
|
|||||||
/* Followed by 0 to 4 numbers or percentages. *Not lengths*. The interpretation
|
/* Followed by 0 to 4 numbers or percentages. *Not lengths*. The interpretation
|
||||||
* of a number is supposed to be pixels if the image is pixel based, otherwise CSS pixels.
|
* of a number is supposed to be pixels if the image is pixel based, otherwise CSS pixels.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < 4; i++)
|
for (j = 0; j < 4; j++)
|
||||||
{
|
{
|
||||||
if (term == NULL)
|
if (term == NULL)
|
||||||
break;
|
break;
|
||||||
@ -3257,6 +3254,9 @@ parse_shadow_property (StThemeNode *node,
|
|||||||
"not allowed");
|
"not allowed");
|
||||||
*spread = value;
|
*spread = value;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warning ("Ignoring excess values in shadow definition");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -3633,6 +3633,9 @@ st_theme_node_get_icon_colors (StThemeNode *node)
|
|||||||
case SUCCESS:
|
case SUCCESS:
|
||||||
node->icon_colors->success = color;
|
node->icon_colors->success = color;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -615,6 +615,9 @@ additional_selector_matches_style (StTheme *a_this,
|
|||||||
if (!pseudo_class_add_sel_matches_style (a_this, cur_add_sel, a_node))
|
if (!pseudo_class_add_sel_matches_style (a_this, cur_add_sel, a_node))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_warning ("Unhandled selector type %d", cur_add_sel->type);
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -909,6 +912,10 @@ add_matched_properties (StTheme *a_this,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case AT_RULE_STMT:
|
||||||
|
case AT_PAGE_RULE_STMT:
|
||||||
|
case AT_CHARSET_RULE_STMT:
|
||||||
|
case AT_FONT_FACE_RULE_STMT:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -349,7 +349,7 @@ static void
|
|||||||
st_widget_finalize (GObject *gobject)
|
st_widget_finalize (GObject *gobject)
|
||||||
{
|
{
|
||||||
StWidgetPrivate *priv = ST_WIDGET (gobject)->priv;
|
StWidgetPrivate *priv = ST_WIDGET (gobject)->priv;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
g_free (priv->style_class);
|
g_free (priv->style_class);
|
||||||
g_free (priv->pseudo_class);
|
g_free (priv->pseudo_class);
|
||||||
@ -623,9 +623,9 @@ st_widget_get_theme_node (StWidget *widget)
|
|||||||
* requiring separate style sheets.
|
* requiring separate style sheets.
|
||||||
*/
|
*/
|
||||||
if (clutter_actor_get_text_direction (CLUTTER_ACTOR (widget)) == CLUTTER_TEXT_DIRECTION_RTL)
|
if (clutter_actor_get_text_direction (CLUTTER_ACTOR (widget)) == CLUTTER_TEXT_DIRECTION_RTL)
|
||||||
direction_pseudo_class = "rtl";
|
direction_pseudo_class = (char *)"rtl";
|
||||||
else
|
else
|
||||||
direction_pseudo_class = "ltr";
|
direction_pseudo_class = (char *)"ltr";
|
||||||
|
|
||||||
if (priv->pseudo_class)
|
if (priv->pseudo_class)
|
||||||
pseudo_class = g_strconcat(priv->pseudo_class, " ",
|
pseudo_class = g_strconcat(priv->pseudo_class, " ",
|
||||||
@ -1495,7 +1495,7 @@ static void
|
|||||||
st_widget_init (StWidget *actor)
|
st_widget_init (StWidget *actor)
|
||||||
{
|
{
|
||||||
StWidgetPrivate *priv;
|
StWidgetPrivate *priv;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
actor->priv = priv = ST_WIDGET_GET_PRIVATE (actor);
|
actor->priv = priv = ST_WIDGET_GET_PRIVATE (actor);
|
||||||
priv->transition_animation = NULL;
|
priv->transition_animation = NULL;
|
||||||
@ -1849,6 +1849,8 @@ filter_by_position (GList *children,
|
|||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case GTK_DIR_TAB_BACKWARD:
|
||||||
|
case GTK_DIR_TAB_FORWARD:
|
||||||
default:
|
default:
|
||||||
g_return_val_if_reached (NULL);
|
g_return_val_if_reached (NULL);
|
||||||
}
|
}
|
||||||
@ -2014,6 +2016,8 @@ st_widget_real_navigate_focus (StWidget *widget,
|
|||||||
case GTK_DIR_RIGHT:
|
case GTK_DIR_RIGHT:
|
||||||
sort_box.x2 = sort_box.x1;
|
sort_box.x2 = sort_box.x1;
|
||||||
break;
|
break;
|
||||||
|
case GTK_DIR_TAB_FORWARD:
|
||||||
|
case GTK_DIR_TAB_BACKWARD:
|
||||||
default:
|
default:
|
||||||
g_warn_if_reached ();
|
g_warn_if_reached ();
|
||||||
}
|
}
|
||||||
@ -2210,7 +2214,7 @@ st_set_slow_down_factor (gfloat factor)
|
|||||||
* Returns: the global factor applied to all animation durations
|
* Returns: the global factor applied to all animation durations
|
||||||
*/
|
*/
|
||||||
gfloat
|
gfloat
|
||||||
st_get_slow_down_factor ()
|
st_get_slow_down_factor (void)
|
||||||
{
|
{
|
||||||
return st_slow_down_factor;
|
return st_slow_down_factor;
|
||||||
}
|
}
|
||||||
@ -2430,8 +2434,6 @@ st_widget_remove_accessible_state (StWidget *widget,
|
|||||||
|
|
||||||
/* GObject */
|
/* GObject */
|
||||||
|
|
||||||
static void st_widget_accessible_class_init (StWidgetAccessibleClass *klass);
|
|
||||||
static void st_widget_accessible_init (StWidgetAccessible *widget);
|
|
||||||
static void st_widget_accessible_dispose (GObject *gobject);
|
static void st_widget_accessible_dispose (GObject *gobject);
|
||||||
|
|
||||||
/* AtkObject */
|
/* AtkObject */
|
||||||
|
@ -107,8 +107,10 @@ assert_foreground_color (StThemeNode *node,
|
|||||||
guint32 expected)
|
guint32 expected)
|
||||||
{
|
{
|
||||||
ClutterColor color;
|
ClutterColor color;
|
||||||
|
guint32 value;
|
||||||
|
|
||||||
st_theme_node_get_foreground_color (node, &color);
|
st_theme_node_get_foreground_color (node, &color);
|
||||||
guint32 value = clutter_color_to_pixel (&color);
|
value = clutter_color_to_pixel (&color);
|
||||||
|
|
||||||
if (expected != value)
|
if (expected != value)
|
||||||
{
|
{
|
||||||
@ -124,8 +126,10 @@ assert_background_color (StThemeNode *node,
|
|||||||
guint32 expected)
|
guint32 expected)
|
||||||
{
|
{
|
||||||
ClutterColor color;
|
ClutterColor color;
|
||||||
|
guint32 value;
|
||||||
|
|
||||||
st_theme_node_get_background_color (node, &color);
|
st_theme_node_get_background_color (node, &color);
|
||||||
guint32 value = clutter_color_to_pixel (&color);
|
value = clutter_color_to_pixel (&color);
|
||||||
|
|
||||||
if (expected != value)
|
if (expected != value)
|
||||||
{
|
{
|
||||||
@ -148,9 +152,9 @@ side_to_string (StSide side)
|
|||||||
return "bottom";
|
return "bottom";
|
||||||
case ST_SIDE_LEFT:
|
case ST_SIDE_LEFT:
|
||||||
return "left";
|
return "left";
|
||||||
}
|
default:
|
||||||
|
|
||||||
return "<unknown>";
|
return "<unknown>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -160,8 +164,10 @@ assert_border_color (StThemeNode *node,
|
|||||||
guint32 expected)
|
guint32 expected)
|
||||||
{
|
{
|
||||||
ClutterColor color;
|
ClutterColor color;
|
||||||
|
guint32 value;
|
||||||
|
|
||||||
st_theme_node_get_border_color (node, side, &color);
|
st_theme_node_get_border_color (node, side, &color);
|
||||||
guint32 value = clutter_color_to_pixel (&color);
|
value = clutter_color_to_pixel (&color);
|
||||||
|
|
||||||
if (expected != value)
|
if (expected != value)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user