gnome-commander r1579 - in trunk: . src src/tags
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1579 - in trunk: . src src/tags
- Date: Fri, 22 Feb 2008 23:17:22 +0000 (GMT)
Author: epiotr
Date: Fri Feb 22 23:17:22 2008
New Revision: 1579
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1579&view=rev
Log:
Do not show password in File.Link tag
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-file.cc
trunk/src/gnome-cmd-file.h
trunk/src/tags/gnome-cmd-tags-file.cc
Modified: trunk/src/gnome-cmd-file.cc
==============================================================================
--- trunk/src/gnome-cmd-file.cc (original)
+++ trunk/src/gnome-cmd-file.cc Fri Feb 22 23:17:22 2008
@@ -397,12 +397,12 @@
}
-gchar *gnome_cmd_file_get_uri_str (GnomeCmdFile *finfo)
+gchar *gnome_cmd_file_get_uri_str (GnomeCmdFile *finfo, GnomeVFSURIHideOptions hide_options)
{
g_return_val_if_fail (GNOME_CMD_IS_FILE (finfo), NULL);
GnomeVFSURI *uri = gnome_cmd_file_get_uri (finfo);
- gchar *uri_str = gnome_vfs_uri_to_string (uri, GNOME_VFS_URI_HIDE_NONE);
+ gchar *uri_str = gnome_vfs_uri_to_string (uri, hide_options);
gnome_vfs_uri_unref (uri);
return uri_str;
Modified: trunk/src/gnome-cmd-file.h
==============================================================================
--- trunk/src/gnome-cmd-file.h (original)
+++ trunk/src/gnome-cmd-file.h Fri Feb 22 23:17:22 2008
@@ -80,7 +80,7 @@
gchar *gnome_cmd_file_get_dirname (GnomeCmdFile *finfo);
gchar *gnome_cmd_file_get_unescaped_dirname (GnomeCmdFile *finfo);
GnomeVFSURI *gnome_cmd_file_get_uri (GnomeCmdFile *finfo);
-gchar *gnome_cmd_file_get_uri_str (GnomeCmdFile *finfo);
+gchar *gnome_cmd_file_get_uri_str (GnomeCmdFile *finfo, GnomeVFSURIHideOptions hide_options=GNOME_VFS_URI_HIDE_NONE);
const gchar *gnome_cmd_file_get_extension (GnomeCmdFile *finfo);
const gchar *gnome_cmd_file_get_owner (GnomeCmdFile *finfo);
Modified: trunk/src/tags/gnome-cmd-tags-file.cc
==============================================================================
--- trunk/src/tags/gnome-cmd-tags-file.cc (original)
+++ trunk/src/tags/gnome-cmd-tags-file.cc Fri Feb 22 23:17:22 2008
@@ -62,7 +62,7 @@
g_free(dpath);
- gchar *uri_str = gnome_cmd_file_get_uri_str (finfo);
+ gchar *uri_str = gnome_cmd_file_get_uri_str (finfo, GNOME_VFS_URI_HIDE_PASSWORD);
finfo->metadata->add(TAG_FILE_LINK, uri_str);
g_free(uri_str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]