[gedit] Add GEDIT_OVERLAY_CHILD_POSITION_SOUTH_EAST.



commit 3e16eba56d29b4c81a333a104bf005d01783aa43
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Feb 18 14:19:05 2011 +0100

    Add GEDIT_OVERLAY_CHILD_POSITION_SOUTH_EAST.

 gedit/gedit-overlay.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-overlay.c b/gedit/gedit-overlay.c
index 44fa0d9..bad7825 100644
--- a/gedit/gedit-overlay.c
+++ b/gedit/gedit-overlay.c
@@ -230,6 +230,10 @@ gedit_overlay_size_allocate (GtkWidget     *widget,
 				alloc.x = offset;
 				alloc.y = main_alloc.height - req.height;
 				break;
+			case GEDIT_OVERLAY_CHILD_POSITION_SOUTH_EAST:
+				alloc.x = main_alloc.width - req.width - offset;
+				alloc.y = main_alloc.height - req.height;
+				break;
 			default:
 				alloc.x = 0;
 				alloc.y = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]