updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / muine / fix-multimedia-key-support.patch
blob811822ac8e5fe37c3c34185e0b19b1a45d451f03
1 From d4dd66d73885db1b2aea2a267197413559bed5bc Mon Sep 17 00:00:00 2001
2 From: Priit Laes <plaes@plaes.org>
3 Date: Wed, 16 Sep 2009 21:30:06 +0000
4 Subject: Fix multimedia key support for >=Gnome-2.22
6 ---
7 diff --git a/src/GnomeMMKeys.cs b/src/GnomeMMKeys.cs
8 index dd99718..af5419a 100644
9 --- a/src/GnomeMMKeys.cs
10 +++ b/src/GnomeMMKeys.cs
11 @@ -37,11 +37,11 @@ namespace Muine
12 public class GnomeMMKeys : IDisposable
14 private const string BusName = "org.gnome.SettingsDaemon";
15 - private const string ObjectPath = "/org/gnome/SettingsDaemon";
16 + private const string ObjectPath = "/org/gnome/SettingsDaemon/MediaKeys";
18 private delegate void MediaPlayerKeyPressedHandler(string application, string key);
20 - [Interface("org.gnome.SettingsDaemon")]
21 + [Interface("org.gnome.SettingsDaemon.MediaKeys")]
22 private interface ISettingsDaemon
24 void GrabMediaPlayerKeys(string application, uint time);
26 cgit v0.9