summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-06-10 14:44:37 +0000
committerBastien Nocera <hadess@src.gnome.org>2008-06-10 14:44:37 +0000
commit6f75c77e5492e34774a05939fae0c3e3caea0175 (patch)
tree971a7a5b7b70c29737830298f810cbe2ca384f82
parente3d055f2b9995eb5dbab2527b974a8d2075cf619 (diff)
downloadtotem-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--ChangeLog7
-rw-r--r--browser-plugin/totem-plugin-viewer.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a129c594d..14305a2ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;