~ubuntu-branches/ubuntu/quantal/evolution-data-server/quantal

« back to all changes in this revision

Viewing changes to camel/providers/imapx/camel-imapx-provider.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 22:41:23 UTC
  • mfrom: (1.1.100)
  • Revision ID: package-import@ubuntu.com-20120703224123-90dydkyfyvff8s0s
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Drop libgconf2-dev from Build-Depends.
  - Bump versions for glib, goa, and libsoup in Build-Depends.
  - Add a Build-Depends on libgcr-3-dev (>= 3.4)
  - Rename packages following upstream SONAME changes.
  - Add Depends on libgnome-keyring-dev to libedataserver1.2-dev.
* debian/rules:
  - Update mkshlibs arguments for libcamel-1.2-38 instead of -33; as it was
    renamed in control due to the soname change.
  - Strip out -Bsymbolic-functions from LDFLAGS.
* Renamed install files in debian/:
  - libcamel-1.2-33.install => libcamel-1.2-38.install
  - libebackend-1.2-2.install => libebackend-1.2-4.install
  - libebook-1.2-13.install => libebook-1.2-17.install
  - libecal-1.2-11.install => libecal-1.2-15.install
  - libedata-book-1.2-13.install => libedata-book-1.2-15.install
  - libedata-cal-1.2-15.install => libedata-cal-1.2-18.install
  - libedataserver-1.2-16.install => libedataserver-1.2-17.install
  - libedataserverui-3.0-1.install => libedataserverui-3.0-4.install
* debian/patches/google_tests_fpic.patch: build tests with -fPIC; otherwise
  build fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <camel/camel.h>
31
31
#include <glib/gi18n-lib.h>
32
32
 
33
 
#include "camel-imapx-store.h"
34
 
 
35
33
static guint imapx_url_hash (gconstpointer key);
36
34
static gint  imapx_url_equal (gconstpointer a, gconstpointer b);
37
35
 
47
45
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-idle", NULL,
48
46
          N_("_Listen for server change notifications"), "1" },
49
47
        { CAMEL_PROVIDER_CONF_SECTION_END },
50
 
#ifndef G_OS_WIN32
51
 
        { CAMEL_PROVIDER_CONF_SECTION_START, "cmdsection", NULL,
52
 
          N_("Connection to Server") },
53
 
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-shell-command", NULL,
54
 
          N_("_Use custom command to connect to server"), "0" },
55
 
        { CAMEL_PROVIDER_CONF_ENTRY, "shell-command", "use-shell-command",
56
 
          N_("Command:"), "ssh -C -l %u %h exec /usr/sbin/dovecot --exec-mail imap" },
57
 
        { CAMEL_PROVIDER_CONF_CHECKSPIN, "concurrent-connections", NULL,
58
 
          N_("Numbe_r of cached connections to use"), "y:1:5:7" },
59
 
        { CAMEL_PROVIDER_CONF_SECTION_END },
60
 
#endif
61
48
        { CAMEL_PROVIDER_CONF_SECTION_START, "folders", NULL,
62
49
          N_("Folders") },
63
50
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-subscriptions", NULL,
114
101
        /* ... */
115
102
};
116
103
 
117
 
CamelServiceAuthType camel_imapx_password_authtype = {
118
 
        N_("Password"),
119
 
 
120
 
        N_("This option will connect to the IMAP server using a "
121
 
           "plaintext password."),
122
 
 
123
 
        "",
124
 
        TRUE
125
 
};
 
104
extern CamelServiceAuthType camel_imapx_password_authtype;
126
105
 
127
106
void camel_imapx_module_init (void);
128
107
 
136
115
        imapx_provider.authtypes = g_list_prepend (imapx_provider.authtypes, &camel_imapx_password_authtype);
137
116
        imapx_provider.translation_domain = GETTEXT_PACKAGE;
138
117
 
139
 
        /* TEMPORARY */
140
 
        imapx_utils_init ();
141
 
 
142
118
        camel_provider_register (&imapx_provider);
143
119
}
144
120