[Xfce4-commits] [xfce/xfdesktop] 05/05: Hide file action menu entries when volume + other icons are selected

noreply at xfce.org noreply at xfce.org
Wed Feb 18 17:21:26 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 9d639596b8385fcb66854716c279e85f6b7b45af
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Wed Feb 18 16:56:34 2015 +0100

    Hide file action menu entries when volume + other icons are selected
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/xfdesktop-file-icon-manager.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index de0bbba..39c75af 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -1666,7 +1666,7 @@ xfdesktop_file_icon_manager_populate_context_menu(XfceDesktop *desktop,
                                  fmanager);
             } else
             gtk_widget_set_sensitive(mi, FALSE);
-        } else {
+        } else if(info) {
             /* Menu popup on an icon */
             /* Cut */
             mi = gtk_image_menu_item_new_from_stock(GTK_STOCK_CUT, NULL);

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


More information about the Xfce4-commits mailing list