-rw-r--r-- | bin/kdepim/WhatsNew.txt | 3 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 22 |
2 files changed, 19 insertions, 6 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 21f5b2f..6c4cb7b 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,17 +1,20 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.0.0 ************ | 3 | ********** VERSION 2.0.0 ************ |
4 | 4 | ||
5 | Stable release 2.0.0! | ||
6 | |||
5 | KO/Pi: | 7 | KO/Pi: |
6 | Fixed problem in edit dialog recreation at startup. | 8 | Fixed problem in edit dialog recreation at startup. |
7 | Made "toggle view*" menu items enabled context sensitive. | 9 | Made "toggle view*" menu items enabled context sensitive. |
8 | Changed agenda size menu to items 1-10. | 10 | Changed agenda size menu to items 1-10. |
9 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. | 11 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. |
12 | Usebility enhancements in the KO/Pi menus. | ||
10 | OM/Pi: | 13 | OM/Pi: |
11 | Added three info lines to display subject, from and to of selected mails. | 14 | Added three info lines to display subject, from and to of selected mails. |
12 | 15 | ||
13 | ********** VERSION 1.9.20 ************ | 16 | ********** VERSION 1.9.20 ************ |
14 | 17 | ||
15 | KO/Pi: | 18 | KO/Pi: |
16 | Added for the "dislplay one day" agenda mode | 19 | Added for the "dislplay one day" agenda mode |
17 | info in the caption and in the day lables: | 20 | info in the caption and in the day lables: |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 950d2ec..3feb4ab 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -518,18 +518,23 @@ void MainWindow::initActions() | |||
518 | configureToolBarMenu = new QPopupMenu( this ); | 518 | configureToolBarMenu = new QPopupMenu( this ); |
519 | QPopupMenu *helpMenu = new QPopupMenu( this ); | 519 | QPopupMenu *helpMenu = new QPopupMenu( this ); |
520 | if ( KOPrefs::instance()->mShowFullMenu ) { | 520 | if ( KOPrefs::instance()->mShowFullMenu ) { |
521 | QMenuBar *menuBar1; | 521 | QMenuBar *menuBar1; |
522 | menuBar1 = menuBar(); | 522 | menuBar1 = menuBar(); |
523 | menuBar1->insertItem( i18n("File"), importMenu ); | 523 | menuBar1->insertItem( i18n("File"), importMenu ); |
524 | menuBar1->insertItem( i18n("View"), viewMenu ); | 524 | menuBar1->insertItem( i18n("View"), viewMenu ); |
525 | menuBar1->insertItem( i18n("Actions"), actionMenu ); | 525 | menuBar1->insertItem( i18n("Actions"), actionMenu ); |
526 | #ifdef DESKTOP_VERSION | ||
526 | menuBar1->insertItem( i18n("Synchronize"), syncMenu ); | 527 | menuBar1->insertItem( i18n("Synchronize"), syncMenu ); |
527 | menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); | 528 | menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); |
529 | #else | ||
530 | menuBar1->insertItem( i18n("Sync"), syncMenu ); | ||
531 | menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu ); | ||
532 | #endif | ||
528 | //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); | 533 | //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); |
529 | menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); | 534 | menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); |
530 | menuBar1->insertItem( i18n("Help"), helpMenu ); | 535 | menuBar1->insertItem( i18n("Help"), helpMenu ); |
531 | } else { | 536 | } else { |
532 | QPEMenuBar *menuBar1; | 537 | QPEMenuBar *menuBar1; |
533 | menuBar1 = new QPEMenuBar( iconToolBar ); | 538 | menuBar1 = new QPEMenuBar( iconToolBar ); |
534 | QPopupMenu *menuBar = new QPopupMenu( this ); | 539 | QPopupMenu *menuBar = new QPopupMenu( this ); |
535 | menuBar1->insertItem( i18n("ME"), menuBar); | 540 | menuBar1->insertItem( i18n("ME"), menuBar); |
@@ -591,16 +596,24 @@ void MainWindow::initActions() | |||
591 | connect( ne_action, SIGNAL( activated() ), | 596 | connect( ne_action, SIGNAL( activated() ), |
592 | mView, SLOT( newEvent() ) ); | 597 | mView, SLOT( newEvent() ) ); |
593 | icon = loadPixmap( pathString + "newtodo" ); | 598 | icon = loadPixmap( pathString + "newtodo" ); |
594 | configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); | 599 | configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); |
595 | QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); | 600 | QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); |
596 | nt_action->addTo( actionMenu ); | 601 | nt_action->addTo( actionMenu ); |
597 | connect( nt_action, SIGNAL( activated() ), | 602 | connect( nt_action, SIGNAL( activated() ), |
598 | mView, SLOT( newTodo() ) ); | 603 | mView, SLOT( newTodo() ) ); |
604 | |||
605 | icon = loadPixmap( pathString + "today" ); | ||
606 | QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); | ||
607 | today_action->addTo( viewMenu ); | ||
608 | connect( today_action, SIGNAL( activated() ), | ||
609 | mView, SLOT( goToday() ) ); | ||
610 | viewMenu->insertSeparator(); | ||
611 | |||
599 | icon = loadPixmap( pathString + "navi" ); | 612 | icon = loadPixmap( pathString + "navi" ); |
600 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); | 613 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); |
601 | action->addTo( viewMenu ); | 614 | action->addTo( viewMenu ); |
602 | connect( action, SIGNAL( activated() ), | 615 | connect( action, SIGNAL( activated() ), |
603 | mView, SLOT( toggleDateNavigatorWidget() ) ); | 616 | mView, SLOT( toggleDateNavigatorWidget() ) ); |
604 | mToggleNav = action ; | 617 | mToggleNav = action ; |
605 | icon = loadPixmap( pathString + "filter" ); | 618 | icon = loadPixmap( pathString + "filter" ); |
606 | action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); | 619 | action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); |
@@ -753,22 +766,17 @@ void MainWindow::initActions() | |||
753 | 766 | ||
754 | icon = loadPixmap( pathString + "search" ); | 767 | icon = loadPixmap( pathString + "search" ); |
755 | QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); | 768 | QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); |
756 | configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 4); | 769 | configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 4); |
757 | search_action->addTo( actionMenu ); | 770 | search_action->addTo( actionMenu ); |
758 | connect( search_action, SIGNAL( activated() ), | 771 | connect( search_action, SIGNAL( activated() ), |
759 | mView->dialogManager(), SLOT( showSearchDialog() ) ); | 772 | mView->dialogManager(), SLOT( showSearchDialog() ) ); |
760 | 773 | ||
761 | icon = loadPixmap( pathString + "today" ); | 774 | |
762 | configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); | ||
763 | QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); | ||
764 | today_action->addTo( actionMenu ); | ||
765 | connect( today_action, SIGNAL( activated() ), | ||
766 | mView, SLOT( goToday() ) ); | ||
767 | 775 | ||
768 | if ( KOPrefs::instance()->mShowFullMenu ) { | 776 | if ( KOPrefs::instance()->mShowFullMenu ) { |
769 | actionMenu->insertSeparator(); | 777 | actionMenu->insertSeparator(); |
770 | actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); | 778 | actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); |
771 | 779 | ||
772 | } | 780 | } |
773 | // actionMenu->insertSeparator(); | 781 | // actionMenu->insertSeparator(); |
774 | action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, | 782 | action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, |
@@ -970,16 +978,18 @@ void MainWindow::initActions() | |||
970 | icon = loadPixmap( pathString + "1leftarrowB" ); | 978 | icon = loadPixmap( pathString + "1leftarrowB" ); |
971 | configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210,15); | 979 | configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210,15); |
972 | if (p-> mShowIconBack) { | 980 | if (p-> mShowIconBack) { |
973 | action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); | 981 | action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); |
974 | connect( action, SIGNAL( activated() ), | 982 | connect( action, SIGNAL( activated() ), |
975 | mView, SLOT( goPrevious() ) ); | 983 | mView, SLOT( goPrevious() ) ); |
976 | action->addTo( iconToolBar ); | 984 | action->addTo( iconToolBar ); |
977 | } | 985 | } |
986 | icon = loadPixmap( pathString + "today" ); | ||
987 | configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); | ||
978 | if (p-> mShowIconToday) | 988 | if (p-> mShowIconToday) |
979 | today_action->addTo( iconToolBar ); | 989 | today_action->addTo( iconToolBar ); |
980 | icon = loadPixmap( pathString + "1rightarrowB" ); | 990 | icon = loadPixmap( pathString + "1rightarrowB" ); |
981 | configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); | 991 | configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); |
982 | if (p-> mShowIconForward) { | 992 | if (p-> mShowIconForward) { |
983 | action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); | 993 | action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); |
984 | connect( action, SIGNAL( activated() ), | 994 | connect( action, SIGNAL( activated() ), |
985 | mView, SLOT( goNext() ) ); | 995 | mView, SLOT( goNext() ) ); |