aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-26 18:26:59 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-26 18:56:08 +0800
commit5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d (patch)
treeb89e6e0fa8bc092405735b0ea5c6565da7054d92
parentb24376fea6f8a1e3cb8d27680262ac5d1543e809 (diff)
downloadgsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar.gz
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar.bz2
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar.lz
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar.xz
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.tar.zst
gsoc2013-evolution-5fb2bb4edf3caa5c25562afa981c1a2a6be42f3d.zip
Bug #659828 - Selecting a message with a sound attached loses focus
-rw-r--r--mail/em-format-html-display.c2
-rw-r--r--widgets/table/e-tree.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index dcaafed57d..de165073ce 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -1208,7 +1208,7 @@ efhd_attachment_button (EMFormatHTML *efh,
/* If the button is created, then give it focus after
* it is realized, so that user can use arrow keys to scroll
* message */
- if (efhd->priv->attachment_expanded || e_attachment_button_get_expanded (E_ATTACHMENT_BUTTON (widget))) {
+ if (efhd->priv->attachment_expanded) {
g_signal_connect (
widget, "realize",
G_CALLBACK (attachment_button_realized), NULL);
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 67d9020106..41818652bd 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -1156,7 +1156,7 @@ et_canvas_root_event (GnomeCanvasItem *root,
/* Handler for focus events in the table_canvas; we have to repaint ourselves
* and give the focus to some ETableItem.
*/
-static gint
+static gboolean
table_canvas_focus_event_cb (GtkWidget *widget,
GdkEventFocus *event,
gpointer data)