[gnome-shell] ShellGenericContainer: adjust requested height/width for border/padding
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ShellGenericContainer: adjust requested height/width for border/padding
- Date: Wed, 31 Mar 2010 14:10:45 +0000 (UTC)
commit 8dd572d1ccf960e7a7127b938f45bb564cb9cf43
Author: Dan Winship <danw gnome org>
Date: Tue Mar 30 10:26:38 2010 -0400
ShellGenericContainer: adjust requested height/width for border/padding
https://bugzilla.gnome.org/show_bug.cgi?id=614293
src/shell-generic-container.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-generic-container.c b/src/shell-generic-container.c
index 16b285d..caba274 100644
--- a/src/shell-generic-container.c
+++ b/src/shell-generic-container.c
@@ -95,6 +95,8 @@ shell_generic_container_get_preferred_width (ClutterActor *actor,
if (natural_width_p)
*natural_width_p = alloc->natural_size;
shell_generic_container_allocation_unref (alloc);
+
+ st_theme_node_adjust_preferred_width (theme_node, min_width_p, natural_width_p);
}
static void
@@ -116,6 +118,8 @@ shell_generic_container_get_preferred_height (ClutterActor *actor,
if (natural_height_p)
*natural_height_p = alloc->natural_size;
shell_generic_container_allocation_unref (alloc);
+
+ st_theme_node_adjust_preferred_height (theme_node, min_height_p, natural_height_p);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]