[gnumeric] Fixed sheet widgets stacking order.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fixed sheet widgets stacking order.
- Date: Sun, 25 Sep 2011 20:04:42 +0000 (UTC)
commit c823542511c1af8a7d96733c195a3bc1a8e1f143
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Sep 25 21:59:13 2011 +0200
Fixed sheet widgets stacking order.
ChangeLog | 5 +++++
src/sheet-object-widget.c | 9 +++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f1931a9..e1bd88b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-25 Jean Brefort <jean brefort normalesup org>
+
+ * src/sheet-object-widget.c (so_widget_view_get_window),
+ (so_widget_view_class_init): fixed sheet widgets stacking order.
+
2011-09-24 Jean Brefort <jean brefort normalesup org>
* src/wbc-gtk.c (show_gui): make the windows shrink again. [#659246]
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index e50a17c..f30ffa0 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -155,10 +155,19 @@ so_widget_view_set_bounds (SheetObjectView *sov, double const *coords, gboolean
goc_item_hide (view);
}
+static GdkWindow *
+so_widget_view_get_window (GocItem *item)
+{
+ GocGroup *group = GOC_GROUP (item);
+ return goc_item_get_window (GOC_ITEM (group->children->data));
+}
+
static void
so_widget_view_class_init (SheetObjectViewClass *sov_klass)
{
+ GocItemClass *item_klass = (GocItemClass *) sov_klass;
sov_klass->set_bounds = so_widget_view_set_bounds;
+ item_klass->get_window = so_widget_view_get_window;
}
static GSF_CLASS (SOWidgetView, so_widget_view,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]