evince r3149 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3149 - in trunk: . shell
- Date: Thu, 4 Sep 2008 11:43:06 +0000 (UTC)
Author: carlosgc
Date: Thu Sep 4 11:43:05 2008
New Revision: 3149
URL: http://svn.gnome.org/viewvc/evince?rev=3149&view=rev
Log:
2008-09-04 Carlos Garcia Campos <carlosgc gnome org>
* shell/ev-media-player-keys.c: (ev_media_player_keys_grab_keys):
Grab the mediakeys with a low priority. Fixes bug #547164. Patch
by Eric Piel.
Modified:
trunk/ChangeLog
trunk/shell/ev-media-player-keys.c
Modified: trunk/shell/ev-media-player-keys.c
==============================================================================
--- trunk/shell/ev-media-player-keys.c (original)
+++ trunk/shell/ev-media-player-keys.c Thu Sep 4 11:43:05 2008
@@ -88,10 +88,15 @@
static void
ev_media_player_keys_grab_keys (EvMediaPlayerKeys *keys)
{
+ /*
+ * The uint as second argument is time. We give a very low value so that
+ * if a media player is there it gets higher priority on the keys (0 is
+ * a special value having maximum priority).
+ */
dbus_g_proxy_call (keys->proxy,
"GrabMediaPlayerKeys", NULL,
G_TYPE_STRING, "Evince",
- G_TYPE_UINT, 0,
+ G_TYPE_UINT, 1,
G_TYPE_INVALID, G_TYPE_INVALID);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]