[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-10-01 Thread Sabine Faure
https://bugs.kde.org/show_bug.cgi?id=207296


Sabine Faure sab...@kdab.net changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED




--- Comment #7 from Sabine Faure sabine kdab net  2009-10-02 00:51:36 ---
It is corrected now.

When selecting a button from the 'Configure Toolbars' dialogue only the
selected button gets added now.

Trunk, Svn Rev 1030016

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-09-25 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=207296


David Faure fa...@kde.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #5 from David Faure faure kde org  2009-09-25 11:47:56 ---
SVN commit 1027982 by dfaure:

Better solution for hiding specific actions in kontact: tagging them in the xml
and removing them from the xml dynamically, so that they don't appear in
Configure Toolbars
(but so that it's still possible to manually add them).
I still need to convert the other plugins to this system, but this solves
207296 at least.
CCMAIL: kde-...@kde.org
BUG: 207296


 M  +2 -2  kaddressbook/kaddressbookui.rc  
 M  +5 -7  kontact/plugins/kaddressbook/kaddressbook_plugin.cpp  
 M  +1 -1  kontact/plugins/kaddressbook/kaddressbook_plugin.h  
 M  +47 -12kontact/src/mainwindow.cpp  
 M  +1 -0  kontact/src/mainwindow.h  


WebSVN link: http://websvn.kde.org/?view=revrevision=1027982

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-09-25 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=207296





--- Comment #6 from David Faure faure kde org  2009-09-26 03:12:45 ---
SVN commit 1028153 by dfaure:

Even better fix for 207296, using the strategy described on k-c-d (Re: Review
Request: Use in-memory dom document when editing toolbars...)
This way toolbar changes in kontact don't mess up kaddressbook; and users can
freely edit toolbars without some
hidden magic removing their newly-added actions; and upgrades are handled, etc.

Had to add a unique name to the Plugin ctor, to differenciate the 3 korganizer
plugins though, so
this is an API change in kontactinterface (volker said it was ok until 4.4 is
released).

CCBUG: 207296


 M  +3 -6  kdepim/kaddressbook/kaddressbookui.rc  
 M  +1 -1  kdepim/kontact/plugins/akregator/akregatorplugin.desktop  
 M  +6 -5  kdepim/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp  
 M  +1 -1  kdepim/kontact/plugins/kaddressbook/kaddressbook_plugin.h  
 M  +1 -1  kdepim/kontact/plugins/kaddressbook/kaddressbookplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/kjots/kjots_plugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/kmail/kmailplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/knode/knodeplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/knotes/knotesplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/korganizer/journalplugin.cpp  
 M  +1 -1  kdepim/kontact/plugins/korganizer/journalplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/korganizer/korganizerplugin.cpp  
 M  +1 -1  kdepim/kontact/plugins/korganizer/korganizerplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/korganizer/todoplugin.cpp  
 M  +1 -1  kdepim/kontact/plugins/korganizer/todoplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/ktimetracker/ktimetracker_plugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/planner/plannerplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/specialdates/specialdatesplugin.desktop  
 M  +1 -1  kdepim/kontact/plugins/summary/summaryplugin.desktop  
 M  +10 -16kdepim/kontact/src/kontactui.rc  
 M  +0 -47 kdepim/kontact/src/mainwindow.cpp  
 M  +0 -1  kdepim/kontact/src/mainwindow.h  
 M  +58 -3 kdepimlibs/kontactinterface/plugin.cpp  
 M  +5 -6  kdepimlibs/kontactinterface/plugin.h  


WebSVN link: http://websvn.kde.org/?view=revrevision=1028153

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-09-22 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=207296





--- Comment #4 from David Faure faure kde org  2009-09-22 20:43:31 ---
Created an attachment (id=37114)
 -- (http://bugs.kde.org/attachment.cgi?id=37114)
proposed fix

For review and/or archiving purposes: here's the suggested fix (modifying the
XML on startup and after toolbar editing). Requires the kdelibs patch in
http://reviewboard.kde.org/r/1694.

The problem is that if the user adds New Contact explicitely, the code will
remove it again. Maybe we should have Action name=akonadi_contact_create
remove_in_kontact=true/ in kaddressbookui.rc, so that we only remove the
default actions and not the ones added by the user. This would replace
invisibleToolbarActions().

I also wonder what happens when editing toolbars in kontact and then using
kaddressbook standalone -- the actions will be missing, since the local ui.rc
file will not contain the actions anymore. Argh. Seems the only clean solution
is to have two ui.rc files, either in the sources (duplication) or at runtime
(making a local copy with the actions removed, and using that for the
kaddressbook part in kontact...)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-09-14 Thread Tobias Koenig
https://bugs.kde.org/show_bug.cgi?id=207296


Tobias Koenig to...@kde.org changed:

   What|Removed |Added

  Component|general |general
Version|unspecified |SVN trunk (KDE 4)
Product|kaddressbook|kontact




--- Comment #2 from Tobias Koenig tokoe kde org  2009-09-14 18:12:51 ---
Kontact specific bug

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 207296] New Contact, New group and Quick Search actions are preselected by default in the 'Configure Toolbar' dialogue

2009-09-13 Thread Sabine Faure
https://bugs.kde.org/show_bug.cgi?id=207296





--- Comment #1 from Sabine Faure sabine kdab net  2009-09-14 00:12:16 ---
Except for Quick Search maybe.

- Click on the 'Defaults' button from the 'Configure Toolbars' dialogue.

All the buttons that you have added are removed except the default ones 'New
Contact' and 'New Group'

Trunk,Svn Rev 1022237

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs