[Xfce4-commits] [xfce/thunar] 01/01: Fix UAC forgets keyboard shortcut (Bug #14617)

noreply at xfce.org noreply at xfce.org
Wed Aug 22 03:47:23 CEST 2018


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit e8c128ac47951497956a77ef015dd6f927f24734
Author: Anna Arad <xfce at shards.me>
Date:   Tue Aug 21 11:46:04 2018 +0300

    Fix UAC forgets keyboard shortcut (Bug #14617)
---
 plugins/thunar-uca/thunar-uca-editor.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/plugins/thunar-uca/thunar-uca-editor.c b/plugins/thunar-uca/thunar-uca-editor.c
index d8928e9..eb8c3dc 100644
--- a/plugins/thunar-uca/thunar-uca-editor.c
+++ b/plugins/thunar-uca/thunar-uca-editor.c
@@ -604,7 +604,11 @@ thunar_uca_editor_load (ThunarUcaEditor *uca_editor,
   /* Resolve shortcut from accelerator */
   uca_editor->accel_path = g_strdup_printf ("<Actions>/ThunarActions/uca-action-%s", unique_id);
   if (gtk_accel_map_lookup_entry (uca_editor->accel_path, &key) && key.accel_key != 0)
-    accel_label = gtk_accelerator_get_label (key.accel_key, key.accel_mods);
+    {
+      accel_label = gtk_accelerator_get_label (key.accel_key, key.accel_mods);
+      uca_editor->accel_key = key.accel_key;
+      uca_editor->accel_mods = key.accel_mods;
+    }
 
   /* apply the new values */
   gtk_entry_set_text (GTK_ENTRY (uca_editor->description_entry), (description != NULL) ? description : "");

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


More information about the Xfce4-commits mailing list