Commit Graph

210 Commits

Author SHA1 Message Date
Giovanni Campagna
b907e44fdf windowsNavigator: update for gnome-shell changes
Update for the new way to layout window overlays
2013-02-04 23:52:17 +01:00
Giovanni Campagna
032233cf9d native-window-placement: update for gnome-shell changes
Update to the new way to layout window overlays, which requires
setting a slot on the clone, and update to the new padding setting
for the window picker, including a custom style to avoid placing titles
outside the clip area.
2013-02-04 23:52:17 +01:00
Florian Müllner
443837e09d alternate-tab: Update to Shell API change
Main.KeybindingMode is now Shell.KeyBindingMode ...
2013-02-04 17:05:36 +01:00
Debarshi Ray
9211fa4409 apps-menu: Replace it with a new version based on AxeMenu
This is a severely toned down version of the original AxeMenu:
 - the column on the left has been removed, because it duplicates
   functionality provided by the places-menu and the user menu
 - the application search functionality has been removed because it
   is already provided by vanilla gnome-shell
 - the "All" category ended up being too crowded and has been replaced
   by "Favorites", so there is no separate page for it any more

https://bugzilla.gnome.org/show_bug.cgi?id=692527
2013-01-30 16:15:32 +01:00
Florian Müllner
5d37b39ce5 places-menu: Design update
After review from the design team, the following changes were requested:
 - use a "Places" label instead of a symbolic icon in the top bar
   (as in GNOME 2)
 - move places icons in front of the name (as in Nautilus)
 - use menu separators between sections instead of section titles

https://bugzilla.gnome.org/show_bug.cgi?id=692027
2013-01-19 00:08:27 +01:00
Gabriel Rossetti
b673e1624a launch-new-instance: New extension
https://bugzilla.gnome.org/show_bug.cgi?id=692030
2013-01-18 23:36:29 +01:00
Florian Müllner
61f86a3f29 alternate-tab: Re-use window-switcher in gnome-shell
gnome-shell now provides its own traditional window switcher using
a dedicated keybinding, so update the extension to just take over
the default application-based switchers as well.

https://bugzilla.gnome.org/show_bug.cgi?id=689724
2012-12-11 07:40:40 +01:00
Florian Müllner
0fed304f79 static-workspaces: New extension
Just as the default-min-max extension, this extension reverts a
gnome-shell override and is meant to be used in classic mode.

https://bugzilla.gnome.org/show_bug.cgi?id=689739
2012-12-11 05:29:47 +05:30
Giovanni Campagna
9900ae19dc Revert "Remove alternate-tab extension"
This reverts commit 0b7c3e3dbb.
Pushed by mistake, and we actually want the alternate-tab extension,
just in a different form.
2012-12-11 00:10:17 +01:00
Giovanni Campagna
0b7c3e3dbb Remove alternate-tab extension
It's in core shell now! Just replace the switch applications keybinding
with switch windows in the keyboard panel.
2012-12-10 23:00:46 +01:00
Debarshi Ray
ad542d2f77 default-min-max: New extension
Adds minimize and maximize buttons to the titlebar by default. It
restores org.gnome.desktop.wm.preferences as the schema to be used for
the button-layout key.

It is included in classic-mode.

https://bugzilla.gnome.org/show_bug.cgi?id=689275
2012-11-30 18:50:14 +01:00
Giovanni Campagna
2a64ee6993 alternative-status-menu: flip the default hibernate option
Many people complained that they can't make hibernate visible. Given
that using gsettings with extensions is not easy (you need --schemadir etc.),
just flip the default, and tell people that don't want it to change it
(or just core shell)
2012-11-20 16:37:20 +01:00
Giovanni Campagna
9d9ef27317 WindowsNavigator: fix with recent shell
Recently WindowsNavigator would just crash the shell upon entering
the overview. I'm not sure where the bug was, probably it was due to
the new window layout code.
2012-11-20 16:37:20 +01:00
Giovanni Campagna
785656d149 alternate-tab: don't show attached modal dialogs
Attached modal dialogs cannot be focused on their own, so the expected
interaction is to choose their parent instead.
2012-11-20 16:37:20 +01:00
Giovanni Campagna
f8ee696c7c alternate-tab: port to the new keybindings infrastructure
Keybindings were refactored in 3.7.2, to allow handling them
while the shell is modal, and now require a set of flags indicating
the "allowed modes"
2012-11-20 16:37:20 +01:00
Giovanni Campagna
9b04e6f44c PlacesMenu: ignore missing local bookmarks
If a local bookmark does not refer to an existing directory, ignore
it instead of showing a broken entry.
2012-11-16 20:29:56 +01:00
Giovanni Campagna
315aa82d15 PlacesMenu: support historical location for bookmarks file
Ubuntu is shipping with Nautilus 3.4 in 12.10, so the bookmarks file
was not moved to .config/gtk-3.0.
2012-11-16 20:29:51 +01:00
Giovanni Campagna
0bc41bcb1d native-window-placement: fix disabling the extension
The monkey patch was being reinstalled under the wrong name.
2012-11-11 19:26:56 +01:00
Giovanni Campagna
880758e470 PlacesMenu: don't fail for GIO errors getting the file name
Different GIO backends can fail in different ways trying to query
file infos. If that's the case, fail back to safe get_basename()
instead of crashing.
2012-11-07 17:43:17 +01:00
Giovanni Campagna
bfe7a760d1 NativeWindowPlacement: reduce the number of hacks to work better with 3.7.1
3.7 is brought some big changes in the window layout code, but I'm not
going to take advantage of them (as the assume some sort of row based layout).
Instead, just work around them in a way that makes the extension work
without major issues.
2012-10-26 17:20:41 +02:00
Giovanni Campagna
0d932f4b24 alternative-status-menu: update for 3.7
gnome-shell uses logind for suspending now. Take the occasion to
do some cleanups as well.
2012-10-26 17:20:41 +02:00
Giovanni Campagna
6c1dbe1ee1 places-menu: don't crash if a special directory or mount doesn't exists
Under broken configurations, it is possible that a special directory
is configured but does not exist. In that case, just skip the menu item
altogheter.
2012-10-26 17:20:41 +02:00
Giovanni Campagna
987409b742 Remove dock and gajim extensions from the repository
They're buggy, unmaintained, and nobody stepped up to fix them.
See full rationale at
https://mail.gnome.org/archives/gnome-shell-list/2012-August/msg00132.html

Anyone who's unhappy with this decision, please contact me and we
can arrange co-maintainership or ownership transfer.
2012-10-16 16:22:45 +02:00
Giovanni Campagna
dfcff4b297 DriveMenu: make it independent of PlacesDisplay
That module was removed from GNOME Shell 3.6, so reimplement for mounts
only, borrowing code and behaviour from the resident message tray source.
2012-10-08 19:42:28 +02:00
Giovanni Campagna
fa2840aee3 alternative-status-menu: fix for 3.6
Code was still refererring to the external screensaver instead of
activating the screenshield.
I feel like a genius for writing both modules and not noticing this
until after 3.6.0.
2012-10-08 19:09:13 +02:00
Giovanni Campagna
e48e1d0a38 alternate-tab: fix a warning about passing 0 to source_remove 2012-10-07 02:08:55 +02:00
Giovanni Campagna
39c221775e places-menu: recognize if apps-menu is present, and place to the right of it
If apps-menu is enabled at the same time as places-menu, the right order
is activities, apps-menu, places-menu, app-menu. Previously we used the
extension activation order to obtain this, but it's not reliable enough,
so make it explicit in code.
2012-09-06 19:41:13 +02:00
Giovanni Campagna
eda45e6072 places-menu: rework to be more similar to the Files sidebar
Let's go GNOME 3 style, and make a places menu that looks like the sidebar
in Files, with for subsections corresponding to default places, devices,
bookmarks and network mounts.
Among other things, this should fix the duplicate home or duplicate desktop
bookmark problem (as now we don't bookmarks that are same as the default
locations), and it makes us future proof for the removal of PlacesManager
in core shell.
2012-09-06 19:41:10 +02:00
Giovanni Campagna
fdad0263ec various: update for gnome-shell changes
The panel changed the way it builds the buttons outside the system
status area.
- Update alternative-status-menu to the new way of accessing panel
  contents.
- Update apps-menu to the new way of adding items to the panel.
- Move places-menu to the left now that it is possible without hacks.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
c5181cda46 alternate-tab: make the highlight square again
Fixes a regression from a78a16b4a7
2012-09-05 00:50:35 +02:00
Giovanni Campagna
6a74326a61 place-menu: use symbolic icons for places
This makes us more consisten with the other menus and with the sidebar
in Files.
Also, reduce the icon size to 16px, same as the other menus.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
48d4956ee0 Port all extensions to the new symbolic icon handling
St.IconType was removed from master, St.Icon users are expected to add '-symbolic'
themselves.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
0ab46d5c70 xrandr-indicator: port to 2012
Someone left this poor extension in the last century.
Port to GDBus, port to Lang.Class, port to addSettingsAction, port to new
symbolic icon handling.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
cd7d9aa2a4 Auto-move-windows: don't manage workspaces if they're not dynamic
The workspace management done by auto-move-windows is semi-dynamic,
in that it collects empty workspaces at the end, and ensures there
is always one free.
This is undesirable when the user explicitly choose static
workspaces in the tweak tool or in dconf-editor.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
ea3d27c311 SystemMonitor: left align the indicator container
MessageTray.actor now has ClutterBinLayout layout manager, so we need
to tell it esplicitly where to place us.
2012-09-05 00:50:35 +02:00
Giovanni Campagna
d1d099fbbf alternate-tab: don't crash if a window is not associated with an app
A dialog for which the parent application is closed may end up without
an app. In that case, show only the thumbnail, or if showing icons only,
show a missing icon.
2012-08-29 02:05:02 +02:00
Giovanni Campagna
45da997dd3 alternate-tab: don't assume that at least two windows exist
Initial selection would go out of the array bounds if only one window
existed.
2012-08-29 02:05:02 +02:00
Giovanni Campagna
5ca52e89d5 windowsNavigator: update for gnome-shell changes
The ViewSelector was refactored for modekill feature. Update
accordingly.
2012-08-22 16:19:33 +02:00
Giovanni Campagna
dd26111c04 systemMonitor: add tooltips to the indicators
Currently it's hard to find what the indicator mean, without any
label. Add a tooltip, shamelessly copied from js/ui/dash.js in
core shell.
2012-08-22 16:13:52 +02:00
Giovanni Campagna
f40e7109e5 systemMonitor: update for gnome-shell changes
gnome-shell 3.5.90 has a new, bigger, message-tray. Restyle the
systemMonitor appropriately to blend in.
2012-08-22 16:13:52 +02:00
Giovanni Campagna
5cb3e1877a native-window-placement: update for gnome-shell changes
Workspace.positionWindows semantics changed, so the function
we want to override is now _realPositionWindows.
2012-08-22 16:13:52 +02:00
Giovanni Campagna
a78a16b4a7 alternate-tab: respect aspect ratio for window thumbnails
It is weird if 16:9 thumbnails get turned into squares. Instead,
center them.

https://bugzilla.gnome.org/show_bug.cgi?id=656217
2012-08-22 15:35:33 +02:00
Giovanni Campagna
fb3df46a25 alternate-tab: rework again
Kill the mode switch distinction, and kill the old and unmaintained
Workspace&Icons mode.
Introduce instead configurability for the All&Thumbnails code, which
now independently allows choosing if only all windows or only those
from current workspace should be shown, and in which way (thumbnail,
icon, both).
All configuration settings changed, so the extension must be configured
again (although hopefully I chose reasonable defaults)
2012-08-18 02:40:20 +02:00
Giovanni Campagna
5e89c761ca alternate-tab: show an application icon overlaid to the thumbnails
In All&Thumbnails mode, show an application icon above the thumbnail,
for easier recognition of the window.
The old behaviour can be restored in the preferences dialog.
2012-08-07 23:22:25 +02:00
Giovanni Campagna
d12307991a alternate-tab: refactor All & Thumbnails
Split the two modes in two different modules, for easier maintenance.
Refactor the AllThumbnails code completely, by copying relevant
or useful code for gnome-shell directly instead of hacking around
it.
2012-08-07 23:22:19 +02:00
Giovanni Campagna
dd9b47e51e native-window-placement: fix undefined variable warning 2012-06-08 14:02:00 +02:00
Giovanni Campagna
279dd348e4 alternative-status-menu: update for current mockups
Core shell changed the user menu so that Power Off is no longer at
the end, and it's no longer hidden by Alt. Update the extension
so that it blends nicely with the core behavior, while still exposing
Suspend/Hibernate/Power Off as separate menu items.
2012-06-08 13:59:50 +02:00
Alejandro Piñeiro
338f742310 a11y: setting labels for Removable Drive Menu extension
This includes:
 * A proper name for the menu (using when exploring the top panel)
 * A proper label for each device item

https://bugzilla.gnome.org/show_bug.cgi?id=677228
2012-06-04 09:48:06 +02:00
Jasper St. Pierre
6e946fe702 drive-menu: Update to work with GNOME Shell git
https://bugzilla.gnome.org/show_bug.cgi?id=677289
2012-06-02 05:11:36 -04:00
Jasper St. Pierre
dca49d662d places-menu: Update to work with GNOME Shell git
https://bugzilla.gnome.org/show_bug.cgi?id=677289
2012-06-02 05:11:36 -04:00