diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-02 04:56:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-02 04:56:04 +0800 |
commit | b2cda1d0c6d44f53f71bad9e256f41188677dfba (patch) | |
tree | 65bd7560e802baf1740482ae48b952dc5c5957fc /plugins/publish-calendar/url-editor-dialog.c | |
parent | e52986f4225cbe8496043da74ca250521d244705 (diff) | |
download | gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar.gz gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar.bz2 gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar.lz gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar.xz gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.tar.zst gsoc2013-evolution-b2cda1d0c6d44f53f71bad9e256f41188677dfba.zip |
Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
Diffstat (limited to 'plugins/publish-calendar/url-editor-dialog.c')
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index e396372c8a..ddc1653959 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -54,7 +54,7 @@ create_uri (UrlEditorDialog *dialog) method = "smb"; break; - case TYPE_SSH: + case TYPE_SFTP: method = "sftp"; break; @@ -110,7 +110,7 @@ check_input (UrlEditorDialog *dialog) /* This should probably be more complex, since ' ' isn't a valid server name */ switch (uri->service_type) { case TYPE_SMB: - case TYPE_SSH: + case TYPE_SFTP: case TYPE_FTP: case TYPE_DAV: case TYPE_DAVS: @@ -160,7 +160,7 @@ publish_service_changed (GtkComboBox *combo, UrlEditorDialog *dialog) gtk_widget_show (dialog->password_hbox); gtk_widget_show (dialog->remember_pw); break; - case TYPE_SSH: + case TYPE_SFTP: case TYPE_FTP: case TYPE_DAV: case TYPE_DAVS: @@ -275,7 +275,7 @@ set_from_uri (UrlEditorDialog *dialog) if (strcmp ((const char *)method, "smb") == 0) uri->service_type = TYPE_SMB; else if (strcmp ((const char *)method, "sftp") == 0) - uri->service_type = TYPE_SSH; + uri->service_type = TYPE_SFTP; else if (strcmp ((const char *)method, "ftp") == 0) /* we set TYPE_FTP here for now. if we don't find a * username later, we'll change it to TYPE_ANON_FTP */ |