[Xfce4-commits] [xfce/xfce4-panel] 01/03: Ensure the orientation style classes are always applied

noreply at xfce.org noreply at xfce.org
Tue Oct 23 23:50:28 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 7802d9c534fd75aea9e71a81f1df585e1b734b3f
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Tue Oct 23 23:39:14 2018 +0200

    Ensure the orientation style classes are always applied
    
    This means you can always use .xfce4-panel.horizontal or
    .xfce4-panel.vertical to refer to a panel in the related orientation.
---
 panel/panel-window.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index dbf0720..41354a9 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -652,9 +652,8 @@ panel_window_set_property (GObject      *object,
         {
           window->mode = val_mode;
           panel_window_screen_layout_changed (window->screen, window);
-          panel_base_window_orientation_changed (window, window->mode);
         }
-
+      panel_base_window_orientation_changed (window, window->mode);
       /* send the new orientation and screen position to the panel plugins */
       panel_window_plugins_update (window, PLUGIN_PROP_MODE);
       panel_window_plugins_update (window, PLUGIN_PROP_SCREEN_POSITION);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list