Compare commits

..

10 Commits

Author SHA1 Message Date
Cédric Valmary
a5d3079c8a Update Occitan translation 2016-10-11 18:53:55 +00:00
Cédric Valmary
18a0c10aed Update Occitan translation 2016-10-11 18:36:53 +00:00
Cédric Valmary
8a35f8939d Update Occitan translation 2016-10-11 18:02:08 +00:00
Wylmer Wang
5b675fdd39 Updated Chinese (China) translation 2014-03-09 10:46:59 +00:00
Shankar Prasad
3aa295ba86 updated kn.po 2014-02-05 16:26:44 +05:30
Owen W. Taylor
16629c289f MetaWindowGroup: fix paint volume
In the past, MetaWindowGroup was allocated the size of the screen and
painted the size of the screen because it contained the screen background,
but now we also have the "top window group" which contains only popup
windows, so the allocation doesn't properly reflect the paint bounds
of the window group. Compute the paint bounds accurately from the
children.

https://bugzilla.gnome.org/show_bug.cgi?id=719669
2013-12-09 15:28:22 -05:00
Adel Gadllah
4bf5e27c80 Revert "window: Fix memory leak"
This reverts commit f4ddff14b9.

Does not make sense in this branch.
2013-10-16 20:36:58 +02:00
Pavel Vasin
f4ddff14b9 window: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
2013-09-14 17:10:58 +02:00
Pavel Vasin
59908a01c1 workspace: Add missing chain-up for finalize()
https://bugzilla.gnome.org/show_bug.cgi?id=708070
2013-09-14 17:10:45 +02:00
Tim Lunn
6781709a75 background: don't save pixbuf in user data
https://bugzilla.gnome.org/show_bug.cgi?id=706777
2013-08-26 18:27:09 +02:00
6 changed files with 1794 additions and 5240 deletions

2012
po/kn.po

File diff suppressed because it is too large Load Diff

3709
po/oc.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1031,7 +1031,6 @@ meta_background_load_file_finish (MetaBackground *self,
GAsyncResult *result,
GError **error)
{
static CoglUserDataKey key;
GTask *task;
LoadFileTaskData *task_data;
CoglTexture *texture;
@@ -1077,12 +1076,6 @@ meta_background_load_file_finish (MetaBackground *self,
goto out;
}
cogl_object_set_user_data (COGL_OBJECT (texture),
&key,
g_object_ref (pixbuf),
(CoglUserDataDestroyCallback)
g_object_unref);
ensure_pipeline (self);
unset_texture (self);
set_style (self, task_data->style);

View File

@@ -250,11 +250,30 @@ meta_window_group_paint (ClutterActor *actor)
g_list_free (children);
}
/* Adapted from clutter_actor_update_default_paint_volume() */
static gboolean
meta_window_group_get_paint_volume (ClutterActor *actor,
meta_window_group_get_paint_volume (ClutterActor *self,
ClutterPaintVolume *volume)
{
return clutter_paint_volume_set_from_allocation (volume, actor);
ClutterActorIter iter;
ClutterActor *child;
clutter_actor_iter_init (&iter, self);
while (clutter_actor_iter_next (&iter, &child))
{
const ClutterPaintVolume *child_volume;
if (!CLUTTER_ACTOR_IS_MAPPED (child))
continue;
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
if (child_volume == NULL)
return FALSE;
clutter_paint_volume_union (volume, child_volume);
}
return TRUE;
}
static void

View File

@@ -78,6 +78,7 @@ static void
meta_workspace_finalize (GObject *object)
{
/* Actual freeing done in meta_workspace_remove() for now */
G_OBJECT_CLASS (meta_workspace_parent_class)->finalize (object);
}
static void