Commit Graph

4860 Commits

Author SHA1 Message Date
Dan Winship
f464b85ffc window: add an appears-focused property, redraw shadows when it changes
We need to redraw a window's shadow any time the value of
meta_window_appears_focused() changes. So make that into a property so
we can get notifications on it.

https://bugzilla.gnome.org/show_bug.cgi?id=636904
2011-03-28 12:09:10 -04:00
Rudolfs Mazurs
db055c6029 Updated Latvian translation. 2011-03-28 00:49:45 +03:00
Abduxukur Abdurixit
eedc74943b Added UG translation 2011-03-27 21:38:17 +02:00
Yuri Myasoedov
82b134ed46 Updated Russian translation 2011-03-26 22:13:25 +03:00
A S Alam
cc1de7e7d0 update tranlation for Punjabi by A S Alam 2011-03-26 23:50:11 +05:30
Yaron Shahrabani
a199d74069 Updated Hebrew translation. 2011-03-26 00:36:10 +02:00
Aron Xu
7a23d3024a Update Simplified Chinese translation. 2011-03-24 17:18:27 +00:00
Daniel Nylander
734888406c Updated Swedish translation 2011-03-24 16:14:10 +01:00
Olav Vitters
e0ce24b3f5 Add description to DOAP file 2011-03-24 13:59:56 +01:00
Colin Walters
c13e62f72c Export meta_get_replace_current_wm()
This is necessary for gnome-shell to know whether it should try to
replace the org.gnome.Shell DBus name.

Note: We can't just #include <meta/util.h> because it #defines '_'
at least which obviously conflicts with core gettext.  We should
un-export util.h or fix it.

https://bugzilla.gnome.org/show_bug.cgi?id=645590
2011-03-23 16:08:51 -04:00
Alexander Shopov
3d958de33e Updated Bulgarian translation 2011-03-23 21:39:14 +02:00
Daniel Korostil
4689688af3 Uploaded Ukranian 2011-03-23 15:53:06 +02:00
Owen W. Taylor
d402a68c73 Bump version to 2.91.92 2011-03-22 18:20:53 -04:00
Luca Ferretti
66d1dd3679 Updated Italian translation 2011-03-22 22:54:24 +01:00
Matej Urbančič
43e48fc962 Updated Slovenian translation 2011-03-22 22:05:24 +01:00
Kjartan Maraas
1fea2a5101 Updated Norwegian bokmål translation 2011-03-22 11:13:39 +01:00
Florian Müllner
92e317ec2a Adjust the position of attached dialogs to fit on-screen
As the position of attached modal dialogs is determined entirely
by the position of the parent window, the dialog may end up
partially off-screen (especially if the dialog is wider than the
parent). In this case, diverge from the calculated position and
try to fit the dialog on-screen.

https://bugzilla.gnome.org/show_bug.cgi?id=631308
2011-03-22 02:56:51 +01:00
Florian Müllner
c5d1d2db62 Add and export meta_window_move_to_monitor
This is useful for DnD to another monitor in gnome-shell.
In addition to a normal move it corrects the saved rect for
maximized and fullscreened windows.

https://bugzilla.gnome.org/show_bug.cgi?id=645032
2011-03-22 00:55:37 +01:00
Fran Diéguez
b1725bc18c Updated Galician translations 2011-03-22 00:54:24 +01:00
Florian Müllner
5500c2b3a8 window: Allow resizing of attached modal dialogs
Currently attached modal dialogs are not resizable, but we don't
communicate this to GTK+, so the dialog may end up with resize
grips anyway. As a fix, allow resizing, but account for the dialog
being centered to its parent.

https://bugzilla.gnome.org/show_bug.cgi?id=643597
2011-03-22 00:27:10 +01:00
Owen W. Taylor
82db52aaf4 iconcache: don't crash on a non-alpha mask pixmap
We assume when applying a mask that it is a depth-1 pixmap that
cairo interprets as alpha. So ignore a non-depth-1 mask.

https://bugzilla.gnome.org/show_bug.cgi?id=641975
2011-03-21 18:51:14 -04:00
Owen W. Taylor
654d966e6c iconcache: Correctly interpret monochrome icons
Getting the contents of a depth-1 pixmap through cairo gives us
an alpha pixmap. We need to convert to a monochrome pixmap
as is expected by the ICCCM definition of WM_HINTS.

https://bugzilla.gnome.org/show_bug.cgi?id=641975
2011-03-21 18:47:52 -04:00
Jasper St. Pierre
92663c81f5 iconcache: Fix apply_mask
apply_mask made some wrong assumptions that became untrue
after rendering_cleanup landed, such as the number of channels
in the pixmap, causing corruption.

https://bugzilla.gnome.org/show_bug.cgi?id=641975
2011-03-21 18:15:47 -04:00
Ron
e3ebcc004d display: Grab attached dialogs' parent
Currently, attached modal dialog can be grabbed (either by the
title bar, or using Alt+Button1), though they won't move when
dragged. To address this, grab the parent in that case, which
allows to move both the parent and the attached dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=638674
2011-03-21 22:46:23 +01:00
Florian Müllner
26e41bc24a tiling: Fix dragging windows free from edge-tiling
Commit 96c43866 changed the tiling behavior to prefer edge tiling
over maximization in corner cases (well, quite literally). As a
side effect, it only allows untiling of edge-tiled windows by
dragging the window towards the correct edge.
This patch restores the old behavior for untiling, while keeping
the new behavior for untiled windows.

https://bugzilla.gnome.org/show_bug.cgi?id=645455
2011-03-21 22:00:54 +01:00
Florian Müllner
c9e9412540 window: Remove unnecessary checks
For tiling, we check whether the pointer is near the edges of
the monitor where the pointer is located, so checking that the
pointer is within the bounds of the monitor is unnecessary and
confusing.
2011-03-21 22:00:54 +01:00
Bruno Brouard
14d6d63ad0 Updated French translation 2011-03-21 21:30:17 +01:00
Jorge González
2134213f92 Updated Spanish translation 2011-03-21 20:49:11 +01:00
Piotr Drąg
1935e508f7 Updated Polish translation 2011-03-21 20:40:11 +01:00
Owen W. Taylor
83b6ec7899 Fix description for workspaces_only_on_primary key
The description was a bit corrupted and didn't make sense. Fix.

https://bugzilla.gnome.org/show_bug.cgi?id=645224
2011-03-21 15:30:28 -04:00
Yuri Myasoedov
9c0ffc26c1 Updated Russian translation 2011-03-21 21:50:56 +03:00
Duarte Loreto
39b28a7e42 Updated Portuguese translation 2011-03-20 23:56:52 +00:00
Fran Diéguez
09799c6617 Updated Galician translations 2011-03-20 19:00:40 +01:00
Giovanni Campagna
9fad2246ae Fix previous commit
It is actually caller-allocates, not callee (the object is provided
by the binding, not by the function)
2011-03-19 20:56:18 +01:00
Giovanni Campagna
585da56118 Add introspection annotations for (out) arguments.
Mark that the the third argument to meta_rectangle_union and
meta_rectangle_intersect is an (out) argument that should be created
by the language binding.

https://bugzilla.gnome.org/show_bug.cgi?id=645247
2011-03-19 20:21:35 +01:00
Rudolfs Mazurs
cccb482cd9 Updated Latvian translation. 2011-03-19 20:34:04 +02:00
Piotr Drąg
eb79c75266 Updated Polish translation 2011-03-19 16:16:23 +01:00
Dirgita
19171122ca Updated Indonesian translation 2011-03-19 22:07:36 +07:00
Wouter Bolsterlee
a4665b1a14 Updated Dutch translation by Wouter Bolsterlee 2011-03-19 16:03:51 +01:00
Changwoo Ryu
829f9ac61f Updated Korean translation 2011-03-19 23:39:12 +09:00
Jorge González
24b846328f Updated Spanish translation 2011-03-19 14:59:33 +01:00
Owen W. Taylor
96c43866b1 Make entire side of screen edge-tiling not maximization
If dragging the title bar to the edge of the screen to side-tile,
it's easy to end up above the workarea and end up maximized instead.
Make the entire side of the screen act as edge-tiling.

https://bugzilla.gnome.org/show_bug.cgi?id=644961
2011-03-18 14:55:52 -04:00
Owen W. Taylor
9043191927 Add MUTTER_WM_CLASS_FILTER environment variable
In a performance or regression testing environment, we may want to
only manage windows from a particular test program, and ignore all
other windows. The MUTTER_WM_CLASS_FILTER environment variable is a
list of WM_CLASS values that should be managed; other windows will
be unmapped and ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=644252
2011-03-18 14:55:52 -04:00
Dan Winship
6e6ed81c19 .gitignore: update 2011-03-18 13:54:18 -04:00
Dan Winship
3597035f67 bell: add a composited flash-screen function
The old bell_flash_screen() has no effect when compositing. Add
meta_compositor_flash_screen(), and use that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=639765
2011-03-18 13:53:53 -04:00
Dan Winship
9f39a18fc5 Update meta_show_dialog for gtk's removal of --screen
gtk3 no longer has the --screen command-line argument, which mutter
was passing to zenity. Use --display (with an explicitly-specified
screen number) instead.

https://bugzilla.gnome.org/show_bug.cgi?id=643683
2011-03-18 13:53:53 -04:00
Gabor Kelemen
ab2de9dccd Updated Hungarian translation 2011-03-18 18:04:22 +01:00
Bruno Brouard
d66c6cf55e Updated French translation 2011-03-17 20:32:46 +01:00
Matej Urbančič
4f24f7e5fc Updated Slovenian translation 2011-03-17 19:54:20 +01:00
Colin Walters
3cd0e86bdd session: Don't set XSMP restart
This made sense back in the day of stateless window managers,
but gnome-shell isn't.  gnome-session will handle gnome-shell
crashing, since it's a required component.

https://bugzilla.gnome.org/show_bug.cgi?id=644529
2011-03-17 13:52:54 -04:00