Re: I'M BAAAACK! - vanishing menu items

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Morder via tde-users wrote:

> 
> The question is, then, Why would those features disappear, then reappear,
> if I always follow the same routines in installation, and always install
> plugins for Konqueror, and so on?
> 

These are dynamic in tdeaddons/konq-plugins/arkplugin/arkplugin.cpp it
checks if executable exists that can handle the mime/type and adds it to
the available types, which in turn is what you see.
Also it seems there is a boolean config option to use or not to use one or
the other, but I do not know where this is stored if it is stored at all.




    bool havegz = false;
    if ( !TDEStandardDirs::findExe( "gzip" ).isNull() &&
m_conf->readBoolEntry( "UseGz", true ) )
    {
        havegz = true;
        //.gz can only compress one file, not multiple
        if ( itemCount == 1 ) m_archiveMimeTypes << "application/x-gzip";
    }

    bool havebz2 = false;
    if ( !TDEStandardDirs::findExe( "bzip2" ).isNull() &&
m_conf->readBoolEntry( "UseBzip2", true ) )
    {
        havebz2 = true;
        //.bz2 can only compress one file, not multiple
        if ( itemCount == 1 ) m_archiveMimeTypes << "application/x-bzip2";
    }

    bool havelzop = false;
    if ( !TDEStandardDirs::findExe( "lzop" ).isNull() &&
m_conf->readBoolEntry( "UseLzop", false ) )
    {
        havelzop = true;
        m_archiveMimeTypes << "application/x-lzop";
    }

    bool havelzma = false;
    if ( !TDEStandardDirs::findExe( "lzma" ).isNull() &&
m_conf->readBoolEntry( "UseLzma", false ) )
    {
        havelzma = true;
        m_archiveMimeTypes << "application/x-lzma";
    }

____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux