Changeset 459


Ignore:
Timestamp:
Aug 25, 2010, 5:12:09 PM (11 years ago)
Author:
Silvan Scherrer
Message:

fixed ticket:207

Location:
trunk/Lucide
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/docInfoDlg.cpp

    r406 r459  
    4747
    4848
    49 DocInfoDlg::DocInfoDlg( HWND hWndFrame, LuDocumentInfo *_dinfo )
     49DocInfoDlg::DocInfoDlg( HWND hWndFrame, LuDocumentInfo *_dinfo, const char *fname )
    5050{
    5151    hFrame   = hWndFrame;
    5252    dinfo    = _dinfo;
     53    filename    = newstrdup( fname );
    5354}
    5455
     
    102103        return;
    103104    }
     105    // first add the filename
     106    insertPair(cntr, DOCINFO_NAME, filename);
    104107
    105108    if ( dinfo->fields_mask & LU_DOCUMENT_INFO_TITLE ) {
  • trunk/Lucide/gui/docInfoDlg.h

    r367 r459  
    4343{
    4444    public:
    45         DocInfoDlg( HWND hWndFrame, LuDocumentInfo *_dinfo );
     45        DocInfoDlg( HWND hWndFrame, LuDocumentInfo *_dinfo, const char *fname );
    4646        virtual ~DocInfoDlg();
    4747
     
    5959        HWND hFrame;
    6060        LuDocumentInfo *dinfo;
     61        char *filename;
    6162};
    6263
  • trunk/Lucide/gui/lucide.cpp

    r454 r459  
    14261426                {
    14271427                    LuDocumentInfo *dinfo = doc->getDocumentInfo( ev );
    1428                     DocInfoDlg *d = new DocInfoDlg( hWndFrame, dinfo );
     1428                    DocInfoDlg *d = new DocInfoDlg( hWndFrame, dinfo, Lucide::docFileName );
    14291429                    d->doDialog();
    14301430                    LuDocument::freeDocumentInfo( ev, dinfo );
  • trunk/Lucide/gui/messages.cpp

    r414 r459  
    112112const char *DOCINFO_CREATION_DATE = "DOCINFO_CREATION_DATE";
    113113const char *DOCINFO_MOD_DATE      = "DOCINFO_MOD_DATE";
     114const char *DOCINFO_NAME = "DOCINFO_NAME";
    114115
    115116// "Find" dialog, other 'find'-related messages
  • trunk/Lucide/gui/messages.h

    r414 r459  
    113113extern const char *DOCINFO_CREATION_DATE;
    114114extern const char *DOCINFO_MOD_DATE;
     115extern const char *DOCINFO_NAME;
    115116
    116117// "Find" dialog, other 'find'-related messages
  • trunk/Lucide/lng/Lucide.lng

    r450 r459  
    11#
    2 # Lucide language file, EN
     2# Lucide language file, EN (1.3.3)
    33#
    44
     
    7676# Lucide messages
    7777#
    78 MSGS_MAIN_WIN_TITLE=%APPNAME% - Document Viewer
     78MSGS_MAIN_WIN_TITLE=%APPNAME%
    7979MSGS_NO_SUIT_PLUG=Can't find suitable plugin for specified document!
    8080MSGS_FILE_LOAD_ERROR=File load error!
     
    141141DOCINFO_CREATION_DATE=Created:
    142142DOCINFO_MOD_DATE=Modified:
     143DOCINFO_NAME=Documentname:
    143144
    144145#
  • trunk/Lucide/lng/Lucide_da.lng

    r446 r459  
    7575# Lucide messages
    7676#
    77 MSGS_MAIN_WIN_TITLE=%APPNAME% - Dokument Fremviser
     77MSGS_MAIN_WIN_TITLE=%APPNAME%
    7878MSGS_NO_SUIT_PLUG=%APPNAME% underst›tter ikke denne dokument type
    7979MSGS_FILE_LOAD_ERROR=Fejl under indl‘sning af dokumentet!
  • trunk/Lucide/lng/Lucide_de.lng

    r453 r459  
    7676# Lucide messages
    7777#
    78 MSGS_MAIN_WIN_TITLE=%APPNAME% - Dokumentenanzeige
     78MSGS_MAIN_WIN_TITLE=%APPNAME%
    7979MSGS_NO_SUIT_PLUG=Kein passendes Plugin fr das Dokument gefunden!
    8080MSGS_FILE_LOAD_ERROR=Datei kann nicht gelesen werden!
     
    141141DOCINFO_CREATION_DATE=Erstellt am:
    142142DOCINFO_MOD_DATE=Ge„ndert am:
     143DOCINFO_NAME=Dokumentname:
    143144
    144145#
  • trunk/Lucide/lng/Lucide_es.lng

    r446 r459  
    7878# Lucide messages
    7979#
    80 MSGS_MAIN_WIN_TITLE=%APPNAME% - Visor de documentos
     80MSGS_MAIN_WIN_TITLE=%APPNAME%
    8181MSGS_NO_SUIT_PLUG=­No puede encontrarse un plugin adecuado para el documento especificado!
    8282MSGS_FILE_LOAD_ERROR=­Error cargando el archivo!
  • trunk/Lucide/lng/Lucide_fr.lng

    r419 r459  
    8585# Lucide messages
    8686#
    87 MSGS_MAIN_WIN_TITLE=%APPNAME% - Afficheur de document
     87MSGS_MAIN_WIN_TITLE=%APPNAME%
    8888MSGS_NO_SUIT_PLUG=Composant enfichable introuvable pour le document indiqu‚ !
    8989MSGS_FILE_LOAD_ERROR=Erreur de chargement de fichier !
  • trunk/Lucide/lng/Lucide_it.lng

    r418 r459  
    7676# Lucide messages
    7777#
    78 MSGS_MAIN_WIN_TITLE=%APPNAME% - Visualizzatore documenti
     78MSGS_MAIN_WIN_TITLE=%APPNAME%
    7979MSGS_NO_SUIT_PLUG=Impossibile trovare un plugin adatto al tipo di documento selezionato!
    8080MSGS_FILE_LOAD_ERROR=Errore di apertura file!
  • trunk/Lucide/lng/Lucide_nl.lng

    r422 r459  
    7676# Lucide messages
    7777#
    78 MSGS_MAIN_WIN_TITLE=%APPNAME% - Document Bekijker
     78MSGS_MAIN_WIN_TITLE=%APPNAME%
    7979MSGS_NO_SUIT_PLUG=Kan geen passende plug-in vinden voor opgegeven document!
    8080MSGS_FILE_LOAD_ERROR=Bestand inleesfout!
  • trunk/Lucide/lng/Lucide_sv.lng

    r402 r459  
    6565# Lucide messages
    6666#
    67 MSGS_MAIN_WIN_TITLE=%APPNAME% - Dokumentvisare
     67MSGS_MAIN_WIN_TITLE=%APPNAME%
    6868MSGS_NO_SUIT_PLUG=Kan inte hitta n†gon l„mplig plugin f”r specificerat dokument!
    6969MSGS_FILE_LOAD_ERROR=Filladdningsfel!
Note: See TracChangeset for help on using the changeset viewer.