[Xfce4-commits] [xfce/thunar] 01/01: Rename "Disconnect" context menu entry in side pane (Bug #16558)

noreply at xfce.org noreply at xfce.org
Wed Mar 18 23:00:13 CET 2020


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

a   l   e   x       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/thunar.

commit 773ea887b8907722012eecd0d3c8c90765a0310c
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Wed Mar 18 19:57:52 2020 +0100

    Rename "Disconnect" context menu entry in side pane (Bug #16558)
    
    ...to "Unmount" which is commonly used instead.
---
 thunar/thunar-shortcuts-view.c | 4 ++--
 thunar/thunar-tree-view.c      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index f2ef48e..1ff455f 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -1202,8 +1202,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
         gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
         gtk_widget_show (item);
 
-        /* append the "Disconnect" item */
-        item = gtk_menu_item_new_with_mnemonic (_("Disconn_ect"));
+        /* append the "Unmount" item */
+        item = gtk_menu_item_new_with_mnemonic (_("_Unmount"));
         gtk_widget_set_sensitive (item, thunar_device_can_eject (device));
         g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (thunar_shortcuts_view_eject), view);
         gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
diff --git a/thunar/thunar-tree-view.c b/thunar/thunar-tree-view.c
index 5dc1076..e3fc894 100644
--- a/thunar/thunar-tree-view.c
+++ b/thunar/thunar-tree-view.c
@@ -1346,8 +1346,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
         }
       else
         {
-          /* append the "Disconnect" menu action */
-          item = gtk_menu_item_new_with_mnemonic (_("Disconn_ect"));
+          /* append the "Unmount" menu action */
+          item = gtk_menu_item_new_with_mnemonic (_("_Unmount"));
           gtk_widget_set_sensitive (item, thunar_device_can_eject (device));
           g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (thunar_tree_view_action_eject), view);
           gtk_menu_shell_append (GTK_MENU_SHELL (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