]> Dogcows Code - chaz/openbox/commitdiff
use the theme name only for the buttons dir
authorDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 00:58:29 +0000 (00:58 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 00:58:29 +0000 (00:58 +0000)
engines/openbox/theme.c

index 154aae83900cd105141674375910de642f5953ab..8cbab4819259efd6d57185bf23b8d4cb82066366 100644 (file)
@@ -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;
This page took 0.023282 seconds and 4 git commands to generate.