look for masks in the right place. display the error with just the requested button name.
This commit is contained in:
parent
2da1898fc3
commit
aaae49d629
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue