Compare commits

...

8 Commits

Author SHA1 Message Date
Florian Müllner
de240fa679 Bump version to 3.25.3
Update NEWS.
2017-06-21 22:06:28 +02:00
Baurzhan Muftakhidinov
e884f770b0 Update Kazakh translation 2017-06-17 08:51:25 +00:00
Florian Müllner
eafdd1d78d window-list: Respect MWM hints
The window context menu contains minimize, maximize and close items
that are currently enabled unconditionally, regardless of whether
the window indicates support. Respect those hints by updating the
items' sensitivity every time the popup is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=783601
2017-06-09 17:54:24 +02:00
Florian Müllner
61a2e5ab9e window-list: Do not pick up transparency from top bar
The top bar now uses a translucent style when no windows are in its
proximity. As translucency looks odd in some situations (in particular
with maximized windows), we don't want to pick it up unconditionally.
If someone fancies to integrate with the top bar's proximity tracking,
they are welcome to have a go, but for now we just restore the former
solid style unconditionally.
2017-06-09 17:54:24 +02:00
Christian Kellner
0824847ac1 places-menu: can now ask user for info on mounting
When we try to launch an application for an uri where the enclosing
mount is not yet mounted we might need information from the user
such as passwwords. Using a MountOperation makes this possible.

https://bugzilla.gnome.org/show_bug.cgi?id=781788
2017-06-09 16:35:48 +02:00
Daniel Mustieles
791f9abb39 Update Spanish translation 2017-06-05 14:23:25 +00:00
Florian Müllner
9b3ab2c9b2 build: Switch to sassc for generating style
GTK+ switched from ruby-based sass to c-based sassc for performance
reasons. It makes sense to follow suit, if not to not require two
tools for the same job ...

https://bugzilla.gnome.org/show_bug.cgi?id=783210
2017-05-30 12:42:05 +02:00
Fabio Tomat
5ec54112ab Update Friulian translation 2017-05-25 12:31:56 +00:00
10 changed files with 108 additions and 58 deletions

6
NEWS
View File

@@ -1,3 +1,9 @@
3.25.3
======
* places-menu: Use mount operation if necessary
* window-list: Respect MWM hints
* updated translations (es, fur, kk)
3.25.2
======
* places-menu: Make URI launching asynchronous

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.25.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.25.3],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
@@ -73,7 +73,7 @@ done
AC_SUBST(ENABLED_EXTENSIONS, [$ENABLED_EXTENSIONS])
AC_PATH_PROG([SASS],[sass],[])
AC_PATH_PROG([SASSC],[sassc],[])
dnl Please keep this sorted alphabetically
AC_CONFIG_FILES([

View File

@@ -1,6 +1,6 @@
To generate the css files, from the project directory:
sass --sourcemap=none --update .
sassc -a gnome-classic.scss gnome-classic.css
To update the gnome-shell-sass submodule to latest upstream commit:
git submodule update --rebase

View File

@@ -33,9 +33,9 @@ theme_sources = \
$(NULL)
%.css: %.scss $(theme_sources)
@if test -n "$(SASS)"; then \
@if test -n "$(SASSC)"; then \
if $(AM_V_P); then PS4= set -x; else echo " GEN $@"; fi; \
$(SASS) --sourcemap=none --update -f -q $<; \
$(SASSC) -a $< $@; \
fi
gsettings_SCHEMAS = org.gnome.shell.extensions.classic-overrides.gschema.xml

View File

@@ -119,6 +119,7 @@ StEntry {
/* Scrollbars */
StScrollView.vfade {
-st-vfade-offset: 68px; }
StScrollView.hfade {
-st-hfade-offset: 68px; }
@@ -153,14 +154,18 @@ StScrollBar {
/* Check Boxes */
.check-box StBoxLayout {
spacing: .8em; }
.check-box StBin {
width: 24px;
height: 22px;
background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg"); }
.check-box:focus StBin {
background-image: url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"); }
.check-box:checked StBin {
background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
.check-box:focus:checked StBin {
background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
@@ -338,6 +343,7 @@ StScrollBar {
.show-processes-dialog-app-list-item-icon:ltr {
padding-right: 17px; }
.show-processes-dialog-app-list-item-icon:rtl {
padding-left: 17px; }
@@ -709,9 +715,17 @@ StScrollBar {
#panel .panel-button .system-status-icon {
icon-size: 1.09em;
padding: 0 5px; }
.unlock-screen #panel .panel-button, .login-screen #panel .panel-button, .lock-screen #panel .panel-button {
.unlock-screen #panel .panel-button,
.login-screen #panel .panel-button,
.lock-screen #panel .panel-button {
color: #454f52; }
.unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active, .login-screen #panel .panel-button:focus, .login-screen #panel .panel-button:hover, .login-screen #panel .panel-button:active, .lock-screen #panel .panel-button:focus, .lock-screen #panel .panel-button:hover, .lock-screen #panel .panel-button:active {
.unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active,
.login-screen #panel .panel-button:focus,
.login-screen #panel .panel-button:hover,
.login-screen #panel .panel-button:active,
.lock-screen #panel .panel-button:focus,
.lock-screen #panel .panel-button:hover,
.lock-screen #panel .panel-button:active {
color: #454f52; }
#panel .panel-status-indicators-box,
#panel .panel-status-menu-box {
@@ -770,6 +784,7 @@ StScrollBar {
.events-section-title:hover,
.events-section-title:focus {
background-color: #fafafa; }
.datemenu-today-button:active,
.world-clocks-button:active,
.weather-button:active,
@@ -911,7 +926,7 @@ StScrollBar {
color: black;
font-size: 0.7em;
/* HACK: the label should be baseline-aligned with a 1em label,
fake this with some bottom padding */
fake this with some bottom padding */
padding-bottom: 0.13em; }
.message-secondary-bin > StIcon {
@@ -1216,6 +1231,7 @@ StScrollBar {
.list-search-result:active,
.list-search-result:checked {
background-color: rgba(23, 25, 26, 0.9); }
.search-provider-icon:focus, .search-provider-icon:selected, .search-provider-icon:hover,
.list-search-result:focus,
.list-search-result:selected,
@@ -1223,7 +1239,8 @@ StScrollBar {
background-color: rgba(238, 238, 236, 0.1);
transition-duration: 200ms; }
.app-well-app:active .overview-icon, .app-well-app:checked .overview-icon,
.app-well-app:active .overview-icon,
.app-well-app:checked .overview-icon,
.app-well-app.app-folder:active .overview-icon,
.app-well-app.app-folder:checked .overview-icon,
.show-apps:active .overview-icon,
@@ -1232,7 +1249,10 @@ StScrollBar {
.grid-search-result:checked .overview-icon {
background-color: rgba(23, 25, 26, 0.9);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7); }
.app-well-app:hover .overview-icon, .app-well-app:focus .overview-icon, .app-well-app:selected .overview-icon,
.app-well-app:hover .overview-icon,
.app-well-app:focus .overview-icon,
.app-well-app:selected .overview-icon,
.app-well-app.app-folder:hover .overview-icon,
.app-well-app.app-folder:focus .overview-icon,
.app-well-app.app-folder:selected .overview-icon,
@@ -1660,7 +1680,8 @@ StScrollBar {
padding: 100px 0px; }
.login-dialog-user-selection-box .login-dialog-not-listed-label {
padding-left: 2px; }
.login-dialog-not-listed-button:focus .login-dialog-user-selection-box .login-dialog-not-listed-label, .login-dialog-not-listed-button:hover .login-dialog-user-selection-box .login-dialog-not-listed-label {
.login-dialog-not-listed-button:focus .login-dialog-user-selection-box .login-dialog-not-listed-label,
.login-dialog-not-listed-button:hover .login-dialog-user-selection-box .login-dialog-not-listed-label {
color: #eeeeec; }
.login-dialog-not-listed-label {
@@ -1710,6 +1731,7 @@ StScrollBar {
.user-widget-label:ltr {
padding-left: 18px; }
.user-widget-label:rtl {
padding-right: 18px; }
@@ -1837,6 +1859,7 @@ StScrollBar {
.lg-dialog StEntry {
selection-background-color: #bbbbbb;
selected-color: #333333; }
.lg-dialog .shell-link {
color: #999999; }
.lg-dialog .shell-link:hover {
@@ -1888,9 +1911,9 @@ StScrollBar {
background-gradient-end: #e0e0e0;
border-top-color: #666;
/* we don't support non-uniform border-colors and
use the top border color for any border, so we
need to set it even if all we want is a bottom
border */
use the top border color for any border, so we
need to set it even if all we want is a bottom
border */
border-bottom: 1px solid #666;
app-icon-bottom-clip: 0px; }
#panel:overview {

View File

@@ -12,6 +12,7 @@ const DND = imports.ui.dnd;
const Main = imports.ui.main;
const Params = imports.misc.params;
const Search = imports.ui.search;
const ShellMountOperation = imports.ui.shellMountOperation;
const Util = imports.misc.util;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
@@ -49,9 +50,17 @@ const PlaceInfo = new Lang.Class({
try {
Gio.AppInfo.launch_default_for_uri_finish(result);
} catch(e if e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.NOT_MOUNTED)) {
this.file.mount_enclosing_volume(0, null, null, (file, result) => {
let source = {
get_icon: () => { return this.icon; }
};
let op = new ShellMountOperation.ShellMountOperation(source);
this.file.mount_enclosing_volume(0, op.mountOp, null, (file, result) => {
try {
op.close();
file.mount_enclosing_volume_finish(result);
} catch(e if e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.FAILED_HANDLED)) {
// e.g. user canceled the password dialog
return;
} catch(e) {
Main.notifyError(_("Failed to mount volume for “%s”").format(this.name), e.message);
return;

View File

@@ -107,13 +107,22 @@ const WindowContextMenu = new Lang.Class({
Lang.bind(this, this._updateMaximizeItem));
this._updateMaximizeItem();
let item = new PopupMenu.PopupMenuItem(_("Close"));
item.connect('activate', Lang.bind(this, function() {
this._closeItem = new PopupMenu.PopupMenuItem(_("Close"));
this._closeItem.connect('activate', Lang.bind(this, function() {
this._metaWindow.delete(global.get_current_time());
}));
this.addMenuItem(item);
this.addMenuItem(this._closeItem);
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
this.connect('open-state-changed', () => {
if (!this.isOpen)
return;
this._minimizeItem.setSensitive(this._metaWindow.can_minimize());
this._maximizeItem.setSensitive(this._metaWindow.can_maximize());
this._closeItem.setSensitive(this._metaWindow.can_close());
});
},
_updateMinimizeItem: function() {
@@ -781,7 +790,7 @@ const WindowList = new Lang.Class({
this._monitor = monitor;
this.actor = new St.Widget({ name: 'panel',
style_class: 'bottom-panel',
style_class: 'bottom-panel solid',
reactive: true,
track_hover: true,
layout_manager: new Clutter.BinLayout()});

View File

@@ -11,8 +11,8 @@ msgstr ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2017-02-22 18:40+0000\n"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2017-05-09 17:31+0000\n"
"PO-Revision-Date: 2017-06-05 16:20+0200\n"
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
"Language-Team: es <gnome-es-list@gnome.org>\n"
@@ -90,15 +90,15 @@ msgstr "Presentar ventanas como"
#: extensions/alternate-tab/prefs.js:69
msgid "Show only windows in the current workspace"
msgstr "Mostrar ventanas solamente en el área de trabajo actual"
#: extensions/apps-menu/extension.js:41
msgid "Activities Overview"
msgstr "Vista de actividades"
#: extensions/apps-menu/extension.js:141
msgid "Favorites"
msgstr "Favoritos"
#: extensions/apps-menu/extension.js:436
msgid "Applications"
msgstr "Aplicaciones"
@@ -137,7 +137,6 @@ msgstr "Añadir"
msgstr "Añadir"
#: extensions/drive-menu/extension.js:106
#, javascript-format
#, javascript-format
msgid "Ejecting drive “%s” failed:"
msgstr "Falló al expulsar el dispositivo «%s»:"
@@ -146,8 +145,9 @@ msgid "Removable devices"
msgid "Removable devices"
msgstr "Dispositivos extraíbles"
#: extensions/drive-menu/extension.js:149
msgid "Open File"
#: extensions/drive-menu/extension.js:149
#| msgid "Open File"
msgid "Open Files"
msgstr "Abrir archivos"
#: extensions/example/extension.js:17
@@ -172,10 +172,6 @@ msgstr "Mensaje"
#. TRANSLATORS: Example is the name of the extension, should not be
#. translated
#: extensions/example/prefs.js:43
#| msgid ""
#| "Example aims to show how to build well behaved extensions for the Shell "
#| "and as such it has little functionality on its own.\n"
#: extensions/example/prefs.js:43
msgid ""
"Example aims to show how to build well behaved extensions for the Shell and "
@@ -220,22 +216,27 @@ msgstr ""
#: extensions/places-menu/extension.js:81
msgid "Places"
msgstr "Lugares"
#: extensions/places-menu/placeDisplay.js:56
#, javascript-format
#| msgid "Failed to launch “%s”"
msgid "Failed to mount volume for “%s”"
msgstr "Falló al montar el volumen para «%s»"
#: extensions/places-menu/placeDisplay.js:69
#, javascript-format
#, javascript-format
msgid "Failed to launch “%s”"
msgstr "Falló al lanzar «%s»"
#: extensions/places-menu/placeDisplay.js:101
#: extensions/places-menu/placeDisplay.js:128
#: extensions/places-menu/placeDisplay.js:151
msgid "Computer"
msgstr "Equipo"
#: extensions/places-menu/placeDisplay.js:294
msgid "Home"
msgstr "Carpeta personal"
#: extensions/places-menu/placeDisplay.js:338
msgid "Browse Network"
msgstr "Examinar la red"
@@ -305,9 +306,6 @@ msgid "When to group windows"
msgid "When to group windows"
msgstr "Cuándo agrupar las ventanas"
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13
#| msgid ""
#| "Decides when to group windows from the same application on the window "
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13
msgid ""
"Decides when to group windows from the same application on the window list. "

View File

@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2017-04-28 13:38+0000\n"
"PO-Revision-Date: 2017-04-30 13:33+0200\n"
"POT-Creation-Date: 2017-05-12 15:29+0000\n"
"PO-Revision-Date: 2017-05-25 14:31+0200\n"
"Last-Translator: Fabio Tomat <f.t.public@gmail.com>\n"
"Language-Team: Friulian <fur@li.org>\n"
"Language: fur\n"
@@ -143,8 +143,8 @@ msgid "Removable devices"
msgstr "Argagn rimovibil"
#: extensions/drive-menu/extension.js:149
msgid "Open File"
msgstr "Vierç File"
msgid "Open Files"
msgstr "Vierç i file"
#: extensions/example/extension.js:17
msgid "Hello, world!"

View File

@@ -6,17 +6,17 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2017-02-16 01:20+0000\n"
"PO-Revision-Date: 2017-02-16 09:08+0500\n"
"POT-Creation-Date: 2017-05-09 17:31+0000\n"
"PO-Revision-Date: 2017-06-17 13:50+0500\n"
"Last-Translator: Baurzhan Muftakhidinov <baurthefirst@gmail.com>\n"
"Language-Team: Kazakh <kk@li.org>\n"
"Language: kk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.11\n"
"X-Generator: Poedit 2.0.2\n"
#: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3
msgid "GNOME Classic"
@@ -85,15 +85,15 @@ msgstr "Терезелерді қалайша ұсыну"
msgid "Show only windows in the current workspace"
msgstr "Тек ағымдағы жұмыс орнынан терезелерді көрсету"
#: extensions/apps-menu/extension.js:38
#: extensions/apps-menu/extension.js:41
msgid "Activities Overview"
msgstr "Шолу көрінісі"
#: extensions/apps-menu/extension.js:109
#: extensions/apps-menu/extension.js:141
msgid "Favorites"
msgstr "Таңдамалылар"
#: extensions/apps-menu/extension.js:266
#: extensions/apps-menu/extension.js:436
msgid "Applications"
msgstr "Қолданбалар"
@@ -140,8 +140,8 @@ msgid "Removable devices"
msgstr "Алынатын құрылғылар"
#: extensions/drive-menu/extension.js:149
msgid "Open File"
msgstr "Файлды ашу"
msgid "Open Files"
msgstr "Файлдарды ашу"
#: extensions/example/extension.js:17
msgid "Hello, world!"
@@ -207,21 +207,26 @@ msgstr ""
msgid "Places"
msgstr "Орындар"
#: extensions/places-menu/placeDisplay.js:59
#: extensions/places-menu/placeDisplay.js:56
#, javascript-format
msgid "Failed to mount volume for “%s”"
msgstr "\"%s\" үшін томды тіркеу сәтсіз аяқталды"
#: extensions/places-menu/placeDisplay.js:69
#, javascript-format
msgid "Failed to launch “%s”"
msgstr "\"%s\" жөнелту сәтсіз аяқталды"
#: extensions/places-menu/placeDisplay.js:101
#: extensions/places-menu/placeDisplay.js:124
#: extensions/places-menu/placeDisplay.js:128
#: extensions/places-menu/placeDisplay.js:151
msgid "Computer"
msgstr "Компьютер"
#: extensions/places-menu/placeDisplay.js:267
#: extensions/places-menu/placeDisplay.js:294
msgid "Home"
msgstr "Үй бумасы"
#: extensions/places-menu/placeDisplay.js:311
#: extensions/places-menu/placeDisplay.js:338
msgid "Browse Network"
msgstr "Желіні шолу"