[Xfce4-commits] [xfce/xfdesktop] 01/01: hide an unneeded separator

noreply at xfce.org noreply at xfce.org
Mon Feb 16 17:25:59 CET 2015


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

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 5f3e53985fece2962d3da637cc2fa3093f48864b
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Mon Feb 16 19:16:51 2015 +0300

    hide an unneeded separator
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/windowlist.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/windowlist.c b/src/windowlist.c
index 09292e1..6ae9fea 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -346,7 +346,7 @@ windowlist_populate(XfceDesktop *desktop,
                     G_CALLBACK(mi_destroyed_cb), wnck_window);
         }
         
-        if(!wl_submenus) {
+        if(!wl_submenus && (i < nworkspaces-1 || wl_add_remove_options )) {
             mi = gtk_separator_menu_item_new();
             gtk_widget_show(mi);
             gtk_menu_shell_append(GTK_MENU_SHELL(submenu), mi);

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


More information about the Xfce4-commits mailing list