diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-07 04:59:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-07 04:59:38 +0000 |
| commit | aaae49d6291ffd202cfd7e6a9a31df816433d356 (patch) | |
| tree | 40e56e84a205491cb64b4f0284e4e6f7ab64dd74 /engines/openbox/obtheme.c | |
| parent | 2da1898fc3b907ac2d0c795ab1406d951cd03c9d (diff) | |
look for masks in the right place. display the error with just the requested button name.
Diffstat (limited to 'engines/openbox/obtheme.c')
| -rw-r--r-- | engines/openbox/obtheme.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |
