diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-06-15 14:38:21 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-06-15 14:38:21 +0100 |
commit | ba57d27e4da9d145f08f1305d01a327612702ff2 (patch) | |
tree | 59cd6a64817bed80b81b03fe32e019dbc1d32d74 /src | |
parent | 0585eccbaa90e2d4eae447a5a69e1101c528d2c0 (diff) | |
download | ayatana-indicator-sound-ba57d27e4da9d145f08f1305d01a327612702ff2.tar.gz ayatana-indicator-sound-ba57d27e4da9d145f08f1305d01a327612702ff2.tar.bz2 ayatana-indicator-sound-ba57d27e4da9d145f08f1305d01a327612702ff2.zip |
remove redundant source
Diffstat (limited to 'src')
-rw-r--r-- | src/rhythmbox-controller.vala | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/rhythmbox-controller.vala b/src/rhythmbox-controller.vala deleted file mode 100644 index 734c8bd..0000000 --- a/src/rhythmbox-controller.vala +++ /dev/null @@ -1,44 +0,0 @@ -using DbusmenuGlib; - -public class RhythmboxController : GLib.Object -{ - private DBus.Connection connection; - private dynamic DBus.Object rhythmbox_player; - private dynamic DBus.Object rhythmbox_shell; - private dynamic DBus.Object rhythmbox_playlistmgr; - - public RhythmboxController() - { - try { - this.connection = DBus.Bus.get (DBus.BusType.SESSION); - } catch (Error e) { - debug("Problems connecting to the session bus - %s", e.message); - } - - this.rhythmbox_player = this.connection.get_object ("org.gnome.Rhythmbox", "/org/gnome/Rhythmbox/Player", "org.gnome.Rhythmbox.Player"); - this.rhythmbox_shell = connection.get_object ("org.gnome.Rhythmbox", "/org/gnome/Rhythmbox/Shell", "org.gnome.Rhythmbox.Shell"); - this.rhythmbox_playlistmgr = connection.get_object ("org.gnome.Rhythmbox", "/org/gnome/Rhythmbox/PlaylistManager", "/org/gnome/Rhythmbox/PlaylistManager"); - - this.rhythmbox_player.playingUriChanged += onUriChange; - this.rhythmbox_player.elapsedChanged += onElapsedChange; - - debug("New rhythmbox controller has been instantiated"); - } - - private void onUriChange(dynamic DBus.Object rhythmbox, string uri) - { - debug("onUriChange, new uri : %s", uri); - //;// = new HashTable<string, string>(str_hash,str_equal); - HashTable<string,Value?> ht = this.rhythmbox_shell.getSongProperties(uri); - var l = ht.get_keys(); - foreach(string s in l){ - debug("key = %s", s); - } - } - - private void onElapsedChange(dynamic DBus.Object rhythmbox, uint32 time) - { - debug("onElapsedChange, new time = %u", time); - } - -} |