diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-09-05 09:47:48 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-09-05 09:47:48 (GMT) |
commit | 3e53caa56a48a1b854588e9a53c863ef7071f58e (patch) | |
tree | fd3edf112ccdfd351a1ac325d93574ebaf050c46 /shell/ev-sidebar-attachments.c | |
parent | 94cb89c0c9cbefaadaa067062fe7ea461f9a8d64 (diff) |
Use GdkAppLaunchContext when available to open attachments.
2008-09-05 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-attachment.[ch]: (ev_attachment_launch_app),
(ev_attachment_open):
* shell/ev-sidebar-attachments.c:
(ev_sidebar_attachments_button_press):
* shell/ev-window.c: (ev_attachment_popup_cmd_open_attachment):
Use GdkAppLaunchContext when available to open attachments.
svn path=/trunk/; revision=3152
Diffstat (limited to 'shell/ev-sidebar-attachments.c')
-rw-r--r-- | shell/ev-sidebar-attachments.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c index fa64fbc..44c027f 100644 --- a/shell/ev-sidebar-attachments.c +++ b/shell/ev-sidebar-attachments.c @@ -295,7 +295,10 @@ ev_sidebar_attachments_button_press (EvSidebarAttachments *ev_attachbar, if (!attachment) return FALSE; - ev_attachment_open (attachment, &error); + ev_attachment_open (attachment, + gtk_widget_get_screen (GTK_WIDGET (ev_attachbar)), + event->time, + &error); if (error) { g_warning ("%s", error->message); |