mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
added nana stuff
added lock option in docked icons
This commit is contained in:
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = no-dependencies
|
||||
|
||||
lib_LTLIBRARIES = libwraster.la
|
||||
|
||||
libwraster_la_LDFLAGS = -version-info 3:0:2
|
||||
libwraster_la_LDFLAGS = -version-info 3:1:2
|
||||
|
||||
bin_SCRIPTS = get-wraster-flags
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ AUTOMAKE_OPTIONS = no-dependencies
|
||||
|
||||
lib_LTLIBRARIES = libwraster.la
|
||||
|
||||
libwraster_la_LDFLAGS = -version-info 3:0:2
|
||||
libwraster_la_LDFLAGS = -version-info 3:1:2
|
||||
|
||||
bin_SCRIPTS = get-wraster-flags
|
||||
|
||||
|
||||
@@ -140,7 +140,8 @@ RGetImageFromXPMData(RContext *context, char **data)
|
||||
color_table[1][i] = green;
|
||||
color_table[2][i] = blue;
|
||||
color_table[3][i] = 255;
|
||||
} else if (strncmp(&(data[line][j]), "None", 4)==0) {
|
||||
} else if (strncmp(&(data[line][j]), "None", 4)==0
|
||||
|| strncmp(&(data[line][j]), "none", 4)==0) {
|
||||
color_table[3][i] = 0;
|
||||
transp = 1;
|
||||
} else {
|
||||
@@ -315,7 +316,8 @@ RLoadXPM(RContext *context, char *file, int index)
|
||||
color_table[1][i] = green;
|
||||
color_table[2][i] = blue;
|
||||
color_table[3][i] = 255;
|
||||
} else if (strncmp(&(line[j]), "None", 4)==0) {
|
||||
} else if (strncmp(&(line[j]), "None", 4)==0
|
||||
|| strncmp(&(line[j]), "none", 4)==0) {
|
||||
color_table[3][i] = 0;
|
||||
transp = 1;
|
||||
} else {
|
||||
|
||||
@@ -155,8 +155,8 @@ RLoadPNG(RContext *context, char *file, int index)
|
||||
sgamma = 1;
|
||||
} else {
|
||||
/* no, this is correct. Old gimp versions are broken and save wrong
|
||||
* data. Upgrade gimp */
|
||||
sgamma = 2.0;
|
||||
* data. Upgrade gimp. wtf :/*/
|
||||
sgamma = 1.0;
|
||||
}
|
||||
|
||||
if (png_get_gAMA(png, pinfo, &gamma))
|
||||
|
||||
Reference in New Issue
Block a user