[gnome-panel/gtk3] na-tray: Set allocation to tray widget



commit edafe0cbdca84009b90a74f35ad226e017e0662e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Jan 23 11:26:13 2011 +0100

    na-tray: Set allocation to tray widget
    
    This makes the icons visible again since the clip region is not empty
    anymore.

 applets/notification_area/na-tray.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c
index 945807d..867f1a6 100644
--- a/applets/notification_area/na-tray.c
+++ b/applets/notification_area/na-tray.c
@@ -752,6 +752,7 @@ na_tray_size_allocate (GtkWidget        *widget,
                        GtkAllocation    *allocation)
 {
   gtk_widget_size_allocate (gtk_bin_get_child (GTK_BIN (widget)), allocation);
+  gtk_widget_set_allocation (widget, allocation);
 }
 
 static void



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