aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
blob: 7687a92e2324cf94c2caed2a8d4f1bd4f709e428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Dbusmenu;
using Gee;

public class TransportMenuitem : Dbusmenu.Menuitem
{
	/* Not ideal duplicate definition of const - see common-defs/h */
 	const string DBUSMENU_TRANSPORT_MENUITEM_TYPE = "x-canonical-transport-bar";
 	const string DBUSMENU_TRANSPORT_MENUITEM_STATE = "x-canonical-transport-state";

	public TransportMenuitem()
  {
		this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_TRANSPORT_MENUITEM_TYPE);
		this.property_set(DBUSMENU_TRANSPORT_MENUITEM_STATE, "play");
	}

	public override void handle_event(string name, GLib.Value input_value, uint timestamp)
	{
	}	
}