← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~cjcurran/indicator-sound/tidy_up into lp:indicator-sound

 

Conor Curran has proposed merging lp:~cjcurran/indicator-sound/tidy_up into lp:indicator-sound.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)


Removed the rhythmbox-controller.vala - legacy code with unmet dependencies. 

-- 
https://code.launchpad.net/~cjcurran/indicator-sound/tidy_up/+merge/27627
Your team ayatana-commits is subscribed to branch lp:indicator-sound.
=== removed file 'src/rhythmbox-controller.vala'
--- src/rhythmbox-controller.vala	2010-05-17 23:52:39 +0000
+++ src/rhythmbox-controller.vala	1970-01-01 00:00:00 +0000
@@ -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);
-  }
-
-}


Follow ups