Commit Graph

16513 Commits

Author SHA1 Message Date
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
Dan Winship
4117739abb Don't do window transitions while the overlay is active. Part of #568983.
Previously we were only doing this check for switch-workspace, but it
makes sense to do it for all transitions, since they won't be visible
anyway, and they might interfere with the overlay's operations by moving
windows around unexpectedly.

svn path=/trunk/; revision=177
2009-02-03 18:25:34 +00:00
Dan Winship
87a3088719 sort imports consistently; everything-but-our-javascript, alphabetically,
then a blank line, then all of our javascript, alphabetically

svn path=/trunk/; revision=176
2009-02-02 23:02:16 +00:00
Owen Taylor
18503ed28f Improve dependency checking for gnome-build-setup.sh
- Check for curl upfront to avoid problems if it is missing later
- Sync up Debian and Fedora depedency lists
- Add readline dependency

Patch from timbobsteve
http://bugzilla.gnome.org/show_bug.cgi?id=570015

svn path=/trunk/; revision=175
2009-02-02 22:22:00 +00:00
Dan Winship
489f3306e6 Fix a crash deleting a workspace, and another crash if the user tries to
select a workspace after deleting it.

svn path=/trunk/; revision=174
2009-02-02 20:54:33 +00:00
Dan Winship
f35ee1a5a0 oops, remove Workspace._makeDesktopRectangle, it's unused now
svn path=/trunk/; revision=173
2009-01-29 21:25:35 +00:00
Dan Winship
5def603e86 Move window clone functionality into its own class
svn path=/trunk/; revision=172
2009-01-29 21:21:50 +00:00
Dan Winship
7ca77dccc9 Do window dragging in the stage, not in the original workspace's actor
svn path=/trunk/; revision=171
2009-01-29 21:21:23 +00:00
Dan Winship
54337ee6a9 Two dragging-related fixes
- Don't let the user grab a moving window or we'll get dueling tweens.
    - Update _overlappedMode each time _positionWindows is called

svn path=/trunk/; revision=170
2009-01-29 21:20:37 +00:00
Dan Winship
a80c18bc4e Use BigBox rather than TidyGrid to organize the panel. #568712
svn path=/trunk/; revision=168
2009-01-27 20:29:37 +00:00
Dan Winship
3a84625888 Make a ClutterActor subclass that wraps a GtkWindow, and use it for the tray.
In particular, this lets us track the actor's location better; the old code
didn't work if the actor was put into a container that got moved around.
Part of #568712.

svn path=/trunk/; revision=167
2009-01-27 20:29:17 +00:00