diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-06-29 10:24:23 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-06-29 10:24:23 +0200 |
commit | e63dc6451177bc9d4c398849eda13ff880fc69c3 (patch) | |
tree | b05fabfb4e370ddb0f73278d44f554cd59e8d970 /src/player-item.vala | |
parent | 01fc374f65b6c552891d3f0d2dad5c7eb8031596 (diff) | |
download | ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.tar.gz ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.tar.bz2 ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.zip |
new menu items manager - and removed the earlier attempt at a custom item for the same purpose
Diffstat (limited to 'src/player-item.vala')
-rw-r--r-- | src/player-item.vala | 2 |
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); |