projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56b31bd
)
Request motion events after processing the first one in attachments view
author
Jose Dapena Paz
<jdapena@igalia.com>
Wed, 13 May 2009 18:18:28 +0000
(20:18 +0200)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Wed, 13 May 2009 18:28:42 +0000
(20:28 +0200)
src/widgets/modest-attachments-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-attachments-view.c
b/src/widgets/modest-attachments-view.c
index
ac8d05b
..
a6e55a4
100644
(file)
--- a/
src/widgets/modest-attachments-view.c
+++ b/
src/widgets/modest-attachments-view.c
@@
-502,9
+502,12
@@
motion_notify_event (GtkWidget *widget,
(gint) event->x_root, (gint) event->y_root);
if (priv->style == MODEST_ATTACHMENTS_VIEW_STYLE_LINKS) {
if (att_view == priv->press_att_view) {
(gint) event->x_root, (gint) event->y_root);
if (priv->style == MODEST_ATTACHMENTS_VIEW_STYLE_LINKS) {
if (att_view == priv->press_att_view) {
+ if (priv->selected == NULL)
set_selected (MODEST_ATTACHMENTS_VIEW (widget), MODEST_ATTACHMENT_VIEW (att_view));
} else {
set_selected (MODEST_ATTACHMENTS_VIEW (widget), MODEST_ATTACHMENT_VIEW (att_view));
} else {
- unselect_all (MODEST_ATTACHMENTS_VIEW (widget));
+ if (priv->selected) {
+ unselect_all (MODEST_ATTACHMENTS_VIEW (widget));
+ }
}
} else {
}
} else {
@@
-515,6
+518,7
@@
motion_notify_event (GtkWidget *widget,
MODEST_ATTACHMENT_VIEW (att_view));
}
}
MODEST_ATTACHMENT_VIEW (att_view));
}
}
+ gdk_event_request_motions (event);
}
return TRUE;
}
}
return TRUE;
}