Ignore:
Timestamp:
Sep 5, 2006, 1:31:01 AM (19 years ago)
Author:
dmik
Message:

UI: Misc changes:

  • Added OS/2-related definitions.
  • On all platforms but Mac, the main (roster) window will be minimized (instead of closing) when Esc is pressed, but the doclet window is disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/src/options/opt_application.cpp

    r2 r19  
    7979        d->gb_docklet->hide();
    8080#endif
     81#ifdef Q_WS_PM
     82        /// @todo (dmik) disable "always on top" until implemented in Qt/2 
     83        d->ck_alwaysOnTop->hide();
     84        /// @todo (dmik) disable the docklet until the xCenter plugin is implemented
     85        d->ck_docklet->hide();
     86        d->gb_docklet->hide();
     87#endif
    8188#ifndef Q_WS_X11
    8289        d->ck_dockUseWM->hide();
     
    8693}
    8794
     95#ifdef Q_WS_X11
    8896static int om_x11browse[] = { 0, 2, 1 };
     97#endif
    8998
    9099void OptionsTabApplication::applyOptions(Options *opt)
     
    143152        selectBrowser( opt->browser );
    144153#endif
     154#ifdef Q_WS_PM
     155        d->cb_link->insertItem(tr("PM Default Browser/Mail"));
     156        d->cb_link->insertItem(tr("Custom"));
     157        d->cb_link->setCurrentItem( opt->browser );
     158        selectBrowser( opt->browser );
     159#endif
    145160#ifdef Q_WS_X11
    146161        d->cb_link->insertItem(tr("KDE Default Browser/Mail"));
     
    179194
    180195#ifdef Q_WS_WIN
     196        if(x == 0)
     197                enableCustom = FALSE;
     198#endif
     199#ifdef Q_WS_PM
    181200        if(x == 0)
    182201                enableCustom = FALSE;
Note: See TracChangeset for help on using the changeset viewer.