#include "nsCOMPtr.h"
#include "nsGNOMEShellService.h"
#include "nsShellService.h"
#include "nsIServiceManager.h"
#include "nsILocalFile.h"
#include "nsIProperties.h"
#include "nsDirectoryServiceDefs.h"
#include "nsIPrefService.h"
#include "prenv.h"
#include "nsStringAPI.h"
#include "nsIGConfService.h"
#include "nsIGnomeVFSService.h"
#include "nsIStringBundle.h"
#include "nsIOutputStream.h"
#include "nsIProcess.h"
#include "nsNetUtil.h"
#include "nsIDOMHTMLImageElement.h"
#include "nsIImageLoadingContent.h"
#include "imgIRequest.h"
#include "imgIContainer.h"
#include "prprf.h"
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <limits.h>
#include <stdlib.h>
Go to the source code of this file.
#define COLOR_16_TO_8_BIT |
( |
|
_c | ) |
((_c) >> 8) |
#define COLOR_8_TO_16_BIT |
( |
|
_c | ) |
((_c) << 8 | (_c)) |
#define DG_BACKGROUND "/desktop/gnome/background" |
static void ColorToCString |
( |
PRUint32 |
aColor, |
|
|
nsCString & |
aResult |
|
) |
| |
|
static |
static nsresult WriteImage |
( |
const nsCString & |
aPath, |
|
|
imgIContainer * |
aImage |
|
) |
| |
|
static |
Initial value:= {
{ "http", PR_TRUE },
{ "https", PR_TRUE },
{ "ftp", PR_FALSE },
{ "chrome", PR_FALSE }
}
Definition at line 82 of file nsGNOMEShellService.cpp.
Initial value:= {
{ "text/html", "htm html shtml" },
{ "application/xhtml+xml", "xhtml xht" }
}
Definition at line 89 of file nsGNOMEShellService.cpp.
const char kDesktopColorKey[] = "/desktop/gnome/background" "/primary_color" |
|
static |
const char kDesktopDrawBGKey[] = "/desktop/gnome/background" "/draw_background" |
|
static |
const char kDesktopImageKey[] = "/desktop/gnome/background" "/picture_filename" |
|
static |
const char kDesktopOptionsKey[] = "/desktop/gnome/background" "/picture_options" |
|
static |
const char kDocumentIconPath[] = "firefox-document.png" |
|
static |