From: Dana Jansens Date: Mon, 7 Apr 2003 04:59:38 +0000 (+0000) Subject: look for masks in the right place. display the error with just the requested button... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=aaae49d6291ffd202cfd7e6a9a31df816433d356;p=chaz%2Fopenbox look for masks in the right place. display the error with just the requested button name. --- diff --git a/engines/openbox/obtheme.c b/engines/openbox/obtheme.c index a68d8248..f7e7941d 100644 --- a/engines/openbox/obtheme.c +++ b/engines/openbox/obtheme.c @@ -137,14 +137,14 @@ static gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value) g_free(s); themename = g_path_get_basename(engine_theme); - s = g_strdup_printf("%s_buttons/%s", engine_theme, - themename); + s = g_strdup_printf("%s/%s_buttons/%s", engine_theme, + themename, retvalue.addr); g_free(themename); if (XReadBitmapFileData(s, &w, &h, &b, &hx, &hy) == BitmapSuccess) ret = TRUE; else - g_message("Unable to find bitmap '%s'", s); + g_message("Unable to find bitmap '%s'", retvalue.addr); } }