From 5d5714f01e1a7140847f6e7f2922d457f6bbe66a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 16 Sep 2010 14:52:49 -0400 Subject: Handle STRING and COMPOUND_TEXT type text properties. STRING should be latin1 text (plus TAB and LF) COMPOUND_TEXT should be encoded in the current locale. --- openbox/openbox.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index ae0ba8ae..9fd5fe40 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -258,8 +258,7 @@ gint main(gint argc, gchar **argv) gchar *p = g_filename_to_utf8(config_file, -1, NULL, NULL, NULL); if (p) - OBT_PROP_SETS(obt_root(ob_screen), OB_CONFIG_FILE, - utf8, p); + OBT_PROP_SETS(obt_root(ob_screen), OB_CONFIG_FILE, p); g_free(p); } else @@ -286,8 +285,8 @@ gint main(gint argc, gchar **argv) if (ob_rr_theme == NULL) ob_exit_with_error(_("Unable to load a theme.")); - OBT_PROP_SETS(obt_root(ob_screen), - OB_THEME, utf8, ob_rr_theme->name); + OBT_PROP_SETS(obt_root(ob_screen), OB_THEME, + ob_rr_theme->name); } if (reconfigure) { -- cgit v1.2.3