Compare commits

...

12 Commits
3.8.4 ... 3.9.2

Author SHA1 Message Date
Giovanni Campagna
5e10182f94 Bump version to 3.9.2
To go along GNOME Shell 3.9.2
2013-05-28 20:09:11 +02:00
Giovanni Campagna
ae244569ef alternative-status-menu: take GSettings in consideration for item visibility
Seems this was lost at some point.
2013-05-24 19:15:30 +02:00
Florian Müllner
292a48073a apps-menu: Add some padding to ScrollView
In case the scroll bar is visible, is is currently positioned at
the very edge of the popup, which looks fairly bad; so add some
minimal padding.

https://bugzilla.gnome.org/show_bug.cgi?id=700852
2013-05-22 19:40:02 +02:00
Giovanni Campagna
274a6f040c Update descriptions of extensions
Mark classic mode extensions as such, so bug reports don't go
lost in my inbox.
2013-05-20 19:06:59 +02:00
Мирослав Николић
aaacd3dba4 Updated Serbian translation 2013-05-14 18:51:11 +02:00
Florian Müllner
45767c93d5 window-list: Make bottom panel taller in classic mode
Consider additional borders in classic styling for the panel height.

https://bugzilla.gnome.org/show_bug.cgi?id=698169
2013-05-13 22:01:01 +02:00
Giovanni Campagna
6094c21634 Bump version to 3.9.1
To go along GNOME Shell 3.9.1
2013-05-01 00:46:47 +02:00
Giovanni Campagna
5052c6d350 windowsNavigator: update for gnome-shell changes
The position of a workspace is not part of a geometry object.
2013-05-01 00:45:06 +02:00
Florian Müllner
f38d61b4c9 window-list: Use notify::n-workspaces to recreate workspace menu
When the number of workspaces changes, we clear the existing menu
and recreate it based on the screen::n-workspaces property, so it
is slightly more correct to track changes to the property directly
instead of using the workspace-added/workspace-removed signals.
This change also fixes a corner case, where changes to the property
before workspaces are initialized are missed and we end up with the
wrong number of workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=699350
2013-04-30 21:54:05 +02:00
Florian Müllner
8ba3bedd20 workspace-indicator: Adjust to PopupMenu API change
setShowDot() has become setOrnament()

https://bugzilla.gnome.org/show_bug.cgi?id=699335
2013-04-30 17:49:49 +02:00
Florian Müllner
d903f1f15b xrandr-indicator: Adjust to PopupMenu API change
setShowDot() has become setOrnament()

https://bugzilla.gnome.org/show_bug.cgi?id=699335
2013-04-30 17:49:49 +02:00
Florian Müllner
8628addfc9 window-list: Adjust to PopupMenu API change
setShowDot() has become setOrnament().

https://bugzilla.gnome.org/show_bug.cgi?id=699335
2013-04-30 17:49:48 +02:00
28 changed files with 104 additions and 54 deletions

15
NEWS
View File

@@ -1,3 +1,18 @@
3.9.2
=====
* apps-menu: appearance of the scrollbars was improved
* window-list is a little taller in classic mode (to account
for the workspace switcher)
* alternative-status-menu honors again the dconf configuration
* translation updates (sr)
3.9.1
=====
* updates to window-list, xrandr-indicator,
workspace-indicator, windowsNavigator for gnome-shell
changes
* translation updates (cs, es, lt, pl, pt_BR, sl)
3.8.1
=====
* many improvements to window-list:

View File

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

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "AlternateTab",
"description": "A replacement for Alt-Tab, allows to cycle between windows and does not group by application",
"description": "Substitute Alt-Tab with a window based switcher that does not group by application.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"original-authors": [ "jw@bargsten.org", "thomas.bouffon@gmail.com" ],
"shell-version": [ "@shell_current@" ],
"url": "@url@"

View File

@@ -76,8 +76,8 @@ function statusMenu_updateHaveHibernate() {
function statusMenu_updateSuspendOrPowerOff() {
this._suspendOrPowerOffItem.actor.hide();
extension.suspendItem.actor.visible = this._haveSuspend;
extension.hibernateItem.actor.visible = this._haveHibernate;
extension.suspendItem.actor.visible = this._haveSuspend && extension.settings.get_boolean('allow-suspend');
extension.hibernateItem.actor.visible = this._haveHibernate && extension.settings.get_boolean('allow-hibernate');
extension.powerOffItem.actor.visible = this._haveShutdown;
}
@@ -104,7 +104,7 @@ const Extension = new Lang.Class({
this.powerOffItem = null;
Convenience.initTranslations();
this._settings = Convenience.getSettings();
this.settings = Convenience.getSettings();
},
enable: function() {
@@ -145,7 +145,7 @@ const Extension = new Lang.Class({
this._previousUpdateSuspendOrPowerOff = statusMenu._updateSuspendOrPowerOff;
statusMenu._updateSuspendOrPowerOff = statusMenu_updateSuspendOrPowerOff;
this._settingsChangedId = this._settings.connect('changed', function() {
this._settingsChangedId = this.settings.connect('changed', function() {
statusMenu._updateSuspendOrPowerOff();
});
},
@@ -158,7 +158,7 @@ const Extension = new Lang.Class({
this.powerOffItem.destroy();
statusMenu.menu.disconnect(this._openStateChangedId);
this._settings.disconnect(this._settingsChangedId);
this.settings.disconnect(this._settingsChangedId);
statusMenu._updateSuspendOrPowerOff = this._previousUpdateSuspendOrPowerOff;
statusMenu._updateSuspendOrPowerOff();

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Alternative Status Menu",
"description": "Replaces GNOME Shell Status Menu with one showing Suspend/Hibernate and Power Off as separate items",
"description": "Replaces GNOME Shell Status Menu with one showing Suspend/Hibernate and Power Off as separate items.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -424,7 +424,7 @@ const ApplicationsButton = new Lang.Class({
this.leftBox = new St.BoxLayout({ vertical: true });
this.applicationsScrollBox = new St.ScrollView({ x_fill: true, y_fill: false,
y_align: St.Align.START,
style_class: 'vfade' });
style_class: 'apps-menu vfade' });
this.applicationsScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
let vscroll = this.applicationsScrollBox.get_vscroll_bar();
vscroll.connect('scroll-start', Lang.bind(this, function() {

View File

@@ -3,7 +3,7 @@
"uuid": "@uuid@",
"gettext-domain": "@gettext_domain@",
"name": "Applications Menu",
"description": "Add a gnome 2.x style menu for applications",
"description": "Add a category-based menu for applications.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"original-authors": [ "e2002@bk.ru", "debarshir@gnome.org" ],
"shell-version": [ "@shell_current@" ],
"url": "@url@"

View File

@@ -1 +1,7 @@
/* none used*/
.apps-menu:ltr {
padding-right: 3px;
}
.apps-menu:rtl {
padding-left: 3px;
}

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Auto Move Windows",
"description": "Move applications to specific workspaces when they create windows",
"description": "Move applications to specific workspaces when they create windows.",
"shell-version": [ "@shell_current@" ],
"original-authors": [ "alessandro.crismani@gmail.com", "thomas.bouffon@gmail.com" ],
"url": "@url@"

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Default Minimize and Maximize",
"description": "Adds minimize and maximize buttons to the titlebar by default",
"description": "Adds minimize and maximize buttons to the titlebar by default.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"original-authors": [ "debarshir@gnome.org" ],
"shell-version": [ "@shell_current@" ],
"url": "@url@"

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Removable Drive Menu",
"description": "A status menu for accessing and unmounting removable devices",
"description": "A status menu for accessing and unmounting removable devices.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Launch new instance",
"description": "Always launch a new instance",
"description": "Always launch a new instance when clicking in the dash or the application view.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Native Window Placement",
"description": "Arrange windows in overview in a more native way",
"description": "Arrange windows in overview in a more compact way.",
"shell-version": [ "@shell_current@" ],
"url": "@url@",
"original-authors": [ "wepmaschda@gmx.de" ]

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Places Status Indicator",
"description": "Add a systems status menu for quickly navigating places in the system",
"description": "Add a menu for quickly navigating places in the system.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Static workspaces",
"description": "Disable dynamic workspace management",
"description": "Disable dynamic workspace management.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"original-authors": [ "fmuellner@gnome.org" ],
"shell-version": [ "@shell_current@" ],
"url": "@url@"

View File

@@ -6,6 +6,6 @@
"gettext-domain": "@gettext_domain@",
"original-author": "zaspire@rambler.ru",
"name": "SystemMonitor",
"description": "System Monitor",
"description": "System monitor showing CPU and memory usage in the message tray.",
"url": "@url@"
}

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "User Themes",
"description": "Load shell themes from user directory",
"description": "Load shell themes from user directory.",
"shell-version": [ "@shell_current@" ],
"original-authors": [ "john.stowers@gmail.com" ],
"url": "@url@"

View File

@@ -3,6 +3,7 @@
#panel.bottom-panel {
border-top-width: 1px;
border-bottom-width: 0px;
height: 32px !important;
}
.bottom-panel .window-button > StWidget {
@@ -11,6 +12,7 @@
background-gradient-end: #d0d0d0;
color: #555 !important;
border-radius: 2px !important;
padding: 4px 6px 2px !important;
text-shadow: 0 0 transparent;
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5) !important;
}

View File

@@ -390,8 +390,7 @@ const WorkspaceIndicator = new Lang.Class({
this.workspacesItems = [];
this._screenSignals = [];
this._screenSignals.push(global.screen.connect_after('workspace-added', Lang.bind(this,this._updateMenu)));
this._screenSignals.push(global.screen.connect_after('workspace-removed', Lang.bind(this,this._updateMenu)));
this._screenSignals.push(global.screen.connect('notify::n-workspaces', Lang.bind(this,this._updateMenu)));
this._screenSignals.push(global.screen.connect_after('workspace-switched', Lang.bind(this,this._updateIndicator)));
this.actor.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
@@ -414,9 +413,9 @@ const WorkspaceIndicator = new Lang.Class({
},
_updateIndicator: function() {
this.workspacesItems[this._currentWorkspace].setShowDot(false);
this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.NONE);
this._currentWorkspace = global.screen.get_active_workspace().index();
this.workspacesItems[this._currentWorkspace].setShowDot(true);
this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.DOT);
this.statusLabel.set_text(this._getStatusText());
},
@@ -443,7 +442,7 @@ const WorkspaceIndicator = new Lang.Class({
}));
if (i == this._currentWorkspace)
item.setShowDot(true);
item.setOrnament(PopupMenu.Ornament.DOT);
this.menu.addMenuItem(item);
this.workspacesItems[i] = item;

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Window List",
"description": "Display a window list at the bottom of the screen",
"description": "Display a window list at the bottom of the screen.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME Bugzilla instead.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -47,11 +47,23 @@ function enable() {
winInjections['hideTooltip'] = undefined;
Workspace.Workspace.prototype.showTooltip = function() {
if (this._tip == null)
if (this._tip == null || this._actualGeometry == null)
return;
this._tip.text = (this.metaWorkspace.index() + 1).toString();
this._tip.x = this._x;
this._tip.y = this._y;
// Hand code this instead of using _getSpacingAndPadding
// because that fails on empty workspaces
let node = this.actor.get_theme_node();
let padding = {
left: node.get_padding(St.Side.LEFT),
top: node.get_padding(St.Side.TOP),
bottom: node.get_padding(St.Side.BOTTOM),
right: node.get_padding(St.Side.RIGHT),
};
let area = Workspace.padArea(this._actualGeometry, padding);
this._tip.x = area.x;
this._tip.y = area.y;
this._tip.show();
this._tip.raise_top();
}

View File

@@ -6,6 +6,6 @@
"gettext-domain": "@gettext_domain@",
"original-author": "zaspire@rambler.ru",
"name": "windowNavigator",
"description": "Allow keyboard selection of windows and workspaces in overlay mode",
"description": "Allow keyboard selection of windows and workspaces in overlay mode. <Ctrl>number selects a workspace, and <Alt>number selects a window.",
"url": "@url@"
}

View File

@@ -66,9 +66,9 @@ const WorkspaceIndicator = new Lang.Class({
},
_updateIndicator: function() {
this.workspacesItems[this._currentWorkspace].setShowDot(false);
this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.NONE);
this._currentWorkspace = global.screen.get_active_workspace().index();
this.workspacesItems[this._currentWorkspace].setShowDot(true);
this.workspacesItems[this._currentWorkspace].setOrnament(PopupMenu.Ornament.DOT);
this.statusLabel.set_text(this._labelText());
},
@@ -98,7 +98,7 @@ const WorkspaceIndicator = new Lang.Class({
}));
if (i == this._currentWorkspace)
this.workspacesItems[i].setShowDot(true);
this.workspacesItems[i].setOrnament(PopupMenu.Ornament.DOT);
}
this.statusLabel.set_text(this._labelText());

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Workspace Indicator",
"description": "Put an indicator on the panel signaling in which workspace you are, and give you the possibility of switching to another one",
"description": "Put an indicator on the panel signaling in which workspace you are, and give you the possibility of switching to another one.",
"shell-version": [ "@shell_current@" ],
"original-authors": [ "erick.red@gmail.com" ],
"url": "@url@"

View File

@@ -94,7 +94,7 @@ const Indicator = new Lang.Class({
if (bitmask & allowedRotations) {
let item = new PopupMenu.PopupMenuItem(Gettext.gettext(name));
if (bitmask & currentRotation)
item.setShowDot(true);
item.setOrnament(PopupMenu.Ornament.DOT);
item.connect('activate', Lang.bind(this, function(item, event) {
/* ensure config is saved so we get a backup if anything goes wrong */
config.save();

View File

@@ -4,7 +4,7 @@
"settings-schema": "@gschemaname@",
"gettext-domain": "@gettext_domain@",
"name": "Monitor Status Indicator",
"description": "Add a systems status menu for rotating monitors (overrides what is currently provided by gnome-settings-daemon)",
"description": "Add a system status menu for rotating monitors.",
"shell-version": [ "@shell_current@" ],
"url": "@url@"
}

View File

@@ -8,16 +8,16 @@ msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2013-02-20 11:19+0000\n"
"PO-Revision-Date: 2013-02-20 12:19+0200\n"
"POT-Creation-Date: 2013-04-19 19:12+0000\n"
"PO-Revision-Date: 2013-05-14 18:48+0200\n"
"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
"Language-Team: Serbian <gnom@prevod.org>\n"
"Language: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : n"
"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : "
"n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Project-Style: gnome\n"
#: ../data/gnome-classic.desktop.in.h:1
@@ -86,15 +86,15 @@ msgstr "Укључује замрзавање"
msgid "Control the visibility of the Hibernate menu item"
msgstr "Управља видљивошћу ставке изборника замрзавања"
#: ../extensions/apps-menu/extension.js:37
#: ../extensions/apps-menu/extension.js:39
msgid "Activities Overview"
msgstr "Преглед активности"
#: ../extensions/apps-menu/extension.js:95
#: ../extensions/apps-menu/extension.js:113
msgid "Favorites"
msgstr "Омиљено"
#: ../extensions/apps-menu/extension.js:189
#: ../extensions/apps-menu/extension.js:278
msgid "Applications"
msgstr "Програми"
@@ -246,12 +246,16 @@ msgid "When to group windows"
msgstr "Када груписати прозоре"
#: ../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\" and \"always\"."
msgid ""
"Decides when to group windows from the same application on the window list. "
"Possible values are \"never\" and \"always\"."
"Possible values are \"never\", \"auto\" and \"always\"."
msgstr ""
"Одређује када ће бити груписани прозори истог програма у списку прозора. "
"Дозвољене вредности су „never“ (никад) и „always“ (увек)."
"Дозвољене вредности су „never“ (никад), „auto“ (аутоматски) и „always“ "
"(увек)."
#: ../extensions/window-list/prefs.js:30
msgid "Window Grouping"
@@ -262,6 +266,10 @@ msgid "Never group windows"
msgstr "Никад не групиши прозоре"
#: ../extensions/window-list/prefs.js:50
msgid "Group windows when space is limited"
msgstr "Групиши прозоре када је простор ограничен"
#: ../extensions/window-list/prefs.js:51
msgid "Always group windows"
msgstr "Увек групиши прозоре"

View File

@@ -8,16 +8,16 @@ msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2013-02-20 11:19+0000\n"
"PO-Revision-Date: 2013-02-20 12:19+0200\n"
"POT-Creation-Date: 2013-04-19 19:12+0000\n"
"PO-Revision-Date: 2013-05-14 18:48+0200\n"
"Last-Translator: Miroslav Nikolić <miroslavnikolic@rocketmail.com>\n"
"Language-Team: Serbian <gnom@prevod.org>\n"
"Language: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : n"
"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : "
"n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Project-Style: gnome\n"
#: ../data/gnome-classic.desktop.in.h:1
@@ -86,15 +86,15 @@ msgstr "Uključuje zamrzavanje"
msgid "Control the visibility of the Hibernate menu item"
msgstr "Upravlja vidljivošću stavke izbornika zamrzavanja"
#: ../extensions/apps-menu/extension.js:37
#: ../extensions/apps-menu/extension.js:39
msgid "Activities Overview"
msgstr "Pregled aktivnosti"
#: ../extensions/apps-menu/extension.js:95
#: ../extensions/apps-menu/extension.js:113
msgid "Favorites"
msgstr "Omiljeno"
#: ../extensions/apps-menu/extension.js:189
#: ../extensions/apps-menu/extension.js:278
msgid "Applications"
msgstr "Programi"
@@ -246,12 +246,16 @@ 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\" and \"always\"."
msgid ""
"Decides when to group windows from the same application on the window list. "
"Possible values are \"never\" and \"always\"."
"Possible values are \"never\", \"auto\" and \"always\"."
msgstr ""
"Određuje kada će biti grupisani prozori istog programa u spisku prozora. "
"Dozvoljene vrednosti su „never“ (nikad) i „always“ (uvek)."
"Dozvoljene vrednosti su „never“ (nikad), „auto“ (automatski) i „always“ "
"(uvek)."
#: ../extensions/window-list/prefs.js:30
msgid "Window Grouping"
@@ -262,6 +266,10 @@ msgid "Never group windows"
msgstr "Nikad 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 "Uvek grupiši prozore"