From: Dana Jansens Date: Fri, 28 Mar 2003 00:58:29 +0000 (+0000) Subject: use the theme name only for the buttons dir X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fe2ec0951215f651818efefa2ca27e23e9c30d72;p=chaz%2Fopenbox use the theme name only for the buttons dir --- diff --git a/engines/openbox/theme.c b/engines/openbox/theme.c index 154aae83..8cbab481 100644 --- a/engines/openbox/theme.c +++ b/engines/openbox/theme.c @@ -158,7 +158,7 @@ gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value) else { g_free(s); s = g_strdup_printf("%s_buttons/%s", theme.string, - theme.string); + g_path_get_basename(theme.string)); if (XReadBitmapFileData(s, &w, &h, &b, &hx, &hy) == BitmapSuccess) ret = TRUE;