#!/bin/bash
export TEXTDOMAIN=pmusic

GUI_BUTTON_PREFERENCES="
<button tooltip-text=\" $(gettext 'Preferences') \">
 <input file stock=\"gtk-preferences\"></input>
 <action>echo 'progress' > $WORKDIR/progressbar_status; $APPDIR/func_config -preferences</action>
</button>"

S="<button tooltip-text=\" $(gettext 'Play CD-audio')5 \">
 <input file stock=\"gtk-cdrom\"></input>"
 [ "$CD_DEV" = false ] && S=$S'<visible>disabled</visible>'
 S=$S"<action>$APPDIR/func_cd -play_cd</action>
 <action>refresh:PLAYLIST</action>
</button>"
GUI_BUTTON_CD="$S"

GUI_BUTTON_QUIT="
<button tooltip-text=\" $(gettext 'Quit') \">
 <input file stock=\"gtk-quit\"></input>
</button>"

GUI_BUTTON_MUTE="
<button tooltip-text=\" $(gettext 'Mute sound') \">
 <input file stock=\"gtk-stop\"></input>
 <action>. $APPDIR/func_mixer -mute</action>
</button>"
