- "pause.png", /* icon */
- "Pause playing track", /* tip */
- "<GdisorderMain>/Control/Playing", /* menuitem */
- update_pause, /* update */
- disorder_eclient_pause, /* action */
- ICON_ACTIVE, /* flags */
- 0, /* button */
- 0 /* item */
- },
- {
- "play.png", /* icon */
- "Resume playing track", /* tip */
- "<GdisorderMain>/Control/Playing", /* menuitem */
- update_play, /* update */
- disorder_eclient_resume, /* action */
- ICON_INACTIVE, /* flags */
- 0, /* button */
- 0 /* item */
- },
- {
- "cross.png", /* icon */
- "Cancel playing track", /* tip */
- "<GdisorderMain>/Control/Scratch", /* menuitem */
- update_scratch, /* update */
- disorder_eclient_scratch_playing, /* action */
- 0, /* flags */
- 0, /* button */
- 0 /* item */
- },
- {
- "random.png", /* icon */
- "Enable random play", /* tip */
- "<GdisorderMain>/Control/Random play", /* menuitem */
- update_random_enable, /* update */
- disorder_eclient_random_enable, /* action */
- ICON_INACTIVE, /* flags */
- 0, /* button */
- 0 /* item */
+ toggle: TRUE,
+ stock: TRUE,
+ icon: GTK_STOCK_MEDIA_PAUSE,
+ label: "Pause",
+ tip_on: "Resume playing track",
+ tip_off: "Pause playing track",
+ menuitem: "<GdisorderMain>/Control/Playing",
+ on: pause_resume_on,
+ sensitive: pause_resume_sensitive,
+ action_go_on: disorder_eclient_pause,
+ action_go_off: disorder_eclient_resume,
+ events: "pause-changed playing-changed rights-changed playing-track-changed",