summaryrefslogtreecommitdiff
path: root/packages/efl/ewl/ecore-flags.patch
blob: 9c4f5afc78a8d5af721920de27e79bcfd3ac931a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
diff -Nur ewl-0.0.4.004~/src/lib/ewl_config.c ewl-0.0.4.004/src/lib/ewl_config.c
--- ewl-0.0.4.004~/src/lib/ewl_config.c	2005-09-29 18:02:24.000000000 -0700
+++ ewl-0.0.4.004/src/lib/ewl_config.c	2005-09-29 18:03:10.000000000 -0700
@@ -210,8 +210,8 @@
 
 		cc = ewl_config_int_get("/ewl/theme/color_classes/count");
 		prop = ecore_config_get("/ewl/theme/color_classes/count");
-		prop->flags &= ~PF_MODIFIED;
-		prop->flags |= PF_SYSTEM;
+		prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+		prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 		for (i = 0; i < cc; i++) {
 			char *name;
@@ -221,8 +221,8 @@
 					"/ewl/theme/color_classes/%d/name", i);
 			name = ewl_config_str_get(key);
 			prop = ecore_config_get(key);
-			prop->flags &= ~PF_MODIFIED;
-			prop->flags |= PF_SYSTEM;
+			prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+			prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 			if (name) {
 				int r, g, b, a;
@@ -233,85 +233,85 @@
 						"/ewl/theme/color_classes/%d/r", i);
 				r = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/g", i);
 				g = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/b", i);
 				b = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/a", i);
 				a = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/r2", i);
 				r2 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/g2", i);
 				g2 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/b2", i);
 				b2 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/a2", i);
 				a2 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/r3", i);
 				r3 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/g3", i);
 				g3 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/b3", i);
 				b3 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				snprintf(key, PATH_MAX,
 						"/ewl/theme/color_classes/%d/a3", i);
 				a3 = ewl_config_int_get(key);
 				prop = ecore_config_get(key);
-				prop->flags &= ~PF_MODIFIED;
-				prop->flags |= PF_SYSTEM;
+				prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+				prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 
 				edje_color_class_set(name, r, g, b, a,
 						r2, g2, b2, a2,
@@ -389,8 +389,8 @@
 
 		for(i = 0; keys[i] != NULL; i++) {
 			prop = ecore_config_get(keys[i]);
-			prop->flags &= ~PF_MODIFIED;
-			prop->flags |= PF_SYSTEM;
+			prop->flags &= ~ECORE_CONFIG_FLAG_MODIFIED;
+			prop->flags |= ECORE_CONFIG_FLAG_SYSTEM;
 		}
 
 		ecore_config_listen("ewl_debug_enable", "/ewl/debug/enable",