Commit Graph

1344 Commits

Author SHA1 Message Date
Owen Taylor
244555f3ae Fix include path to libgnomeui/gnome-thumbnail.h
Remove a stray libgnomeui-2.0/ (Michael Monreal)

svn path=/trunk/; revision=150
2009-01-17 13:44:44 +00:00
Owen Taylor
8db3685e29 Include generated enumeration types when scanning
gjs requires flags types to be registered with GObject to
work properly; g-ir-scanner requires the get_type() functions
to be present in a scanned header in order to find the
GObject type for a flag. So pass {tidy,big}-enum-types.h to
the scanner as appropriate.

svn path=/trunk/; revision=148
2009-01-16 20:10:26 +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
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
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
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
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
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
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
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
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
Owen Taylor
c12de59864 Add a concept of "going modal" by grabbing the keyboard
shell-global.[ch]: Replace shell_global_focus_stage()
  with shell_global_grab_keyboard()/shell_global_ungrab_keyboard()
main.js: Add startModal()/endModal() functions to go modal and
  undo that.
run_dialog.js overlay.js main.js: Use startModal() for the overlay
  and for the run dialog.

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

svn path=/trunk/; revision=83
2008-11-24 19:07:18 +00:00
Owen Taylor
8a9b138c2e Add a bg-color property to ShellTrayManager
shell_tray_manager.c: Add a bg-color property and implement it
 by setting a 1x1 pixmap of the right color as the background.

 Also, make the colormap of the tray manager window match that
 of the socket. That should (untested) make transparency work
 properly if the tray icon supports it.

panel.js: Set the bg-color property of the tray manager to
 match the panel.

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

svn path=/trunk/; revision=82
2008-11-24 19:07:15 +00:00
Dan Winship
19671ad349 implement a basic switch_workspace animation using Tweener. #561835
svn path=/trunk/; revision=78
2008-11-21 21:34:10 +00:00
Dan Winship
aa61fdbc53 revert some broken bits from previous patch that weren't supposed to have
been committed

svn path=/trunk/; revision=74
2008-11-21 15:33:00 +00:00
Colin Walters
ee743394f6 Monitor applications directory, not toplevel
svn path=/trunk/; revision=71
2008-11-21 15:06:43 +00:00
Dan Winship
7dba934b96 add the initial framework of a window management interface. #561724
svn path=/trunk/; revision=70
2008-11-21 14:02:09 +00:00
Colin Walters
c928b64648 Merge branch 'appmenu'
svn path=/trunk/; revision=68
2008-11-21 00:53:11 +00:00
Marina Zhurakhinskaya
7cad9a7ca0 Add a convenience function for setting an image for ClutterTexture based on GdkPixbuf.
svn path=/trunk/; revision=67
2008-11-21 00:39:14 +00:00
Owen Taylor
48a2cca476 Add a 'screen' property to ShellGlobal
Add a screen property to ShellGlobal so Javascript code can get
access to the MetaScreen.

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

svn path=/trunk/; revision=61
2008-11-19 22:54:42 +00:00
Owen Taylor
8f615e833e Add shell_global_focus_stage()
Add a a method shell_global_focus_stage() to set the
input focus to the stage window, so that Clutter gets
keyboard events.

Adapted from patch in Bug 561299 from Colin Walters

svn path=/trunk/; revision=59
2008-11-19 19:54:17 +00:00
Owen Taylor
2253f8bf2c Build libtray and libtidy as uninstalled convenience libraries as intended
Move libtidy and libtray from lib_LTLIBRARIES to noinst_LTLIBRARIES; this keeps
automake from passing an -rpath when building them, which in turn convinces
libtool to build them as convenience libraries rather than shared objects.

svn path=/trunk/; revision=55
2008-11-18 01:13:53 +00:00
Marina Zhurakhinskaya
679365f1c1 Add a button object that highlights a button area when it is moused over and transitions it to a different color when the button is pressed in. Use this button object for the panel's "Activities" button.
Add some comments, TODO items, and type fixes to the code.

svn path=/trunk/; revision=52
2008-11-15 00:44:11 +00:00
Colin Walters
ab0f4df2b4 Use metacity for building Tidy-1.0.gir as well; fix up dependencies
svn path=/trunk/; revision=51
2008-11-14 22:47:33 +00:00
Colin Walters
6596010802 Tidy.gir also depends on the tidy sources, not the gnomeshell sources
svn path=/trunk/; revision=50
2008-11-14 22:06:50 +00:00
Colin Walters
1266956e56 Tidy-1.0.typelib depends on libtidy-1.0.la, not libgnomeshell.la
svn path=/trunk/; revision=49
2008-11-14 22:05:08 +00:00
Colin Walters
50dfb21d6f Ensure we clean out the .gir and .typelibs
svn path=/trunk/; revision=48
2008-11-14 21:52:48 +00:00
Colin Walters
c64ab6dbe2 Kill off libgnomeshell-introspect again, this time with garlic and a stake
svn path=/trunk/; revision=47
2008-11-14 21:26:03 +00:00
Colin Walters
b0837419c0 Use new --program arg from g-i, clean up build accordingly
* configure.ac: Look for paths to all the g-i tools, and
also get the full path to metacity
* src/Makefile.am: Remove noinst library, not necessary now

svn path=/trunk/; revision=45
2008-11-14 21:25:58 +00:00
Dan Winship
8c61d46586 Import part of the notification area applet, and use it to add a
notification are to the panel. A bit warty, but we don't know how we want
the final UI to look anyway. (The fact that transparency doesn't work is
a known bug.)

svn path=/trunk/; revision=44
2008-11-14 17:21:56 +00:00
Owen Taylor
f8db7689af Experimentally add build infrastructure and a few Tidy widgets
For experimenting with using tidy, import TidyButton and TidyGrid
(+ dependencies) into our source tree and set up build machinery
to build them and build a typelib for them.

The sources are build right into libgnome-shell.so, so the Shell.gir
and Tidy.gir actually point to the same shared library.

src/Makefile-tidy.am: Build libtidy-1.0.la
src/Makefile.am: Include built tidy into gnome-shell.la and
  build Tidy-1.0.typelib

src/tidy/*: Add some source files from Tidy

svn path=/trunk/; revision=42
2008-11-12 21:09:27 +00:00
Owen Taylor
f546d92033 Hide the group containing the windows while overlay is up
When we are animating the overlay, we don't want to be continually
redrawing the (obscured) window actors.

src/shell-global.c: Add 'window-group' property to expose the group
  holding the window actors.
js/ui/overlay.js: Hide the window group while the overlay is up.

svn path=/trunk/; revision=39
2008-11-08 19:33:33 +00:00
Owen Taylor
ffed9df171 Add dummy return values to metacity-symbols.c
Make sure that all functions in metacity-symbols.c with a return value
return something so that the compilation is clean.

svn path=/trunk/; revision=38
2008-11-08 15:49:01 +00:00
Colin Walters
19070be3ba Run gnome-terminal on alt-f2
svn path=/trunk/; revision=36
2008-11-07 18:42:23 +00:00
Owen Taylor
2ba8aaafca Don't overwrite existing LD_LIBRARY_PATH when running g-ir-compiler
When running g-ir-compiler, augment LD_LIBRARY_PATH with the current
directory, rather than overwriting it entirely.

svn path=/trunk/; revision=27
2008-11-03 20:41:25 +00:00
Owen Taylor
9d15b7c9e1 Install our typelib privately inside $(pkglibdir)
Installing the plugin typelib into $(libdir)/girepository is
non-sensical since no other program would want to reference it.
Move it to $(pkglibdir)/girepository instead. (Will need to set
environment variables to find it when we make installed operation
work.)

svn path=/trunk/; revision=25
2008-11-02 04:18:43 +00:00
Owen Taylor
e624b2a241 First stab at showing windows in the overlay
shell-global.[ch]: Add shell_global_get_windows() to get
  the list of all MutterWindow for the  screen
Makefile.am: Include the metacity typelib so that we can
  reference the MutterWindow type
js/ui/overlay.js: Cascade the open windows, scaled down
  in the overlay

svn path=/trunk/; revision=24
2008-11-02 04:18:41 +00:00
Owen Taylor
9c4d104630 Add annotations to fix return-value transfer for shell_global_get()
Default transfership for a GObject return value is 'full', override
it to 'none' for a singleton getter.

svn path=/trunk/; revision=12
2008-10-31 18:24:29 +00:00
Owen Taylor
136dbbb41f Add shell_global_set_stage_input_area() to header file
shell_global_set_stage_input_area() wasn't in the header file
so it wasn't introspected; add it.

svn path=/trunk/; revision=9
2008-10-31 18:05:19 +00:00
Owen Taylor
7d6896a669 Add ShellGlobal.stage property
Add a property to get the root stage for the scene graph.

svn path=/trunk/; revision=8
2008-10-31 18:04:38 +00:00
Owen Taylor
dec83013fc Add an xevent_filter method to our plugin
By default, mutter doesn't pass events to clutter. We need to add an
xevent_filter method to our plugin and do that ourselves.

svn path=/trunk/; revision=7
2008-10-31 18:02:52 +00:00
Owen Taylor
2fd4c9058d Extend ShellGlobal object with more properties
* Add screen-width, screen-height, overlay-group properties
* Add set_stage_input_area() function
* Fix main.js to rotate DRAFT properly

svn path=/trunk/; revision=6
2008-10-31 15:20:54 +00:00
Owen Taylor
4ba985b484 Initial commit
A plugin for metacity-clutter (mutter) that initializes Javascript
and via Javascript adds an object to the mutter scene graph.

src/gnome-shell-plugin.c: metacity-clutter-plugin
src/shell-global.[ch]: Simple global-information object
js/: Directory for javascript
scripts/start-in-Xephyr: Launch metacity with our plugin
  "nested" within an Xephy X server

svn path=/trunk/; revision=2
2008-10-31 04:22:44 +00:00