[Xfce4-commits] [xfce/xfdesktop] 03/03: Clean up the copy/move/link dnd menu

noreply at xfce.org noreply at xfce.org
Thu Apr 20 17:38:22 CEST 2017


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

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

commit dd33e2a23ade7e33775e8d0638ec31bf79b2f2fa
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Thu Apr 20 10:46:35 2017 +0300

    Clean up the copy/move/link dnd menu
---
 src/xfdesktop-file-icon-manager.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index 10a318f..fa8cbe3 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -3390,14 +3390,16 @@ void xfdesktop_dnd_menu (XfdesktopIconViewManager *manager,
 {
     static GdkDragAction    actions[] = { GDK_ACTION_COPY, GDK_ACTION_MOVE, GDK_ACTION_LINK };
     static const gchar      *action_names[] = { N_ ("Copy _Here") , N_ ("_Move Here") , N_ ("_Link Here") };
-    static const gchar      *action_icons[] = { "stock_folder-copy", "stock_folder-move", NULL };
+    static const gchar      *action_icons[] = { "stock_folder-copy", "stock_folder-move", "insert-link" };
     GtkWidget *menu;
     GtkWidget *item;
     GtkWidget  *image;
     guint menu_item, signal_id;
     GMainLoop *loop;
     gint response;
+
     menu = gtk_menu_new();
+    gtk_menu_set_reserve_toggle_size(GTK_MENU(menu), FALSE);
 
     /* This adds the Copy, Move, & Link options */
     for(menu_item = 0; menu_item < G_N_ELEMENTS(actions); menu_item++) {

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


More information about the Xfce4-commits mailing list