[gnome-commander] GnomeCmdConRemote: add auth param to gnome_cmd_con_remote_new (const gchar *alias, const string &uri



commit e5e4abd1beda0ec581151580cb3818432544d126
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Dec 29 11:49:54 2011 +0100

    GnomeCmdConRemote: add auth param to gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str, GnomeCmdCon::Authentication auth) function

 src/gnome-cmd-con-remote.cc |    2 +-
 src/gnome-cmd-con-remote.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 55e7808..dd46140 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -239,7 +239,7 @@ GtkType gnome_cmd_con_remote_get_type ()
 }
 
 
-GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str)
+GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str, GnomeCmdCon::Authentication auth)
 {
     gchar *canonical_uri = gnome_vfs_make_uri_canonical (uri_str.c_str());
 
diff --git a/src/gnome-cmd-con-remote.h b/src/gnome-cmd-con-remote.h
index 6aa6905..30fafce 100644
--- a/src/gnome-cmd-con-remote.h
+++ b/src/gnome-cmd-con-remote.h
@@ -44,7 +44,7 @@ struct GnomeCmdConRemoteClass
 
 GtkType gnome_cmd_con_remote_get_type ();
 
-GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const std::string &uri_str);
+GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const std::string &uri_str, GnomeCmdCon::Authentication auth=GnomeCmdCon::SAVE_PERMANENTLY);
 
 void gnome_cmd_con_remote_set_host_name (GnomeCmdConRemote *con, const gchar *host_name);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]