aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-30 12:32:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-30 12:32:49 +0800
commit62173ea1f0912002016aff25224517f87e33bd7c (patch)
treefc43c2141caedc6ff331d48485e58e4d5fae0c9e /calendar
parent89c47899ef4d2c547feb13edfed963a686f4449e (diff)
downloadgsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar.gz
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar.bz2
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar.lz
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar.xz
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.tar.zst
gsoc2013-evolution-62173ea1f0912002016aff25224517f87e33bd7c.zip
constify the strings to remove a warning.
2004-08-27 Not Zed <NotZed@Ximian.com> * common/authentication.c (auth_func_cb): constify the strings to remove a warning. ** See bug #64856 (workaround). * common/authentication.c (auth_func_cb): * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password request. svn path=/trunk/; revision=27077
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog11
-rw-r--r--calendar/common/authentication.c6
-rw-r--r--calendar/gui/e-pub-utils.c2
3 files changed, 15 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 564903cc67..d88e755e4a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,14 @@
+2004-08-27 Not Zed <NotZed@Ximian.com>
+
+ * common/authentication.c (auth_func_cb): constify the strings to
+ remove a warning.
+
+ ** See bug #64856 (workaround).
+
+ * common/authentication.c (auth_func_cb):
+ * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password
+ request.
+
2004-08-28 JP Rosevear <jpr@novell.com>
* gui/e-itip-control.c (rsvp_clicked_cb): get the active state
diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c
index 418d71a7b3..2df97e3aca 100644
--- a/calendar/common/authentication.c
+++ b/calendar/common/authentication.c
@@ -36,8 +36,7 @@ auth_func_cb (ECal *ecal, const char *prompt, const char *key, gpointer user_dat
gboolean remember;
char *password;
ESource *source;
- gchar *auth_domain;
- gchar *component_name;
+ const gchar *auth_domain, *component_name;
source = e_cal_get_source (ecal);
auth_domain = e_source_get_property (source, "auth-domain");
@@ -46,7 +45,8 @@ auth_func_cb (ECal *ecal, const char *prompt, const char *key, gpointer user_dat
if (!password)
password = e_passwords_ask_password (_("Enter password"), component_name, key, prompt,
- E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET, &remember,
+ E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET|E_PASSWORDS_ONLINE,
+ &remember,
NULL);
return password;
diff --git a/calendar/gui/e-pub-utils.c b/calendar/gui/e-pub-utils.c
index 0a1a390694..456f695528 100644
--- a/calendar/gui/e-pub-utils.c
+++ b/calendar/gui/e-pub-utils.c
@@ -301,7 +301,7 @@ e_pub_publish (gboolean publish) {
password = e_passwords_ask_password (_("Enter password"),
"Calendar", (gchar *)uri->location,
prompt,
- E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET,
+ E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET|E_PASSWORDS_ONLINE,
&remember, NULL);
g_free (prompt);