Compare commits

..

38 Commits

Author SHA1 Message Date
39f974358c Check error of g_dbus_proxy_new_sync call
Otherwise errors pile up and we crash later on.
2015-09-24 13:31:07 -04:00
0fb98606ef shell_dbus_acquire_name: Don't leak the result
The GVariant returned by g_dbus_proxy_call_sync must be
freed with g_variant_unref, to prevent a leak.
2015-09-24 13:19:17 -04:00
dd0d5a757c shell_dbus_acquire_name: Don't leak error
If fatal is not set, we return from this function in the error
case. Don't leak the GError if that happens.
2015-09-24 13:19:11 -04:00
0bbb226faf shell_dbus_acquire_name: Don't assume error is set
In rare cases (mostly when the bus connection is going away),
g_dbus_proxy_call_sync can return NULL without setting an error.
Don't crash in this case.
2015-09-24 13:19:04 -04:00
35b38d5cb2 Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2015-09-24 15:16:45 +07:00
09e8a437d4 Update Arabic translation 2015-09-23 23:53:04 +02:00
d2bedcc182 build: Replace deprecated GNOME_COMPILE_WARNINGS macro 2015-09-23 21:32:50 +02:00
84eda6e459 st: Don't avoid parameter list
Meh, C ...
2015-09-23 21:32:50 +02:00
f5e7530fc7 st: Add default case to switch statements 2015-09-23 21:32:50 +02:00
f983b34784 st: Handle all possible enum values in switch statements 2015-09-23 21:32:50 +02:00
36bbe64898 st: Fix constness in assignment 2015-09-23 21:32:50 +02:00
627a393ed6 st: Don't mix declarations and code 2015-09-23 21:32:50 +02:00
a025b151ef st: Don't shadow existing variables 2015-09-23 21:32:50 +02:00
18b6f13395 st: Fix signed-unsigned comparisons 2015-09-23 21:32:50 +02:00
051413550f st: Don't duplicate declarations from G_DEFINE_TYPE 2015-09-23 21:32:50 +02:00
3e10574736 shell: Add default case to switch statements
... to shut up a compiler warning.
2015-09-23 21:32:50 +02:00
9a3041004b shell: Don't shadow existing variables 2015-09-23 21:32:50 +02:00
87f71b8ce1 shell: Don't mix declarations and code 2015-09-23 21:32:50 +02:00
825146f1e3 shell: Fix signed-unsigned comparisons 2015-09-23 21:32:50 +02:00
52995416fd shell: Don't avoid parameter list
Meh, C ...
2015-09-23 21:32:50 +02:00
6c43d0247a main: Fix constness mismatches 2015-09-23 21:32:49 +02:00
9aa98d9f0c menutracker: Don't shadow existing variables 2015-09-23 21:32:49 +02:00
c3a29d6df1 theme-node: Rewrite switch statement
Some compilers warn about unhandled enum values in switch statements,
so don't use one where only two out of 21 possible values make sense.
2015-09-23 21:32:49 +02:00
82f84416a9 recorder: Rewrite switch statement
Avoid compiler warnings about unhandled enum values by using a
regular if-else statement.
2015-09-23 21:32:49 +02:00
9dd3162dbe recorder-src: Rewrite switch statement
Avoid compiler warnings about unhandled enum values by using a
regular if-else statement.
2015-09-23 21:32:49 +02:00
7ef519756a Update gvc submodule 2015-09-23 21:32:49 +02:00
3bbe74d1c1 popupMenu: Set ImageMenuItem's label-actor
While we don't use image menu items ourselves, extensions might,
so make sure they are accessible out of the box.
Spotted by Jay Strict.
2015-09-23 14:20:38 +02:00
409f6718b8 calendar: Disconnect all Notification signals on NotificationMessage destruction
The destroy signal handler is kept connected despite the NotificationMessage
being destroyed, which leaves dangling NotificationMessage objects that will
be mass destroyed when the Notification object these depend upon is finally
destroyed.

Depending on the amount of accumulated NotificationMessages, this may lead
to temporary freezes or other more funky issues when recursion limits are
hit.

https://bugzilla.gnome.org/show_bug.cgi?id=755425
2015-09-22 18:16:16 +02:00
9c0e179080 Updated Serbian Latin translation 2015-09-22 11:49:36 +00:00
b3b278d41f Updated Serbian translation 2015-09-22 11:48:55 +00:00
0f466dbafb Bump version to 3.18.0
Update NEWS.
2015-09-21 22:22:18 +02:00
fbb4a9a3a6 Updated Latvian translation 2015-09-20 22:01:15 +03:00
8ddae5cd71 Updated Swedish translation 2015-09-20 17:28:59 +00:00
b0915c7b60 Updated Brazilian Portuguese translation 2015-09-20 14:01:58 +00:00
831bb4e334 Updated Indonesian translation 2015-09-19 12:35:20 +00:00
4e025506fa Updated Irish translation 2015-09-18 10:43:04 -06:00
abccf451bf Updated Danish translation 2015-09-18 17:05:37 +02:00
14954117c0 Updated Indonesian translation 2015-09-17 01:19:59 +00:00
39 changed files with 4015 additions and 3449 deletions

8
NEWS
View File

@ -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
=======
* Fix race when loading multiple background animations [Josselin; #741453]

View File

@ -1,5 +1,6 @@
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_SRCDIR([src/shell-global.c])
@ -76,7 +77,7 @@ AC_MSG_RESULT($enable_systemd)
CLUTTER_MIN_VERSION=1.21.5
GOBJECT_INTROSPECTION_MIN_VERSION=1.45.4
GJS_MIN_VERSION=1.39.0
MUTTER_MIN_VERSION=3.17.92
MUTTER_MIN_VERSION=3.18.0
GTK_MIN_VERSION=3.15.0
GIO_MIN_VERSION=2.45.3
LIBECAL_MIN_VERSION=3.5.3
@ -220,7 +221,7 @@ if test "$enable_man" != no; then
fi
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
GNOME_COMPILE_WARNINGS([error])
AX_COMPILER_FLAGS()
case "$WARN_CFLAGS" in
*-Werror*)
WARN_CFLAGS="$WARN_CFLAGS -Wno-error=deprecated-declarations"
@ -269,7 +270,7 @@ Build configuration:
Prefix: ${prefix}
Source code location: ${srcdir}
Compiler: ${CC}
Compiler Warnings: $enable_compile_warnings
Compiler Warnings: $ax_enable_compile_warnings
Support for NetworkManager: $have_networkmanager
Support for GStreamer recording: $build_recorder

View File

@ -1230,7 +1230,7 @@ const NotificationMessage = new Lang.Class({
this._closed = true;
this.notification.destroy(MessageTray.NotificationDestroyedReason.DISMISSED);
}));
notification.connect('destroy', Lang.bind(this,
this._destroyId = notification.connect('destroy', Lang.bind(this,
function() {
if (!this._closed)
this.close();
@ -1262,6 +1262,10 @@ const NotificationMessage = new Lang.Class({
if (this._updatedId)
this.notification.disconnect(this._updatedId);
this._updatedId = 0;
if (this._destroyId)
this.notification.disconnect(this._destroyId);
this._destroyId = 0;
}
});

View File

@ -396,6 +396,7 @@ const PopupImageMenuItem = new Lang.Class({
this.actor.add_child(this.label);
this._icon = new St.Icon({ style_class: 'popup-menu-icon' });
this.actor.add_child(this._icon, { align: St.Align.END });
this.actor.label_actor = this.label;
this.setIcon(iconName);
},

530
po/ar.po

File diff suppressed because it is too large Load Diff

511
po/da.po

File diff suppressed because it is too large Load Diff

1669
po/ga.po

File diff suppressed because it is too large Load Diff

704
po/id.po

File diff suppressed because it is too large Load Diff

610
po/lv.po

File diff suppressed because it is too large Load Diff

View File

@ -20,10 +20,9 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2015-08-10 20:07+0000\n"
"PO-Revision-Date: 2015-08-10 20:38-0300\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2015-09-17 08:22+0000\n"
"PO-Revision-Date: 2015-09-18 15:33-0300\n"
"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
"Language: pt_BR\n"
@ -31,7 +30,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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"
#: ../data/50-gnome-shell-system.xml.in.h:1
@ -62,8 +61,7 @@ msgstr "Abre o menu do aplicativo"
msgid "GNOME Shell"
msgstr "GNOME Shell"
#: ../data/gnome-shell.desktop.in.in.h:2
#: ../data/gnome-shell-wayland.desktop.in.in.h:2
#: ../data/gnome-shell.desktop.in.in.h:2 ../data/gnome-shell-wayland.desktop.in.in.h:2
msgid "Window management and application launching"
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
msgid "Enable internal tools useful for developers and testers from Alt-F2"
msgstr ""
"Habilitar ferramentas internas úteis para desenvolvedores e testadores a "
"partir do Alt-F2"
msgstr "Habilitar ferramentas internas úteis para desenvolvedores e testadores a partir do Alt-F2"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:2
msgid ""
"Allows access to internal debugging and monitoring tools using the Alt-F2 "
"dialog."
msgstr ""
"Permite acesso a ferramentas internas de depuração e monitoramento usando o "
"diálogo Alt-F2."
msgid "Allows access to internal debugging and monitoring tools using the 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
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
msgid ""
"GNOME Shell extensions have a UUID property; this key lists extensions which "
"should be loaded. Any extension that wants to be loaded needs to be in this "
"list. You can also manipulate this list with the EnableExtension and "
"DisableExtension D-Bus methods on org.gnome.Shell."
"GNOME Shell extensions have a UUID property; this key lists extensions which should be loaded. Any extension that wants "
"to be loaded needs to be in this list. You can also manipulate this list with the EnableExtension and DisableExtension D-"
"Bus methods on org.gnome.Shell."
msgstr ""
"As extensões do GNOME Shell possuem uma propriedade UUID; esta chave lista "
"as extensões que devem ser carregadas. Qualquer extensão que quiser ser "
"carregada precisa estar nesta lista. Você também pode manipular esta lista "
"com os métodos do DBus EnableExtension e DisableExtensions em org.gnome."
"Shell."
"As extensões do GNOME Shell possuem uma propriedade UUID; esta chave lista as extensões que devem ser carregadas. "
"Qualquer extensão que quiser ser carregada precisa estar nesta lista. Você também pode manipular esta lista com os "
"métodos do DBus EnableExtension e DisableExtensions em org.gnome.Shell."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
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
msgid ""
"GNOME Shell will only load extensions that claim to support the current "
"running version. Enabling this option will disable this check and try to "
"load all extensions regardless of the versions they claim to support."
"GNOME Shell will only load extensions that claim to support the current running version. Enabling this option will "
"disable this check and try to load all extensions regardless of the versions they claim to support."
msgstr ""
"O GNOME Shell somente carregará extensões que declaram possuir suporte a "
"versão atual em execução. Ao habilitar esta opção, esta verificação será "
"desabilitada e haverá tentativas de carregar todas as extensões independente "
"das versões que estas declaram suportar."
"O GNOME Shell somente carregará extensões que declaram possuir suporte a versão atual em execução. Ao habilitar esta "
"opção, esta verificação será desabilitada e haverá tentativas de carregar todas as extensões independente das versões "
"que estas declaram suportar."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
msgid "List of desktop file IDs for favorite applications"
msgstr ""
"Lista dos IDs de arquivo de área de trabalho para os aplicativos favoritos"
msgstr "Lista dos IDs de arquivo de área de trabalho para os aplicativos favoritos"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:8
msgid ""
"The applications corresponding to these identifiers will be displayed in the "
"favorites area."
msgstr ""
"Os aplicativos correspondentes a estes identificadores serão exibidos na "
"área de favoritos."
msgid "The applications corresponding to these identifiers will be displayed in the 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
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
msgid "Index of the currently selected view in the application picker."
msgstr ""
"Índice da visualização atualmente selecionada no seletor de aplicativos."
msgstr "Índice da visualização atualmente selecionada no seletor de aplicativos."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:11
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."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:15
msgid ""
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
"user, single-session situations."
msgid "This key overrides the automatic hiding of the 'Log out' menu item in single-user, single-session situations."
msgstr ""
"Essa chave sobrescreve a ocultação automática do item de menu \"Encerrar "
"sessão\" quando houver somente um usuário, em situações de somente uma "
"sessão."
"Essa chave sobrescreve a ocultação automática do item de menu \"Encerrar sessão\" quando houver somente um usuário, em "
"situações de somente uma sessão."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:16
msgid ""
"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"
msgid "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"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:17
msgid ""
"The shell will request a password when an encrypted device or a remote "
"filesystem is mounted. If the password can be saved for future use a "
"'Remember Password' checkbox will be present. This key sets the default "
"state of the checkbox."
"The shell will request a password when an encrypted device or a remote filesystem is mounted. If the password can be "
"saved for future use a 'Remember Password' checkbox will be present. This key sets the default state of the checkbox."
msgstr ""
"O shell irá pedir uma senha quando um dispositivo criptografado ou um "
"sistema de arquivo remoto for montado. Caso a senha possa ser salva para uso "
"posterior, a caixa de seleção 'Lembrar senha' estará presente. Esta chave "
"ajusta o estado padrão da caixa de seleção."
"O shell irá pedir uma senha quando um dispositivo criptografado ou um sistema de arquivo remoto for montado. Caso a "
"senha possa ser salva para uso posterior, a caixa de seleção 'Lembrar senha' estará presente. Esta chave ajusta o estado "
"padrão da caixa de seleção."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:18
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\""
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
msgid ""
"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."
msgid "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."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:24
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
msgid "Keybinding to toggle the visibility of the notification list."
msgstr ""
"Atalho de teclado para alternar a visibilidade da lista de notificação."
msgstr "Atalho de teclado para alternar a visibilidade da lista de notificação."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:28
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
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
msgid ""
"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"
msgid "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"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:31
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
msgid ""
"If true, only applications that have windows on the current workspace are "
"shown in the switcher. Otherwise, all applications are included."
"If true, only applications that have windows on the current workspace are shown in the switcher. Otherwise, all "
"applications are included."
msgstr ""
"Se verdadeiro, o alternador mostrará somente os aplicativos que possuem "
"janelas no espaço de trabalho atual. Caso contrário, todos os aplicativos "
"serão incluídos."
"Se verdadeiro, o alternador mostrará somente os aplicativos que possuem janelas no espaço de trabalho atual. Caso "
"contrário, todos os aplicativos serão incluídos."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:35
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
msgid ""
"Configures how the windows are shown in the switcher. Valid possibilities "
"are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-"
"only' (shows only the application icon) or 'both'."
"Configures how the windows are shown in the switcher. Valid possibilities are 'thumbnail-only' (shows a thumbnail of the "
"window), 'app-icon-only' (shows only the application icon) or 'both'."
msgstr ""
"Configura como as janelas são mostradas no alternador. As possibilidades "
"válidas são 'thumbnail-only' (mostra uma miniatura da janela), 'app-icon-"
"only' (mostra apenas o ícone do aplicativo) ou 'both'."
"Configura como as janelas são mostradas no alternador. As possibilidades válidas são 'thumbnail-only' (mostra uma "
"miniatura da janela), 'app-icon-only' (mostra apenas o ícone do aplicativo) ou 'both'."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
msgid ""
"If true, only windows from the current workspace are shown in the switcher. "
"Otherwise, all windows are included."
msgid "If true, only windows from the current workspace are shown in the switcher. Otherwise, all windows are included."
msgstr ""
"Se verdadeiro, o alternador mostrará somente as janelas do espaço de "
"trabalho atual. Caso contrário, todos as janelas serão incluídas."
"Se verdadeiro, o alternador mostrará somente as janelas do espaço de trabalho atual. Caso contrário, todos as janelas "
"serão incluídas."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:38
msgid "Attach modal dialog to the parent window"
msgstr "Anexar diálogo modal à janela pai"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:39
msgid ""
"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."
msgid "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."
#: ../data/org.gnome.shell.gschema.xml.in.in.h:40
msgid "Enable edge tiling when dropping windows on screen edges"
msgstr ""
"Habilitar contorno ladrilhado ao arrastar janelas sobre as bordas da tela"
msgstr "Habilitar contorno ladrilhado ao arrastar janelas sobre as bordas da tela"
#: ../data/org.gnome.shell.gschema.xml.in.in.h:41
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"
msgstr "Extensões do Shell do GNOME"
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:145
#: ../js/ui/components/polkitAgent.js:179 ../js/ui/endSessionDialog.js:452
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:145 ../js/ui/components/polkitAgent.js:179
#: ../js/ui/endSessionDialog.js:452 ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
#: ../js/ui/status/network.js:916
msgid "Cancel"
msgstr "Cancelar"
#: ../js/gdm/authPrompt.js:169 ../js/gdm/authPrompt.js:215
#: ../js/gdm/authPrompt.js:435
#: ../js/gdm/authPrompt.js:169 ../js/gdm/authPrompt.js:215 ../js/gdm/authPrompt.js:447
msgid "Next"
msgstr "Próximo"
#: ../js/gdm/authPrompt.js:211 ../js/ui/shellMountOperation.js:403
#: ../js/ui/unlockDialog.js:59
#: ../js/gdm/authPrompt.js:211 ../js/ui/shellMountOperation.js:403 ../js/ui/unlockDialog.js:59
msgid "Unlock"
msgstr "Desbloquear"
@ -363,17 +316,16 @@ msgstr "Escolher sessão"
msgid "Not listed?"
msgstr "Não está listado?"
#: ../js/gdm/loginDialog.js:847
#: ../js/gdm/loginDialog.js:850
#, javascript-format
msgid "(e.g., user or %s)"
msgstr "(ex.: usuário ou %s)"
#: ../js/gdm/loginDialog.js:852 ../js/ui/components/networkAgent.js:271
#: ../js/ui/components/networkAgent.js:289
#: ../js/gdm/loginDialog.js:855 ../js/ui/components/networkAgent.js:271 ../js/ui/components/networkAgent.js:289
msgid "Username: "
msgstr "Nome de usuário: "
#: ../js/gdm/loginDialog.js:1181
#: ../js/gdm/loginDialog.js:1184
msgid "Login Window"
msgstr "Janela de sessão"
@ -512,8 +464,7 @@ msgstr "Alterar plano de fundo…"
msgid "Display Settings"
msgstr "Configurações de exibição"
#: ../js/ui/backgroundMenu.js:22 ../js/ui/panel.js:650
#: ../js/ui/status/system.js:357
#: ../js/ui/backgroundMenu.js:22 ../js/ui/panel.js:650 ../js/ui/status/system.js:366
msgid "Settings"
msgstr "Configurações"
@ -640,16 +591,13 @@ msgstr "Senha:"
msgid "Type again:"
msgstr "Digite novamente:"
#: ../js/ui/components/networkAgent.js:140 ../js/ui/status/network.js:277
#: ../js/ui/status/network.js:359 ../js/ui/status/network.js:919
#: ../js/ui/components/networkAgent.js:140 ../js/ui/status/network.js:269 ../js/ui/status/network.js:352
#: ../js/ui/status/network.js:919
msgid "Connect"
msgstr "Conectar"
#: ../js/ui/components/networkAgent.js:233
#: ../js/ui/components/networkAgent.js:245
#: ../js/ui/components/networkAgent.js:273
#: ../js/ui/components/networkAgent.js:293
#: ../js/ui/components/networkAgent.js:303
#: ../js/ui/components/networkAgent.js:233 ../js/ui/components/networkAgent.js:245 ../js/ui/components/networkAgent.js:273
#: ../js/ui/components/networkAgent.js:293 ../js/ui/components/networkAgent.js:303
msgid "Password: "
msgstr "Senha: "
@ -669,23 +617,16 @@ msgstr "Senha da chave privada: "
msgid "Service: "
msgstr "Serviço: "
#: ../js/ui/components/networkAgent.js:320
#: ../js/ui/components/networkAgent.js:658
#: ../js/ui/components/networkAgent.js:320 ../js/ui/components/networkAgent.js:658
msgid "Authentication required by wireless network"
msgstr "Autenticação requisitada pela rede sem fio"
#: ../js/ui/components/networkAgent.js:321
#: ../js/ui/components/networkAgent.js:659
#: ../js/ui/components/networkAgent.js:321 ../js/ui/components/networkAgent.js:659
#, javascript-format
msgid ""
"Passwords or encryption keys are required to access the wireless network "
"“%s”."
msgstr ""
"Senhas ou chaves criptografadas são necessárias para acessar a rede sem fio "
"\"%s\"."
msgid "Passwords or encryption keys are required to access the wireless network “%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:662
#: ../js/ui/components/networkAgent.js:325 ../js/ui/components/networkAgent.js:662
msgid "Wired 802.1X authentication"
msgstr "Autenticação 802.1X cabeada"
@ -693,18 +634,15 @@ msgstr "Autenticação 802.1X cabeada"
msgid "Network name: "
msgstr "Nome da rede: "
#: ../js/ui/components/networkAgent.js:332
#: ../js/ui/components/networkAgent.js:666
#: ../js/ui/components/networkAgent.js:332 ../js/ui/components/networkAgent.js:666
msgid "DSL authentication"
msgstr "Autenticação DSL"
#: ../js/ui/components/networkAgent.js:339
#: ../js/ui/components/networkAgent.js:672
#: ../js/ui/components/networkAgent.js:339 ../js/ui/components/networkAgent.js:672
msgid "PIN code required"
msgstr "Código PIN requisitado"
#: ../js/ui/components/networkAgent.js:340
#: ../js/ui/components/networkAgent.js:673
#: ../js/ui/components/networkAgent.js:340 ../js/ui/components/networkAgent.js:673
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"
@ -712,20 +650,17 @@ msgstr "O código PIN é necessário para o dispositivo móvel de banda larga"
msgid "PIN: "
msgstr "PIN: "
#: ../js/ui/components/networkAgent.js:348
#: ../js/ui/components/networkAgent.js:679
#: ../js/ui/components/networkAgent.js:348 ../js/ui/components/networkAgent.js:679
msgid "Mobile broadband network password"
msgstr "Senha da rede de banda larga móvel"
#: ../js/ui/components/networkAgent.js:349
#: ../js/ui/components/networkAgent.js:663
#: ../js/ui/components/networkAgent.js:667
#: ../js/ui/components/networkAgent.js:349 ../js/ui/components/networkAgent.js:663 ../js/ui/components/networkAgent.js:667
#: ../js/ui/components/networkAgent.js:680
#, javascript-format
msgid "A password is required to connect to “%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"
msgstr "Gerenciador de rede"
@ -873,14 +808,9 @@ msgstr "Reiniciar & instalar atualizações"
#: ../js/ui/endSessionDialog.js:121
#, javascript-format
msgid "The system will automatically restart and install updates in %d second."
msgid_plural ""
"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[1] ""
"O sistema irá reiniciar e instalar atualizações automaticamente em %d "
"segundos."
msgid_plural "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[1] "O sistema irá reiniciar e instalar atualizações automaticamente em %d segundos."
#: ../js/ui/endSessionDialog.js:127
msgctxt "button"
@ -899,9 +829,7 @@ msgstr "Desligar após atualizações serem instaladas"
#: ../js/ui/endSessionDialog.js:338
msgid "Running on battery power: please plug in before installing updates."
msgstr ""
"Funcionando na bateria: por favor, conecte na tomada antes de instalar "
"atualizações."
msgstr "Funcionando na bateria: por favor, conecte na tomada antes de instalar atualizações."
#: ../js/ui/endSessionDialog.js:355
msgid "Some applications are busy or have unsaved work."
@ -963,17 +891,13 @@ msgstr "Ocultar erros"
msgid "Show Errors"
msgstr "Exibir erros"
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
#: ../js/ui/status/location.js:176
#: ../js/ui/lookingGlass.js:716
msgid "Enabled"
msgstr "Habilitado"
#. Translators: this is for a network device that cannot be activated
#. because it's disabled by rfkill (airplane mode) */
#. translators:
#. * The device has been disabled
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
#: ../js/ui/lookingGlass.js:719 ../src/gvc/gvc-mixer-control.c:1830
msgid "Disabled"
msgstr "Desabilitado"
@ -1027,7 +951,7 @@ msgstr "Sair"
msgid "Activities"
msgstr "Atividades"
#: ../js/ui/panel.js:755
#: ../js/ui/panel.js:754
msgid "Top Bar"
msgstr "Barra superior"
@ -1067,7 +991,7 @@ msgid_plural "%d new notifications"
msgstr[0] "%d nova notificação"
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"
msgstr "Bloquear"
@ -1159,14 +1083,9 @@ msgstr "Alto contraste"
msgid "Large Text"
msgstr "Texto grande"
#: ../js/ui/status/bluetooth.js:49
msgid "Bluetooth"
msgstr "Bluetooth"
#: ../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
#: ../js/ui/status/bluetooth.js:51 ../js/ui/status/network.js:178 ../js/ui/status/network.js:353
#: ../js/ui/status/network.js:1279 ../js/ui/status/network.js:1394 ../js/ui/status/rfkill.js:90
#: ../js/ui/status/rfkill.js:117
msgid "Turn Off"
msgstr "Desligar"
@ -1174,16 +1093,18 @@ msgstr "Desligar"
msgid "Bluetooth Settings"
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
msgid "%d Connected Device"
msgid_plural "%d Connected Devices"
msgstr[0] "%d dispositivo conectado"
msgstr[1] "%d dispositivos conectados"
msgid "%d Connected"
msgid_plural "%d Connected"
msgstr[0] "%d conectado"
msgstr[1] "%d conectados"
#: ../js/ui/status/bluetooth.js:106 ../js/ui/status/network.js:1307
msgid "Not Connected"
msgstr "Não conectado"
# Livre no sentido de disponível, ou seja, não estar em uso --Enrico
#: ../js/ui/status/bluetooth.js:107
msgid "Not In Use"
msgstr "Livre"
#: ../js/ui/status/brightness.js:44
msgid "Brightness"
@ -1193,11 +1114,11 @@ msgstr "Brilho"
msgid "Show Keyboard Layout"
msgstr "Exibir disposição de teclado"
#: ../js/ui/status/location.js:65
msgid "Location"
msgstr "Localização"
#: ../js/ui/status/location.js:71 ../js/ui/status/location.js:177
msgid "Location Enabled"
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"
msgstr "Desabilitar"
@ -1206,10 +1127,14 @@ msgid "Privacy Settings"
msgstr "Configurações de privacidade"
#: ../js/ui/status/location.js:176
msgid "In Use"
msgstr "Em uso"
msgid "Location In Use"
msgstr "Localização em uso"
#: ../js/ui/status/location.js:180
msgid "Location Disabled"
msgstr "Localização desabilitada"
#: ../js/ui/status/location.js:181
msgid "Enable"
msgstr "Habilitar"
@ -1217,62 +1142,85 @@ msgstr "Habilitar"
msgid "<unknown>"
msgstr "<desconhecido>"
#: ../js/ui/status/network.js:457 ../js/ui/status/network.js:1305
#: ../js/ui/status/network.js:1509
msgid "Off"
msgstr "Off"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:451 ../js/ui/status/network.js:1308
#, javascript-format
msgid "%s Off"
msgstr "%s desligado"
#: ../js/ui/status/network.js:459
msgid "Connected"
msgstr "Conectado"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:454
#, 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
#. 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) */
#: ../js/ui/status/network.js:463
msgid "Unmanaged"
msgstr "Não gerenciável"
#. under NetworkManager's control (and thus cannot be used in the menu);
#. %s is a network identifier */
#: ../js/ui/status/network.js:459
#, javascript-format
msgid "%s Unmanaged"
msgstr "%s não é gerenciável"
#: ../js/ui/status/network.js:465
msgid "Disconnecting"
msgstr "Desconectando"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:462
#, javascript-format
msgid "%s Disconnecting"
msgstr "Desconectando de %s"
#: ../js/ui/status/network.js:471 ../js/ui/status/network.js:1299
msgid "Connecting"
msgstr "Conectando"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:469 ../js/ui/status/network.js:1300
#, javascript-format
msgid "%s Connecting"
msgstr "Conectando a %s"
#. Translators: this is for network connections that require some kind of key or password */
#: ../js/ui/status/network.js:474
msgid "Authentication required"
msgstr "Autenticação necessária"
#. Translators: this is for network connections that require some kind of key or password; %s is a network identifier */
#: ../js/ui/status/network.js:472
#, javascript-format
msgid "%s Requires Authentication"
msgstr "%s requer autenticação"
#. Translators: this is for devices that require some kind of firmware or kernel
#. module, which is missing */
#: ../js/ui/status/network.js:482
msgid "Firmware missing"
msgstr "Firmware em falta"
#. module, which is missing; %s is a network identifier */
#: ../js/ui/status/network.js:480
#, javascript-format
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
#. is disabled by rfkill, or it has no coverage */
#: ../js/ui/status/network.js:486
msgid "Unavailable"
msgstr "Indisponível"
#. is disabled by rfkill, or it has no coverage; %s is a network identifier */
#: ../js/ui/status/network.js:484
#, javascript-format
msgid "%s Unavailable"
msgstr "%s está indisponível"
#: ../js/ui/status/network.js:488 ../js/ui/status/network.js:1693
msgid "Connection failed"
msgstr "Falha de conexão"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:487
#, 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"
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"
msgstr "Configurações de banda larga móvel"
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1303
msgid "Hardware Disabled"
msgstr "Hardware desabilitado"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1305
#, 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
msgid "Use as Internet connection"
@ -1314,7 +1262,7 @@ msgstr "Selecione uma rede"
msgid "No Networks"
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"
msgstr "Usar alternador de hardware para desligar"
@ -1330,36 +1278,52 @@ msgstr "Configurações de Wi-Fi"
msgid "Turn On"
msgstr "Ligar"
#. Translators: %s is a network identifier */
#: ../js/ui/status/network.js:1296
msgid "Hotspot Active"
msgstr "Ponto de acesso ativo"
#, javascript-format
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..."
msgstr "conectando..."
#. 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"
msgstr "autenticação necessária"
#: ../js/ui/status/network.js:1412
#: ../js/ui/status/network.js:1416
msgid "connection failed"
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"
msgstr "Configurações de rede"
#: ../js/ui/status/network.js:1480
#: ../js/ui/status/network.js:1484
msgid "VPN Settings"
msgstr "Configurações de VPN"
#: ../js/ui/status/network.js:1499
#: ../js/ui/status/network.js:1503
msgid "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"
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%%)"
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
msgid "Airplane Mode"
msgstr "Modo avião"
msgid "Airplane Mode On"
msgstr "Modo avião ligado"
#: ../js/ui/status/rfkill.js:90
msgid "On"
msgstr "On"
#: ../js/ui/status/system.js:337
#: ../js/ui/status/system.js:343
msgid "Switch User"
msgstr "Alternar usuário"
#: ../js/ui/status/system.js:342
#: ../js/ui/status/system.js:348
msgid "Log Out"
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"
msgstr "Bloqueio da orientação"
#: ../js/ui/status/system.js:369
#: ../js/ui/status/system.js:378
msgid "Suspend"
msgstr "Suspender"
#: ../js/ui/status/system.js:372
#: ../js/ui/status/system.js:381
msgid "Power Off"
msgstr "Desligar"
@ -1518,12 +1472,10 @@ msgid "Always on Visible Workspace"
msgstr "Sempre na área de trabalho visível"
#: ../js/ui/windowMenu.js:105
#| msgid "Move to Workspace Up"
msgid "Move to Workspace Left"
msgstr "Mover para a área de trabalho esquerda"
#: ../js/ui/windowMenu.js:110
#| msgid "Move to Workspace Up"
msgid "Move to Workspace Right"
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"
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"
#~ msgid "%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"
#~ msgstr "Esta conta já está conectada ao servidor"
#~ msgid ""
#~ "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"
#~ msgid "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"
#~ msgid "The account already exists on the server"
#~ 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"
#~ msgstr "O certificado foi revogado"
#~ msgid ""
#~ "Certificate uses an insecure cipher algorithm or is cryptographically weak"
#~ msgstr ""
#~ "O certificado usa um algoritmo de cifragem inseguro ou é "
#~ "criptograficamente fraco"
#~ msgid "Certificate uses an insecure cipher algorithm or is cryptographically weak"
#~ msgstr "O certificado usa um algoritmo de cifragem inseguro ou é criptograficamente fraco"
#~ msgid ""
#~ "The length of the server certificate, or the depth of the server "
#~ "certificate chain, exceed the limits imposed by the cryptography library"
#~ "The length of the server certificate, or the depth of the server certificate chain, exceed the limits imposed by the "
#~ "cryptography library"
#~ msgstr ""
#~ "O comprimento do certificado do servidor, ou a profundidade da cadeia do "
#~ "certificado excedeu os limites impostos pela biblioteca de criptografia"
#~ "O comprimento do certificado do servidor, ou a profundidade da cadeia do certificado excedeu os limites impostos pela "
#~ "biblioteca de criptografia"
#~ msgid "Internal error"
#~ msgstr "Erro interno"

729
po/sr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

460
po/sv.po

File diff suppressed because it is too large Load Diff

663
po/vi.po

File diff suppressed because it is too large Load Diff

View File

@ -176,15 +176,15 @@ gtk_menu_tracker_section_sync_separators (GtkMenuTrackerSection *section,
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. */
n_items += gtk_menu_tracker_section_sync_separators (subsection, tracker, offset + n_items,
could_have_separator,
could_have_separator ? section->model : NULL,
could_have_separator ? i : 0);
section_could_have_separator,
section_could_have_separator ? section->model : NULL,
section_could_have_separator ? i : 0);
}
else
n_items++;
@ -197,11 +197,11 @@ gtk_menu_tracker_section_sync_separators (GtkMenuTrackerSection *section,
if (should_have_separator > section->has_separator)
{
/* Add a separator */
GtkMenuTrackerItem *item;
GtkMenuTrackerItem *menuitem;
item = _gtk_menu_tracker_item_new (tracker->observable, parent_model, parent_index, NULL, TRUE);
(* tracker->insert_func) (item, offset, tracker->user_data);
g_object_unref (item);
menuitem = _gtk_menu_tracker_item_new (tracker->observable, parent_model, parent_index, NULL, TRUE);
(* tracker->insert_func) (menuitem, offset, tracker->user_data);
g_object_unref (menuitem);
section->has_separator = TRUE;
}

Submodule src/gvc updated: fac3a900e5...0a79019088

View File

@ -51,11 +51,11 @@ enum {
static int _shell_debug;
static void
shell_dbus_acquire_name (GDBusProxy *bus,
guint32 request_name_flags,
guint32 *request_name_result,
gchar *name,
gboolean fatal)
shell_dbus_acquire_name (GDBusProxy *bus,
guint32 request_name_flags,
guint32 *request_name_result,
const gchar *name,
gboolean fatal)
{
GError *error = NULL;
GVariant *request_name_variant;
@ -68,25 +68,27 @@ shell_dbus_acquire_name (GDBusProxy *bus,
NULL, /* cancellable */
&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)
return;
exit (1);
}
g_variant_get (request_name_variant, "(u)", request_name_result);
g_variant_unref (request_name_variant);
}
static void
shell_dbus_acquire_names (GDBusProxy *bus,
guint32 request_name_flags,
gchar *name,
gboolean fatal, ...) G_GNUC_NULL_TERMINATED;
shell_dbus_acquire_names (GDBusProxy *bus,
guint32 request_name_flags,
const gchar *name,
gboolean fatal, ...) G_GNUC_NULL_TERMINATED;
static void
shell_dbus_acquire_names (GDBusProxy *bus,
guint32 request_name_flags,
gchar *name,
gboolean fatal, ...)
shell_dbus_acquire_names (GDBusProxy *bus,
guint32 request_name_flags,
const gchar *name,
gboolean fatal, ...)
{
va_list al;
guint32 request_name_result;
@ -130,6 +132,12 @@ shell_dbus_init (gboolean replace)
NULL, /* cancellable */
&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;
if (replace)
request_name_flags |= DBUS_NAME_FLAG_REPLACE_EXISTING;
@ -454,7 +462,7 @@ main (int argc, char **argv)
/* Initialize the global object */
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);

View File

@ -182,7 +182,7 @@ shell_app_system_finalize (GObject *object)
* Return Value: (transfer none): The global #ShellAppSystem singleton
*/
ShellAppSystem *
shell_app_system_get_default ()
shell_app_system_get_default (void)
{
static ShellAppSystem *instance = NULL;
@ -348,6 +348,9 @@ _shell_app_system_notify_app_state_changed (ShellAppSystem *self,
case SHELL_APP_STATE_STOPPED:
g_hash_table_remove (self->priv->running_apps, app);
break;
default:
g_warn_if_reached();
break;
}
g_signal_emit (self, signals[APP_STATE_CHANGED], 0, app);
}

View File

@ -996,7 +996,7 @@ on_enable_monitoring_key_changed (GSettings *settings,
* Return Value: (transfer none): The global #ShellAppUsage instance
*/
ShellAppUsage *
shell_app_usage_get_default ()
shell_app_usage_get_default (void)
{
static ShellAppUsage *instance;

View File

@ -491,6 +491,9 @@ shell_app_activate_full (ShellApp *app,
case SHELL_APP_STATE_RUNNING:
shell_app_activate_window (app, NULL, timestamp);
break;
default:
g_assert_not_reached();
break;
}
}
@ -699,7 +702,7 @@ static int
shell_app_get_last_user_time (ShellApp *app)
{
GSList *iter;
int last_user_time;
guint32 last_user_time;
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));
}
return last_user_time;
return (int)last_user_time;
}
/**

View File

@ -1566,64 +1566,6 @@ shell_global_get_current_time (ShellGlobal *global)
return clutter_get_current_event_time ();
}
static void
import_session_environment_to_app_launch_context (ShellGlobal *global,
GAppLaunchContext *context)
{
char *environment_dir, *environment_filename;
GMappedFile *environment_file;
environment_dir = g_build_filename (g_get_user_runtime_dir (), "gnome", NULL);
environment_filename = g_build_filename (environment_dir, "environment", NULL);
g_free (environment_dir);
environment_file = g_mapped_file_new (environment_filename, FALSE, NULL);
g_free (environment_filename);
if (environment_file != NULL)
{
GVariant *environment_variant;
const char **environment;
int i = 0;
gconstpointer environment_data;
gsize environment_size;
environment_data = g_mapped_file_get_contents (environment_file);
environment_size = g_mapped_file_get_length (environment_file);
environment_variant = g_variant_new_from_data (G_VARIANT_TYPE_BYTESTRING_ARRAY,
environment_data,
environment_size,
FALSE,
NULL,
NULL);
environment = g_variant_get_bytestring_array (environment_variant, NULL);
if (environment != NULL)
{
for (i = 0; environment[i] != NULL; i++)
{
char **entry;
const char *key;
const char *value;
entry = g_strsplit (environment[i], "=", 2);
key = entry[0];
value = entry[1];
if (value != NULL)
g_app_launch_context_setenv (context, key, value);
g_free (entry);
}
g_free (environment);
}
g_variant_unref (environment_variant);
}
g_mapped_file_unref (environment_file);
}
/**
* shell_global_create_app_launch_context:
* @global: A #ShellGlobal
@ -1644,8 +1586,6 @@ shell_global_create_app_launch_context (ShellGlobal *global,
context = gdk_display_get_app_launch_context (global->gdk_display);
import_session_environment_to_app_launch_context (global, G_APP_LAUNCH_CONTEXT (context));
if (timestamp == 0)
timestamp = shell_global_get_current_time (global);
gdk_app_launch_context_set_timestamp (context, timestamp);

View File

@ -68,7 +68,6 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display,
{
ClutterActor *window_actor =
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);
cairo_region_t *empty_region;

View File

@ -125,9 +125,10 @@ on_window_draw (GtkWidget *window,
WindowInfo *info)
{
cairo_rectangle_int_t allocation;
gtk_widget_get_allocation (window, &allocation);
double x_offset, y_offset;
gtk_widget_get_allocation (window, &allocation);
/* We draw an arbitrary pattern of red lines near the border of the
* window to make it more clear than empty windows if something
* is drastrically wrong.

View File

@ -626,7 +626,7 @@ shell_perf_log_collect_statistics (ShellPerfLog *perf_log)
{
gint64 event_time = get_time ();
gint64 collection_time;
int i;
guint i;
if (!perf_log->enabled)
return;
@ -672,6 +672,9 @@ shell_perf_log_collect_statistics (ShellPerfLog *perf_log)
statistic->recorded = TRUE;
}
break;
default:
g_warning ("Unsupported signature in event");
break;
}
}
@ -819,7 +822,7 @@ shell_perf_log_dump_events (ShellPerfLog *perf_log,
GError **error)
{
GString *output;
int i;
guint i;
output = g_string_new (NULL);
g_string_append (output, "[ ");

View File

@ -156,17 +156,17 @@ shell_recorder_src_send_event (GstElement * element, GstEvent * event)
ShellRecorderSrc *src = SHELL_RECORDER_SRC (element);
gboolean res;
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
{
shell_recorder_src_close (src);
gst_event_unref (event);
res = TRUE;
break;
default:
}
else
{
res = GST_CALL_PARENT_WITH_DEFAULT (GST_ELEMENT_CLASS, send_event, (element,
event), FALSE);
break;
}
}
return res;
}

View File

@ -1182,23 +1182,20 @@ recorder_pipeline_bus_watch (GstBus *bus,
{
RecorderPipeline *pipeline = data;
switch (message->type)
if (message->type == GST_MESSAGE_EOS)
{
case GST_MESSAGE_EOS:
recorder_pipeline_closed (pipeline);
return FALSE; /* remove watch */
case GST_MESSAGE_ERROR:
{
GError *error;
}
else if (message->type == GST_MESSAGE_ERROR)
{
GError *error;
gst_message_parse_error (message, &error, NULL);
g_warning ("Error in recording pipeline: %s\n", error->message);
g_error_free (error);
recorder_pipeline_closed (pipeline);
return FALSE; /* remove watch */
}
default:
break;
gst_message_parse_error (message, &error, NULL);
g_warning ("Error in recording pipeline: %s\n", error->message);
g_error_free (error);
recorder_pipeline_closed (pipeline);
return FALSE; /* remove watch */
}
/* Leave the watch in place */

View File

@ -84,7 +84,7 @@ shell_util_get_transformed_allocation (ClutterActor *actor,
*/
ClutterVertex v[4];
gfloat x_min, x_max, y_min, y_max;
gint i;
guint i;
g_return_if_fail (CLUTTER_IS_ACTOR (actor));
@ -165,7 +165,7 @@ shell_util_format_date (const char *format,
*/
/* Copied from gtkcalendar.c */
int
shell_util_get_week_start ()
shell_util_get_week_start (void)
{
int week_start;
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY

View File

@ -865,7 +865,7 @@ shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size)
* Return Value: (transfer none): The global #ShellWindowTracker instance
*/
ShellWindowTracker *
shell_window_tracker_get_default ()
shell_window_tracker_get_default (void)
{
static ShellWindowTracker *instance;

View File

@ -801,9 +801,6 @@ struct _StButtonAccessibleClass
StWidgetAccessibleClass parent_class;
};
static void st_button_accessible_class_init (StButtonAccessibleClass *klass);
static void st_button_accessible_init (StButtonAccessible *button);
/* AtkObject */
static void st_button_accessible_initialize (AtkObject *obj,
gpointer data);

View File

@ -94,8 +94,8 @@ st_drawing_area_paint (ClutterActor *self)
}
if (priv->texture != NULL &&
(width != cogl_texture_get_width (priv->texture) ||
height != cogl_texture_get_height (priv->texture)))
(width != (int)cogl_texture_get_width (priv->texture) ||
height != (int)cogl_texture_get_height (priv->texture)))
{
cogl_object_unref (priv->texture);
priv->texture = NULL;

View File

@ -408,9 +408,6 @@ struct _StLabelAccessibleClass
StWidgetAccessibleClass parent_class;
};
static void st_label_accessible_class_init (StLabelAccessibleClass *klass);
static void st_label_accessible_init (StLabelAccessible *label);
/* AtkObject */
static void st_label_accessible_initialize (AtkObject *obj,
gpointer data);

View File

@ -211,7 +211,7 @@ calculate_gaussian_kernel (gdouble sigma,
{
gdouble *ret, sum;
gdouble exp_divisor;
gint half, i;
guint half, i;
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))
{
CoglContext *ctx =
clutter_backend_get_cogl_context (clutter_get_default_backend ());
shadow_pipeline_template = cogl_pipeline_new (ctx);
/* We set up the pipeline to blend the shadow texture with the combine

View File

@ -450,6 +450,7 @@ adjust_with_direction (StAdjustment *adj,
delta = 1.0;
break;
case CLUTTER_SCROLL_SMOOTH:
default:
g_assert_not_reached ();
break;
}
@ -485,6 +486,9 @@ st_scroll_bar_scroll_event (ClutterActor *actor,
case CLUTTER_SCROLL_RIGHT:
adjust_with_direction (priv->adjustment, event->direction);
break;
default:
g_return_val_if_reached (FALSE);
break;
}
return TRUE;

View File

@ -378,6 +378,9 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
* but that's not cleanly defined at the moment */
min_width = 0;
break;
default:
g_warn_if_reached();
break;
}
switch (priv->vscrollbar_policy)
@ -396,6 +399,9 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
*/
account_for_vscrollbar = !priv->overlay_scrollbars;
break;
default:
g_warn_if_reached();
break;
}
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 */
for_width -= sb_width;
break;
default:
g_warn_if_reached();
break;
}
switch (priv->hscrollbar_policy)
@ -470,6 +479,9 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
*/
account_for_hscrollbar = !priv->overlay_scrollbars;
break;
default:
g_warn_if_reached();
break;
}
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 */
min_height = 0;
break;
default:
g_warn_if_reached();
break;
}
if (account_for_hscrollbar)
@ -759,6 +774,9 @@ st_scroll_view_scroll_event (ClutterActor *self,
case CLUTTER_SCROLL_RIGHT:
adjust_with_direction (priv->hadjustment, event->direction);
break;
default:
g_warn_if_reached();
break;
}
return TRUE;

View File

@ -335,6 +335,9 @@ st_theme_node_get_corner_border_widths (StThemeNode *node,
if (border_width_2)
*border_width_2 = node->border_width[ST_SIDE_LEFT];
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_LEFT], &corner.color, &corner.border_color_2);
break;
default:
g_assert_not_reached();
break;
}
if (corner.color.alpha == 0 &&
@ -433,6 +439,9 @@ get_background_scale (StThemeNode *node,
else if (node->background_size_h > -1)
*scale_w = node->background_size_h / background_image_height;
break;
default:
g_assert_not_reached();
break;
}
if (*scale_h < 0.0)
*scale_h = *scale_w;
@ -960,7 +969,7 @@ st_theme_node_prerender_background (StThemeNode *node,
gboolean draw_background_image_shadow = FALSE;
gboolean has_visible_outline;
ClutterColor border_color;
int border_width[4];
guint border_width[4];
guint rowstride;
guchar *data;
ClutterActorBox actor_box;
@ -1298,15 +1307,15 @@ st_theme_node_load_border_image (StThemeNode *node)
if (node->border_slices_texture == COGL_INVALID_HANDLE)
{
StBorderImage *border_image;
GFile *file;
int scale_factor;
border_image = st_theme_node_get_border_image (node);
if (border_image == NULL)
goto out;
GFile *file;
file = st_border_image_get_file (border_image);
int scale_factor;
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 (),
@ -1350,12 +1359,12 @@ st_theme_node_load_background_image (StThemeNode *node)
{
GFile *background_image;
StShadow *background_image_shadow_spec;
int scale_factor;
background_image = st_theme_node_get_background_image (node);
if (background_image == NULL)
goto out;
int scale_factor;
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
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;
float width, height;
int border_width[4];
guint border_width[4];
guint border_radius[4];
int max_border_radius = 0;
int max_width_radius[4];
guint max_border_radius = 0;
guint max_width_radius[4];
int corner_id, side_id;
ClutterColor border_color;
guint8 alpha;
@ -1720,6 +1729,9 @@ st_theme_node_paint_borders (StThemeNodePaintState *state,
max_width_radius[ST_CORNER_BOTTOMLEFT], height,
0, 0.5, 0.5, 1);
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];
}
break;
default:
g_assert_not_reached();
break;
}
cogl_rectangles (verts, n_rects);
}

View File

@ -30,10 +30,8 @@
#include "st-theme-context.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_finalize (GObject *object);
static void st_theme_node_finalize (GObject *object);
static const ClutterColor BLACK_COLOR = { 0, 0, 0, 0xff };
static const ClutterColor TRANSPARENT_COLOR = { 0, 0, 0, 0 };
@ -596,6 +594,9 @@ get_color_from_rgba_term (CRTerm *term,
case 3:
a = value;
break;
default:
g_assert_not_reached();
break;
}
arg = arg->next;
@ -840,26 +841,21 @@ st_theme_node_lookup_time (StThemeNode *node,
if (strcmp (decl->property->stryng->str, property_name) == 0)
{
CRTerm *term = decl->value;
int factor = 1;
if (term->type != TERM_NUMBER)
continue;
switch (term->content.num->type)
{
case NUM_TIME_S:
*value = 1000 * term->content.num->val;
result = TRUE;
break;
case NUM_TIME_MS:
*value = term->content.num->val;
result = TRUE;
break;
default:
;
}
if (term->content.num->type != NUM_TIME_S ||
term->content.num->type != NUM_TIME_MS)
continue;
if (result)
break;
if (term->content.num->type == NUM_TIME_S)
factor = 1000;
*value = factor * term->content.num->val;
result = TRUE;
break;
}
}
@ -1109,6 +1105,7 @@ get_length_from_term (StThemeNode *node,
case NUM_FREQ_KHZ:
case NUM_UNKNOWN_TYPE:
case NB_NUM_TYPE:
default:
g_warning ("Ignoring invalid type of number of length property");
return VALUE_NOT_FOUND;
}
@ -3023,7 +3020,7 @@ st_theme_node_get_border_image (StThemeNode *node)
CRStyleSheet *base_stylesheet;
int borders[4];
int n_borders = 0;
int i;
int j;
const char *url;
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
* 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)
break;
@ -3257,6 +3254,9 @@ parse_shadow_property (StThemeNode *node,
"not allowed");
*spread = value;
break;
default:
g_warning ("Ignoring excess values in shadow definition");
break;
}
continue;
}
@ -3633,6 +3633,9 @@ st_theme_node_get_icon_colors (StThemeNode *node)
case SUCCESS:
node->icon_colors->success = color;
break;
default:
g_assert_not_reached();
break;
}
}
}

View File

@ -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))
return FALSE;
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;
case AT_RULE_STMT:
case AT_PAGE_RULE_STMT:
case AT_CHARSET_RULE_STMT:
case AT_FONT_FACE_RULE_STMT:
default:
break;
}

View File

@ -349,7 +349,7 @@ static void
st_widget_finalize (GObject *gobject)
{
StWidgetPrivate *priv = ST_WIDGET (gobject)->priv;
int i;
guint i;
g_free (priv->style_class);
g_free (priv->pseudo_class);
@ -623,9 +623,9 @@ st_widget_get_theme_node (StWidget *widget)
* requiring separate style sheets.
*/
if (clutter_actor_get_text_direction (CLUTTER_ACTOR (widget)) == CLUTTER_TEXT_DIRECTION_RTL)
direction_pseudo_class = "rtl";
direction_pseudo_class = (char *)"rtl";
else
direction_pseudo_class = "ltr";
direction_pseudo_class = (char *)"ltr";
if (priv->pseudo_class)
pseudo_class = g_strconcat(priv->pseudo_class, " ",
@ -1495,7 +1495,7 @@ static void
st_widget_init (StWidget *actor)
{
StWidgetPrivate *priv;
int i;
guint i;
actor->priv = priv = ST_WIDGET_GET_PRIVATE (actor);
priv->transition_animation = NULL;
@ -1849,6 +1849,8 @@ filter_by_position (GList *children,
continue;
break;
case GTK_DIR_TAB_BACKWARD:
case GTK_DIR_TAB_FORWARD:
default:
g_return_val_if_reached (NULL);
}
@ -2014,6 +2016,8 @@ st_widget_real_navigate_focus (StWidget *widget,
case GTK_DIR_RIGHT:
sort_box.x2 = sort_box.x1;
break;
case GTK_DIR_TAB_FORWARD:
case GTK_DIR_TAB_BACKWARD:
default:
g_warn_if_reached ();
}
@ -2210,7 +2214,7 @@ st_set_slow_down_factor (gfloat factor)
* Returns: the global factor applied to all animation durations
*/
gfloat
st_get_slow_down_factor ()
st_get_slow_down_factor (void)
{
return st_slow_down_factor;
}
@ -2430,8 +2434,6 @@ st_widget_remove_accessible_state (StWidget *widget,
/* 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);
/* AtkObject */

View File

@ -107,8 +107,10 @@ assert_foreground_color (StThemeNode *node,
guint32 expected)
{
ClutterColor color;
guint32 value;
st_theme_node_get_foreground_color (node, &color);
guint32 value = clutter_color_to_pixel (&color);
value = clutter_color_to_pixel (&color);
if (expected != value)
{
@ -124,8 +126,10 @@ assert_background_color (StThemeNode *node,
guint32 expected)
{
ClutterColor color;
guint32 value;
st_theme_node_get_background_color (node, &color);
guint32 value = clutter_color_to_pixel (&color);
value = clutter_color_to_pixel (&color);
if (expected != value)
{
@ -148,9 +152,9 @@ side_to_string (StSide side)
return "bottom";
case ST_SIDE_LEFT:
return "left";
default:
return "<unknown>";
}
return "<unknown>";
}
static void
@ -160,8 +164,10 @@ assert_border_color (StThemeNode *node,
guint32 expected)
{
ClutterColor color;
guint32 value;
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)
{