projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba63f35
)
Set the proper parent for message details dialog
author
Sergio Villar Senín
<svillar@igalia.com>
Wed, 2 Dec 2009 17:17:46 +0000
(18:17 +0100)
committer
Sergio Villar Senín
<svillar@igalia.com>
Thu, 3 Dec 2009 15:52:38 +0000
(16:52 +0100)
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
8ecf384
..
150b532
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-4094,6
+4094,7
@@
headers_action_show_details (TnyHeader *header,
{
gboolean async_retrieval;
+ GtkWindow *toplevel;
TnyMsg *msg = NULL;
if (MODEST_IS_MSG_VIEW_WINDOW (window)) {
@@
-4102,7
+4103,8
@@
headers_action_show_details (TnyHeader *header,
} else {
async_retrieval = FALSE;
}
- modest_platform_run_header_details_dialog (GTK_WINDOW (window), header, async_retrieval, msg);
+ toplevel = (GtkWindow *) gtk_widget_get_toplevel ((GtkWidget *) window);
+ modest_platform_run_header_details_dialog (toplevel, header, async_retrieval, msg);
if (msg)
g_object_unref (msg);
}