diff options
Diffstat (limited to 'lib/src/sugar-browser.cpp')
-rw-r--r-- | lib/src/sugar-browser.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/src/sugar-browser.cpp b/lib/src/sugar-browser.cpp index dfd05d7..d2ffb8a 100644 --- a/lib/src/sugar-browser.cpp +++ b/lib/src/sugar-browser.cpp @@ -18,8 +18,8 @@ */ #include "sugar-browser.h" -#include "GeckoContentHandler.h" -#include "GeckoDownload.h" +#include "SugarContentHandler.h" +#include "SugarDownload.h" #include <gtkmozembed_internal.h> #include <nsCOMPtr.h> @@ -35,8 +35,8 @@ #include <nsIComponentRegistrar.h> #include <nsIComponentManager.h> -NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoContentHandler) -NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoDownload) +NS_GENERIC_FACTORY_CONSTRUCTOR(GSugarContentHandler) +NS_GENERIC_FACTORY_CONSTRUCTOR(GSugarDownload) enum { PROP_0, @@ -50,16 +50,16 @@ enum { static const nsModuleComponentInfo sSugarComponents[] = { { - "Gecko Content Handler", - GECKOCONTENTHANDLER_CID, + "Sugar Content Handler", + G_SUGARCONTENTHANDLER_CID, NS_IHELPERAPPLAUNCHERDLG_CONTRACTID, - GeckoContentHandlerConstructor + GSugarContentHandlerConstructor }, { - "Gecko Download", - GECKODOWNLOAD_CID, + "Sugar Download", + G_SUGARDOWNLOAD_CID, NS_TRANSFER_CONTRACTID, - GeckoDownloadConstructor + GSugarDownloadConstructor } }; @@ -78,7 +78,7 @@ sugar_browser_startup(void) PR_TRUE, getter_AddRefs(file)); NS_ENSURE_TRUE(file, FALSE); - rv = prefService->ReadUserPrefs (file); + rv = prefService->ReadUserPrefs (file); if (NS_FAILED(rv)) { g_warning ("failed to read default preferences, error: %x", rv); return FALSE; |