-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index bd07c80..cd56399 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp @@ -204,7 +204,9 @@ void PwM::initMenubar() #endif // CONFIG_KEYCARD viewPopup = new KPopupMenu(this); optionsPopup = new KPopupMenu(this); - +#ifdef PWM_EMBEDDED + syncPopup = new KPopupMenu(this); +#endif // "file" popup menu filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), i18n("&New"), this, @@ -327,6 +329,19 @@ void PwM::initMenubar() #ifndef PWM_EMBEDDED helpPopup = helpMenu(QString::null, false); #else + Popup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), + i18n("&Configure..."), this, + SLOT(config_slot()), + BUTTON_POPUP_OPTIONS_CONFIG); + connect ( syncMenu, SIGNAL( activated ( int ) ), this, SLOT (slotSyncMenu( int ) ) ); + fillSyncMenu(); + + menuBar()->insertItem(i18n("&Syncronize"), syncPopup); + + + + + helpPopup = new KPopupMenu(this); |