[Xfce4-commits] <parole:master> Only fullscreen on video.
Ali Abdallah
noreply at xfce.org
Sat Nov 21 14:34:06 CET 2009
Updating branch refs/heads/master
to da0c54a0bc1436ae01f9a8e0447a4063c5517179 (commit)
from d12a4c10a7703bae4a08c1181b9eb98409b069db (commit)
commit da0c54a0bc1436ae01f9a8e0447a4063c5517179
Author: Ali Abdallah <ali at ali-xfce.org>
Date: Sat Nov 21 14:23:56 2009 +0100
Only fullscreen on video.
browser-plugin/media-plugin/parole-plugin-player.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/browser-plugin/media-plugin/parole-plugin-player.c b/browser-plugin/media-plugin/parole-plugin-player.c
index cc1a120..ab39d59 100644
--- a/browser-plugin/media-plugin/parole-plugin-player.c
+++ b/browser-plugin/media-plugin/parole-plugin-player.c
@@ -466,7 +466,11 @@ parole_plugin_player_gst_widget_button_press (GtkWidget *widget, GdkEventButton
{
gboolean ret_val = FALSE;
- if ( ev->type == GDK_2BUTTON_PRESS )
+ /*
+ * if full_screen widget is visible then we are playing
+ * video file so there is a point to go fullscreen.
+ */
+ if ( ev->type == GDK_2BUTTON_PRESS && GTK_WIDGET_VISIBLE (player->priv->full_screen) )
{
parole_plugin_player_fullscreen_clicked_cb (player);
ret_val = TRUE;
More information about the Xfce4-commits
mailing list