Compare commits

...

13 Commits
40.0 ... 3.14.4

Author SHA1 Message Date
Florian Müllner
725713f9cd Bump version to 3.14.4
To go along GNOME Shell 3.14.4.
2015-03-23 20:40:21 +01:00
Florian Müllner
af14da5770 window-list: Fix for "app-less" windows
While rare, it is possible to have a window not associated with any app
(not even a fake window-based one). We currently throw an error when
trying to set the icon for such a window, so handle this case and
use a fallback icon instead of the app icon.

https://bugzilla.gnome.org/show_bug.cgi?id=743401
2015-03-23 20:38:14 +01:00
Samir Ribic
9284ab9cc0 Added Bosnian translation 2015-03-14 16:58:38 +00:00
Florian Müllner
1406feb262 window-list: Keep panel below modal dialogs when possible
Currently the window-list will be stacked above system modal dialogs,
which means it is not dimmed like the rest of the desktop and remains
accessible to interaction. We cannot do any better when showing the
on-screen keyboard, as we need to keep ourselves above to not end up
covered by the OSK, and the keyboard itself is stacked above modal
dialogs to allow its use for input. However we can at least fix the
case when not using the OSK.

https://bugzilla.gnome.org/show_bug.cgi?id=740722
2014-12-19 15:29:00 +01:00
Florian Müllner
00c1e37d77 Bump version to 3.14.3
To go along GNOME Shell 3.14.3
2014-12-19 15:26:07 +01:00
Maxime Henrion
3771d49149 Skip over XDG directories that cannot be found.
This fixes loading the places menu gnome-shell extension when the XDG
directories have not been configured.

https://bugzilla.gnome.org/show_bug.cgi?id=741033
2014-12-02 19:01:27 +01:00
Sylvain Pasche
2f49d77931 window-list: _pointerInTray was renamed to _pointerInNotification in bug 695800
https://bugzilla.gnome.org/show_bug.cgi?id=737486
2014-11-26 20:05:44 +01:00
Sylvain Pasche
046c603872 window-list: Disconnect drag and drop handlers
https://bugzilla.gnome.org/show_bug.cgi?id=737486
2014-11-26 20:05:44 +01:00
Florian Müllner
79f263d1ed apps-menu: Center app labels
Currently labels are not vertically centered, unlike icons.
Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=740724
2014-11-26 19:07:29 +01:00
Florian Müllner
a0a28be128 apps-menu: Update menu arrow to use an icon
gnome-shell no longer uses labels with UTF8 arrows, so the currently
used arrow is no longer consistent with other menus; fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=740725
2014-11-26 18:56:38 +01:00
Florian Müllner
ea893b2262 Bump version to 3.14.2
To go along GNOME Shell 3.14.2
2014-11-12 19:59:39 +01:00
Florian Müllner
3fca9e88b2 drive-menu: Adjust for renamed .desktop file name
Nautilus now uses reverse domain notation for its .desktop file,
adjust for that.

https://bugzilla.gnome.org/show_bug.cgi?id=739931
2014-11-12 19:54:45 +01:00
Florian Müllner
a1ab174e7a drive-menu: Update for gnome-shell changes
Since shell commit 3227d4f3edad, Shell.Global.create_app_launch_context()
expects additional parameters.

https://bugzilla.gnome.org/show_bug.cgi?id=739931
2014-11-12 19:54:38 +01:00
8 changed files with 388 additions and 21 deletions

14
NEWS
View File

@@ -1,3 +1,17 @@
3.14.4
======
* updated translations (bs)
3.14.3
======
* apps-menu: Fix some visual glitches
* places-menu: Fix error when XDG user directories are not set up
* window-list: Update for gnome-shell changes
3.14.2
======
* drive-menu: Update for nautilus/gnome-shell changes
3.14.1
======
* alternateTab: Fix dismissing popup with Escape

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.14.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.14.4],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])

View File

@@ -58,7 +58,8 @@ const ApplicationMenuItem = new Lang.Class({
this._iconBin = new St.Bin();
this.actor.add_child(this._iconBin);
let appLabel = new St.Label({ text: app.get_name() });
let appLabel = new St.Label({ text: app.get_name(), y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
this.actor.add_child(appLabel, { expand: true });
this.actor.label_actor = appLabel;
@@ -283,9 +284,7 @@ const ApplicationsButton = new Lang.Class({
y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
hbox.add_child(this._label);
hbox.add_child(new St.Label({ text: '\u25BE',
y_expand: true,
y_align: Clutter.ActorAlign.CENTER }));
hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
this.actor.add_actor(hbox);
this.actor.name = 'panelApplications';

View File

@@ -108,8 +108,9 @@ const MountMenuItem = new Lang.Class({
},
activate: function(event) {
let context = global.create_app_launch_context(event.get_time(), -1);
Gio.AppInfo.launch_default_for_uri(this.mount.get_root().get_uri(),
global.create_app_launch_context());
context);
this.parent(event);
}
@@ -149,7 +150,7 @@ const DriveMenu = new Lang.Class({
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Open File"), function(event) {
let appSystem = Shell.AppSystem.get_default();
let app = appSystem.lookup_app('nautilus.desktop');
let app = appSystem.lookup_app('org.gnome.Nautilus.desktop');
app.activate_full(-1, event.get_time());
});

View File

@@ -202,7 +202,7 @@ const PlacesManager = new Lang.Class({
let specials = [];
for (let i = 0; i < DEFAULT_DIRECTORIES.length; i++) {
let specialPath = GLib.get_user_special_dir(DEFAULT_DIRECTORIES[i]);
if (specialPath == homePath)
if (specialPath == null || specialPath == homePath)
continue;
let file = Gio.File.new_for_path(specialPath), info;

View File

@@ -142,19 +142,17 @@ const WindowTitle = new Lang.Class({
this._metaWindow = metaWindow;
this.actor = new St.BoxLayout({ style_class: 'window-button-box' });
let app = Shell.WindowTracker.get_default().get_window_app(metaWindow);
this._icon = new St.Bin({ style_class: 'window-button-icon',
child: app.create_icon_texture(ICON_TEXTURE_SIZE) });
this._icon = new St.Bin({ style_class: 'window-button-icon' });
this.actor.add(this._icon);
this._label = new St.Label();
this.actor.add(this._label);
this._textureCache = St.TextureCache.get_default();
this._iconThemeChangedId =
this._textureCache.connect('icon-theme-changed', Lang.bind(this,
function() {
this._icon.child = app.create_icon_texture(ICON_TEXTURE_SIZE);
}));
this._textureCache.connect('icon-theme-changed',
Lang.bind(this, this._updateIcon));
this._updateIcon();
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
this._notifyTitleId =
@@ -178,6 +176,15 @@ const WindowTitle = new Lang.Class({
this._label.text = this._metaWindow.title;
},
_updateIcon: function() {
let app = Shell.WindowTracker.get_default().get_window_app(this._metaWindow);
if (app)
this._icon.child = app.create_icon_texture(ICON_TEXTURE_SIZE);
else
this._icon.child = new St.Icon({ icon_name: 'icon-missing',
icon_size: ICON_TEXTURE_SIZE });
},
_onDestroy: function() {
this._textureCache.disconnect(this._iconThemeChangedId);
this._metaWindow.disconnect(this._notifyTitleId);
@@ -782,8 +789,8 @@ const WindowList = new Lang.Class({
}));
this._windowList.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
box.add(indicatorsBox);
let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
box.add(indicatorsBox);
this._workspaceIndicator = new WorkspaceIndicator();
indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: true });
@@ -796,6 +803,7 @@ const WindowList = new Lang.Class({
Main.layoutManager.addChrome(this.actor, { affectsStruts: true,
trackFullscreen: true });
Main.uiGroup.set_child_above_sibling(this.actor, Main.layoutManager.trayBox);
Main.ctrlAltTabManager.addGroup(this.actor, _("Window List"), 'start-here-symbolic');
this._appSystem = Shell.AppSystem.get_default();
@@ -811,9 +819,13 @@ const WindowList = new Lang.Class({
this._keyboardVisiblechangedId =
Main.layoutManager.connect('keyboard-visible-changed',
Lang.bind(this, function(o, state) {
Main.layoutManager.keyboardBox.visible = state;
Main.uiGroup.set_child_above_sibling(windowList.actor,
Main.layoutManager.keyboardBox);
let keyboardBox = Main.layoutManager.keyboardBox;
keyboardBox.visible = state;
if (state)
Main.uiGroup.set_child_above_sibling(this.actor, keyboardBox);
else
Main.uiGroup.set_child_above_sibling(this.actor,
Main.layoutManager.trayBox);
this._updateKeyboardAnchor();
}));
@@ -1165,6 +1177,9 @@ const WindowList = new Lang.Class({
global.screen.disconnect(this._fullscreenChangedId);
Main.xdndHandler.disconnect(this._dragBeginId);
Main.xdndHandler.disconnect(this._dragEndId);
this._settings.disconnect(this._groupingModeChangedId);
let windows = global.get_window_actors();
@@ -1185,7 +1200,7 @@ function enable() {
windowList.actor.connect('notify::hover', Lang.bind(Main.messageTray,
function() {
this._pointerInTray = windowList.actor.hover;
this._pointerInNotification = windowList.actor.hover;
this._updateState();
}));

View File

@@ -4,6 +4,7 @@ ar
as
bg
bn_IN
bs
ca
ca@valencia
cs

337
po/bs.po Normal file
View File

@@ -0,0 +1,337 @@
# Bosnian translation for bosnianuniversetranslation
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the bosnianuniversetranslation package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: bosnianuniversetranslation\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2015-02-26 20:44+0000\n"
"PO-Revision-Date: 2015-02-16 22:42+0000\n"
"Last-Translator: Samir Ribić <Unknown>\n"
"Language-Team: Bosnian <bs@li.org>\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2015-02-17 06:21+0000\n"
"X-Generator: Launchpad (build 17341)\n"
#: ../data/gnome-classic.desktop.in.h:1
#: ../data/gnome-classic.session.desktop.in.in.h:1
msgid "GNOME Classic"
msgstr "Klasični GNOME"
#: ../data/gnome-classic.desktop.in.h:2
msgid "This session logs you into GNOME Classic"
msgstr "Ova sesija vas prijavljuje na klasični GNOME"
#: ../data/gnome-shell-classic.desktop.in.in.h:1
msgid "GNOME Shell Classic"
msgstr "Klasična školjka GNOME"
#: ../data/gnome-shell-classic.desktop.in.in.h:2
msgid "Window management and application launching"
msgstr "Upravljanje prozorima i pokretanje programa"
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1
msgid "Attach modal dialog to the parent window"
msgstr "Pričvrstite modalni dijalog na izvornom prozoru"
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:2
msgid ""
"This key overrides the key in org.gnome.mutter when running GNOME Shell."
msgstr ""
"Ovaj ključ nadjačava ključ u org.gnome.mutter kada se izvodi GNOME školjka."
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:3
msgid "Arrangement of buttons on the titlebar"
msgstr "Uređenje funkcijskih dugmadi na naslovoj traci"
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4
msgid ""
"This key overrides the key in org.gnome.desktop.wm.preferences when running "
"GNOME Shell."
msgstr ""
"Ovaj ključ nadglasava org.gnome.desktop.wm.preferences kada je pokrenut "
"GNOME Shell."
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5
msgid "Enable edge tiling when dropping windows on screen edges"
msgstr "Omogući poravnanje rubova prilikom spuštanja prozora na rubove ekrana"
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:6
msgid "Workspaces only on primary monitor"
msgstr "Radni prostori samo na glavnom monitoru"
#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:7
msgid "Delay focus changes in mouse mode until the pointer stops moving"
msgstr ""
"Kašnjenje fokusa rezultuje promjenama u načinu miša dok pokazivač prestaje "
"s kretanjem"
#: ../extensions/alternate-tab/prefs.js:20
msgid "Thumbnail only"
msgstr "Samo sa sličicama"
#: ../extensions/alternate-tab/prefs.js:21
msgid "Application icon only"
msgstr "Ikone aplikacija samo"
#: ../extensions/alternate-tab/prefs.js:22
msgid "Thumbnail and application icon"
msgstr "Ikona aplikacije i sličice"
#: ../extensions/alternate-tab/prefs.js:38
msgid "Present windows as"
msgstr "Prikaži prozor kao"
#: ../extensions/alternate-tab/prefs.js:69
msgid "Show only windows in the current workspace"
msgstr "Prikaži samo prozore u radnom prostoru"
#: ../extensions/apps-menu/extension.js:39
msgid "Activities Overview"
msgstr "Pregled aktivnosti"
#: ../extensions/apps-menu/extension.js:114
msgid "Favorites"
msgstr "Omiljeni"
#: ../extensions/apps-menu/extension.js:283
msgid "Applications"
msgstr "Aplikacije"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "Application and workspace list"
msgstr "Popis aplikacije i radnog prostora"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Popis stringova, koje sadrži id aplikacija (naziv dektop file), pračene sa "
"kolonom i brojem radnog prostora"
#: ../extensions/auto-move-windows/prefs.js:60
msgid "Application"
msgstr "Aplikacija"
#: ../extensions/auto-move-windows/prefs.js:69
#: ../extensions/auto-move-windows/prefs.js:127
msgid "Workspace"
msgstr "Radni prostor"
#: ../extensions/auto-move-windows/prefs.js:85
msgid "Add Rule"
msgstr "Dodaj pravilo"
#: ../extensions/auto-move-windows/prefs.js:106
msgid "Create new matching rule"
msgstr "Kreiranje novog odgovarajućeg pravila"
#: ../extensions/auto-move-windows/prefs.js:111
msgid "Add"
msgstr "Dodaj"
#: ../extensions/drive-menu/extension.js:106
msgid "Ejecting drive '%s' failed:"
msgstr "Izbacivanje diska '%s' nije uspjelo:"
#: ../extensions/drive-menu/extension.js:124
msgid "Removable devices"
msgstr "Uklonjivi uređaji"
#: ../extensions/drive-menu/extension.js:151
msgid "Open File"
msgstr "Otvori datoteku"
#: ../extensions/example/extension.js:17
msgid "Hello, world!"
msgstr "Pozdrav svima!"
#: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1
msgid "Alternative greeting text."
msgstr "Alternativni tekst pozdrava."
#: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2
msgid ""
"If not empty, it contains the text that will be shown when clicking on the "
"panel."
msgstr ""
"Ako nije prazno,onda sadrži tekst koji će se prikazati na panelu kada se "
"klikne."
#: ../extensions/example/prefs.js:30
msgid "Message"
msgstr "Poruka"
#: ../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"
"Nevertheless it's possible to customize the greeting message."
msgstr ""
"Primjer ima za cilj pokazati kako izgraditi dobro ponašanje proširenja za "
"školjku i kao takav ima malo funkcionalnost na sebi samom.\n"
"Ipak je moguće prilagoditi pozdravnu poruku."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
msgid "Use more screen for windows"
msgstr "Koristite više zaslona za prozor"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
msgid ""
"Try to use more screen for placing window thumbnails by adapting to screen "
"aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy."
msgstr ""
"Pokušajte koristiti više zaslona za stavljanje sličice prozora prilagodbom "
"omjera širine zaslona i konsoliduj ih dodatnim smanjenjem okvira. Ova "
"postavka vrijedi samo uz strategiju prirodnog postavljanja na sebi samom."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
msgid "Place window captions on top"
msgstr "Postavite naslov prozora na vrh"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
msgid ""
"If true, place window captions on top the respective thumbnail, overriding "
"shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect."
msgstr ""
"Ako je tačno, stavite prozor naslova na vrh odgovarajuće sličice, "
"preskakanjem ljuske zadane očekivano smještajući je na dno. Promjena ove "
"postavke zahtijeva ponovno pokretanje ljuske kako bi postojao bilo kakav "
"utjecaj."
#: ../extensions/places-menu/extension.js:78
#: ../extensions/places-menu/extension.js:81
msgid "Places"
msgstr "Mjesta"
#: ../extensions/places-menu/placeDisplay.js:57
msgid "Failed to launch \"%s\""
msgstr "Neuspješno lansiranje \"%s\""
#: ../extensions/places-menu/placeDisplay.js:99
#: ../extensions/places-menu/placeDisplay.js:122
msgid "Computer"
msgstr "Računar"
#: ../extensions/places-menu/placeDisplay.js:200
msgid "Home"
msgstr "Početna"
#: ../extensions/places-menu/placeDisplay.js:287
msgid "Browse Network"
msgstr "Razgledaj mrežu"
#: ../extensions/systemMonitor/extension.js:214
msgid "CPU"
msgstr "CPU"
#: ../extensions/systemMonitor/extension.js:267
msgid "Memory"
msgstr "Memorija"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "Theme name"
msgstr "Naziv teme"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Ime teme ,da se učita iz ~/.themes/name/gnome-shell"
#: ../extensions/window-list/extension.js:110
msgid "Close"
msgstr "Zatvori"
#: ../extensions/window-list/extension.js:120
msgid "Unminimize"
msgstr "Ne minimiziraj"
#: ../extensions/window-list/extension.js:121
msgid "Minimize"
msgstr "Minimiziraj"
#: ../extensions/window-list/extension.js:127
msgid "Unmaximize"
msgstr "Ne maksimizirati"
#: ../extensions/window-list/extension.js:128
msgid "Maximize"
msgstr "Maksimiziraj"
#: ../extensions/window-list/extension.js:304
msgid "Minimize all"
msgstr "Minimiziraj sve"
#: ../extensions/window-list/extension.js:312
msgid "Unminimize all"
msgstr "Ne minimiziraj sve"
#: ../extensions/window-list/extension.js:320
msgid "Maximize all"
msgstr "Maksimizuj sve"
#: ../extensions/window-list/extension.js:329
msgid "Unmaximize all"
msgstr "Ne maksimiziraj sve"
#: ../extensions/window-list/extension.js:338
msgid "Close all"
msgstr "Zatvori sve"
#: ../extensions/window-list/extension.js:649
#: ../extensions/workspace-indicator/extension.js:30
msgid "Workspace Indicator"
msgstr "Indikator radnog prostora"
#: ../extensions/window-list/extension.js:800
msgid "Window List"
msgstr "Lista Prozora"
#: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:1
msgid "When to group windows"
msgstr "Kada grupisati prozore"
#: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2
msgid ""
"Decides when to group windows from the same application on the window list. "
"Possible values are \"never\", \"auto\" and \"always\"."
msgstr ""
"Određuje kada grupisati prozore iz istog programa na listi prozora. "
"Dozvoljene vrijednosti su \"never\" (nikad), \"auto\" (automatski) i \"always"
"\" (uvijek)."
#: ../extensions/window-list/prefs.js:30
msgid "Window Grouping"
msgstr "Grupisanje prozora"
#: ../extensions/window-list/prefs.js:49
msgid "Never group windows"
msgstr "Nikada ne grupiši prozore"
#: ../extensions/window-list/prefs.js:50
msgid "Group windows when space is limited"
msgstr "Grupiši prozore kada je prostor ograničen"
#: ../extensions/window-list/prefs.js:51
msgid "Always group windows"
msgstr "Uvijek grupiši prozore"
#: ../extensions/workspace-indicator/prefs.js:141
msgid "Workspace Names"
msgstr "Imena radnih površina"
#: ../extensions/workspace-indicator/prefs.js:157
msgid "Name"
msgstr "Ime"
#: ../extensions/workspace-indicator/prefs.js:198
msgid "Workspace %d"
msgstr "Radni prostor %d"