~ubuntu-branches/ubuntu/lucid/tomboy/lucid-proposed

« back to all changes in this revision

Viewing changes to debian/patches/03_u1_as_default_sync.patch

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2013-02-04 15:15:36 UTC
  • Revision ID: package-import@ubuntu.com-20130204151536-t90jg4czb4qbh4j6
Tags: 1.2.2-0ubuntu2
* debian/patches/03_u1_as_default_sync.patch:
  - Remove patches to default to Ubuntu One for notes sync. (LP: #1115460)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff --git a/Tomboy/Addins/WebSyncService/WebSyncServiceAddin.cs b/Tomboy/Addins/WebSyncService/WebSyncServiceAddin.cs
2
 
index 366c2dd..9535afd 100644
3
 
--- a/Tomboy/Addins/WebSyncService/WebSyncServiceAddin.cs
4
 
+++ b/Tomboy/Addins/WebSyncService/WebSyncServiceAddin.cs
5
 
@@ -93,6 +93,8 @@ namespace Tomboy.WebSync
6
 
                        string serverPref;
7
 
                        Api.OAuth oauth;
8
 
                        GetConfigSettings (out oauth, out serverPref);
9
 
+                       if (string.IsNullOrEmpty (serverPref))
10
 
+                               serverPref = "https://one.ubuntu.com/notes/";
11
 
                        prefsWidget = new WebSyncPreferencesWidget (oauth, serverPref);
12
 
                        return prefsWidget;
13
 
                }