Commit Graph

17843 Commits

Author SHA1 Message Date
Dan Winship
b3860314b2 load the GAppInfos at startup time rather than waiting until the overlay
is opened for the first time

svn path=/trunk/; revision=146
2009-01-13 20:45:54 +00:00
Dan Winship
fd83658c8d Remove unused workspaces at startup (since mutter uses the same gconf
prefs as metacity, we're likely to start out with 4 workspaces)

svn path=/trunk/; revision=145
2009-01-13 20:43:03 +00:00
Dan Winship
84cfdcd244 update default apps list a little more: remove evince, totem, file-roller,
which you don't launch on their own, only with a document

svn path=/trunk/; revision=144
2009-01-13 20:07:57 +00:00
Marina Zhurakhinskaya
849ddbd3f6 Display thumbnails of recent files in the overlay mode by using GnomeThumbnailFactory to get them. Fall back to the system icon for the file type provided by GtkRecentInfo when a thumbnail is not available.
svn path=/trunk/; revision=143
2009-01-09 01:09:35 +00:00
Owen Taylor
1e99f00e59 Pass the right 'this' to switchWorkspaceDone
switchWorkspaceDone was being called with the wrong 'this', causing
ShellWM.completed_switch_workspace() never to be called, causing stacking
order to get confused.

http://bugzilla.gnome.org/show_bug.cgi?id=567091

svn path=/trunk/; revision=142
2009-01-08 23:34:19 +00:00
Marina Zhurakhinskaya
4406943fd8 Check if the file still exists when displaying matches for the search.
Use get_modified() instead of get_visited() for GtkRecentInfo as get_modified() seems to reflect when the file was last modified or visted, while get_visited() stays the same as get_added(). See http://bugzilla.gnome.org/show_bug.cgi?id=567094

svn path=/trunk/; revision=141
2009-01-08 23:31:23 +00:00
Colin Walters
9bee44fe26 Bug 563394 - revert change to run overlay key in idle
This was likely a different bug, possibly the OOM after a period of time.
It seems reliable for me now without the idle.

svn path=/trunk/; revision=140
2009-01-07 22:19:46 +00:00
Jonathan Matthew
85c22e484d implement some basic window management effects. #563844
svn path=/trunk/; revision=139
2008-12-29 04:44:03 +00:00
Dan Winship
b3aaf2ced5 Add (+) and (-) icons for workspace management to the overlay
svn path=/trunk/; revision=137
2008-12-22 22:06:47 +00:00
Dan Winship
54d8f3b27d Add (+) and (-) icon artwork, and a little bit of infrastructure for them
svn path=/trunk/; revision=136
2008-12-22 22:05:56 +00:00
Dan Winship
40a3fdc02e split out a Workspace class from Workspaces, reorganize for that
svn path=/trunk/; revision=135
2008-12-22 21:51:34 +00:00
Dan Winship
45ba65bebb Move Workspaces-size computation into Workspaces
svn path=/trunk/; revision=134
2008-12-22 21:50:23 +00:00
Owen Taylor
a168f6da42 Convert to gnome-shell-plugin to new plugin style
The plugin-gobject branch of Mutter (now merged into our branch) converts
plugins to more-standard GObject GTypePlugin, with the plugin itself
being a GObject class.

gnome-shell-plugin.c: Switch plugin to the new scheme
shell-wm.[ch]: Forward effect signals to ShellWM rather than hooking
  directly into the plugin vtable.
default: Remove this (accidentally committed) file

svn path=/trunk/; revision=133
2008-12-22 21:05:08 +00:00
Marina Zhurakhinskaya
48cda5b179 Create two base classes: GenericDisplayItem and GenericDisplay, as
well as corresponding classes for applications and documents that inherit from
them. 

Use half the height of the sideshow in the overlay mode for the
AppDisplay, and the other half for the DocDisplay. 

Enable moving the selection between the two displays by using up and down arrow keys. 

Enable activating any item by clicking on it, in addition to activating the currently selected item by pressing Enter.

Apply search entry content to both sets of items.


svn path=/trunk/; revision=132
2008-12-20 04:27:57 +00:00
Owen Taylor
749d356ef9 Remove accidentally introduced import of GtkClutter
An unused import of GtkClutter snuck in somehow, remove it.

svn path=/trunk/; revision=131
2008-12-18 22:16:51 +00:00
Colin Walters
6a1e408c44 Add magic 'restart' command to run dialog which re-executes
This is immensely convenient for debugging.  The shell global reexec_self
only works on Linux, sue me.

http://bugzilla.gnome.org/show_bug.cgi?id=565037

svn path=/trunk/; revision=130
2008-12-18 20:57:37 +00:00
Colin Walters
f059492a20 Add full size icon+title to overlay
The icon+text is useful in order to distinguish between windows
that might look similar otherwise.

The implementation is not optimal:

* We create a new texture from the pixmap each time

http://bugzilla.gnome.org/show_bug.cgi?id=563406

svn path=/trunk/; revision=129
2008-12-18 18:50:09 +00:00
Owen Taylor
f3ca7a0430 Repoint clutter to the new git repositories
clutter and clutter-cairo have moved to git; adjust our jhbuild
moduleset to match the new location.

svn path=/trunk/; revision=128
2008-12-17 16:52:05 +00:00
Dan Winship
8c59c2b5bf Track changes to the screen's n-workspaces property, and add and remove
workspaces from the overlay as needed. #564181

svn path=/trunk/; revision=127
2008-12-15 21:03:07 +00:00
Dan Winship
97ae22dae5 Use a stable workspace ordering as rows and columns are added, rather than
just doing a simple row-major ordering

svn path=/trunk/; revision=126
2008-12-15 20:58:10 +00:00
Dan Winship
d07433d445 change the workspace zooming metaphor in the overlay
svn path=/trunk/; revision=125
2008-12-15 20:55:24 +00:00
Dan Winship
249e65ee30 Make the workspaces view a temporary "widget", rather than having it always
around

svn path=/trunk/; revision=124
2008-12-15 20:48:59 +00:00
Marina Zhurakhinskaya
98860733bb Convert some variable and file names to lowerCamelCase.
Remove unused variables in AppDisplay::_filterAdd().

svn path=/trunk/; revision=123
2008-12-09 22:10:43 +00:00
Owen Taylor
d42bce21c5 Use CompositeRedirectManual for tray icons
We don't want the X server to draw the icons onto the screen, so
use pass automatic=FALSE to clutter_x11_texture_pixmap_set_window();
causing CompositeRedirectManual to be used.

svn path=/trunk/; revision=122
2008-12-05 23:20:10 +00:00
Colin Walters
bd53366247 Use idle handler for overlay key binding
Running into odd problems with the overlay/windows key breaking, hopefully
this will work around those.

svn path=/trunk/; revision=121
2008-12-05 21:50:09 +00:00
Colin Walters
b1da771d32 Connect to overlay-key signal from metacity-clutter to hide/show overlay
We want to effectively bind the "Windows key" on PC hardware to hide
and show the overlay.

svn path=/trunk/; revision=120
2008-12-05 21:12:43 +00:00
Owen Taylor
65989de535 Improve test for using LIBGL_ALWAYS_INDIRECT
Now that Clutter has support for ARB_texture_rectangle, we need
to enable EXT_texture_from_pixmap support more widely.

Parse the glxinfo output more accurately and detect when
EXT_texture_rectangle is supported client and server but not
is not active, and force indirect rendering only in that case.

svn path=/trunk/; revision=119
2008-12-05 16:15:49 +00:00
Dan Winship
6c1cea927c Add <mirror> nodes for the gnome repo declaration (copied from the
upstream gnome modulesets), to allow using the experimental git mirror
support. See http://bugzilla.gnome.org/show_bug.cgi?id=538507

svn path=/trunk/; revision=118
2008-12-05 14:14:36 +00:00
Dan Winship
68190e4073 remove debug thing
svn path=/trunk/; revision=117
2008-12-04 15:22:51 +00:00
Dan Winship
03e8db6a00 fix "desktop"/"workspace" naming confusion
svn path=/trunk/; revision=116
2008-12-04 15:20:37 +00:00
Dan Winship
79d956b719 show multiple workspaces in the overlay view. #563035
svn path=/trunk/; revision=115
2008-12-04 15:16:16 +00:00
Owen Taylor
436a5cd87b Add clutter-cairo to the gir-repository builddeps
We need to build clutter-cairo before gir-repository, since gir-repository
includes ClutterCairo.gir.

svn path=/trunk/; revision=114
2008-12-03 22:16:55 +00:00
Colin Walters
d4be819d91 Clear search text after activation
svn path=/trunk/; revision=113
2008-12-03 20:18:10 +00:00
Colin Walters
6bd31dd211 Bind Escape to clear search entry
svn path=/trunk/; revision=112
2008-12-03 19:24:50 +00:00
Dan Winship
a5c3c258a3 fix incorrect variable name in _updateClock
svn path=/trunk/; revision=111
2008-12-03 18:27:48 +00:00
Dan Winship
2a40560828 split the desktop area out of overlay.js
svn path=/trunk/; revision=110
2008-12-02 16:15:00 +00:00
Colin Walters
b4dd21bde1 Use Big.Box for highlight box as well to get rounded corners
svn path=/trunk/; revision=108
2008-12-01 23:48:07 +00:00
Colin Walters
78bb9fd286 Tweak clutter-cairo include path to fix build where clutter root != clutter-cairo root
svn path=/trunk/; revision=107
2008-12-01 23:44:06 +00:00
Owen Taylor
8e08fa1d2a Add a README for the 'Big' actors
src/big/README explains where the actors come from and warns
against installing them publically under the big_* names.

svn path=/trunk/; revision=106
2008-12-01 23:15:49 +00:00
Colin Walters
c0cb00a626 Add clutter-cairo to moduleset
We depend on it now for Big library

svn path=/trunk/; revision=105
2008-12-01 23:14:12 +00:00
Colin Walters
a4763b38bf Use Big.Box for search entry to get rounded corners
http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=104
2008-12-01 23:01:55 +00:00
Colin Walters
25116779f9 Import Big
We want this for the BigBox primarily; rounded corners, etc.

http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=103
2008-12-01 23:01:52 +00:00
Owen Taylor
a8cfd47a50 Slide in the sidebar as the overlay appears
appdisplay.js: Add AppDisplay.actor property, remove the x/y parameters
  to the constructor, and don't automatically add the appdisplay
  to the stage.

overlay.js: Make the AppDisplay a child of the SideShow, rename
  SideShow._grid to SideShow.actor and slide the SideShow in when
  showing the stage.

http://bugzilla.gnome.org/show_bug.cgi?id=562920

svn path=/trunk/; revision=102
2008-12-01 22:43:06 +00:00
Owen Taylor
6bccda430e Fix width of application text items
appdisplay.js: Fix missing parentheses for computation of
  the available width for the application name and description.

svn path=/trunk/; revision=101
2008-12-01 21:53:49 +00:00
Colin Walters
9c21ce3eb5 Adjust to new Meta.typelib/Meta.gir locations
Also put all our GI data in the private $(pkglibdir).

svn path=/trunk/; revision=100
2008-12-01 20:42:56 +00:00
Colin Walters
b535a8949b Remove debug logging, make activation work for non-search mode too
svn path=/trunk/; revision=99
2008-12-01 20:03:55 +00:00
Owen Taylor
dd4db82475 Bug 562771 – The clock is inaccurate
Fix the clock to update exactly on the minute, rather than at a random
time within the minute.

Patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=98
2008-12-01 19:59:59 +00:00
Owen Taylor
7b471645f4 Redo tabs => spaces indentation change to not lose manual indentation
Revert most JS changes in commit:

    Fri Nov 28 20:12:20 2008 +0000
    Convert all JS style to be uniform, add Eclipse settings bits

Instead, just add 'indent-tabs-mode: nil' to the mode lines and convert
tabs to spaces. The indentation no longer exactly matches the Eclipse
settings, since they differ in some ways from the style we are trying
to achieve.

svn path=/trunk/; revision=97
2008-12-01 19:51:43 +00:00
Colin Walters
12720e2c90 Fix indent of first member
svn path=/trunk/; revision=96
2008-12-01 17:19:58 +00:00
Owen Taylor
e1c7a4fece Fix missing line continuation
Add a \ to the last GNOME_SHELL_DISABLE_TFP patch so that
launcher.py actually works.

svn path=/trunk/; revision=95
2008-11-29 21:55:19 +00:00