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 181bd4b4ed76181e6cc80e65010b52a19f34929f Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at> Date: Wed Aug 21 18:16:09 2019 +0200 windowlist: Make layout consistent with xfdesktop --- plugins/windowmenu/windowmenu.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c index cca4e1d..ab0a40e 100644 --- a/plugins/windowmenu/windowmenu.c +++ b/plugins/windowmenu/windowmenu.c @@ -882,6 +882,7 @@ window_menu_plugin_menu_workspace_item_new (WnckWorkspace *workspace, panel_return_val_if_fail (GTK_IS_LABEL (label), NULL); gtk_label_set_ellipsize (GTK_LABEL (label), plugin->ellipsize_mode); gtk_label_set_max_width_chars (GTK_LABEL (label), plugin->max_width_chars); + gtk_label_set_xalign (GTK_LABEL (label), 0.5); /* modify the label font if needed */ if (bold) @@ -1222,10 +1223,6 @@ window_menu_plugin_menu_new (WindowMenuPlugin *plugin) gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); gtk_widget_show (mi); - mi = gtk_separator_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); - gtk_widget_show (mi); - /* not empty anymore */ is_empty = FALSE; } @@ -1265,12 +1262,9 @@ window_menu_plugin_menu_new (WindowMenuPlugin *plugin) urgent_windows++; } - if (has_windows) - { - mi = gtk_separator_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); - gtk_widget_show (mi); - } + mi = gtk_separator_menu_item_new (); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + gtk_widget_show (mi); } /* destroy the last menu item if it's a separator */ -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits