Commit 503ba074 authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

Add a schema for the style scheme: the pref is now stored in

2007-07-27  Paolo Borelli  <pborelli@katamail.com>

	* data/gedit.schemas.in:
	* gedit/gedit-prefs-manager.h:

	Add a schema for the style scheme: the pref is now stored in
	/apps/gedit-2/preferences/editor/colors/scheme.

svn path=/trunk/; revision=5760
parent ccfcb587
2007-07-27 Paolo Borelli <pborelli@katamail.com>
* data/gedit.schemas.in:
* gedit/gedit-prefs-manager.h:
Add a schema for the style scheme: the pref is now stored in
/apps/gedit-2/preferences/editor/colors/scheme.
2007-07-30 Steve Frécinaux <code@istique.net>
* gedit/gedit-document-saver.c: make "encoding" a property, for
......
......@@ -30,6 +30,19 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/gedit-2/preferences/editor/colors/scheme</key>
<applyto>/apps/gedit-2/preferences/editor/colors/scheme</applyto>
<owner>gedit</owner>
<type>string</type>
<default>classic</default>
<locale name="C">
<short>Style Scheme</short>
<long>The id of a GtkSourceView Style Scheme used to
color the text.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gedit-2/preferences/editor/save/create_backup_copy</key>
<applyto>/apps/gedit-2/preferences/editor/save/create_backup_copy</applyto>
......
......@@ -87,8 +87,7 @@
#define GPM_SEARCH_HIGHLIGHTING_DIR GPM_PREFS_DIR "/editor/search_highlighting"
#define GPM_SEARCH_HIGHLIGHTING_ENABLE GPM_SEARCH_HIGHLIGHTING_DIR "/enable"
// FIXME: Still have to add schemas
#define GPM_SOURCE_STYLE_DIR GPM_PREFS_DIR "/editor/source_style"
#define GPM_SOURCE_STYLE_DIR GPM_PREFS_DIR "/editor/colors"
#define GPM_SOURCE_STYLE_SCHEME GPM_SOURCE_STYLE_DIR "/scheme"
/* UI */
......@@ -203,7 +202,7 @@
#define GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE 1 /* TRUE */
#define GPM_DEFAULT_SOURCE_STYLE_SCHEME "gvim"
#define GPM_DEFAULT_SOURCE_STYLE_SCHEME "classic"
typedef enum {
GEDIT_TOOLBAR_SYSTEM = 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment