summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-26 21:40:47 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commit2f0e73cf9d20154c5c84b6ea90e658cf44a6f0c4 (patch)
treead0ba99bffac6c951ab749af13460e8e5751a510 /openbox
parent275fdf8c2a0d5c7d8f395b3269e644939e016696 (diff)
add functions for setting locale strings (on top of existing functions for setting utf8 strings). they are untested though! wonder if they work?
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c4
-rw-r--r--openbox/openbox.c2
-rw-r--r--openbox/screen.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 041b149e..281883b1 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1978,7 +1978,7 @@ void client_update_title(ObClient *self)
g_free(data);
}
- OBT_PROP_SETS(self->window, NET_WM_VISIBLE_NAME, visible);
+ OBT_PROP_SETS(self->window, NET_WM_VISIBLE_NAME, utf8, visible);
self->title = visible;
if (self->frame)
@@ -2010,7 +2010,7 @@ void client_update_title(ObClient *self)
g_free(data);
}
- OBT_PROP_SETS(self->window, NET_WM_VISIBLE_ICON_NAME, visible);
+ OBT_PROP_SETS(self->window, NET_WM_VISIBLE_ICON_NAME, utf8, visible);
self->icon_title = visible;
}
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 24d05f86..0551a587 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -262,7 +262,7 @@ gint main(gint argc, gchar **argv)
ob_exit_with_error(_("Unable to load a theme."));
OBT_PROP_SETS(RootWindow(obt_display, ob_screen),
- OB_THEME, ob_rr_theme->name);
+ OB_THEME, utf8, ob_rr_theme->name);
}
if (reconfigure) {
diff --git a/openbox/screen.c b/openbox/screen.c
index db4f25b7..d8c22fd4 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -203,7 +203,7 @@ gboolean screen_annex(void)
NET_SUPPORTING_WM_CHECK, WINDOW, screen_support_win);
/* set properties on the supporting window */
- OBT_PROP_SETS(screen_support_win, NET_WM_NAME, "Openbox");
+ OBT_PROP_SETS(screen_support_win, NET_WM_NAME, utf8, "Openbox");
OBT_PROP_SET32(screen_support_win, NET_SUPPORTING_WM_CHECK,
WINDOW, screen_support_win);
@@ -385,7 +385,7 @@ void screen_startup(gboolean reconfig)
/* set the root window property */
OBT_PROP_SETSS(RootWindow(obt_display, ob_screen),
- NET_DESKTOP_NAMES, names);
+ NET_DESKTOP_NAMES, utf8, names);
g_strfreev(names);
}
@@ -1162,7 +1162,7 @@ void screen_update_desktop_names(void)
/* if we changed any names, then set the root property so we can
all agree on the names */
OBT_PROP_SETSS(RootWindow(obt_display, ob_screen), NET_DESKTOP_NAMES,
- screen_desktop_names);
+ utf8, screen_desktop_names);
}
/* resize the pager for these names */