[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kontact
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2005-02-17 16:28:20
Message-ID: 20050217162820.7079319493 () office ! kde ! org
[Download RAW message or body]

CVS commit by danimo: 

Hide actions from the toolbar, I need to find a sensible way to remove them from
the menubar, too. They're not needed in Kontact and cause more trouble then they
are worth. Also wait for related commit from Will.

BUG:80510


  M +8 -0      plugins/korganizer/journalplugin.cpp   1.7
  M +3 -0      plugins/korganizer/korganizerplugin.cpp   1.25
  M +8 -0      plugins/korganizer/todoplugin.cpp   1.25
  M +2 -1      plugins/newsticker/summarywidget.cpp   1.31
  M +5 -1      src/mainwindow.cpp   1.161


--- kdepim/kontact/plugins/korganizer/journalplugin.cpp  #1.6:1.7
@@ -86,4 +86,12 @@ QStringList JournalPlugin::invisibleTool
   invisible += "new_todo";
   invisible += "new_journal";
+
+  invisible += "view_day";
+  invisible += "view_list";
+  invisible += "view_workweek";
+  invisible += "view_week";
+  invisible += "view_nextx";
+  invisible += "view_month";
+  invisible += "view_todo";
   return invisible;
 }

--- kdepim/kontact/plugins/korganizer/korganizerplugin.cpp  #1.24:1.25
@@ -97,4 +97,7 @@ QStringList KOrganizerPlugin::invisibleT
   invisible += "new_todo";
   invisible += "new_journal";
+
+  invisible += "view_todo";
+  invisible += "view_journal";
   return invisible;
 }

--- kdepim/kontact/plugins/korganizer/todoplugin.cpp  #1.24:1.25
@@ -96,4 +96,12 @@ QStringList TodoPlugin::invisibleToolbar
   invisible += "new_todo";
   invisible += "new_journal";
+
+  invisible += "view_day";
+  invisible += "view_list";
+  invisible += "view_workweek";
+  invisible += "view_week";
+  invisible += "view_nextx";
+  invisible += "view_month";
+  invisible += "view_journal";
   return invisible;
 }

--- kdepim/kontact/plugins/newsticker/summarywidget.cpp  #1.30:1.31
@@ -120,5 +120,6 @@ void SummaryWidget::initDocuments()
 
   if ( urls.isEmpty() ) { // add default
-    urls.append( "http://www.kde.org/dotkdeorg.rdf" );
+//  urls.append( "http://www.kde.org/dotkdeorg.rdf" );
+    urls.append( "http://rss.news.yahoo.com/rss/topstories" );
     dcopCall.send( "add(QString)", urls[ 0 ] );
   }

--- kdepim/kontact/src/mainwindow.cpp  #1.160:1.161
@@ -63,4 +63,5 @@
 #include <krun.h>
 #include <kaboutdata.h>
+#include <kmenubar.h>
 
 #include "aboutdialog.h"
@@ -498,5 +499,5 @@ void MainWindow::slotActivePartChanged( 
       << mPartsStack->id( part->widget() )<< endl;
 
-  createGUI( part );
+  //createGUI( part ); // moved to selectPlugin()
 
   statusBar()->clear();
@@ -581,4 +582,7 @@ void MainWindow::selectPlugin( Kontact::
     KAction *action = plugin->newActions()->first();
     setCaption( i18n( "Plugin dependent window title" ,"%1 - Kontact" ).arg( plugin->title() ) );
+
+    createGUI( plugin->part() );
+
     if ( action ) {
       mNewActions->setIcon( action->icon() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic