[gdm] greeter: Add missing border
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] greeter: Add missing border
- Date: Thu, 27 Jan 2011 16:31:22 +0000 (UTC)
commit 1b31c9bebc78bda18425828fe08bfd11b9422ca4
Author: Ray Strode <rstrode redhat com>
Date: Thu Jan 20 12:45:37 2011 -0500
greeter: Add missing border
The last update forgot a
minimum_req.height = border.top + border.bottom;
gui/simple-greeter/gdm-scrollable-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-scrollable-widget.c b/gui/simple-greeter/gdm-scrollable-widget.c
index 7d493c6..a0e951a 100644
--- a/gui/simple-greeter/gdm-scrollable-widget.c
+++ b/gui/simple-greeter/gdm-scrollable-widget.c
@@ -320,6 +320,8 @@ gdm_scrollable_widget_get_preferred_size (GtkWidget *widget,
minimum_req.width = padding.left + padding.right;
minimum_req.width = border.left + border.right;
minimum_req.height = padding.top + padding.bottom;
+ minimum_req.height = border.top + border.bottom;
+
natural_req.width = padding.left + padding.right;
natural_req.width = border.left + border.right;
natural_req.height = padding.top + padding.bottom;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]