Changeset 7a57427bbc9487342e333ce2c63f237c55f4d66e

Show
Ignore:
Timestamp:
09/14/06 18:44:22 (2 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1158252262 +0000
git-parent:

[3251407d9420fbf8cf914f7e83b07a15b3ededb6]

git-author:
Clément Stenac <zorglub@videolan.org> 1158252262 +0000
Message:

Add missing actions in popup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_intf_strings.h

    r8a225a6 r7a57427  
    3535#define I_POP_PREPARSE N_("Fetch information") 
    3636#define I_POP_DEL N_("Delete") 
    37 #define I_POP_INFO N_("Information") 
     37#define I_POP_INFO N_("Information...") 
    3838#define I_POP_SORT N_("Sort") 
    3939#define I_POP_ADD N_("Add node") 
     40#define I_POP_STREAM N_("Stream...") 
     41#define I_POP_SAVE N_("Save...") 
    4042 
    4143/*************** Preferences *************/ 
  • modules/gui/qt4/playlist_model.cpp

    r897144d r7a57427  
    695695        QMenu *menu = new QMenu; 
    696696        menu->addAction( qfu(I_POP_PLAY), this, SLOT( popupPlay() ) ); 
    697         menu->addAction( qfu(I_POP_PREPARSE), this, SLOT( popupPreparse() ) ); 
    698697        menu->addAction( qfu(I_POP_DEL), this, SLOT( popupDel() ) ); 
     698        menu->addSeparator(); 
     699        menu->addAction( qfu(I_POP_STREAM), this, SLOT( popupStream() ) ); 
     700        menu->addAction( qfu(I_POP_SAVE), this, SLOT( popupSave() ) ); 
     701        menu->addSeparator(); 
    699702        menu->addAction( qfu(I_POP_INFO), this, SLOT( popupInfo() ) ); 
    700703        if( p_item->i_children > -1 ) 
     
    722725} 
    723726 
     727void PLModel::popupInfo() 
     728{ 
     729    fprintf( stderr, "Popup Info is NOT implemented\n" ); 
     730} 
     731 
     732void PLModel::popupStream() 
     733{ 
     734    fprintf( stderr, "Stream not implemented\n" ); 
     735} 
     736void PLModel::popupSave() 
     737{ 
     738    fprintf( stderr, "Save not implemented\n" ); 
     739} 
     740 
    724741/********************************************************************** 
    725742 * Playlist callbacks 
  • modules/gui/qt4/playlist_model.hpp

    r897144d r7a57427  
    169169    void popupPlay(); 
    170170    void popupDel(); 
     171    void popupInfo(); 
     172    void popupStream(); 
     173    void popupSave(); 
    171174friend class PLItem; 
    172175}; 
  • modules/misc/profile_parser.c

    rb531cab r7a57427  
    5656    p_reader = xml_ReaderCreate( p_xml, p_stream ); 
    5757 
    58  
    5958    if( xml_ReaderRead( p_reader ) != 1 ||  
    6059        xml_ReaderNodeType( p_reader ) != XML_READER_STARTELEM ) 
  • src/interface/interaction.c

    r83f23b6 r7a57427  
    273273    p_new->val.f_float = f_pos; 
    274274    p_new->i_timeToGo = i_time; 
     275    p_new->psz_alternate_button = strdup( _("Cancel" ) ); 
    275276 
    276277    if( psz_title )