View | Details | Raw Unified
Collapse All | Expand All

(-) src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs (-2 / +2 lines)
 Lines 149-159    Link Here 
            // Determine whether the tray is inside a horizontal or vertical
            // Determine whether the tray is inside a horizontal or vertical
            // panel so the size of the icon can adjust correctly.
            // panel so the size of the icon can adjust correctly.
        
        
            if (ParentWindow == null) {
            if (event_box.ParentWindow == null) {
                return PanelOrientation.Horizontal;
                return PanelOrientation.Horizontal;
            }
            }
            Gdk.Window top_level_window = ParentWindow.Toplevel;
            Gdk.Window top_level_window = event_box.ParentWindow.Toplevel;
            Gdk.Rectangle rect = top_level_window.FrameExtents;
            Gdk.Rectangle rect = top_level_window.FrameExtents;
            if (rect.Width < rect.Height) {
            if (rect.Width < rect.Height) {