Commit Graph

4183 Commits

Author SHA1 Message Date
Owen W. Taylor
7a7632fa98 Allow setting input region before output window is created
If mutter_plugin_set_stage_input_region() and related methods are
called before the output window is available, save the set input
region and apply it to the output window later on.

compository-mutter.[ch]: Add mutter_set_stage_input_region() and
mutter_empty_stage_input_region(), move the input region handling
here and implement the delayed shape setting described
above.

mutter-plugin.c: Implement shape setting in terms of the new methods.

http://bugzilla.gnome.org/show_bug.cgi?id=580042
2009-04-24 09:54:19 -04:00
Owen W. Taylor
76a3f9d402 Build and install introspection information
Build a XML gir file and binary typelib file for the interfaces that
we are installing for plugin use. They are installed into $(pkglibdir)
since they are private to the application.

http://bugzilla.gnome.org/show_bug.cgi?id=580041
2009-04-24 09:54:18 -04:00
Colin Walters
96dfeea412 Don't use G_MODULE_BIND_LOCAL
Using G_MODULE_BIND_LOCAL causes problems for introspecting plugins,
since introspected symbols need to be globally available. And in
any case, trying to use linker features to prevent symbol conflicts
doesn't usually work out very well, it's better to just namespace
properly.

http://bugzilla.gnome.org/show_bug.cgi?id=580033
2009-04-24 09:54:18 -04:00
Colin Walters
a4746d75e6 Load plugins separately from initializing
Add separate mutter_plugin_manager_load() and
mutter_plugin_manager_initialize() calls so that we can just
load the plugins without start them. This is useful for introspecting
a gnome-shell plugin at build time.

http://bugzilla.gnome.org/show_bug.cgi?id=580032
2009-04-24 09:54:18 -04:00
Owen W. Taylor
52638b9d8e In case of GConf failure, fall back to local keybinding values
Always compile the default keybindings into Metacity, and if we
fail to retrieve the values from GConf, use the compiled-in
value. This makes things more robust especially in an environment
like JHBuild where GConf-schema-installation may not work
correctly.

Also use these values for the no-GConf case, rather than
having a separate arrray and code path.

http://bugzilla.gnome.org/show_bug.cgi?id=576127
2009-04-24 09:54:18 -04:00
Colin Walters
514d00698d Add support for a "meta key" which initiates extended WM operations
This patch adds the concept of a special key for WM operations, and
the default is Super_L, which on extended PC hardware is the
"Windows key".  What we do is handle the special case of a press
and release of this key (without any other intervening keys).

Super_L+<key> should still be passed to applications.  In the future
we may want to also take some of these keybindings (e.g. Super+TAB)
though.

http://bugzilla.gnome.org/show_bug.cgi?id=563047
2009-04-24 09:54:18 -04:00
Owen W. Taylor
c4a4de0056 Fix return transfer annotations for a number of functions and add docs
Add return transfer annotations (and while I was at it, docs), for
public functions that return MetaDisplay, MetaWindow, and MetaScreen.

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

http://bugzilla.gnome.org/show_bug.cgi?id=580027
2009-04-24 09:54:17 -04:00
Owen W. Taylor
28a4be2536 Add meta_workspace_set_builtin_struts()
Add a function to set a list of "built-in" struts for a workspace;
these are struts that are combined with the struts of the windows in
the workspace when determining the work area of the workspace.

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

http://bugzilla.gnome.org/show_bug.cgi?id=580026
2009-04-24 09:54:17 -04:00
Dan Winship
6e9803cd9f Add ::window-added and ::window-removed signals to MetaWorkspace
Add sigals to MetaWorkspace to allow tracking when windows are added
and removed. Note that on window creation that these signals are fired
before the window setup is totally complete, so they need to be used
with some care. (For example, the compositor, if present, has not
been notified of the new window.)

http://bugzilla.gnome.org/show_bug.cgi?id=580025
2009-04-24 09:54:17 -04:00
Owen W. Taylor
63b1d6642c Improve handling of errors when calling CompositeNameWindowPixmap
To guard against CompositeNameWindowPixmap failing, just use an
error trap. Previous code used:

 GrabServer/GetWindowAttributes/CompositeNameWindowPixmap/UngrabServer

To prevent BadMatch errors from !viewable, but didn't check the
return value of GetWindowAttributes and didn't check if an error
occured during the error trap. This way is more correct and more
efficient.

http://bugzilla.gnome.org/show_bug.cgi?id=580023
2009-04-24 09:54:17 -04:00
Olav Vitters
28955bb449 doap: Add desktop category 2009-04-23 19:35:51 +02:00
Matej Urban
dcd7cae7cf Updated Slovenian translation 2009-04-22 12:18:20 +02:00
Jordi Mas i Hernandez
c954bb9456 Minor fixes to Catalan translation 2009-04-22 09:46:20 +02:00
Shankar Prasad
be0b298d81 Updated Kannada Translation 2009-04-21 12:34:27 +05:30
Jorge Gonzalez
409026044b Updated Spanish translation 2009-04-18 20:55:56 +02:00
Funda Wang
0c311bdcf9 Updated zh_CN translation.
svn path=/trunk/; revision=4238
2009-04-10 03:22:43 +00:00
Owen W. Taylor
626912a9a4 Merge branch 'gnome-2-26' into master
Conflicts:
	configure.in
	src/core/schema-bindings.c
2009-04-08 16:11:12 -04:00
Tomas Frydrych
058c884f1f Bumped mutter version to 0.7 2009-04-07 13:39:57 +01:00
Tomas Frydrych
2e0cd7af5e Fixed focus handling in finish_minize().
When the window being hidden/mimimized has focus, is modal, but is not on the
  currently active workspace (e.g., during workspace switch before the new
  focus window is activated), we must prevent focus being passed to the modal
  window ancestor (otherwise the ancestor ends up being forcefully moved onto
  the active workspace).
2009-04-07 13:02:57 +01:00
Kjartan Maraas
82706fd958 Updated Norwegian bokmål translation.
2009-04-05  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/branches/gnome-2-26/; revision=4236
2009-04-05 12:14:14 +00:00
Marcel Telka
e81775e63d Updated Slovak translation by Pavol Šimo.
2009-04-04  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=4235
2009-04-04 12:45:30 +00:00
Tomas Frydrych
8ccb9e04eb Postpone creation of the guard window until we are ready to manage windows.
Creating the gard window when constructing MetaScreen causes the screen to
  go black for the duration of Metacity startup which is uggly. We do not
  actually need that window until we are ready to manage windows on the screen.
2009-04-02 12:25:53 +01:00
Tomas Frydrych
ae97ccba80 Bumped mutter version to 0.6 2009-04-02 09:44:48 +01:00
Owen W. Taylor
8ab9ed5d4e Expose meta_window_get_icon_geometry()
Make meta_window_get_icon_geometry() public, so that it can be used
to from plugins to animate windows minimizing to the correct
position.

Based on a patch from Cosimo Cecchi <cosimoc@gnome.org>

http://bugzilla.gnome.org/show_bug.cgi?id=571109
2009-03-31 17:29:48 -04:00
Baris Cicek
886ce72374 Updated Turkish translation
svn path=/branches/gnome-2-26/; revision=4234
2009-03-29 23:31:35 +00:00
Simos Xenitellis
a658c8b067 Updated Greek translation
svn path=/branches/gnome-2-26/; revision=4233
2009-03-28 16:31:54 +00:00
Simos Xenitellis
209d7ef613 Updated Greek translation
svn path=/trunk/; revision=4232
2009-03-27 12:07:25 +00:00
Simos Xenitellis
ab1e8cbb50 Updated Greek translation
svn path=/branches/gnome-2-26/; revision=4231
2009-03-27 12:05:46 +00:00
Goran Rakic
cbe6973b66 Updated Serbian translation by Miloš Popović.
svn path=/branches/gnome-2-26/; revision=4230
2009-03-21 19:51:01 +00:00
Goran Rakic
a6c76a85ce Updated Serbian translation by Miloš Popović.
svn path=/trunk/; revision=4229
2009-03-21 19:49:40 +00:00
Tomasz Dominikowski
265f9e5433 Updated Polish translation
2009-03-19  Tomasz Dominikowski  <tdominikowski@aviary.pl>

	* pl.po: Updated Polish translation

svn path=/trunk/; revision=4228
2009-03-19 11:30:21 +00:00
Tomasz Dominikowski
abb825b43e Updated Polish translation
2009-03-19  Tomasz Dominikowski  <tdominikowski@aviary.pl>

	* pl.po: Updated Polish translation

svn path=/branches/gnome-2-26/; revision=4227
2009-03-19 11:22:26 +00:00
Kjartan Maraas
f821407060 Updated Norwegian bokmål translation.
2009-03-19  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/branches/gnome-2-26/; revision=4226
2009-03-19 09:31:54 +00:00
Ignacio Casal Quinteiro
381aca98d0 Updated Galician translation by Suso Baleato.
svn path=/branches/gnome-2-26/; revision=4225
2009-03-18 19:58:43 +00:00
Ignacio Casal Quinteiro
b86d988b3c Updated Galician translation by Suso Baleato.
svn path=/trunk/; revision=4224
2009-03-18 19:58:04 +00:00
Kostas Papadimas
a67de845f6 Updated Greek Translation by Fotis Tsamis
svn path=/branches/gnome-2-26/; revision=4223
2009-03-18 15:58:40 +00:00
Djihed Afifi
808378129e woops
svn path=/branches/gnome-2-26/; revision=4222
2009-03-18 09:27:46 +00:00
Djihed Afifi
0d75012462 Updated Arabic translation
svn path=/branches/gnome-2-26/; revision=4221
2009-03-18 09:19:46 +00:00
Alexander Shopov
c4148cec33 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-03-17  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=4220
2009-03-17 07:19:13 +00:00
Alexander Shopov
32a0cdb2f9 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-03-17  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>

svn path=/branches/gnome-2-26/; revision=4219
2009-03-17 07:18:55 +00:00
Amanpreet Singh Alam
68823fd9b2 updating for GNOME Punjabi Translation by A S Alam
svn path=/branches/gnome-2-26/; revision=4218
2009-03-17 02:40:54 +00:00
Thomas James Alexander Thurman
d38b1abb49 change version to 2.26.0
svn path=/branches/gnome-2-26/; revision=4217
2009-03-16 17:59:02 +00:00
Thomas James Alexander Thurman
ebadd21c64 2.26.0 release.
svn path=/branches/gnome-2-26/; revision=4216
2009-03-16 16:44:27 +00:00
Thomas James Alexander Thurman
f1616a15d0 newline
svn path=/branches/gnome-2-26/; revision=4215
2009-03-16 16:44:09 +00:00
Thomas James Alexander Thurman
39bee4b9d2 2.26.0 release.
svn path=/branches/gnome-2-26/; revision=4214
2009-03-16 16:23:06 +00:00
Amitakhya Phukan
3f867e0167 Updated assamese translations
svn path=/branches/gnome-2-26/; revision=4213
2009-03-16 05:04:12 +00:00
Rajesh Ranjan
4300622c4a maithili added
svn path=/branches/gnome-2-26/; revision=4212
2009-03-15 12:15:30 +00:00
Ankitkumar Rameshchandra Patel
9ad7381c11 Added entry for Gujarati translation update.
svn path=/branches/gnome-2-26/; revision=4211
2009-03-15 08:13:44 +00:00
Ankitkumar Rameshchandra Patel
e5f287dad5 Updated Gujarati Translations.
svn path=/branches/gnome-2-26/; revision=4210
2009-03-15 08:13:24 +00:00
Gintautas Miliauskas
aa57becc41 Updated Lithuanian translation.
2009-03-14  Gintautas Miliauskas  <gintautas@miliauskas.lt>

	* lt.po: Updated Lithuanian translation.



svn path=/trunk/; revision=4209
2009-03-14 21:06:17 +00:00