aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-06 12:50:58 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-06 12:50:58 +0100
commitffd0bd8160dde014d14f31cf3c5f0ab904aee654 (patch)
tree3faf5d28ab60153003cd51cce799f92ff33140c4 /src/player-item.vala
parentf11a6bb0c8bc68d0a6972e94140f7b5d96881dba (diff)
downloadayatana-indicator-sound-ffd0bd8160dde014d14f31cf3c5f0ab904aee654.tar.gz
ayatana-indicator-sound-ffd0bd8160dde014d14f31cf3c5f0ab904aee654.tar.bz2
ayatana-indicator-sound-ffd0bd8160dde014d14f31cf3c5f0ab904aee654.zip
fixed the collapsing and expanding of the metadata widget, removed some unnecessary gtk3 stuff I thought that was necessary, tidied metadatawidget plus added a timeout for the metadata prop update query
Diffstat (limited to 'src/player-item.vala')
-rw-r--r--src/player-item.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player-item.vala b/src/player-item.vala
index 162dbea..7867653 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -61,6 +61,8 @@ public class PlayerItem : Dbusmenu.Menuitem
//debug("search key = %s", search_key);
Variant? v = data.lookup(search_key);
+ if (v == null) continue;
+
if (v.is_of_type ( VariantType.STRING )){
string update = v.get_string().strip();
//debug("with value : %s", update);