[gnome-terminal] migration: Migrate the encoding profile setting
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] migration: Migrate the encoding profile setting
- Date: Thu, 3 May 2012 19:04:35 +0000 (UTC)
commit 87c14cad6c25da9e40dc648b39caff633eebf5db
Author: Christian Persch <chpe gnome org>
Date: Wed Mar 14 21:05:01 2012 +0100
migration: Migrate the encoding profile setting
src/migration.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/migration.c b/src/migration.c
index f0e6337..3ee1d44 100644
--- a/src/migration.c
+++ b/src/migration.c
@@ -63,6 +63,7 @@ enum {
#define KEY_DEFAULT_SIZE_COLUMNS "default_size_columns"
#define KEY_DEFAULT_SIZE_ROWS "default_size_rows"
#define KEY_DELETE_BINDING "delete_binding"
+#define KEY_ENCODING "encoding"
#define KEY_EXIT_ACTION "exit_action"
#define KEY_FONT "font"
#define KEY_FOREGROUND_COLOR "foreground_color"
@@ -403,6 +404,8 @@ migrate_profile (GConfClient *client,
migrate_bool (client, path, KEY_USE_SYSTEM_FONT,
settings, TERMINAL_PROFILE_USE_SYSTEM_FONT_KEY,
FALSE);
+ migrate_string (client, path, KEY_ENCODING,
+ settings, TERMINAL_PROFILE_ENCODING);
g_free (path);
g_object_unref (settings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]