Commit Graph

16023 Commits

Author SHA1 Message Date
Marina Zhurakhinskaya
b39bc62171 Destroy workspaces background when exiting overlay mode
Otherwise, we kept adding new backgrounds which was breaking the overlay mode when it was re-entered.
2009-02-25 14:01:39 -05:00
Marina Zhurakhinskaya
009a8b3a04 Connect to 'text-changed' signal in the overlay search box
Replace connecting to 'notify::text' in the overlay search box
by connecting to 'text-changed' signal made available by ClutterText in Clutter 0.9.
2009-02-25 13:31:41 -05:00
Marina Zhurakhinskaya
95c87f87fa Bug 573078 – Add better transitions when expanding the item displays
Add black backgrounds to each item display, as well as a black
background with a full-screen height to the workspaces display.

Update the expanded item display up front when 'More...' is clicked, and
reveal the additional items gradually when the other components of the overlay
slide away.

Raise the documents display up gradually as the applications display above it slides away.

Reverse the process when 'Less...' is clicked. First, gradually cover up additional items by other components, and then update the displays to contain fewer items.
2009-02-25 13:23:12 -05:00
Colin Walters
629c35bd2a Only try to kill gnome-panel if it's running
This avoids crashing if it's not.
2009-02-25 12:54:14 -05:00
Dan Winship
54a9b5ae4e Move LIBGL_ALWAYS_INDIRECT code to the right place 2009-02-24 14:59:32 -05:00
Dan Winship
c67289fa2c Update Fedora deps (Bug 572053) and reorganize/improve in general
Package checking now happens first, and checking for "curl" (and other
packages needed by the script itself) happens at the same time. I
tried to extract out a genericized list of what packages are needed,
and then reordered the packages for each distro to make it clear which
distros are missing some of the required packages in their lists
(currently, everything except Fedora)
2009-02-24 13:05:13 -05:00
Dan Winship
67092f807e Fix setting of LIBGL_ALWAYS_INDIRECT
(Previous commit mistakenly only set it in verbose mode due to a cut and
paste error.)
2009-02-23 16:45:38 -05:00
Dan Winship
0763f5bc42 Replace start-in-Xephyr/start-replace with a new single "gnome-shell" script
The new script runs in "replace" mode if you pass --replace, or if there
isn't already a panel running, and in "Xephyr" mode otherwise.
2009-02-23 16:16:20 -05:00
Owen W. Taylor
1fe32e30f5 Improve font appearance
- Force off text mipmapping - it isn't useful to us and causes
  problems with old (pre-GEM) Intel drivers.
- Set Pango font options explicitly to enable font hinting.
2009-02-23 14:53:18 -05:00
Owen W. Taylor
0f7abf96a7 Port to Clutter-0.9
tools/build/gnome-shell.modules: Point  at master branch of Clutter (0.9)
  and make gobject-introspection a dep of Clutter.
configure.ac src/Makefile.am: Use Clutter-0.9
js/ui/button.js js/ui/genericDisplay.js js/ui/overlay.js js/ui/panel.js
js/ui/runDialog.js js/ui/workspaces.js src/shell-status-menu.c:
  Use ClutterText instead of ClutterLabel and ClutterEntry
js/ui/workspaces.js js/ui/genericDisplay.js: Use ClutterClone instead
  of ClutterCloneTexture
src/shell-global.[ch]: Add Shell.get_event_key_symbol() to workaround
  unaccessibility of clutter_key_event_symbol() to use.
js/runDialog.js js/overlay.js: Use Shell.get_event_key_symbol() as
  appropriate.
2009-02-23 14:53:06 -05:00
Owen W. Taylor
6719c00f8a When centering, round to integer positions
Positioning actors at non-integer positions produces bad looking
text. Therefore, do centering as x + round((a-b)/2) rather than
x + (a-b)/2. (This does mean that centering will be less accurate
if an actor is scaled up by a lot, but it's pretty reasonable
to assume that scaling only occurs during an effect and static
displays are unscaled.)
2009-02-23 14:02:16 -05:00
Owen W. Taylor
f90523288d Port BigBox to Clutter-0.9
- include only <clutter/clutter.h>
- cogl_rectangle() takes x1/y1/x2/y2 instead of x/y/width/height
- cogl_color() renamed to cogl_set_source_color4ub()
- use explicit CoglMaterial in BigRectangle to combine a texture
  and a color.
- Remove defensive calls to cogl_enable(0) - cogl_enable() no
  longer exists (enable flags are part of the material)
- Use ClutterCairoTexture actor (from Clutter) rather than ClutterCairo
2009-02-23 14:02:16 -05:00
Owen W. Taylor
902c29aa0c Change TidyGrid to just include clutter/clutter.h
Including individual headers no longer works with Clutter-0.9.
2009-02-23 14:02:16 -05:00
Owen W. Taylor
d61401429e Remove the parts of Tidy that we aren't using
Remove TidyButton/TidyFrame and the utility classes they use.
We aren't using them and this avoids porting them to Clutter-0.9.
2009-02-23 14:02:16 -05:00
Marina Zhurakhinskaya
333fa611da Bug 572094 - Put sideshow sections into boxes, enable expanded item display for documents
Put sideshow sections into boxes so that we can slide them out with a single 'easeOutQuad' transition.

Handle expanding the documents section in the same fashion as we handle expanding the applications section.

Place "More..." labels inside Big Boxes with x_align set to Big.BoxAlignment.END so that we don't have to position them manually.
2009-02-20 11:57:30 -05:00
Marina Zhurakhinskaya
87f50c3f42 Fix up triggering search in the overlay.
Make sure to set this._searchQueued to true, so that we don't queue the search twice.

Remove an unused variable.
2009-02-20 11:53:25 -05:00
Jonathan Matthew
0eb4873ba0 Bug 572384 - can't select windows that are on all workspaces in the overlay
Workspace._onCloneSelected doesn't need to ask the window which
workspace it's on, it can just use its own workspaceNum field.
2009-02-20 00:02:49 +10:00
Colin Walters
7b2d333b2e Remove extraneous trailing paren accidentally introduced by c3c46786 2009-02-17 15:15:01 -05:00
Colin Walters
aaa846da17 Bug 571313 - Refocus search field every time overlay is shown
Before the run dialog was changing the focus, but because we were
only setting it once, we ended up with nothing focused after the run
dialog was destroyed.
2009-02-17 12:59:00 -05:00
Colin Walters
c3c4678635 Bug 571651 - Bind Alt-F1 to overlay
Previously it was bound to main menu, bind it to the overlay now.
2009-02-17 11:39:50 -05:00
Colin Walters
ac286a7722 Merge branch 'master' of ssh://walters@git.gnome.org/git/gnome-shell 2009-02-17 11:38:25 -05:00
Dan Winship
3d152f9c17 Fix the initial workspaces setup code. #571091
mutter_plugin_get_windows() returns NULL at plugin-initialization time,
so we have to wait until idle time to figure out which workspaces are
being used and remove the unused ones.

http://bugzilla.gnome.org/show_bug.cgi?id=571091
2009-02-16 14:35:18 -05:00
Frederic Crozat
2a57080756 Add mesa-demos dependency on Mandriva for glxinfo 2009-02-13 21:12:25 +01:00
Frederic Crozat
2a031b3a21 Add flex bison GL-devel zenity intltool for Mandriva packages 2009-02-13 21:03:16 +01:00
Colin Walters
9da734706c Add --sync option to enable X synchronization
This is useful for debugging.
2009-02-13 14:40:52 -05:00
Frederic Crozat
bb1d1cc48d Add more packages for Mandriva build and really call urpmi 2009-02-13 18:53:54 +01:00
Frederic Crozat
978fe62e3e Add support for Mandriva Linux 2009-02-13 18:21:51 +01:00
Owen W. Taylor
edcefc70aa Repoint modules for move to git.gnome.org
gobject-introspection, gir-repository, and gjs have moved to git; adjust
jhbuild moduleset accordingly.

Also remove example for setting your svn.gnome.org username since none
of the modules are there any more.
2009-02-12 18:04:05 -05:00
Colin Walters
85dae56a31 Bug 571203 - Handle spaces in overlay search
Previously we were stripping all whitespace.  Instead, just strip leading+trailing
whitespace, split the remaining search into individual terms which we search
for independently.

Items are grouped by the number of terms they match, then sorted
alphabetically.
2009-02-11 16:50:42 -05:00
Marina
2d3988c5fc Bug 570579: Redo the layout of overlay components
Divide the screen into a grid and use it to determine the layout of the overlay components in a more consistent manner.

Remove the 'Add workspace' control and slide the workspaces
display to the side without scaling it when switching to the 'More' mode.
2009-02-10 17:38:06 -05:00
William Lachance
de1c150f50 Add librsvg-devel to the OpenSuSE dependency list
librsvg-devel was missing from the OpenSuSE list, though on the
lists for other distros. Add it to the OpenSuSE list as well.
2009-02-10 15:32:02 -05:00
Dan Winship
11561fd902 Abstract drag-and-drop a bit and add application/recent document DND. #569717 2009-02-10 11:20:48 -05:00
Dan Winship
e79c776c2e Add a wrapper around tweener to do some extra integration
Automatically removes tweens on destroyed actors, and provides
additional "animation started/stopped" callbacks (eg, for tracking
whether or not to show window clone titles)
2009-02-10 11:20:39 -05:00
Colin Walters
7d474b2217 Bug 51081 - Add startup notification information for application launching
Set the event timestamp and icon in application launch context to
support startup notification.
2009-02-10 10:59:28 -05:00
Jonathan Matthew
6dd302e5ce Bug 570583: handle tweens being overwritten during window effects
Since tweener can't do multiple tweens on the same property, it
calls an overwrite callback for any existing tweens when a new
tween is added for the same property.  Here we use the overwrite
callback to tell mutter that the effects are done.
2009-02-10 12:06:00 +10:00
Dan Winship
fd69eeb87d Add .gitignore 2009-02-09 13:04:31 -05:00
William Lachance
191464e441 OpenSUSE support for gnome-shell-build-setup.sh 2009-02-09 12:19:28 -05:00
Colin Walters
e2b246a006 Bug 570641 - Use null input area when a GTK+ grab is operative
This ensures that any popup windows we create in process, such as
the user status menu, will get X events delivered even if the user clicks
on the stage input area.
2009-02-06 17:54:50 -05:00
Owen Taylor
9695f8f86e Update build scripts to reflect move of gnome-shell to git.gnome.org
gnome-shell-build-setup.sh jhbuildrc-gnome-shell: Download files from
 git.gnome.org/cgit rather than svn.gnome.org.

gnome-shell.modules: Point to the new location of gnome-shell

jhbuildrc-custom-example: Show how to configure non-anonymous accesss
 to git.gnome.org.

svn path=/trunk/; revision=189
2009-02-05 23:23:18 +00:00
Owen Taylor
e0241ad578 Fix start-replace for --wide addition to launcher.py
Don't look for options.wide when accept_geometry isn't passed to the
Launcher constructor.

(Reported by Achim Frase)

svn path=/trunk/; revision=188
2009-02-05 21:52:04 +00:00
Dan Winship
cc4325ea79 Add -w (widescreen) and --geometry options to start-in-Xephyr. #570580
svn path=/trunk/; revision=187
2009-02-05 15:35:23 +00:00
Colin Walters
153541841b Minor style fixes for status menu
svn path=/trunk/; revision=186
2009-02-04 22:40:26 +00:00
Colin Walters
34f5adc9c0 Ignore newly added non-overlay windows
This prevents e.g. the popup menu from statusmenu from appearing
as a toplevel window.

svn path=/trunk/; revision=185
2009-02-04 22:40:24 +00:00
Colin Walters
cd645af5ae Add Makefile missed in last commit, minor style tweak for statusmenu
svn path=/trunk/; revision=184
2009-02-04 18:49:54 +00:00
Colin Walters
b7a0a5e769 Merge branch 'statusmenu'
svn path=/trunk/; revision=183
2009-02-04 18:45:38 +00:00
Dan Winship
48e578ddaa Small fix for when a new window is added just before leaving the overlay
svn path=/trunk/; revision=182
2009-02-04 18:24:20 +00:00
Dan Winship
3392bef5c7 Call GenericDisplayItem's main actor '.actor' instead of '._group'.
As seen in #569717. Also fix up some indentation.

svn path=/trunk/; revision=181
2009-02-04 15:22:35 +00:00
Dan Winship
4850ea608f Track window adds/removes in the overlay. #568983
svn path=/trunk/; revision=180
2009-02-04 14:50:50 +00:00
Marina Zhurakhinskaya
e9826ecb45 Add a 'More' control to the applications display in the overlay
mode. When this control is clicked, documents display section slides down,
workspaces display slides to the side, and a multi-column applications view is
presented to the user. "More' control is replaced with a 'Less' control. When
the 'Less' control is clicked a default overlay view is restored.

Clean up positioning of the components of the overlay sideshow
and the items within generic item displays.


svn path=/trunk/; revision=179
2009-02-03 22:58:33 +00:00
Owen Taylor
5f5a41b54e Remove left-over comment
Remove comment in frame-ticker code about dynamically adjusting
FRAME_RATE - we no longer do that.

svn path=/trunk/; revision=178
2009-02-03 21:25:27 +00:00