[Xfce4-commits] [xfce/thunar] 01/01: Update the location bar after reload (bug #10518)

noreply at xfce.org noreply at xfce.org
Mon Apr 13 17:53:03 CEST 2015


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

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit c4304a63a39dee18fda78027ca576cf292f3a27f
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Apr 13 17:36:24 2015 +0200

    Update the location bar after reload (bug #10518)
    
    Show the correct path in the location bar after the user has
    reloaded the folder manually from the menu or from the button
    in the location bar.
    
    This improves UI feedback and is also the standard behaviour
    in other applications.
---
 thunar/thunar-window.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 3ca7ff0..68c1b2b 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -2479,6 +2479,10 @@ thunar_window_action_reload (GtkAction    *action,
 
   /* force the view to reload */
   g_signal_emit (G_OBJECT (window), window_signals[RELOAD], 0, &result);
+
+  /* update the location bar to show the current directory */
+  if (window->location_bar != NULL)
+    g_object_notify (G_OBJECT (window->location_bar), "current-directory");
 }
 
 

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


More information about the Xfce4-commits mailing list