[PATCH 0/7] Storing enable/disable add-in status in conf. file.



Following patches implement storing enabled/disabled status for add-ins in
configuration file. Also there is fix for some nasty bug in
NoteOfTheDayAddin. And some minor refactoring.

It stores configuration in simple ini file, also it does not check versions.
If configuration file compatibility with Tomboy is required different approach
is needed -- every add-in must check enabled status by itself.

Łukasz Krotowski (7):
  Hide application add-ins initialization behind function.
  Hide application add-ins shutdown behind function.
  Remove unused AddinManager::get_application_addins() interface.
  Store add-in enabled status in ini file.
  Only initialize/shutdown built-in or enabled application add-ins.
  Do not initialize NoteOfTheDayAddin on create.
  Store note add-in info only if enabled.

 src/addinmanager.cpp                               |   69 ++++++++++++++++++--
 src/addinmanager.hpp                               |    4 +-
 .../noteoftheday/noteofthedayapplicationaddin.cpp  |    1 -
 src/gnote.cpp                                      |    9 +--
 src/notemanager.cpp                                |   16 +----
 src/sharp/modulemanager.cpp                        |    9 +++
 src/sharp/modulemanager.hpp                        |    1 +
 7 files changed, 79 insertions(+), 30 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]