diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-06-10 14:44:37 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-06-10 14:44:37 +0000 |
commit | 6f75c77e5492e34774a05939fae0c3e3caea0175 (patch) | |
tree | 971a7a5b7b70c29737830298f810cbe2ca384f82 | |
parent | e3d055f2b9995eb5dbab2527b974a8d2075cf619 (diff) | |
download | totem-6f75c77e5492e34774a05939fae0c3e3caea0175.tar.gz |
Patch from Baptiste Mille-Mathias <bmm80@free.fr> to add double-click ->
2008-06-10 Bastien Nocera <hadess@hadess.net>
* browser-plugin/totem-plugin-viewer.c
(on_video_button_press_event): Patch from Baptiste Mille-Mathias
<bmm80@free.fr> to add double-click -> fullscreen support
(Closes: #502073)
svn path=/trunk/; revision=5461
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | browser-plugin/totem-plugin-viewer.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2008-06-10 Bastien Nocera <hadess@hadess.net> + * browser-plugin/totem-plugin-viewer.c + (on_video_button_press_event): Patch from Baptiste Mille-Mathias + <bmm80@free.fr> to add double-click -> fullscreen support + (Closes: #502073) + +2008-06-10 Bastien Nocera <hadess@hadess.net> + * src/plugins/totem-plugin.c (totem_get_plugin_paths): * src/totem-uri.c (totem_ensure_dir), (totem_dot_dir), (totem_data_dot_dir): diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c index c2322b004..22a8770bf 100644 --- a/browser-plugin/totem-plugin-viewer.c +++ b/browser-plugin/totem-plugin-viewer.c @@ -1457,6 +1457,8 @@ on_video_button_press_event (BaconVideoWidget *bvw, gtk_menu_popup (menu, NULL, NULL, NULL, NULL, event->button, event->time); + } else if (event->type == GDK_2BUTTON_PRESS && event->button == 1 && state == 0) { + totem_embedded_toggle_fullscreen (emb); } return FALSE; |