… | |
… | |
3449 | int changed = 0; |
3449 | int changed = 0; |
3450 | |
3450 | |
3451 | if (*str != ';') |
3451 | if (*str != ';') |
3452 | { |
3452 | { |
3453 | if (bgPixmap.set_file (str)) /* change pixmap */ |
3453 | if (bgPixmap.set_file (str)) /* change pixmap */ |
|
|
3454 | { |
3454 | changed++; |
3455 | changed++; |
3455 | str = strchr (str, ';'); |
3456 | str = strchr (str, ';'); |
3456 | if (str == NULL) |
3457 | if (str == NULL) |
3457 | bgPixmap.set_defaultGeometry (); |
3458 | bgPixmap.set_defaultGeometry (); |
3458 | else |
3459 | else |
3459 | bgPixmap.set_geometry (str+1); |
3460 | bgPixmap.set_geometry (str+1); |
|
|
3461 | } |
3460 | } |
3462 | } |
3461 | else |
3463 | else |
3462 | { |
3464 | { |
3463 | str++; |
3465 | str++; |
3464 | if (bgPixmap.set_geometry (str, true)) |
3466 | if (bgPixmap.set_geometry (str, true)) |