[gnote] Disable some of the addins by default



commit e716a53fd36cc36fdae1e98adf8f14d6f7a8b3fd
Author: Debarshi Ray <debarshir src gnome org>
Date:   Sun Sep 26 15:32:52 2010 +0300

    Disable some of the addins by default
    
    The following are disabled by default:
    + BugzillaAddin
    + InsertTimestampAddin
    + NoteOfTheDayAddin
    + UnderlineAddin

 src/addins/bugzilla/bugzillanoteaddin.cpp          |    1 +
 .../inserttimestamp/inserttimestampnoteaddin.cpp   |    1 +
 .../noteoftheday/noteofthedayapplicationaddin.cpp  |    1 +
 src/addins/underline/underlinenoteaddin.cpp        |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/addins/bugzilla/bugzillanoteaddin.cpp b/src/addins/bugzilla/bugzillanoteaddin.cpp
index 71fe35a..620a9c8 100644
--- a/src/addins/bugzilla/bugzillanoteaddin.cpp
+++ b/src/addins/bugzilla/bugzillanoteaddin.cpp
@@ -46,6 +46,7 @@ namespace bugzilla {
   {
     ADD_INTERFACE_IMPL(BugzillaNoteAddin);
     ADD_INTERFACE_IMPL(BugzillaPreferencesFactory);
+    enabled(false);
   }
   const char * BugzillaModule::id() const
   {
diff --git a/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp b/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp
index 72abba0..49e01dd 100644
--- a/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp
+++ b/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp
@@ -35,6 +35,7 @@ namespace inserttimestamp {
   {
     ADD_INTERFACE_IMPL(InsertTimestampNoteAddin);
     ADD_INTERFACE_IMPL(InsertTimestampPreferencesFactory);
+    enabled(false);
   }
   const char * InsertTimeStampModule::id() const
   {
diff --git a/src/addins/noteoftheday/noteofthedayapplicationaddin.cpp b/src/addins/noteoftheday/noteofthedayapplicationaddin.cpp
index 11b2f4f..01e272b 100644
--- a/src/addins/noteoftheday/noteofthedayapplicationaddin.cpp
+++ b/src/addins/noteoftheday/noteofthedayapplicationaddin.cpp
@@ -33,6 +33,7 @@ NoteOfTheDayModule::NoteOfTheDayModule()
 {
   ADD_INTERFACE_IMPL(NoteOfTheDayApplicationAddin);
   ADD_INTERFACE_IMPL(NoteOfTheDayPreferencesFactory);
+  enabled(false);
 }
 const char * NoteOfTheDayModule::id() const
 {
diff --git a/src/addins/underline/underlinenoteaddin.cpp b/src/addins/underline/underlinenoteaddin.cpp
index 15c2c9d..560c4a8 100644
--- a/src/addins/underline/underlinenoteaddin.cpp
+++ b/src/addins/underline/underlinenoteaddin.cpp
@@ -35,6 +35,7 @@ namespace underline {
   UnderlineModule::UnderlineModule()
   {
     ADD_INTERFACE_IMPL(UnderlineNoteAddin);
+    enabled(false);
   }
 
   const char * UnderlineModule::id() const



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