[Xfce4-commits] <thunar:master> Fix invalid replacement from previous commit (bug #8779).

Nick Schermer noreply at xfce.org
Fri Apr 27 19:26:01 CEST 2012


Updating branch refs/heads/master
         to 262c009d6090da3abd02e77350c806e96a10bd0c (commit)
       from 5aeebcefe239054c647af6cd240797705becba5e (commit)

commit 262c009d6090da3abd02e77350c806e96a10bd0c
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 27 19:23:44 2012 +0200

    Fix invalid replacement from previous commit (bug #8779).
    
    This made thunar return the uri instead of the uri-scheme, breaking
    the archive plugin.

 thunar/thunar-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 1aa17df..9509600 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -356,7 +356,7 @@ thunar_file_info_get_parent_uri (ThunarxFileInfo *file_info)
 static gchar*
 thunar_file_info_get_uri_scheme (ThunarxFileInfo *file_info)
 {
-  return thunar_file_dup_uri (file_info);
+  return g_file_get_uri_scheme (THUNAR_FILE (file_info)->gfile);
 }
 
 


More information about the Xfce4-commits mailing list