#define I_POP_PLAY N_("Play")
#define I_POP_PREPARSE N_("Fetch information")
#define I_POP_DEL N_("Delete")
-#define I_POP_INFO N_("Information")
+#define I_POP_INFO N_("Information...")
#define I_POP_SORT N_("Sort")
#define I_POP_ADD N_("Add node")
+#define I_POP_STREAM N_("Stream...")
+#define I_POP_SAVE N_("Save...")
/*************** Preferences *************/
current_selection = list;
QMenu *menu = new QMenu;
menu->addAction( qfu(I_POP_PLAY), this, SLOT( popupPlay() ) );
- menu->addAction( qfu(I_POP_PREPARSE), this, SLOT( popupPreparse() ) );
menu->addAction( qfu(I_POP_DEL), this, SLOT( popupDel() ) );
+ menu->addSeparator();
+ menu->addAction( qfu(I_POP_STREAM), this, SLOT( popupStream() ) );
+ menu->addAction( qfu(I_POP_SAVE), this, SLOT( popupSave() ) );
+ menu->addSeparator();
menu->addAction( qfu(I_POP_INFO), this, SLOT( popupInfo() ) );
if( p_item->i_children > -1 )
{
PL_UNLOCK;
}
+void PLModel::popupInfo()
+{
+ fprintf( stderr, "Popup Info is NOT implemented\n" );
+}
+
+void PLModel::popupStream()
+{
+ fprintf( stderr, "Stream not implemented\n" );
+}
+void PLModel::popupSave()
+{
+ fprintf( stderr, "Save not implemented\n" );
+}
+
/**********************************************************************
* Playlist callbacks
**********************************************************************/
if( !p_xml ) return VLC_EGENERIC;
p_reader = xml_ReaderCreate( p_xml, p_stream );
-
if( xml_ReaderRead( p_reader ) != 1 ||
xml_ReaderNodeType( p_reader ) != XML_READER_STARTELEM )
{
p_new->psz_description = strdup( psz_status );
p_new->val.f_float = f_pos;
p_new->i_timeToGo = i_time;
+ p_new->psz_alternate_button = strdup( _("Cancel" ) );
if( psz_title )
{