[Xfce4-commits] <thunar:master> Trigger callback function when opening unmounted locations (bug #9447).

Nick Schermer noreply at xfce.org
Thu Nov 8 20:40:02 CET 2012


Updating branch refs/heads/master
         to fa11bfe6069e5fdce5367894b764b732f3d883fa (commit)
       from d174464325c991ab261c909b133f4f934cd68dc2 (commit)

commit fa11bfe6069e5fdce5367894b764b732f3d883fa
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Nov 8 20:37:35 2012 +0100

    Trigger callback function when opening unmounted locations (bug #9447).

 thunar/thunar-browser.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-browser.c b/thunar/thunar-browser.c
index a608518..9813936 100644
--- a/thunar/thunar-browser.c
+++ b/thunar/thunar-browser.c
@@ -445,7 +445,7 @@ thunar_browser_poke_file_internal (ThunarBrowser                *browser,
       target = thunar_file_get_target_location (file);
 
       poke_data = thunar_browser_poke_file_data_new (browser, location, source,
-                                                     file, func, NULL, user_data);
+                                                     file, func, location_func, user_data);
 
       thunar_file_get_async (target, NULL,
                              thunar_browser_poke_shortcut_file_finish,
@@ -460,7 +460,7 @@ thunar_browser_poke_file_internal (ThunarBrowser                *browser,
           target = thunar_file_get_target_location (file);
 
           poke_data = thunar_browser_poke_file_data_new (browser, location, source,
-                                                         file, func, NULL, user_data);
+                                                         file, func, location_func, user_data);
 
           thunar_file_get_async (target, NULL,
                                  thunar_browser_poke_mountable_file_finish,
@@ -471,7 +471,7 @@ thunar_browser_poke_file_internal (ThunarBrowser                *browser,
       else
         {
           poke_data = thunar_browser_poke_file_data_new (browser, location, source,
-                                                         file, func, NULL, user_data);
+                                                         file, func, location_func, user_data);
 
           mount_operation = thunar_browser_mount_operation_new (widget);
 
@@ -486,7 +486,7 @@ thunar_browser_poke_file_internal (ThunarBrowser                *browser,
   else if (!thunar_file_is_mounted (file))
     {
       poke_data = thunar_browser_poke_file_data_new (browser, location, source,
-                                                     file, func, NULL, user_data);
+                                                     file, func, location_func, user_data);
 
       mount_operation = thunar_browser_mount_operation_new (widget);
 


More information about the Xfce4-commits mailing list