Commit Graph

45 Commits

Author SHA1 Message Date
Giovanni Campagna
03660f45b1 drive-menu: do nothing if the drive is has no volume
If the drive is not partitioned, or the volume has not appeared yet,
return early from activate, to avoid an exception.
2011-05-12 19:40:52 +02:00
Giovanni Campagna
1a00ee38fe native-window-placement: make placement strategy a setting
Now it is possible to use GSettings to configure the placement
strategy (natural KDE-like or default grid) and whether to consolidate
the windows more tigthly, as well as the position of the window
captions.
2011-05-12 19:35:55 +02:00
Giovanni Campagna
2d1e3560b3 native-window-placement: update coding style and indentation
Mostly a whitespace patch, plus the removal of some commented out
code.
2011-05-12 18:58:30 +02:00
Giovanni Campagna
f24365520c New extension: native-window-placement
This extension employs an algorithm (taken from KDE) for layouting
the thumbnails in the overview that more closely reflects the positions
and relative sizes of the actual windows, instead of using a fixed
grid.
2011-05-12 18:42:53 +02:00
Giovanni Campagna
bfd107cef0 xrandr-indicator: require the right gjs version
xrandr-indicator makes the whole shell crash if the right gjs
features are missing, but instead of asking not to install it, we
can use gjs versioning.
2011-05-12 18:32:06 +02:00
Maxim Ermilov
30273d09df systemMonitor: new extension
https://bugzilla.gnome.org/show_bug.cgi?id=634080
2011-05-11 00:42:37 +04:00
Giovanni Campagna
b20cba35a8 places-menu: don't show "removable drives" if none is attached
Having an empty submenu is weird, it's better to hide it completely
in that case.
Plus a bunch of whitespace fixes.
2011-05-04 16:29:22 +02:00
Vamsi Krishna Brahmajosyula
a78e42e4fc New Extension: Places Menu Status Indicator
Signed-off-by: Vamsi Krishna Brahmajosyula <vamsikrishna.brahmajosyula@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=648724
2011-05-04 16:10:32 +02:00
Elad Alfassa
268fd462ac Support globally installed themes
If a theme cannot be found in the user directory, try in system
data dirs (XDG_DATA_DIRS, usually /usr/share and /usr/local/share)

Signed-off-by: Giovanni Campagna <gcampagna@src.gnome.org>
2011-05-02 18:31:19 +02:00
Giovanni Campagna
d942e255f7 user-theme: fix resetting theme to null
Previously null stylesheets were ignored, making it impossible to
reset the default. We still need to filter out invalid (non existing)
stylesheets, as no check is performed by shell code.
2011-05-02 18:07:39 +02:00
Giovanni Campagna
6756ad4630 StatusMenu: update to latest GNOME Shell API
The hook to access the status menu was changed in panel.js. Also
replace the alternating menu item with two separate menu items (which
side-steps bug 643631) and use own translations instead of those
provided by gnome-shell (so Hibernate is translated)
2011-04-26 15:35:44 +02:00
Giovanni Campagna
2df002955e New extension: Removable Drive Menu
Adds a menu in the system status area that tracks removable disk devices
attached and offers to browse them and eject/unmount them.

https://bugzilla.gnome.org/show_bug.cgi?id=647027
2011-04-26 01:21:53 +02:00
Giovanni Campagna
0ce994ba46 Revert "Mark extensions that require only public API"
This reverts commit 6cd9530862, and
reopens development againts GNOME Shell master. Time for 3.2!
2011-04-26 01:17:23 +02:00
Giovanni Campagna
6cd9530862 Mark extensions that require only public API
Extensions that use public Shell API are expected to work for all
stable 3.0 releases, so we skip setting the minor version. (This
means that they'll work in 3.0.0 and 3.0.1 without rebuilding).
Notably absent are auto-move-windows and windowsNavigator, that
hook deep into Shell code and could be broken by next minor release.
2011-04-05 16:42:48 +02:00
Philippe Normand
6edb1c7c60 new gajim extension. Requires gajim-nightly >= 20110326
https://bugzilla.gnome.org/show_bug.cgi?id=645760
2011-04-01 18:36:56 +02:00
Maxim Ermilov
0ecccc7868 windowsNavigator: correct restore focus
previously it conflict with runDialog
2011-03-26 18:48:26 +03:00
Maxim Ermilov
e0f27e9496 windowsNavigator: fix work with 2.91.92 on multimonitor 2011-03-26 18:48:22 +03:00
Giovanni Campagna
223e934ba9 AlternativeStatusMenu: fix power off string
Make it "Power Off...", not "Power off...", so it's picked from
gnome-shell translations.
2011-03-23 16:46:50 +01:00
Giovanni Campagna
a4d7a4eba4 User Themes: don't load a null stylesheet
If the stylesheet is not set, or it cannot be found, don't try to
load it.
2011-03-19 18:21:27 +01:00
Maxim Ermilov
3825069e52 windowsNavigator: support current gnome-shell
workspace._getVisibleClones was removed.
2011-03-13 00:47:10 +03:00
Giovanni Campagna
064a4c5891 Add Alternative Status Menu extensions
For those who just cannot understand the design behind current
status menu, and want a power off item visible at all the time.
Adds the ability to hibernate as well.
2011-03-12 22:10:23 +01:00
John Stowers
c828d09539 Remove backup file from git 2011-03-11 13:46:17 +13:00
John Stowers
27a1714f37 Add user-theme extension
https://bugzilla.gnome.org/show_bug.cgi?id=644271
2011-03-11 13:12:27 +13:00
Giovanni Campagna
984e755ee6 Dock: lower the actor to the bottom
Unless overridden manually, Clutter places actors at the top, which
means the dock is painted above both the status menu and summary
notifications.
2011-02-26 16:43:15 +01:00
Giovanni Campagna
fbbe5ba764 Add url property in the metadata
GNOME Shell emits a warning when "url" is absent in metadata.json,
adding it costs nothing. Links to the GIT repository because I
found no better page to reference.
2011-02-26 16:41:52 +01:00
Giovanni Campagna
4e12738df2 AutoMoveWindows: override Main._checkWorkspace
Modify workspace management to only remove empty workspaces at end,
which is more consistent with a fixed workspace layout.
Also, some whitespace cleanup.

Patch provided by Thomas Bouffon <thomas.bouffon@gmail.com>
2011-02-23 19:00:39 +01:00
Giovanni Campagna
349d1f5e52 AlternateTab: make it work with the mouse.
Patch provided by Thomas Bouffon <thomas.bouffon@gmail.com>
2011-02-23 18:22:08 +01:00
Giovanni Campagna
b289b0fdee Dock: more fixes for 2.91.6
Fix the behavior of the PopupMenu after the conversion of
St.Clickable to St.Button, and fix the invocation of ShellApp.open_new_window(),
which now accepts a workspace index as a number (as a side effect,
"New window" means one the current workspace now).
2011-02-20 18:42:30 +01:00
Giovanni Campagna
e7c2d2c277 auto-move-windows: fix off-by-one error
The internal workspace index starts from 0, but the one in the
settings starts from 1.
2011-02-20 18:41:47 +01:00
Giovanni Campagna
f92addbbf6 Minor fixes
Fix the translation of xrandr-indicator, make the dock translatable
and correct the original author of auto-move-windows.
2011-02-20 17:50:40 +01:00
Giovanni Campagna
53384f9eaf AutoMoveWindows: try harder to get an application for a window
First of all, remove windows that are not interesting (like popup
menus and tooltips). Then, queue once an idle if the app is null,
in the hope that ShellWindowTracker picks up the window.
2011-02-19 20:33:51 +01:00
Giovanni Campagna
e12ff1b6f9 Dock: remove commented out code
It is all in GIT history now.
2011-02-19 20:33:22 +01:00
Giovanni Campagna
586d72f1fe Add dock extension
Add an extension which shows a dock on the right, contributed by
Tor-björn Claesson.
2011-02-19 20:31:03 +01:00
Giovanni Campagna
7a4e22feec Build system: fix, and make quieter
Fix for make distcheck.
At the same time, use silent rules when expanding metadata.json.
2011-02-19 18:54:57 +01:00
Giovanni Campagna
b730d7f97e XrandrIndicator: update for API change in GnomeRR
The API in GnomeRR was changed when it was merged, and noone ever
noticed in this extension.
2011-02-19 18:49:46 +01:00
Giovanni Campagna
ecd7c1754d AutoMoveWindows: new extension
Introduce a new extensions that allows to manage your workspaces
more easily, assigning a specific workspace to each application,
as soon as it creates a windows, in manner configurable with a
GSettings key.
2011-02-19 18:39:38 +01:00
Giovanni Campagna
2962768a6f Make extensions translatable
Introduce a translation domain, gnome-shell-extensions, and use it
in extensions that have user-facing strings, instead of abusing
of translations provided by gnome-shell.
Also includes an example translation for italian, and bump the
required version for xrandr-indicator.

Depends on GNOME bug 621017.
2011-02-07 23:06:33 +01:00
Giovanni Campagna
aaf2057725 Build system: generate metadata.json
Instead of hardcoding metadata.json, generate it from .in files,
adding installation prefixes, current target version and configured
uuid.
2011-02-07 22:52:42 +01:00
Giovanni Campagna
1dc3866aa3 Update for new GNOME Shell release
Mark that all published extensions support 2.91.6
2011-02-01 21:52:26 +01:00
Maxim Ermilov
1f2b0d0ec5 windowsNavigator: Allow keyboard selection of windows and workspaces in overlay mode
Bind alt-[1,2,3..9]  "switch window on current workspace"
Bind ctrl-[1,2,3..9]  switch workspace
https://bugzilla.gnome.org/show_bug.cgi?id=601393
2011-01-19 00:47:26 +03:00
Giovanni Campagna
ef663f3f0c AlternateTab: remove more unused code
Thomas said it is not needed, so just let it disappear.
2011-01-12 21:32:26 +01:00
Giovanni Campagna
cbba2678c4 XRandRIndicator: new extension
Replace the GTK+ based indicator from gnome-settings-daemon with
a native one. Allows to rotate the laptop monitor and to fast open
display preferences.
Depends on bug 621017.
2011-01-12 21:07:58 +01:00
Giovanni Campagna
4604a9c4a8 AlternateTab: coding style fix
Fix white space, and remove commented out code (it is in the history
now).
2011-01-12 19:40:07 +01:00
Giovanni Campagna
953bc0bfab AlternateTab: new extension
A new extension, originally developed by Thomas Bouffon,
allows to use classic AltTab (window based instead of app based)
in GNOME Shell.
Tested with 2.91.5
2011-01-12 19:19:49 +01:00
Giovanni Campagna
ec6bbef28a Initial commit.
Creating the standard Autotools infrastructure and adding the
first extensions (the Hello, World! provided by the wizard).
2011-01-12 18:07:35 +01:00