aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-04 22:12:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-04 22:21:38 +0800
commitd5480344fca8619381697ceed646462c8ae1b44e (patch)
tree4104f8cbcbfcddb07b57e723c47d06f679fbee40 /mail/em-utils.c
parent3e7451169b7c643a03796cd87008cd1fd88edc1c (diff)
downloadgsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar.gz
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar.bz2
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar.lz
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar.xz
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.tar.zst
gsoc2013-evolution-d5480344fca8619381697ceed646462c8ae1b44e.zip
EMailTagEditor: Remove calendar configuration properties.
Remove EMailTagEditor's "use-24-hour-format" and "week-start-day" properties, which were being used to manually configure its internal EDateEdit instance. This is unnecessary since all EDateEdit instances are automatically configured by the ESettingsDateEdit extension.
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 3a4e2289ea..74a0eaca49 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -363,10 +363,6 @@ em_utils_flag_for_followup (EMailReader *reader,
CamelFolder *folder,
GPtrArray *uids)
{
- EShell *shell;
- EMailBackend *backend;
- EShellSettings *shell_settings;
- EShellBackend *shell_backend;
EMailDisplay *display;
GtkWidget *editor;
GtkWindow *window;
@@ -378,25 +374,10 @@ em_utils_flag_for_followup (EMailReader *reader,
g_return_if_fail (uids != NULL);
window = e_mail_reader_get_window (reader);
- backend = e_mail_reader_get_backend (reader);
editor = e_mail_tag_editor_new ();
gtk_window_set_transient_for (GTK_WINDOW (editor), window);
- shell_backend = E_SHELL_BACKEND (backend);
- shell = e_shell_backend_get_shell (shell_backend);
- shell_settings = e_shell_get_shell_settings (shell);
-
- /* These settings come from the calendar module. */
- g_object_bind_property (
- shell_settings, "cal-use-24-hour-format",
- editor, "use-24-hour-format",
- G_BINDING_SYNC_CREATE);
- g_object_bind_property (
- shell_settings, "cal-week-start-day",
- editor, "week-start-day",
- G_BINDING_SYNC_CREATE);
-
for (i = 0; i < uids->len; i++) {
CamelMessageInfo *info;