aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-09 17:39:03 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-09 17:39:03 +0200
commita406685399b46b4b2a62b8e580ce7beec2f875f4 (patch)
tree2cd89a60466abc22a1eaa75417074a112eaf9702 /src/metadata-menu-item.vala
parent58627767fbd151587a843fd2397f1c293533664a (diff)
downloadayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.tar.gz
ayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.tar.bz2
ayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.zip
image is appearing inthe gutter hurray
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r--src/metadata-menu-item.vala10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index 599a9c6..1d50d38 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -18,6 +18,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using Gee;
+using Dbusmenu;
using DbusmenuMetadata;
using Gdk;
@@ -32,16 +33,17 @@ public class MetadataMenuitem : PlayerItem
public MetadataMenuitem (PlayerController parent)
{
Object(item_type: MENUITEM_TYPE, owner: parent);
- reset(attributes_format());
+ //reset(attributes_format());
}
construct{
MetadataMenuitem.clean_album_art_temp_dir();
this.previous_temp_album_art_path = null;
this.album_art_cache_dir = MetadataMenuitem.create_album_art_temp_dir();
- this.property_set(MENUITEM_PLAYER_NAME, this.owner.app_info.get_name());
- this.property_set(MENUITEM_PLAYER_ICON, this.owner.icon_name);
- this.property_set_bool(MENUITEM_PLAYER_RUNNING, false);
+ debug ("JUST ABOUT TO ATTEMPT PLAYER NAME SETTING %s", this.owner.app_info.get_name());
+ this.property_set (MENUITEM_PLAYER_NAME, this.owner.app_info.get_name());
+ this.property_set (MENUITEM_PLAYER_ICON, this.owner.icon_name);
+ this.property_set_bool (MENUITEM_PLAYER_RUNNING, false);
}
private static void clean_album_art_temp_dir()