aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-26 23:15:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-27 00:26:55 +0800
commit36b9debed099b1ad0b5d6a8af792f620bf7f124a (patch)
tree797f5587b1a6503ca0751c0243989a21eafab700 /mail/e-mail-reader.c
parent9279429501af7858716b0e317810a264192bb763 (diff)
downloadgsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.tar.gz
gsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.tar.zst
gsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.zip
More code cleanup.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index adf56fac7e..ff6245eb69 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -686,15 +686,17 @@ action_mail_next_cb (GtkAction *action,
mask = 0;
message_list = e_mail_reader_get_message_list (reader);
+
#if HAVE_CLUTTER
- actor = g_object_get_data ((GObject *)message_list, "preview-actor");
- if (actor) {
+ actor = g_object_get_data (G_OBJECT (message_list), "preview-actor");
+ if (actor != NULL) {
clutter_actor_set_opacity (actor, 0);
clutter_actor_animate (
actor, CLUTTER_EASE_OUT_SINE,
500, "opacity", 255, NULL);
}
#endif
+
message_list_select (
MESSAGE_LIST (message_list), direction, flags, mask);
}
@@ -2190,8 +2192,8 @@ mail_reader_message_selected_timeout_cb (EMailReader *reader)
string = g_strdup_printf (
_("Retrieving message '%s'"), cursor_uid);
#if HAVE_CLUTTER
- if (!e_shell_get_express_mode(e_shell_get_default()))
- e_web_view_load_string (web_view, string);
+ if (!e_shell_get_express_mode (e_shell_get_default ()))
+ e_web_view_load_string (web_view, string);
#else
e_web_view_load_string (web_view, string);
#endif