[gnome-terminal/gsettings] migration: Migrate the encoding profile setting



commit 80db8fd00ec0133bd91f887e12b836fdc035f650
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]