totem r5955 - in trunk: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5955 - in trunk: . src
- Date: Mon, 9 Feb 2009 14:22:53 +0000 (UTC)
Author: hadess
Date: Mon Feb 9 14:22:53 2009
New Revision: 5955
URL: http://svn.gnome.org/viewvc/totem?rev=5955&view=rev
Log:
2009-02-09 Bastien Nocera <hadess hadess net>
* src/totem-object.c (on_video_button_press_event):
Patch from Robin Stocker <robin nibor org> to focus the
video widget when it's been clicked (Closes: #570836)
Modified:
trunk/ChangeLog
trunk/src/totem-object.c
Modified: trunk/src/totem-object.c
==============================================================================
--- trunk/src/totem-object.c (original)
+++ trunk/src/totem-object.c Mon Feb 9 14:22:53 2009
@@ -3221,7 +3221,10 @@
on_video_button_press_event (BaconVideoWidget *bvw, GdkEventButton *event,
Totem *totem)
{
- if (event->type == GDK_2BUTTON_PRESS && event->button == 1) {
+ if (event->type == GDK_BUTTON_PRESS && event->button == 1) {
+ gtk_widget_grab_focus (bvw);
+ return TRUE;
+ } else if (event->type == GDK_2BUTTON_PRESS && event->button == 1) {
totem_action_fullscreen_toggle(totem);
return TRUE;
} else if (event->type == GDK_BUTTON_PRESS && event->button == 2) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]