From 5f78edb1e798eb7b8257c212163442a49d60be8f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 16 Mar 2011 16:47:51 -0500 Subject: Sadly, no more oobs for us. --- src/datetime-service.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/datetime-service.c') diff --git a/src/datetime-service.c b/src/datetime-service.c index 18fa583..615010c 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -47,8 +47,6 @@ with this program. If not, see . #include #include -#include - #include "datetime-interface.h" #include "dbus-shared.h" #include "settings-shared.h" -- cgit v1.2.3 From a8cdacf07d258d6ddd5fe0411d0c7c7785f46b81 Mon Sep 17 00:00:00 2001 From: karl-qdh Date: Thu, 17 Mar 2011 15:48:46 +0000 Subject: Never prompt for password, causes segfault --- src/datetime-service.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/datetime-service.c') diff --git a/src/datetime-service.c b/src/datetime-service.c index 18fa583..2791693 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -481,16 +481,6 @@ auth_func (ECal *ecal, gchar *password = e_passwords_get_password (component_name, key); - if (password == NULL) { - password = e_passwords_ask_password ( - _("Enter password"), - component_name, key, prompt, - E_PASSWORDS_REMEMBER_FOREVER | - E_PASSWORDS_SECRET | - E_PASSWORDS_ONLINE, - &remember, NULL); - } - g_free (auth_domain); return password; -- cgit v1.2.3 From f46b11e29842f87f5cc3bef8c6dfb8abe090e99f Mon Sep 17 00:00:00 2001 From: karl-qdh Date: Thu, 17 Mar 2011 15:53:28 +0000 Subject: Unused variable --- src/datetime-service.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/datetime-service.c') diff --git a/src/datetime-service.c b/src/datetime-service.c index 2791693..bd9a9c9 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -471,7 +471,6 @@ auth_func (ECal *ecal, const gchar *key, gpointer user_data) { - gboolean remember; // TODO: Is this useful? Should we be storing it somewhere? ESource *source = e_cal_get_source (ecal); gchar *auth_domain = e_source_get_duped_property (source, "auth-domain"); -- cgit v1.2.3 From 13c3a183a9e32d5e0e115038d4bb62c26b0d81db Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 21 Mar 2011 15:13:07 +0100 Subject: Mark date format string as translatable, and add translator comment. Fixes: LP:737326 --- src/datetime-service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datetime-service.c') diff --git a/src/datetime-service.c b/src/datetime-service.c index 615010c..8b5e5b6 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -252,8 +252,8 @@ update_datetime (gpointer user_data) return FALSE; } - /* Note: may require some localization tweaks */ - strftime(longstr, 128, "%A, %e %B %Y", ltime); + /* Translators: strftime(3) style date format on top of the menu when you click on the clock */ + strftime(longstr, 128, _("%A, %e %B %Y"), ltime); gchar * utf8 = g_locale_to_utf8(longstr, -1, NULL, NULL, NULL); dbusmenu_menuitem_property_set(date, DBUSMENU_MENUITEM_PROP_LABEL, utf8); -- cgit v1.2.3 From 890d5bb440d7a5f73b4f9e6af62102a4844dcfda Mon Sep 17 00:00:00 2001 From: karl-qdh Date: Wed, 23 Mar 2011 12:03:21 +0000 Subject: String change and small behaviour change mpt tagged "sniffles" --- src/datetime-service.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/datetime-service.c') diff --git a/src/datetime-service.c b/src/datetime-service.c index eacce36..65df77e 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -371,11 +371,15 @@ check_for_calendar (gpointer user_data) dbusmenu_menuitem_property_set_bool(calendar, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); dbusmenu_menuitem_property_set_bool(calendar, DBUSMENU_MENUITEM_PROP_VISIBLE, TRUE); + dbusmenu_menuitem_property_set_bool(date, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); + g_signal_connect (G_OBJECT(date), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, + G_CALLBACK (activate_cb), "evolution -c calendar"); + events_separator = dbusmenu_menuitem_new(); dbusmenu_menuitem_property_set(events_separator, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); dbusmenu_menuitem_child_add_position(root, events_separator, 2); add_appointment = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set (add_appointment, DBUSMENU_MENUITEM_PROP_LABEL, _("Add Appointment")); + dbusmenu_menuitem_property_set (add_appointment, DBUSMENU_MENUITEM_PROP_LABEL, _("Add Event...")); dbusmenu_menuitem_property_set_bool(add_appointment, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); g_signal_connect(G_OBJECT(add_appointment), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_cb), "evolution -c calendar"); dbusmenu_menuitem_child_add_position (root, add_appointment, 3); -- cgit v1.2.3