Compare commits
706 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c43580f77 | ||
|
|
a485cde8d2 | ||
|
|
984c082a4a | ||
|
|
0b85490400 | ||
|
|
e96e01d89c | ||
|
|
9a02da726b | ||
|
|
b6316f0d61 | ||
|
|
b150c7f93f | ||
|
|
1ec7fe02ac | ||
|
|
cc74a292b6 | ||
|
|
8d7c63d472 | ||
|
|
a167a13c49 | ||
|
|
eac5f5381a | ||
|
|
b763edfc69 | ||
|
|
399118cf1a | ||
|
|
1b2dcdb774 | ||
|
|
2b76adb6fb | ||
|
|
142e8b59ce | ||
|
|
75da879e46 | ||
|
|
d148c78e2a | ||
|
|
c028e25e36 | ||
|
|
9743ead8f3 | ||
|
|
3dd073cda3 | ||
|
|
5343d971e1 | ||
|
|
d3e47d3088 | ||
|
|
2097a6e4ed | ||
|
|
94619c361f | ||
|
|
3fb2d0402b | ||
|
|
dac6de3858 | ||
|
|
66d7a4c6a2 | ||
|
|
920b04003d | ||
|
|
4b9b71db69 | ||
|
|
6aba648d1d | ||
|
|
5ab7ebe2d6 | ||
|
|
e6a9f7854c | ||
|
|
d66ffdba8c | ||
|
|
dba1a573f9 | ||
|
|
85ae6ddbcc | ||
|
|
96192b5ebe | ||
|
|
4a21eb4e73 | ||
|
|
f343b7d042 | ||
|
|
cbd7978593 | ||
|
|
35b1e39396 | ||
|
|
94b7d02ae6 | ||
|
|
62aa5fee9d | ||
|
|
f1d990a2a3 | ||
|
|
b2c19b10ca | ||
|
|
6118b98b2f | ||
|
|
833a21f7e0 | ||
|
|
a0a96af9e3 | ||
|
|
85f99bf210 | ||
|
|
2839058c81 | ||
|
|
465dc8b552 | ||
|
|
128b437b59 | ||
|
|
5f594361b0 | ||
|
|
03d14d0dde | ||
|
|
2142967252 | ||
|
|
99431c4c71 | ||
|
|
f8afc027ec | ||
|
|
f4bcb14fb9 | ||
|
|
f53283e4b6 | ||
|
|
d27f3a3618 | ||
|
|
067799c686 | ||
|
|
e71d9f2208 | ||
|
|
c7bbe3fb62 | ||
|
|
f0cc6e1d83 | ||
|
|
b0a176ba9c | ||
|
|
7b81ae4e19 | ||
|
|
8c5ea8c543 | ||
|
|
757aeece0e | ||
|
|
3ee812cbed | ||
|
|
ccacb1c349 | ||
|
|
028c80efcb | ||
|
|
a262612227 | ||
|
|
0747cea409 | ||
|
|
377014ebd4 | ||
|
|
8eb691149b | ||
|
|
3934420b3c | ||
|
|
e4a015cb0d | ||
|
|
2a08fd0fd6 | ||
|
|
e4d74fc368 | ||
|
|
8db144cf83 | ||
|
|
90276bd075 | ||
|
|
9d9cb45655 | ||
|
|
5872f97d17 | ||
|
|
a907cced91 | ||
|
|
b5a535891e | ||
|
|
483aa3bdd0 | ||
|
|
e2768c8955 | ||
|
|
041e2e033f | ||
|
|
694cc17198 | ||
|
|
309fa2b63e | ||
|
|
d2805d52d6 | ||
|
|
0ebf9eec51 | ||
|
|
dd6e5b22bb | ||
|
|
f03f5e6d5d | ||
|
|
2dbea5a9cc | ||
|
|
e191be3188 | ||
|
|
94dccfdf96 | ||
|
|
e6383f64f6 | ||
|
|
085d0a5ca3 | ||
|
|
40034cda8c | ||
|
|
82fc4dba16 |
||
|
|
d1a8e25c1b | ||
|
|
58837002c6 | ||
|
|
3b069f56c9 | ||
|
|
fa37715a0b | ||
|
|
08bdc4c973 | ||
|
|
a8e8708a2a |
||
|
|
97079f55ec | ||
|
|
3fef373d47 | ||
|
|
5c6c34c87f | ||
|
|
461c016e27 | ||
|
|
3a2a9ca9bd | ||
|
|
8fcf959670 | ||
|
|
7bc39e254a | ||
|
|
223d147c3f | ||
|
|
5f5764aa96 | ||
|
|
e7b0b89958 | ||
|
|
cded12c82f | ||
|
|
dc7980ff4e | ||
|
|
926fb3c7a9 | ||
|
|
75f7ac63ed | ||
|
|
51da7b6a76 | ||
|
|
c423ca6b67 | ||
|
|
3843f64fea | ||
|
|
fb4509bdb2 | ||
|
|
86d04b20fd | ||
|
|
e64c8a4fa4 | ||
|
|
c1397a8862 | ||
|
|
4af5097987 | ||
|
|
139076b8f0 | ||
|
|
260259b146 | ||
|
|
45e514ef04 | ||
|
|
ec2a2b0271 | ||
|
|
ce77a0418a | ||
|
|
e1ade46049 | ||
|
|
c9c5188faa | ||
|
|
8df5cd0f6d | ||
|
|
6c7b609936 | ||
|
|
685ae11132 | ||
|
|
4db00e385a | ||
|
|
2bbb579b04 | ||
|
|
2c62413444 | ||
|
|
f949fcdd6d | ||
|
|
910669d20d | ||
|
|
4593d93bd2 | ||
|
|
94696ff516 | ||
|
|
43b3efa37d | ||
|
|
5a0aeeb769 | ||
|
|
00125089c8 | ||
|
|
f5528af470 | ||
|
|
0b3ebe1869 | ||
|
|
5487933e14 | ||
|
|
bc4e04ddc2 |
||
|
|
d0d4ca7b18 | ||
|
|
c1874eab10 | ||
|
|
4d04bc5858 | ||
|
|
7180276e16 | ||
|
|
546e48c9aa | ||
|
|
bca21c79fb | ||
|
|
e3f54b98d3 | ||
|
|
35f1854fc3 | ||
|
|
2cbfa27cad | ||
|
|
4c0576c0e9 | ||
|
|
5a2e3fe03c | ||
|
|
3278e47c95 | ||
|
|
f57fa988d1 | ||
|
|
c58ae334a2 | ||
|
|
274681f206 | ||
|
|
07b198b7d7 | ||
|
|
5fe8ed1ba0 | ||
|
|
4db821e61f | ||
|
|
0826fc41c2 | ||
|
|
b35ae4759d | ||
|
|
08634aa4a7 | ||
|
|
ece73378e2 | ||
|
|
1371091dd1 | ||
|
|
4680cdd201 | ||
|
|
e59357c6c8 |
||
|
|
35158c0499 |
||
|
|
fe1f15fc48 | ||
|
|
6b13d190a6 | ||
|
|
1c5ae90ff1 | ||
|
|
16463de300 | ||
|
|
0e04492ff4 | ||
|
|
6fd4e3e138 | ||
|
|
c02662d6cd | ||
|
|
f92c864c73 | ||
|
|
a5fa200c8f | ||
|
|
1655c34839 | ||
|
|
98e2e3564b | ||
|
|
9a33dde60d | ||
|
|
4af3e1fb2f | ||
|
|
3a4128e0f9 | ||
|
|
944ed78ad4 | ||
|
|
c387b14adb | ||
|
|
d21c532c22 | ||
|
|
033eceb1c0 | ||
|
|
a84732fea9 | ||
|
|
82d3f7de2f | ||
|
|
6f4d594b8e | ||
|
|
54b54ba63c | ||
|
|
f38bf58183 | ||
|
|
62ef73354b | ||
|
|
3bc553e38e | ||
|
|
b3a2af25ad | ||
|
|
6d266770f0 | ||
|
|
ab9be396d8 | ||
|
|
5b3dd3995f | ||
|
|
31a70d8a26 | ||
|
|
15a4d36b18 | ||
|
|
b85365031d | ||
|
|
e90e472f8a | ||
|
|
0a0935f383 | ||
|
|
142ebb9bf7 | ||
|
|
832d895b17 | ||
|
|
e3627764f6 | ||
|
|
3dd8772098 | ||
|
|
c0dbee3bf3 | ||
|
|
949618baa0 | ||
|
|
5e6effdfd8 | ||
|
|
0b19259e8b | ||
|
|
cdc90255e8 | ||
|
|
3df91f31e5 | ||
|
|
358a64f5a6 | ||
|
|
1c2228543d | ||
|
|
89372a60e2 | ||
|
|
88dcc2bbb4 | ||
|
|
3a18b59c59 | ||
|
|
8bfeae5c3d | ||
|
|
90e3bb0fca | ||
|
|
db82a9b77a | ||
|
|
a027215d70 | ||
|
|
1dc083f748 | ||
|
|
3f0ea01c18 | ||
|
|
eeabfae1c9 | ||
|
|
5b771a4b32 | ||
|
|
2739683f6c | ||
|
|
84ba7a4d46 | ||
|
|
8e693f88f8 | ||
|
|
881f6ea4e6 | ||
|
|
1e1f170231 | ||
|
|
210618e56c | ||
|
|
3b05bca8ec | ||
|
|
1f9279186b | ||
|
|
46eb226a68 | ||
|
|
b41f7c2848 | ||
|
|
4c2158e83a | ||
|
|
c58e965045 | ||
|
|
2d5098ed6e | ||
|
|
edf024988d | ||
|
|
1802d2033d | ||
|
|
e97342f0b1 | ||
|
|
3c4af4773c | ||
|
|
1253206170 | ||
|
|
fe3e334b69 | ||
|
|
b6796b2079 | ||
|
|
63e0678ac4 | ||
|
|
a23db7ba17 | ||
|
|
9960903b24 | ||
|
|
7406d60b3b | ||
|
|
a94f71f8e7 | ||
|
|
c6898fce46 | ||
|
|
6c3e449024 | ||
|
|
5c781df2ff | ||
|
|
770f32eb1b | ||
|
|
27ed552d1c | ||
|
|
8bcd0c22b3 | ||
|
|
ae9de4ed5b | ||
|
|
dd0644fb87 | ||
|
|
2f435143e8 | ||
|
|
d73ddbba36 | ||
|
|
f9369eb29e | ||
|
|
6475803cbd | ||
|
|
6f355c3b62 | ||
|
|
5fab70e271 | ||
|
|
7d6f6c1819 | ||
|
|
9ec6659394 | ||
|
|
2f8441542b | ||
|
|
6a927c0109 | ||
|
|
a90efe993b | ||
|
|
91b1e2ee92 | ||
|
|
7b2ffd1352 | ||
|
|
f54cc9e68b | ||
|
|
831aad1270 | ||
|
|
c605dad9cb | ||
|
|
567f66cdf8 | ||
|
|
e5098bb2c6 | ||
|
|
8bed81facc | ||
|
|
eebca5f291 | ||
|
|
59f145b3d6 | ||
|
|
151465a78a | ||
|
|
bd4d130074 | ||
|
|
9cd2679ec3 | ||
|
|
75d69c823e | ||
|
|
39978d2e9e | ||
|
|
62342c1498 | ||
|
|
c0178dddd0 | ||
|
|
850b75f800 | ||
|
|
00c8f531f5 | ||
|
|
0b4cc22c51 | ||
|
|
46f37563a2 | ||
|
|
0fc1903079 | ||
|
|
2a8ac2178c | ||
|
|
321ca3704e | ||
|
|
b3ba98e590 | ||
|
|
f9ab9d10af | ||
|
|
b83df0bfa8 | ||
|
|
b131ef23e6 | ||
|
|
15ce829748 | ||
|
|
97f519297b | ||
|
|
d599a29ba4 | ||
|
|
565fe492f8 | ||
|
|
9357f9b91c | ||
|
|
26b7603a2c | ||
|
|
5fa5910354 | ||
|
|
eee1aca2c6 | ||
|
|
64b6ac04e0 | ||
|
|
bbc85fc0d4 | ||
|
|
730503f605 | ||
|
|
715f5285ef | ||
|
|
22c2ba4631 | ||
|
|
4ddf5c7f97 | ||
|
|
e3cce79d24 | ||
|
|
12423c229b | ||
|
|
06b4d9e9a8 | ||
|
|
c26f9996de | ||
|
|
c29d3cec44 | ||
|
|
172e19331c | ||
|
|
ef7d669757 | ||
|
|
2fb046d11f | ||
|
|
4ddb98b6fa | ||
|
|
eb5457e4fe | ||
|
|
de1d82068f | ||
|
|
3330afad83 | ||
|
|
4673a529e7 | ||
|
|
02371f3796 | ||
|
|
8809d46c25 | ||
|
|
025a610cba | ||
|
|
62bcbddaf6 | ||
|
|
0b41d25294 | ||
|
|
e766ad1d19 | ||
|
|
32b9c1c01d | ||
|
|
b28833f49b | ||
|
|
bc3b8c3a10 | ||
|
|
2a4c23f56e | ||
|
|
5a216fc473 | ||
|
|
873ba1e2a0 | ||
|
|
e7e5f0196e | ||
|
|
4fa19208cf | ||
|
|
d0435de25b | ||
|
|
82d7e5c0b3 | ||
|
|
f7e7704d23 | ||
|
|
84a1254252 | ||
|
|
6e67ad9267 | ||
|
|
ff1ed548d7 | ||
|
|
3d4343a1da | ||
|
|
40430ad2b0 | ||
|
|
d4585bb4b6 | ||
|
|
f3c7c8fae7 | ||
|
|
c82ac7fb10 | ||
|
|
97811fc567 | ||
|
|
8902a45e42 | ||
|
|
53d6722830 | ||
|
|
9f175884e0 | ||
|
|
e172530438 | ||
|
|
cae36e1c5c | ||
|
|
51c35c872d | ||
|
|
6930262c10 | ||
|
|
6a2b24184f | ||
|
|
bb4fe1d492 | ||
|
|
f5d514c4b7 | ||
|
|
4977069993 | ||
|
|
84ff17c5d8 | ||
|
|
a5a2ee6551 | ||
|
|
ec18dd9bdf | ||
|
|
c4c147028d | ||
|
|
81c264acd9 | ||
|
|
e0d005b752 | ||
|
|
940bae73fb | ||
|
|
204d4a0a07 | ||
|
|
2cbe1c6e69 | ||
|
|
5c67ec72e5 | ||
|
|
c4d09a38f6 | ||
|
|
fe21b3d328 | ||
|
|
4e4c677cec | ||
|
|
52e340b98a | ||
|
|
5a536ee04b | ||
|
|
fc51a002ce | ||
|
|
f82c3e04e7 | ||
|
|
26349a8def | ||
|
|
df58fa43bc | ||
|
|
24a7edd478 | ||
|
|
1c7d4244b5 | ||
|
|
86641aae2b | ||
|
|
da0553bc81 | ||
|
|
5b1e74a0e4 | ||
|
|
e2014e0cb1 | ||
|
|
cb55615f3c | ||
|
|
3b1ab13955 | ||
|
|
e885af9dba | ||
|
|
fcb97582b3 | ||
|
|
caf3ca789e | ||
|
|
ddbe07c84b | ||
|
|
8cd521353b | ||
|
|
e208fd40e8 | ||
|
|
282f0f19b3 | ||
|
|
6173d1db67 | ||
|
|
5d4309a399 | ||
|
|
65525771b1 | ||
|
|
3006e46b6c | ||
|
|
ea0923d722 | ||
|
|
5951642e5d | ||
|
|
b29bf68d30 | ||
|
|
455ae5d04e | ||
|
|
456246129c | ||
|
|
5b10054400 | ||
|
|
269c1df92e | ||
|
|
667e3ddcc4 | ||
|
|
107d41994f | ||
|
|
639270891a | ||
|
|
98cbf0c304 | ||
|
|
ea13e4492a | ||
|
|
819e6764da | ||
|
|
6f5f3ae36b | ||
|
|
54a2b44a48 | ||
|
|
baaa8c999f | ||
|
|
9ca5e02c51 | ||
|
|
33d5e36a91 | ||
|
|
43fc9093ca | ||
|
|
23fd26fe9f | ||
|
|
6e146bbb0b | ||
|
|
40e99ccc98 | ||
|
|
56a7716622 | ||
|
|
ab30098368 | ||
|
|
36ea408b66 | ||
|
|
fb62e991ad | ||
|
|
db3627ef0a | ||
|
|
e04f12f11e | ||
|
|
903827d19e | ||
|
|
0bac143f98 | ||
|
|
eb8425bdb9 | ||
|
|
080ecd47c3 | ||
|
|
0d7d31ffe9 | ||
|
|
c0eaaa80b9 | ||
|
|
a00837c9f6 | ||
|
|
7e093eea45 | ||
|
|
11779e2081 | ||
|
|
9d6f2b221c | ||
|
|
54f2caef64 | ||
|
|
894b5f1577 | ||
|
|
4959c5983f | ||
|
|
a4ec4be4d5 | ||
|
|
f64c0baa3e | ||
|
|
5ce2805cd6 | ||
|
|
7833b198ca | ||
|
|
5a834d035a | ||
|
|
c063131255 | ||
|
|
42f7e2f0dd | ||
|
|
80bad349fe | ||
|
|
ab82cba237 | ||
|
|
783e241e30 | ||
|
|
7efa2fadae | ||
|
|
d4608c60f8 | ||
|
|
da03e7767b | ||
|
|
d6cf97f6f7 | ||
|
|
bfcdac58e0 | ||
|
|
3b064546d5 | ||
|
|
b552364bd0 | ||
|
|
b17b2e93a4 | ||
|
|
1f93e83990 | ||
|
|
d1015a3544 | ||
|
|
559210996c | ||
|
|
9cffa69fa8 | ||
|
|
533a3d0ff7 | ||
|
|
aec33242f0 | ||
|
|
de1f180048 | ||
|
|
034503a548 | ||
|
|
392a13e526 | ||
|
|
4c753acada | ||
|
|
8dc03ea494 | ||
|
|
7601d477fc | ||
|
|
6e9bdd7730 | ||
|
|
3ba58a9713 | ||
|
|
c0695c1a00 | ||
|
|
88421eef05 | ||
|
|
e18922eb77 | ||
|
|
fa242d827a | ||
|
|
fe6e4461c6 | ||
|
|
de90601e8d | ||
|
|
6cb12de0b9 | ||
|
|
cb00596d07 | ||
|
|
78830a8a23 | ||
|
|
efa9fae4bd | ||
|
|
871767966e | ||
|
|
232c3cf8c5 | ||
|
|
f570c5f10c | ||
|
|
2003ff12b1 | ||
|
|
ea52f9ee7d | ||
|
|
07c8d48c4c | ||
|
|
3daaa5209d | ||
|
|
feb4cd8ff9 | ||
|
|
74191a078e | ||
|
|
bfcacd1f23 | ||
|
|
cc450c2ab6 | ||
|
|
5e66fe8a55 | ||
|
|
11be6547d6 | ||
|
|
354c12d442 | ||
|
|
0b62a005e5 | ||
|
|
f2eaf03515 | ||
|
|
96034db949 | ||
|
|
0396544ca6 | ||
|
|
3c5fe2d107 | ||
|
|
802f6973af | ||
|
|
0e1d4935dc | ||
|
|
4b4e7fc5e5 | ||
|
|
3938ced383 | ||
|
|
08f39756d4 | ||
|
|
6fb3ad1535 | ||
|
|
ebeca74cf6 | ||
|
|
f1f28dada3 | ||
|
|
5f222fa4d6 | ||
|
|
6dd9ff6dda | ||
|
|
19a75732cf | ||
|
|
fcf08e55bc | ||
|
|
e61c454298 | ||
|
|
24744d730a | ||
|
|
afb6ec6017 | ||
|
|
93079e84c1 | ||
|
|
4b4690d64b | ||
|
|
aac48978e4 | ||
|
|
e8345f4c81 | ||
|
|
078a0b7459 | ||
|
|
28a2bfe99d | ||
|
|
fe755627e7 | ||
|
|
583b1bec28 | ||
|
|
3eeed5053b | ||
|
|
56e11bfd56 | ||
|
|
f5fd1ddd8b | ||
|
|
f148d4d23f | ||
|
|
158b78ff45 | ||
|
|
99d8e524ac | ||
|
|
7dcc51dbb1 | ||
|
|
815ce5b828 | ||
|
|
31c8908cc0 | ||
|
|
61199cf635 | ||
|
|
045756792b | ||
|
|
460bed0fbf | ||
|
|
d92338cba3 | ||
|
|
677ceb9de1 | ||
|
|
a440b73091 | ||
|
|
61002b6c41 | ||
|
|
6811d3a03f | ||
|
|
b892b40ed4 | ||
|
|
c65c354600 | ||
|
|
ea751f2d6d | ||
|
|
ef77a5f851 | ||
|
|
7b7a19d8ff | ||
|
|
8405ca2c5e | ||
|
|
ba26f4fa5f | ||
|
|
f75cfb4934 | ||
|
|
2b905f8611 | ||
|
|
c4e1c80c7b | ||
|
|
3de59719ac | ||
|
|
ef796d85eb | ||
|
|
447a39d072 | ||
|
|
0e7614b487 | ||
|
|
73463c00f5 | ||
|
|
07a69727c8 | ||
|
|
e1407d0876 | ||
|
|
5f8d20c34c | ||
|
|
c0d01a912b | ||
|
|
f1fd6ce2a3 | ||
|
|
76fe09f40d | ||
|
|
a4a6ae8257 | ||
|
|
ecd207fb36 | ||
|
|
1e8f2538c4 | ||
|
|
57ff4dc060 | ||
|
|
59bf182868 | ||
|
|
626bcaab63 | ||
|
|
e51aded4ef | ||
|
|
934eb642af | ||
|
|
33ae61cc55 | ||
|
|
4b4cdb9802 | ||
|
|
0563d44542 | ||
|
|
871d9c90a5 | ||
|
|
f0b15cd6b9 | ||
|
|
70aa8f56a1 | ||
|
|
90d8795344 | ||
|
|
1012331136 | ||
|
|
7257744815 | ||
|
|
6fe408a9b7 | ||
|
|
82a15cec2e | ||
|
|
b42dea7156 | ||
|
|
160fbaf3bf | ||
|
|
fada318095 | ||
|
|
42aa128ab8 | ||
|
|
e877bca4f9 | ||
|
|
dc70b71edb | ||
|
|
3e574e0487 | ||
|
|
310ca1a1e4 | ||
|
|
4e31b35251 | ||
|
|
e418201844 | ||
|
|
3d63548be0 | ||
|
|
2120e9989f | ||
|
|
2f5971c3c6 | ||
|
|
31e90bfbfe | ||
|
|
9d85e165b3 | ||
|
|
6ef2a24e0b | ||
|
|
948557767d | ||
|
|
cab211f055 | ||
|
|
fadf4915c5 | ||
|
|
bd71c4e087 | ||
|
|
4aee6561f0 | ||
|
|
f341de843c | ||
|
|
1d0a55f759 | ||
|
|
ff68de7581 | ||
|
|
366ac29ba6 | ||
|
|
a3cf35b6a0 | ||
|
|
e0c87c94e9 | ||
|
|
12d30a5f9f | ||
|
|
6a666ff1df | ||
|
|
d5a05846f6 | ||
|
|
9fa3d56a85 | ||
|
|
4672a0556b | ||
|
|
934ecd5808 | ||
|
|
5dc1c52b81 | ||
|
|
cfd835eadb | ||
|
|
b11c344bf2 | ||
|
|
446bff88e7 | ||
|
|
3950e3f136 | ||
|
|
a396545246 | ||
|
|
8a8ab3e558 | ||
|
|
e09af7888e | ||
|
|
df93db5107 | ||
|
|
6d1857fa38 | ||
|
|
0078e8714f | ||
|
|
2c123bf459 | ||
|
|
ad72824000 | ||
|
|
800a440999 | ||
|
|
13f0104181 | ||
|
|
ad50da6175 | ||
|
|
1b6e71608a | ||
|
|
e83c620128 | ||
|
|
0209ccd31c | ||
|
|
722476610a | ||
|
|
5d2020ca78 | ||
|
|
4f9238a9f3 | ||
|
|
1fe0c31d20 | ||
|
|
aca4b000e7 | ||
|
|
ad53c7c436 | ||
|
|
ceb81d2460 | ||
|
|
ab1faa09f2 | ||
|
|
23a28c0189 | ||
|
|
f795f839c6 | ||
|
|
5143c77ba7 | ||
|
|
5c11ff620e | ||
|
|
d93c79add4 | ||
|
|
d58a834b7f | ||
|
|
ba8861e012 | ||
|
|
414fc02831 | ||
|
|
c5a13c2288 | ||
|
|
c95264f58b | ||
|
|
4e4dfca454 | ||
|
|
5e441ab5cd | ||
|
|
c707096ebf | ||
|
|
4eef75b6f6 | ||
|
|
d8dd82c49f | ||
|
|
97eab24f36 | ||
|
|
c03bc5b744 | ||
|
|
48b2b5b6c5 | ||
|
|
f5ef48281d | ||
|
|
b73ab67566 | ||
|
|
9f4ab9ae5a | ||
|
|
bf63603195 | ||
|
|
9cf6370aea | ||
|
|
ce45da9679 | ||
|
|
d32203d9e1 | ||
|
|
5679cfbc2a | ||
|
|
d2f959da10 | ||
|
|
e7ca2b93c6 | ||
|
|
dff5604e97 | ||
|
|
d5f9318fea | ||
|
|
5bb8f2a27c | ||
|
|
516b80a3c3 | ||
|
|
2a124734f1 | ||
|
|
a5950633c2 | ||
|
|
e80ca7a9aa | ||
|
|
32042447a8 | ||
|
|
d72a1441ed | ||
|
|
b4dc82c07a | ||
|
|
cc1656ae6b | ||
|
|
069c33b1d8 | ||
|
|
357a64628d | ||
|
|
c8644d3c88 | ||
|
|
680ca0d74b | ||
|
|
48d450fcc3 | ||
|
|
42b96a2051 | ||
|
|
edec9f342b | ||
|
|
cefbbbcbf1 | ||
|
|
10699f07ca | ||
|
|
25202c5c2d | ||
|
|
35c407f1aa | ||
|
|
131f47b661 | ||
|
|
f9c5e8a69a |
49 changed files with 559 additions and 18497 deletions
|
|
@ -1 +0,0 @@
|
|||
evolution-2.10.1.tar.bz2
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/evolution-*.tar.xz
|
||||
6
Makefile
6
Makefile
|
|
@ -1,6 +0,0 @@
|
|||
# Makefile for source rpm: evolution
|
||||
# $Id$
|
||||
NAME := evolution
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
include ../common/Makefile.common
|
||||
42
configurable-dbus-prefix.patch
Normal file
42
configurable-dbus-prefix.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
diff -up evolution-3.48.1 evolution-3.48
|
||||
diff -up evolution-3.48.1/docs/evolution.1 evolution-3.48.1/docs/evolution
|
||||
diff -up evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c.1 evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c
|
||||
--- evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c.1 2023-11-27 13:12:25.099463743 -0500
|
||||
+++ evolution-3.48.1/src/modules/backup-restore/evolution-backup-tool.c 2023-11-27 13:14:38.640243434 -0500
|
||||
@@ -674,7 +674,7 @@ get_source_manager_reload_command (void)
|
||||
g_string_free (tmp, TRUE);
|
||||
tmp = NULL;
|
||||
|
||||
- base_filename = g_strdup (EDS_SOURCES_DBUS_SERVICE_NAME);
|
||||
+ base_filename = g_ascii_strdown (EDS_SOURCES_DBUS_SERVICE_NAME, -1);
|
||||
|
||||
if (!base_filename || !*base_filename) {
|
||||
g_free (base_filename);
|
||||
@@ -690,14 +690,16 @@ get_source_manager_reload_command (void)
|
||||
|
||||
while (!tmp) {
|
||||
const gchar *name;
|
||||
+ gchar *name_down;
|
||||
|
||||
name = g_dir_read_name (dir);
|
||||
+ name_down = g_ascii_strdown (name, -1);
|
||||
|
||||
if (!name)
|
||||
break;
|
||||
|
||||
- if (g_ascii_strncasecmp (name, base_filename, base_filename_len) == 0 &&
|
||||
- g_ascii_strncasecmp (name + strlen (name) - 8, ".service", 8) == 0) {
|
||||
+ if (strstr (name_down, base_filename) != NULL &&
|
||||
+ strncmp (name_down + strlen (name) - 8, ".service", 8) == 0) {
|
||||
gchar *filename;
|
||||
|
||||
filename = g_strconcat ("$DBUSDATADIR", G_DIR_SEPARATOR_S, name, NULL);
|
||||
@@ -724,6 +726,8 @@ get_source_manager_reload_command (void)
|
||||
g_free (str);
|
||||
}
|
||||
}
|
||||
+
|
||||
+ g_free (name_down);
|
||||
}
|
||||
|
||||
g_free (base_filename);
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-1.4.4/configure.ldaphack 2003-08-05 02:06:26.000000000 -0400
|
||||
+++ evolution-1.4.4/configure 2003-08-05 02:06:45.000000000 -0400
|
||||
@@ -12135,7 +12135,7 @@
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lldap $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
+LIBS="-lldap -lresolv $LDAP_LDFLAGS $LDAP_LIBS $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
--- evolution-2.0.2/mail/em-utils.c.fix-145552 2004-09-24 11:49:29.000000000 -0400
|
||||
+++ evolution-2.0.2/mail/em-utils.c 2005-08-02 22:42:04.000000000 -0400
|
||||
@@ -1919,10 +1919,22 @@
|
||||
* try to do better with the filename check.
|
||||
*/
|
||||
|
||||
+ /* RH bug 145552: code based on _gnome_vfs_get_mime_type_internal:
|
||||
+ * So many file types come compressed by gzip
|
||||
+ * that extensions are more reliable than magic
|
||||
+ * typing. If the file has a suffix, then use
|
||||
+ * the type from the suffix:
|
||||
+ */
|
||||
if (magic_type) {
|
||||
if (name_type
|
||||
&& (!strcmp(magic_type, "text/plain")
|
||||
- || !strcmp(magic_type, "application/octet-stream")))
|
||||
+ || !strcmp(magic_type, "application/octet-stream")
|
||||
+ || !strcmp(magic_type, "application/octet-stream")
|
||||
+ || !strcmp(magic_type, "application/x-ole-storage")
|
||||
+ || !strcmp(magic_type, "text/xml")
|
||||
+ || !strcmp(magic_type, "application/x-bzip")
|
||||
+ || !strcmp(magic_type, "application/x-gzip")
|
||||
+ || !strcmp(magic_type, "application/zip")))
|
||||
return name_type;
|
||||
else
|
||||
return magic_type;
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
--- evolution-2.10.0/mail/em-utils.c.drop-old-glib-support 2007-03-18 08:17:46.000000000 -0400
|
||||
+++ evolution-2.10.0/mail/em-utils.c 2007-03-18 08:24:07.000000000 -0400
|
||||
@@ -42,10 +42,6 @@
|
||||
#undef interface
|
||||
#endif
|
||||
|
||||
-#if !GLIB_CHECK_VERSION (2, 8, 0)
|
||||
-#define g_access access
|
||||
-#endif
|
||||
-
|
||||
#include <camel/camel-stream-fs.h>
|
||||
#include <camel/camel-url-scanner.h>
|
||||
#include <camel/camel-file-utils.h>
|
||||
--- evolution-2.10.0/mail/mail-config.c.drop-old-glib-support 2007-01-03 10:34:12.000000000 -0500
|
||||
+++ evolution-2.10.0/mail/mail-config.c 2007-03-18 08:24:07.000000000 -0400
|
||||
@@ -76,10 +76,6 @@
|
||||
#include "mail-mt.h"
|
||||
#include "mail-tools.h"
|
||||
|
||||
-#if !GLIB_CHECK_VERSION (2, 8, 0)
|
||||
-#define g_creat creat
|
||||
-#endif
|
||||
-
|
||||
/* Note, the first element of each MailConfigLabel must NOT be translated */
|
||||
MailConfigLabel label_defaults[5] = {
|
||||
{ "important", N_("I_mportant"), "#ff0000" }, /* red */
|
||||
--- evolution-2.10.0/plugins/save-attachments/save-attachments.c.drop-old-glib-support 2007-03-18 08:17:29.000000000 -0400
|
||||
+++ evolution-2.10.0/plugins/save-attachments/save-attachments.c 2007-03-18 08:24:07.000000000 -0400
|
||||
@@ -32,10 +32,6 @@
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
-#if !GLIB_CHECK_VERSION (2, 8, 0)
|
||||
-#define g_access access
|
||||
-#endif
|
||||
-
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtkdialog.h>
|
||||
#include <gtk/gtkmessagedialog.h>
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
--- evolution-2.10.0/mail/mail-session.c.e-passwords 2007-03-12 23:41:06.000000000 -0400
|
||||
+++ evolution-2.10.0/mail/mail-session.c 2007-03-12 23:41:35.000000000 -0400
|
||||
@@ -679,8 +679,6 @@
|
||||
|
||||
d(printf ("Gone non-interactive, checking for outstanding interactive tasks\n"));
|
||||
|
||||
- e_passwords_cancel();
|
||||
-
|
||||
/* flush/cancel pending user messages */
|
||||
while ((um = (struct _user_message_msg *) e_dlist_remhead (&message_list))) {
|
||||
d(printf ("Flusing message request: %s\n", um->prompt));
|
||||
--- evolution-2.10.0/shell/main.c.e-passwords 2007-03-12 23:39:38.000000000 -0400
|
||||
+++ evolution-2.10.0/shell/main.c 2007-03-12 23:39:54.000000000 -0400
|
||||
@@ -565,7 +565,6 @@
|
||||
glade_init ();
|
||||
e_cursors_init ();
|
||||
e_icon_factory_init ();
|
||||
- e_passwords_init();
|
||||
|
||||
gtk_window_set_default_icon_name ("evolution");
|
||||
|
||||
--- evolution-2.10.0/calendar/gui/alarm-notify/notify-main.c.e-passwords 2007-03-12 23:40:22.000000000 -0400
|
||||
+++ evolution-2.10.0/calendar/gui/alarm-notify/notify-main.c 2007-03-12 23:40:36.000000000 -0400
|
||||
@@ -169,7 +169,6 @@
|
||||
|
||||
alarm_done ();
|
||||
|
||||
- e_passwords_shutdown ();
|
||||
gnome_sound_shutdown ();
|
||||
|
||||
return 0;
|
||||
|
|
@ -1,997 +0,0 @@
|
|||
--- evolution-2.10.0/widgets/misc/e-pilot-settings.c.e-source-combo-box 2007-01-03 10:34:47.000000000 -0500
|
||||
+++ evolution-2.10.0/widgets/misc/e-pilot-settings.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include "e-pilot-settings.h"
|
||||
|
||||
struct _EPilotSettingsPrivate
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
lbl = gtk_label_new (_("Sync with:"));
|
||||
gtk_misc_set_alignment (GTK_MISC (lbl), 0.0, 0.5);
|
||||
- priv->source = e_source_option_menu_new (source_list);
|
||||
+ priv->source = e_source_combo_box_new (source_list);
|
||||
gtk_table_attach_defaults (GTK_TABLE (ps), lbl, 0, 1, 0, 1);
|
||||
gtk_table_attach_defaults (GTK_TABLE (ps), priv->source, 1, 2, 0, 1);
|
||||
gtk_widget_show (lbl);
|
||||
@@ -152,8 +152,9 @@
|
||||
g_return_val_if_fail (E_IS_PILOT_SETTINGS (ps), FALSE);
|
||||
|
||||
priv = ps->priv;
|
||||
-
|
||||
- return e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (priv->source));
|
||||
+
|
||||
+ return e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source));
|
||||
}
|
||||
|
||||
void
|
||||
@@ -166,7 +167,8 @@
|
||||
|
||||
priv = ps->priv;
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source), source);
|
||||
}
|
||||
|
||||
gboolean
|
||||
--- evolution-2.10.0/plugins/itip-formatter/itip-formatter.c.e-source-combo-box 2007-02-26 04:59:58.000000000 -0500
|
||||
+++ evolution-2.10.0/plugins/itip-formatter/itip-formatter.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <camel/camel-store.h>
|
||||
#include <libecal/e-cal.h>
|
||||
#include <libecal/e-cal-time-util.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <libedataserverui/e-source-selector.h>
|
||||
#include <gtkhtml/gtkhtml-embedded.h>
|
||||
#include <mail/em-format-hook.h>
|
||||
--- evolution-2.10.0/plugins/itip-formatter/itip-view.c.e-source-combo-box 2007-01-03 10:34:04.000000000 -0500
|
||||
+++ evolution-2.10.0/plugins/itip-formatter/itip-view.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <camel/camel-mime-message.h>
|
||||
#include <libedataserver/e-time-utils.h>
|
||||
#include <libedataserver/e-data-server-util.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <libecal/e-cal.h>
|
||||
#include <libecal/e-cal-time-util.h>
|
||||
#include <gtkhtml/gtkhtml-embedded.h>
|
||||
@@ -104,8 +104,8 @@
|
||||
char *description;
|
||||
|
||||
GtkWidget *selector_box;
|
||||
- GtkWidget *esom;
|
||||
- GtkWidget *esom_header;
|
||||
+ GtkWidget *escb;
|
||||
+ GtkWidget *escb_header;
|
||||
ESourceList *source_list;
|
||||
|
||||
GtkWidget *rsvp_box;
|
||||
@@ -1664,10 +1664,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_selected_cb (ESourceOptionMenu *esom, ESource *source, gpointer data)
|
||||
+source_changed_cb (ESourceComboBox *escb, ItipView *view)
|
||||
{
|
||||
- ItipView *view = data;
|
||||
-
|
||||
+ ESource *source;
|
||||
+
|
||||
+ source = e_source_combo_box_get_active (escb);
|
||||
+
|
||||
g_signal_emit (view, signals[SOURCE_SELECTED], 0, source);
|
||||
}
|
||||
|
||||
@@ -1684,40 +1686,42 @@
|
||||
if (priv->source_list)
|
||||
g_object_unref (priv->source_list);
|
||||
|
||||
- if (priv->esom)
|
||||
- gtk_widget_destroy (priv->esom);
|
||||
+ if (priv->escb)
|
||||
+ gtk_widget_destroy (priv->escb);
|
||||
|
||||
if (!source_list) {
|
||||
- if (priv->esom_header)
|
||||
- gtk_widget_destroy (priv->esom_header);
|
||||
+ if (priv->escb_header)
|
||||
+ gtk_widget_destroy (priv->escb_header);
|
||||
|
||||
priv->source_list = NULL;
|
||||
- priv->esom = NULL;
|
||||
- priv->esom_header = NULL;
|
||||
+ priv->escb = NULL;
|
||||
+ priv->escb_header = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
priv->source_list = g_object_ref (source_list);
|
||||
|
||||
- priv->esom = e_source_option_menu_new (source_list);
|
||||
- gtk_widget_show (priv->esom);
|
||||
- g_signal_connect (priv->esom, "source_selected", G_CALLBACK (source_selected_cb), view);
|
||||
+ priv->escb = e_source_combo_box_new (source_list);
|
||||
+ gtk_widget_show (priv->escb);
|
||||
+ g_signal_connect (
|
||||
+ priv->escb, "changed",
|
||||
+ G_CALLBACK (source_changed_cb), view);
|
||||
|
||||
- if (!priv->esom_header) {
|
||||
+ if (!priv->escb_header) {
|
||||
if (priv->type == E_CAL_SOURCE_TYPE_EVENT)
|
||||
- priv->esom_header = gtk_label_new_with_mnemonic (_("_Calendar:"));
|
||||
+ priv->escb_header = gtk_label_new_with_mnemonic (_("_Calendar:"));
|
||||
else if (priv->type == E_CAL_SOURCE_TYPE_TODO)
|
||||
- priv->esom_header = gtk_label_new_with_mnemonic (_("_Tasks :"));
|
||||
+ priv->escb_header = gtk_label_new_with_mnemonic (_("_Tasks :"));
|
||||
else if (priv->type == E_CAL_SOURCE_TYPE_JOURNAL)
|
||||
- priv->esom_header = gtk_label_new_with_mnemonic (_("Memos :"));
|
||||
+ priv->escb_header = gtk_label_new_with_mnemonic (_("Memos :"));
|
||||
|
||||
- gtk_label_set_mnemonic_widget (GTK_LABEL (priv->esom_header), priv->esom);
|
||||
- gtk_widget_show (priv->esom_header);
|
||||
+ gtk_label_set_mnemonic_widget (GTK_LABEL (priv->escb_header), priv->escb);
|
||||
+ gtk_widget_show (priv->escb_header);
|
||||
}
|
||||
|
||||
- gtk_box_pack_start (GTK_BOX (priv->selector_box), priv->esom_header, FALSE, TRUE, 6);
|
||||
- gtk_box_pack_start (GTK_BOX (priv->selector_box), priv->esom, FALSE, TRUE, 0);
|
||||
+ gtk_box_pack_start (GTK_BOX (priv->selector_box), priv->escb_header, FALSE, TRUE, 6);
|
||||
+ gtk_box_pack_start (GTK_BOX (priv->selector_box), priv->escb, FALSE, TRUE, 0);
|
||||
}
|
||||
|
||||
ESourceList *
|
||||
@@ -1743,10 +1747,11 @@
|
||||
|
||||
priv = view->priv;
|
||||
|
||||
- if (!priv->esom)
|
||||
+ if (!priv->escb)
|
||||
return;
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->esom), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->escb), source);
|
||||
}
|
||||
|
||||
ESource *
|
||||
@@ -1759,10 +1764,11 @@
|
||||
|
||||
priv = view->priv;
|
||||
|
||||
- if (!priv->esom)
|
||||
+ if (!priv->escb)
|
||||
return NULL;
|
||||
|
||||
- return e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (priv->esom));
|
||||
+ return e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->escb));
|
||||
}
|
||||
|
||||
void
|
||||
--- evolution-2.10.0/plugins/bbdb/gaimbuddies.c.e-source-combo-box 2007-01-03 10:34:02.000000000 -0500
|
||||
+++ evolution-2.10.0/plugins/bbdb/gaimbuddies.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <libebook/e-book.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
--- evolution-2.10.0/plugins/bbdb/bbdb.c.e-source-combo-box 2007-01-03 10:34:02.000000000 -0500
|
||||
+++ evolution-2.10.0/plugins/bbdb/bbdb.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <libebook/e-book.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
|
||||
#include <e-util/e-config.h>
|
||||
#include <mail/em-config.h>
|
||||
@@ -341,7 +341,8 @@
|
||||
|
||||
gtk_widget_set_sensitive (stuff->option_menu, active);
|
||||
if (active && !gconf_client_get_string (stuff->target->gconf, GCONF_KEY_WHICH_ADDRESSBOOK, NULL)) {
|
||||
- selected_source = e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (stuff->option_menu));
|
||||
+ selected_source = e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (stuff->option_menu));
|
||||
gconf_client_set_string (stuff->target->gconf, GCONF_KEY_WHICH_ADDRESSBOOK, e_source_get_uri (selected_source), NULL);
|
||||
}
|
||||
}
|
||||
@@ -360,7 +361,8 @@
|
||||
|
||||
gtk_widget_set_sensitive (stuff->gaim_option_menu, active);
|
||||
if (active && !gconf_client_get_string (stuff->target->gconf, GCONF_KEY_WHICH_ADDRESSBOOK_GAIM, NULL)) {
|
||||
- selected_source = e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (stuff->gaim_option_menu));
|
||||
+ selected_source = e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (stuff->gaim_option_menu));
|
||||
gconf_client_set_string (stuff->target->gconf, GCONF_KEY_WHICH_ADDRESSBOOK_GAIM, e_source_get_uri (selected_source), NULL);
|
||||
}
|
||||
}
|
||||
@@ -389,31 +391,32 @@
|
||||
static GtkWidget *
|
||||
create_addressbook_option_menu (struct bbdb_stuff *stuff, int type)
|
||||
{
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
ESourceList *source_list;
|
||||
char *selected_source_uri;
|
||||
- ESource *selected_source;
|
||||
|
||||
GConfClient *gconf = stuff->target->gconf;
|
||||
|
||||
source_list = e_source_list_new_for_gconf (gconf, "/apps/evolution/addressbook/sources");
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
|
||||
if (type == GAIM_ADDRESSBOOK)
|
||||
selected_source_uri = gconf_client_get_string (gconf, GCONF_KEY_WHICH_ADDRESSBOOK_GAIM, NULL);
|
||||
else
|
||||
selected_source_uri = gconf_client_get_string (gconf, GCONF_KEY_WHICH_ADDRESSBOOK, NULL);
|
||||
if (selected_source_uri != NULL) {
|
||||
- selected_source = e_source_new_with_absolute_uri ("", selected_source_uri);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (menu), selected_source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (combo_box),
|
||||
+ e_source_new_with_absolute_uri (
|
||||
+ "", selected_source_uri));
|
||||
g_free (selected_source_uri);
|
||||
}
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
+ gtk_widget_show (combo_box);
|
||||
|
||||
stuff->source_list = source_list;
|
||||
|
||||
- return menu;
|
||||
+ return combo_box;
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
--- evolution-2.10.0/addressbook/gui/contact-list-editor/contact-list-editor.glade.e-source-combo-box 2007-01-03 10:32:47.000000000 -0500
|
||||
+++ evolution-2.10.0/addressbook/gui/contact-list-editor/contact-list-editor.glade 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -158,9 +158,9 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="Custom" id="source-option-menu-source">
|
||||
+ <widget class="Custom" id="source-combo-box-source">
|
||||
<property name="visible">True</property>
|
||||
- <property name="creation_function">e_contact_list_editor_create_source_option_menu</property>
|
||||
+ <property name="creation_function">e_contact_list_editor_create_source_combo_box</property>
|
||||
<property name="int1">0</property>
|
||||
<property name="int2">0</property>
|
||||
<property name="last_modification_time">Tue, 01 Jun 2004 18:22:38 GMT</property>
|
||||
--- evolution-2.10.0/addressbook/gui/contact-list-editor/e-contact-list-editor.c.e-source-combo-box 2007-01-03 10:32:47.000000000 -0500
|
||||
+++ evolution-2.10.0/addressbook/gui/contact-list-editor/e-contact-list-editor.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <gtk/gtktogglebutton.h>
|
||||
#include <gtk/gtkdialog.h>
|
||||
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
|
||||
#include <table/e-table-scrolled.h>
|
||||
#include <libgnomevfs/gnome-vfs-ops.h>
|
||||
@@ -78,7 +78,7 @@
|
||||
static void list_name_changed_cb (GtkWidget *w, EContactListEditor *editor);
|
||||
static void list_image_changed_cb (GtkWidget *w, EContactListEditor *editor);
|
||||
static void visible_addrs_toggled_cb (GtkWidget *w, EContactListEditor *editor);
|
||||
-static void source_selected (GtkWidget *source_option_menu, ESource *source, EContactListEditor *editor);
|
||||
+static void source_changed_cb (ESourceComboBox *source_combo_box, EContactListEditor *editor);
|
||||
static gboolean email_key_pressed (GtkWidget *w, GdkEventKey *event, EContactListEditor *editor);
|
||||
static void email_match_selected (GtkWidget *w, EDestination *destination, EContactListEditor *editor);
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
editor->list_name_entry = glade_xml_get_widget (gui, "list-name-entry");
|
||||
editor->list_image = glade_xml_get_widget (gui, "list-image");
|
||||
editor->visible_addrs_checkbutton = glade_xml_get_widget (gui, "visible-addrs-checkbutton");
|
||||
- editor->source_menu = glade_xml_get_widget (gui, "source-option-menu-source");
|
||||
+ editor->source_menu = glade_xml_get_widget (gui, "source-combo-box-source");
|
||||
|
||||
editor->ok_button = glade_xml_get_widget (gui, "ok-button");
|
||||
editor->cancel_button = glade_xml_get_widget (gui, "cancel-button");
|
||||
@@ -276,7 +276,7 @@
|
||||
"changed", G_CALLBACK(list_image_changed_cb), editor);
|
||||
|
||||
g_signal_connect (editor->source_menu,
|
||||
- "source_selected", G_CALLBACK (source_selected), editor);
|
||||
+ "changed", G_CALLBACK (source_changed_cb), editor);
|
||||
|
||||
command_state_changed (editor);
|
||||
|
||||
@@ -306,8 +306,9 @@
|
||||
if (status != E_BOOK_ERROR_OK || new_book == NULL) {
|
||||
eab_load_error_dialog (NULL, e_book_get_source (new_book), status);
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (editor->source_menu),
|
||||
- e_book_get_source (editor->book));
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (editor->source_menu),
|
||||
+ e_book_get_source (editor->book));
|
||||
|
||||
if (new_book)
|
||||
g_object_unref (new_book);
|
||||
@@ -332,8 +333,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_selected (GtkWidget *source_option_menu, ESource *source, EContactListEditor *editor)
|
||||
+source_changed_cb (ESourceComboBox *source_combo_box, EContactListEditor *editor)
|
||||
{
|
||||
+ ESource *source;
|
||||
+
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
+
|
||||
cancel_load (editor);
|
||||
|
||||
if (e_source_equal (e_book_get_source (editor->book), source))
|
||||
@@ -795,28 +800,28 @@
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
-e_contact_list_editor_create_source_option_menu (gchar *name,
|
||||
- gchar *string1, gchar *string2,
|
||||
- gint int1, gint int2);
|
||||
+e_contact_list_editor_create_source_combo_box (gchar *name,
|
||||
+ gchar *string1, gchar *string2,
|
||||
+ gint int1, gint int2);
|
||||
|
||||
GtkWidget *
|
||||
-e_contact_list_editor_create_source_option_menu (gchar *name,
|
||||
- gchar *string1, gchar *string2,
|
||||
- gint int1, gint int2)
|
||||
+e_contact_list_editor_create_source_combo_box (gchar *name,
|
||||
+ gchar *string1, gchar *string2,
|
||||
+ gint int1, gint int2)
|
||||
{
|
||||
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
GConfClient *gconf_client;
|
||||
ESourceList *source_list;
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/addressbook/sources");
|
||||
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
g_object_unref (source_list);
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
- return menu;
|
||||
+ gtk_widget_show (combo_box);
|
||||
+ return combo_box;
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
@@ -1262,10 +1267,9 @@
|
||||
}
|
||||
|
||||
if (editor->book) {
|
||||
- ESource *source;
|
||||
-
|
||||
- source = e_book_get_source (editor->book);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (editor->source_menu), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (editor->source_menu),
|
||||
+ e_book_get_source (editor->book));
|
||||
gtk_widget_set_sensitive (editor->source_menu, editor->is_new_list);
|
||||
gtk_widget_set_sensitive (glade_xml_get_widget (editor->gui, "source-label"), editor->is_new_list);
|
||||
}
|
||||
--- evolution-2.10.0/addressbook/gui/contact-editor/contact-editor.glade.e-source-combo-box 2007-02-26 04:59:17.000000000 -0500
|
||||
+++ evolution-2.10.0/addressbook/gui/contact-editor/contact-editor.glade 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -356,9 +356,9 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="Custom" id="source-option-menu-source">
|
||||
+ <widget class="Custom" id="source-combo-box-source">
|
||||
<property name="visible">True</property>
|
||||
- <property name="creation_function">e_contact_editor_create_source_option_menu</property>
|
||||
+ <property name="creation_function">e_contact_editor_create_source_combo_box</property>
|
||||
<property name="int1">0</property>
|
||||
<property name="int2">0</property>
|
||||
<property name="last_modification_time">Tue, 13 Apr 2004 20:47:50 GMT</property>
|
||||
--- evolution-2.10.0/addressbook/gui/contact-editor/e-contact-editor.c.e-source-combo-box 2007-02-26 04:59:17.000000000 -0500
|
||||
+++ evolution-2.10.0/addressbook/gui/contact-editor/e-contact-editor.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <text/e-entry.h>
|
||||
|
||||
#include <libebook/e-address-western.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
|
||||
#include <camel/camel.h>
|
||||
|
||||
@@ -590,15 +590,16 @@
|
||||
fill_in_source_field (EContactEditor *editor)
|
||||
{
|
||||
GtkWidget *source_menu;
|
||||
- ESource *source;
|
||||
|
||||
if (!editor->target_book)
|
||||
return;
|
||||
|
||||
- source_menu = glade_xml_get_widget (editor->gui, "source-option-menu-source");
|
||||
- source = e_book_get_source (editor->target_book);
|
||||
+ source_menu = glade_xml_get_widget (
|
||||
+ editor->gui, "source-combo-box-source");
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (source_menu), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (source_menu),
|
||||
+ e_book_get_source (editor->target_book));
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -2525,13 +2526,15 @@
|
||||
editor->load_book = NULL;
|
||||
|
||||
if (status != E_BOOK_ERROR_OK || new_book == NULL) {
|
||||
- GtkWidget *source_option_menu;
|
||||
+ GtkWidget *source_combo_box;
|
||||
|
||||
eab_load_error_dialog (NULL, e_book_get_source (new_book), status);
|
||||
|
||||
- source_option_menu = glade_xml_get_widget (editor->gui, "source-option-menu-source");
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (source_option_menu),
|
||||
- e_book_get_source (editor->target_book));
|
||||
+ source_combo_box = glade_xml_get_widget (
|
||||
+ editor->gui, "source-combo-box-source");
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (source_combo_box),
|
||||
+ e_book_get_source (editor->target_book));
|
||||
|
||||
if (new_book)
|
||||
g_object_unref (new_book);
|
||||
@@ -2555,8 +2558,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_selected (GtkWidget *source_option_menu, ESource *source, EContactEditor *editor)
|
||||
+source_changed (ESourceComboBox *source_combo_box, EContactEditor *editor)
|
||||
{
|
||||
+ ESource *source;
|
||||
+
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
+
|
||||
cancel_load (editor);
|
||||
|
||||
if (e_source_equal (e_book_get_source (editor->target_book), source))
|
||||
@@ -3330,8 +3337,8 @@
|
||||
g_signal_connect (widget, "clicked", G_CALLBACK (full_name_clicked), e_contact_editor);
|
||||
widget = glade_xml_get_widget(e_contact_editor->gui, "button-categories");
|
||||
g_signal_connect (widget, "clicked", G_CALLBACK (categories_clicked), e_contact_editor);
|
||||
- widget = glade_xml_get_widget (e_contact_editor->gui, "source-option-menu-source");
|
||||
- g_signal_connect (widget, "source_selected", G_CALLBACK (source_selected), e_contact_editor);
|
||||
+ widget = glade_xml_get_widget (e_contact_editor->gui, "source-combo-box-source");
|
||||
+ g_signal_connect (widget, "changed", G_CALLBACK (source_changed), e_contact_editor);
|
||||
label = glade_xml_get_widget (e_contact_editor->gui, "where-label");
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (label), widget);
|
||||
widget = glade_xml_get_widget (e_contact_editor->gui, "button-ok");
|
||||
@@ -3782,25 +3789,25 @@
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
-e_contact_editor_create_source_option_menu (gchar *name,
|
||||
- gchar *string1, gchar *string2,
|
||||
- gint int1, gint int2);
|
||||
+e_contact_editor_create_source_combo_box (gchar *name,
|
||||
+ gchar *string1, gchar *string2,
|
||||
+ gint int1, gint int2);
|
||||
|
||||
GtkWidget *
|
||||
-e_contact_editor_create_source_option_menu (gchar *name,
|
||||
- gchar *string1, gchar *string2,
|
||||
- gint int1, gint int2)
|
||||
+e_contact_editor_create_source_combo_box (gchar *name,
|
||||
+ gchar *string1, gchar *string2,
|
||||
+ gint int1, gint int2)
|
||||
{
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
GConfClient *gconf_client;
|
||||
ESourceList *source_list;
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/addressbook/sources");
|
||||
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
g_object_unref (source_list);
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
- return menu;
|
||||
+ gtk_widget_show (combo_box);
|
||||
+ return combo_box;
|
||||
}
|
||||
--- evolution-2.10.0/addressbook/gui/contact-editor/e-contact-quick-add.c.e-source-combo-box 2007-01-03 10:32:45.000000000 -0500
|
||||
+++ evolution-2.10.0/addressbook/gui/contact-editor/e-contact-quick-add.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <libgnomeui/gnome-app.h>
|
||||
#include <libebook/e-book.h>
|
||||
#include <libebook/e-contact.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <addressbook/gui/component/addressbook.h>
|
||||
#include <addressbook/util/eab-book-util.h>
|
||||
#include "e-contact-editor.h"
|
||||
@@ -267,8 +267,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_selected (GtkWidget *source_option_menu, ESource *source, QuickAdd *qa)
|
||||
+source_changed (ESourceComboBox *source_combo_box, QuickAdd *qa)
|
||||
{
|
||||
+ ESource *source;
|
||||
+
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
+
|
||||
if (qa->book) {
|
||||
g_object_unref (qa->book);
|
||||
qa->book = NULL;
|
||||
@@ -317,16 +321,20 @@
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/addressbook/sources");
|
||||
- qa->option_menu = e_source_option_menu_new (source_list);
|
||||
+ qa->option_menu = e_source_combo_box_new (source_list);
|
||||
book = e_book_new_default_addressbook (NULL);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (qa->option_menu), e_book_get_source(book));
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (qa->option_menu),
|
||||
+ e_book_get_source (book));
|
||||
if (qa->book) {
|
||||
g_object_unref (qa->book);
|
||||
qa->book = NULL;
|
||||
}
|
||||
qa->book = book ;
|
||||
- source_selected(qa->option_menu, e_source_option_menu_peek_selected ((ESourceOptionMenu *)qa->option_menu), qa);
|
||||
- g_signal_connect (qa->option_menu, "source_selected", G_CALLBACK (source_selected), qa);
|
||||
+ source_changed (E_SOURCE_COMBO_BOX (qa->option_menu), qa);
|
||||
+ g_signal_connect (
|
||||
+ qa->option_menu, "changed",
|
||||
+ G_CALLBACK (source_changed), qa);
|
||||
|
||||
g_object_unref (source_list);
|
||||
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/memo-page.glade.e-source-combo-box 2007-01-03 10:34:49.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/memo-page.glade 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -141,7 +141,7 @@
|
||||
<child>
|
||||
<widget class="Custom" id="source">
|
||||
<property name="visible">True</property>
|
||||
- <property name="creation_function">memo_page_create_source_option_menu</property>
|
||||
+ <property name="creation_function">memo_page_create_source_combo_box</property>
|
||||
<property name="int1">0</property>
|
||||
<property name="int2">0</property>
|
||||
<property name="last_modification_time">Tue, 13 Jan 2004 22:00:00 GMT</property>
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/event-page.glade.e-source-combo-box 2007-01-03 10:34:49.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/event-page.glade 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -774,7 +774,7 @@
|
||||
<child>
|
||||
<widget class="Custom" id="source">
|
||||
<property name="visible">True</property>
|
||||
- <property name="creation_function">event_page_create_source_option_menu</property>
|
||||
+ <property name="creation_function">event_page_create_source_combo_box</property>
|
||||
<property name="int1">0</property>
|
||||
<property name="int2">0</property>
|
||||
<property name="last_modification_time">Wed, 17 Dec 2003 18:20:26 GMT</property>
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/task-page.glade.e-source-combo-box 2007-01-03 10:34:49.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/task-page.glade 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -618,7 +618,7 @@
|
||||
<widget class="Custom" id="source">
|
||||
<property name="height_request">24</property>
|
||||
<property name="visible">True</property>
|
||||
- <property name="creation_function">task_page_create_source_option_menu</property>
|
||||
+ <property name="creation_function">task_page_create_source_combo_box</property>
|
||||
<property name="int1">0</property>
|
||||
<property name="int2">0</property>
|
||||
<property name="last_modification_time">Thu, 18 Dec 2003 01:58:48 GMT</property>
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/memo-page.c.e-source-combo-box 2007-01-03 10:34:49.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/memo-page.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <gtk/gtkmessagedialog.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
#include <glade/glade.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <libedataserverui/e-name-selector.h>
|
||||
#include <libedataserverui/e-name-selector-entry.h>
|
||||
#include <libedataserverui/e-name-selector-list.h>
|
||||
@@ -339,7 +339,6 @@
|
||||
ECalComponentDateTime d;
|
||||
GSList *l;
|
||||
const char *categories;
|
||||
- ESource *source;
|
||||
|
||||
mpage = MEMO_PAGE (page);
|
||||
priv = mpage->priv;
|
||||
@@ -432,8 +431,9 @@
|
||||
}
|
||||
|
||||
/* Source */
|
||||
- source = e_cal_get_source (page->client);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (page->client));
|
||||
|
||||
priv->updating = FALSE;
|
||||
|
||||
@@ -844,13 +844,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_changed_cb (GtkWidget *widget, ESource *source, gpointer data)
|
||||
+source_changed_cb (ESourceComboBox *source_combo_box, MemoPage *mpage)
|
||||
{
|
||||
- MemoPage *mpage;
|
||||
- MemoPagePrivate *priv;
|
||||
+ MemoPagePrivate *priv = mpage->priv;
|
||||
+ ESource *source;
|
||||
|
||||
- mpage = MEMO_PAGE (data);
|
||||
- priv = mpage->priv;
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
|
||||
if (!priv->updating) {
|
||||
ECal *client;
|
||||
@@ -862,8 +861,9 @@
|
||||
if (client)
|
||||
g_object_unref (client);
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector),
|
||||
- e_cal_get_source (COMP_EDITOR_PAGE (mpage)->client));
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (COMP_EDITOR_PAGE (mpage)->client));
|
||||
|
||||
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
|
||||
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
|
||||
@@ -973,7 +973,7 @@
|
||||
G_CALLBACK (categories_clicked_cb), mpage);
|
||||
|
||||
/* Source selector */
|
||||
- g_signal_connect((priv->source_selector), "source_selected",
|
||||
+ g_signal_connect((priv->source_selector), "changed",
|
||||
G_CALLBACK (source_changed_cb), mpage);
|
||||
|
||||
/* Connect the default signal handler to use to make sure the "changed"
|
||||
@@ -1167,21 +1167,22 @@
|
||||
return dedit;
|
||||
}
|
||||
|
||||
-GtkWidget *memo_page_create_source_option_menu (void);
|
||||
+GtkWidget *memo_page_create_source_combo_box (void);
|
||||
|
||||
GtkWidget *
|
||||
-memo_page_create_source_option_menu (void)
|
||||
+memo_page_create_source_combo_box (void)
|
||||
{
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
GConfClient *gconf_client;
|
||||
ESourceList *source_list;
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
- source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/memos/sources");
|
||||
+ source_list = e_source_list_new_for_gconf (
|
||||
+ gconf_client, "/apps/evolution/memos/sources");
|
||||
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
g_object_unref (source_list);
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
- return menu;
|
||||
+ gtk_widget_show (combo_box);
|
||||
+ return combo_box;
|
||||
}
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/event-page.c.e-source-combo-box 2007-03-12 23:45:00.000000000 -0400
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/event-page.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
#include <glade/glade.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include "common/authentication.h"
|
||||
#include "e-util/e-categories-config.h"
|
||||
#include "e-util/e-dialog-widgets.h"
|
||||
@@ -967,7 +967,6 @@
|
||||
ECalComponentDateTime start_date, end_date;
|
||||
const char *location, *uid = NULL;
|
||||
const char *categories;
|
||||
- ESource *source;
|
||||
GSList *l;
|
||||
gboolean validated = TRUE;
|
||||
|
||||
@@ -1163,8 +1162,9 @@
|
||||
e_dialog_editable_set (priv->categories, categories);
|
||||
|
||||
/* Source */
|
||||
- source = e_cal_get_source (page->client);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (page->client));
|
||||
|
||||
e_cal_component_get_uid (comp, &uid);
|
||||
if (!(COMP_EDITOR_PAGE (epage)->flags & COMP_EDITOR_PAGE_DELEGATE)
|
||||
@@ -2566,7 +2566,8 @@
|
||||
|
||||
if (!priv->sod) {
|
||||
priv->sod = e_sendoptions_dialog_new ();
|
||||
- source = e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (priv->source_selector));
|
||||
+ source = e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector));
|
||||
e_sendoptions_utils_set_default_data (priv->sod, source, "calendar");
|
||||
priv->sod->data->initialized = TRUE;
|
||||
}
|
||||
@@ -2595,13 +2596,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_changed_cb (GtkWidget *widget, ESource *source, gpointer data)
|
||||
+source_changed_cb (ESourceComboBox *source_combo_box, EventPage *epage)
|
||||
{
|
||||
- EventPage *epage;
|
||||
- EventPagePrivate *priv;
|
||||
+ EventPagePrivate *priv = epage->priv;
|
||||
+ ESource *source;
|
||||
|
||||
- epage = EVENT_PAGE (data);
|
||||
- priv = epage->priv;
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
|
||||
if (!priv->updating) {
|
||||
ECal *client;
|
||||
@@ -2620,8 +2620,9 @@
|
||||
if (client)
|
||||
g_object_unref (client);
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector),
|
||||
- e_cal_get_source (COMP_EDITOR_PAGE (epage)->client));
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (COMP_EDITOR_PAGE (epage)->client));
|
||||
|
||||
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
|
||||
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
|
||||
@@ -2847,7 +2848,7 @@
|
||||
G_CALLBACK (categories_clicked_cb), epage);
|
||||
|
||||
/* Source selector */
|
||||
- g_signal_connect((priv->source_selector), "source_selected",
|
||||
+ g_signal_connect((priv->source_selector), "changed",
|
||||
G_CALLBACK (source_changed_cb), epage);
|
||||
/* Alarms */
|
||||
priv->alarm_list_store = e_alarm_list_new ();
|
||||
@@ -3148,23 +3149,24 @@
|
||||
return w;
|
||||
}
|
||||
|
||||
-GtkWidget *event_page_create_source_option_menu (void);
|
||||
+GtkWidget *event_page_create_source_combo_box (void);
|
||||
|
||||
GtkWidget *
|
||||
-event_page_create_source_option_menu (void)
|
||||
+event_page_create_source_combo_box (void)
|
||||
{
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
GConfClient *gconf_client;
|
||||
ESourceList *source_list;
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
- source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/calendar/sources");
|
||||
+ source_list = e_source_list_new_for_gconf (
|
||||
+ gconf_client, "/apps/evolution/calendar/sources");
|
||||
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
g_object_unref (source_list);
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
- return menu;
|
||||
+ gtk_widget_show (combo_box);
|
||||
+ return combo_box;
|
||||
}
|
||||
|
||||
GtkWidget *make_status_icons (void);
|
||||
--- evolution-2.10.0/calendar/gui/dialogs/task-page.c.e-source-combo-box 2007-01-03 10:34:49.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/dialogs/task-page.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <gtk/gtkmessagedialog.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
#include <glade/glade.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <misc/e-dateedit.h>
|
||||
#include <e-util/e-dialog-utils.h>
|
||||
#include "common/authentication.h"
|
||||
@@ -513,7 +513,6 @@
|
||||
icalcomponent *icalcomp;
|
||||
const char *categories, *uid;
|
||||
icaltimezone *zone, *default_zone;
|
||||
- ESource *source;
|
||||
|
||||
tpage = TASK_PAGE (page);
|
||||
priv = tpage->priv;
|
||||
@@ -657,8 +656,9 @@
|
||||
e_dialog_editable_set (priv->categories, categories);
|
||||
|
||||
/* Source */
|
||||
- source = e_cal_get_source (page->client);
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector), source);
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (page->client));
|
||||
|
||||
if (priv->is_assignment) {
|
||||
ECalComponentOrganizer organizer;
|
||||
@@ -1617,13 +1617,12 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-source_changed_cb (GtkWidget *widget, ESource *source, gpointer data)
|
||||
+source_changed_cb (ESourceComboBox *source_combo_box, TaskPage *tpage)
|
||||
{
|
||||
- TaskPage *tpage;
|
||||
- TaskPagePrivate *priv;
|
||||
+ TaskPagePrivate *priv = tpage->priv;
|
||||
+ ESource *source;
|
||||
|
||||
- tpage = TASK_PAGE (data);
|
||||
- priv = tpage->priv;
|
||||
+ source = e_source_combo_box_get_active (source_combo_box);
|
||||
|
||||
if (!priv->updating) {
|
||||
ECal *client;
|
||||
@@ -1642,8 +1641,9 @@
|
||||
if (client)
|
||||
g_object_unref (client);
|
||||
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector),
|
||||
- e_cal_get_source (COMP_EDITOR_PAGE (tpage)->client));
|
||||
+ e_source_combo_box_set_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector),
|
||||
+ e_cal_get_source (COMP_EDITOR_PAGE (tpage)->client));
|
||||
|
||||
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
|
||||
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
|
||||
@@ -1655,7 +1655,7 @@
|
||||
comp_editor_notify_client_changed (
|
||||
COMP_EDITOR (gtk_widget_get_toplevel (priv->main)),
|
||||
client);
|
||||
- field_changed_cb (widget, data);
|
||||
+ field_changed_cb (GTK_WIDGET (source_combo_box), tpage);
|
||||
if (e_cal_get_static_capability (client, CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS) && priv->is_assignment)
|
||||
task_page_show_options (tpage);
|
||||
else
|
||||
@@ -1679,7 +1679,8 @@
|
||||
if (!priv->sod) {
|
||||
priv->sod = e_sendoptions_dialog_new ();
|
||||
priv->sod->data->initialized = TRUE;
|
||||
- source = e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (priv->source_selector));
|
||||
+ source = e_source_combo_box_get_active (
|
||||
+ E_SOURCE_COMBO_BOX (priv->source_selector));
|
||||
e_sendoptions_utils_set_default_data (priv->sod, source, "task");
|
||||
}
|
||||
|
||||
@@ -1734,7 +1735,7 @@
|
||||
G_CALLBACK (categories_clicked_cb), tpage);
|
||||
|
||||
/* Source selector */
|
||||
- g_signal_connect((priv->source_selector), "source_selected",
|
||||
+ g_signal_connect((priv->source_selector), "source_changed",
|
||||
G_CALLBACK (source_changed_cb), tpage);
|
||||
|
||||
/* Connect the default signal handler to use to make sure the "changed"
|
||||
@@ -1955,21 +1956,22 @@
|
||||
return dedit;
|
||||
}
|
||||
|
||||
-GtkWidget *task_page_create_source_option_menu (void);
|
||||
+GtkWidget *task_page_create_source_combo_box (void);
|
||||
|
||||
GtkWidget *
|
||||
-task_page_create_source_option_menu (void)
|
||||
+task_page_create_source_combo_box (void)
|
||||
{
|
||||
- GtkWidget *menu;
|
||||
+ GtkWidget *combo_box;
|
||||
GConfClient *gconf_client;
|
||||
ESourceList *source_list;
|
||||
|
||||
gconf_client = gconf_client_get_default ();
|
||||
- source_list = e_source_list_new_for_gconf (gconf_client, "/apps/evolution/tasks/sources");
|
||||
+ source_list = e_source_list_new_for_gconf (
|
||||
+ gconf_client, "/apps/evolution/tasks/sources");
|
||||
|
||||
- menu = e_source_option_menu_new (source_list);
|
||||
+ combo_box = e_source_combo_box_new (source_list);
|
||||
g_object_unref (source_list);
|
||||
|
||||
- gtk_widget_show (menu);
|
||||
- return menu;
|
||||
+ gtk_widget_show (combo_box);
|
||||
+ return combo_box;
|
||||
}
|
||||
--- evolution-2.10.0/calendar/gui/e-itip-control.c.e-source-combo-box 2007-01-03 10:34:53.000000000 -0500
|
||||
+++ evolution-2.10.0/calendar/gui/e-itip-control.c 2007-03-13 16:56:41.000000000 -0400
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <gtkhtml/gtkhtml-embedded.h>
|
||||
#include <gtkhtml/gtkhtml-stream.h>
|
||||
#include <libedataserver/e-source-list.h>
|
||||
-#include <libedataserverui/e-source-option-menu.h>
|
||||
+#include <libedataserverui/e-source-combo-box.h>
|
||||
#include <libical/ical.h>
|
||||
#include <libecal/e-cal-component.h>
|
||||
#include <libecal/e-cal-time-util.h>
|
||||
@@ -226,13 +226,13 @@
|
||||
} EItipControlFindData;
|
||||
|
||||
static void
|
||||
-source_selected_cb (ESourceOptionMenu *esom, ESource *source, gpointer data)
|
||||
+source_changed_cb (ESourceComboBox *escb, EItipControl *itip)
|
||||
{
|
||||
- EItipControl *itip = data;
|
||||
- EItipControlPrivate *priv;
|
||||
-
|
||||
- priv = itip->priv;
|
||||
+ EItipControlPrivate *priv = itip->priv;
|
||||
+ ESource *source;
|
||||
|
||||
+ source = e_source_combo_box_get_active (escb);
|
||||
+
|
||||
if (priv->ok)
|
||||
gtk_widget_set_sensitive (priv->ok, FALSE);
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
cleanup:
|
||||
if (fd->count == 0) {
|
||||
if (fd->show_selector && !priv->current_ecal && priv->vbox) {
|
||||
- GtkWidget *esom;
|
||||
+ GtkWidget *escb;
|
||||
char *uid;
|
||||
|
||||
switch (priv->type) {
|
||||
@@ -297,17 +297,17 @@
|
||||
if (!source)
|
||||
source = e_source_list_peek_source_any (priv->source_lists[priv->type]);
|
||||
|
||||
- esom = e_source_option_menu_new (priv->source_lists[priv->type]);
|
||||
- g_signal_connect_object (esom, "source_selected",
|
||||
- G_CALLBACK (source_selected_cb),
|
||||
- fd->itip, 0);
|
||||
+ escb = e_source_combo_box_new (priv->source_lists[priv->type]);
|
||||
+ g_signal_connect_object (
|
||||
+ escb, "changed",
|
||||
+ G_CALLBACK (source_changed_cb), fd->itip, 0);
|
||||
|
||||
- gtk_box_pack_start (GTK_BOX (priv->vbox), esom, FALSE, TRUE, 0);
|
||||
- gtk_widget_show (esom);
|
||||
+ gtk_box_pack_start (GTK_BOX (priv->vbox), escb, FALSE, TRUE, 0);
|
||||
+ gtk_widget_show (escb);
|
||||
|
||||
/* FIXME What if there is no source? */
|
||||
if (source)
|
||||
- e_source_option_menu_select (E_SOURCE_OPTION_MENU (esom), source);
|
||||
+ e_source_combo_box_set_active (E_SOURCE_COMBO_BOX (escb), source);
|
||||
} else {
|
||||
/* FIXME Display error message to user */
|
||||
}
|
||||
|
|
@ -1,274 +0,0 @@
|
|||
--- evolution-2.10.0/shell/main.c.shell-main-cleanups 2007-03-17 22:19:29.000000000 -0400
|
||||
+++ evolution-2.10.0/shell/main.c 2007-03-17 22:21:01.000000000 -0400
|
||||
@@ -88,6 +88,9 @@
|
||||
|
||||
#include "e-util/e-plugin.h"
|
||||
|
||||
+#define SKIP_WARNING_DIALOG_KEY \
|
||||
+ "/apps/evolution/shell/skip_warning_dialog"
|
||||
+
|
||||
static EShell *shell = NULL;
|
||||
|
||||
/* Command-line options. */
|
||||
@@ -100,7 +103,7 @@
|
||||
#endif
|
||||
static gboolean disable_eplugin = FALSE;
|
||||
|
||||
-static gint idle_cb (void *data);
|
||||
+static gboolean idle_cb (gchar **uris);
|
||||
|
||||
static char *default_component_id = NULL;
|
||||
static char *evolution_debug_log = NULL;
|
||||
@@ -133,6 +136,7 @@
|
||||
system (KILL_PROCESS_CMD " -9 evolution-data-server-1.2 2> /dev/null");
|
||||
system (KILL_PROCESS_CMD " -9 evolution-data-server-1.4 2> /dev/null");
|
||||
system (KILL_PROCESS_CMD " -9 evolution-data-server-1.6 2> /dev/null");
|
||||
+ system (KILL_PROCESS_CMD " -9 evolution-data-server-1.8 2> /dev/null");
|
||||
|
||||
system (KILL_PROCESS_CMD " -9 lt-evolution-alarm-notify 2> /dev/null");
|
||||
system (KILL_PROCESS_CMD " -9 evolution-alarm-notify 2> /dev/null");
|
||||
@@ -182,35 +186,15 @@
|
||||
|
||||
/* Warning dialog to scare people off a little bit. */
|
||||
|
||||
-static void
|
||||
-warning_dialog_response_callback (GtkDialog *dialog,
|
||||
- int button_number,
|
||||
- void *data)
|
||||
-{
|
||||
- GtkCheckButton *dont_bother_me_again_checkbox;
|
||||
- GConfClient *client;
|
||||
-
|
||||
- dont_bother_me_again_checkbox = GTK_CHECK_BUTTON (data);
|
||||
-
|
||||
- client = gconf_client_get_default ();
|
||||
- gconf_client_set_bool (client, "/apps/evolution/shell/skip_warning_dialog",
|
||||
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dont_bother_me_again_checkbox)),
|
||||
- NULL);
|
||||
- g_object_unref (client);
|
||||
-
|
||||
- gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
-
|
||||
- idle_cb(NULL);
|
||||
-}
|
||||
-
|
||||
-static void
|
||||
+static gboolean
|
||||
show_development_warning(void)
|
||||
{
|
||||
GtkWidget *vbox;
|
||||
GtkWidget *label;
|
||||
GtkWidget *warning_dialog;
|
||||
- GtkWidget *dont_bother_me_again_checkbox;
|
||||
+ GtkWidget *checkbox;
|
||||
GtkWidget *alignment;
|
||||
+ gboolean skip;
|
||||
char *text;
|
||||
|
||||
warning_dialog = gtk_dialog_new ();
|
||||
@@ -262,59 +246,58 @@
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);
|
||||
|
||||
- dont_bother_me_again_checkbox = gtk_check_button_new_with_label (_("Do not tell me again"));
|
||||
+ checkbox = gtk_check_button_new_with_label (_("Do not tell me again"));
|
||||
|
||||
alignment = gtk_alignment_new (0.0, 0.0, 0.0, 0.0);
|
||||
|
||||
- gtk_container_add (GTK_CONTAINER (alignment), dont_bother_me_again_checkbox);
|
||||
+ gtk_container_add (GTK_CONTAINER (alignment), checkbox);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), alignment, TRUE, TRUE, 0);
|
||||
|
||||
gtk_widget_show_all (warning_dialog);
|
||||
|
||||
- g_signal_connect (warning_dialog, "response",
|
||||
- G_CALLBACK (warning_dialog_response_callback),
|
||||
- dont_bother_me_again_checkbox);
|
||||
+ gtk_dialog_run (GTK_DIALOG (warning_dialog));
|
||||
+
|
||||
+ skip = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (checkbox));
|
||||
+
|
||||
+ gtk_widget_destroy (warning_dialog);
|
||||
+
|
||||
+ idle_cb (NULL);
|
||||
+
|
||||
+ return skip;
|
||||
}
|
||||
|
||||
static void
|
||||
-destroy_config (void)
|
||||
+destroy_config (GConfClient *client)
|
||||
{
|
||||
- GConfClient *gconf;
|
||||
-
|
||||
- gconf = gconf_client_get_default ();
|
||||
-
|
||||
/* Unset the source stuff */
|
||||
- gconf_client_unset (gconf, "/apps/evolution/calendar/sources", NULL);
|
||||
- gconf_client_unset (gconf, "/apps/evolution/tasks/sources", NULL);
|
||||
- gconf_client_unset (gconf, "/apps/evolution/addressbook/sources", NULL);
|
||||
- gconf_client_unset (gconf, "/apps/evolution/addressbook/sources", NULL);
|
||||
+ gconf_client_unset (client, "/apps/evolution/calendar/sources", NULL);
|
||||
+ gconf_client_unset (client, "/apps/evolution/tasks/sources", NULL);
|
||||
+ gconf_client_unset (client, "/apps/evolution/addressbook/sources", NULL);
|
||||
|
||||
/* Reset the version */
|
||||
- gconf_client_set_string (gconf, "/apps/evolution/version", "1.4.0", NULL);
|
||||
+ gconf_client_set_string (client, "/apps/evolution/version", "1.4.0", NULL);
|
||||
|
||||
/* Clear the dir */
|
||||
system ("rm -Rf ~/.evolution");
|
||||
-
|
||||
- g_object_unref (gconf);
|
||||
}
|
||||
|
||||
#endif /* DEVELOPMENT */
|
||||
|
||||
static void
|
||||
-open_uris (GNOME_Evolution_Shell corba_shell, GSList *uri_list)
|
||||
+open_uris (GNOME_Evolution_Shell corba_shell, gchar **uris)
|
||||
{
|
||||
- GSList *p;
|
||||
CORBA_Environment ev;
|
||||
+ guint n_uris, ii;
|
||||
|
||||
- CORBA_exception_init (&ev);
|
||||
+ g_assert (uris != NULL);
|
||||
+ n_uris = g_strv_length (uris);
|
||||
|
||||
- for (p = uri_list; p != NULL; p = p->next) {
|
||||
- const char *uri;
|
||||
+ CORBA_exception_init (&ev);
|
||||
|
||||
- uri = (const char *) p->data;
|
||||
- GNOME_Evolution_Shell_handleURI (corba_shell, uri, &ev);
|
||||
+ for (ii = 0; ii < n_uris; ii++) {
|
||||
+ GNOME_Evolution_Shell_handleURI (corba_shell, uris[ii], &ev);
|
||||
if (ev._major != CORBA_NO_EXCEPTION) {
|
||||
- g_warning ("Invalid URI: %s", uri);
|
||||
+ g_warning ("Invalid URI: %s", uris[ii]);
|
||||
CORBA_exception_free (&ev);
|
||||
}
|
||||
}
|
||||
@@ -324,23 +307,22 @@
|
||||
|
||||
/* This is for doing stuff that requires the GTK+ loop to be running already. */
|
||||
|
||||
-static gint
|
||||
-idle_cb (void *data)
|
||||
+static gboolean
|
||||
+idle_cb (gchar **uris)
|
||||
{
|
||||
- GSList *uri_list;
|
||||
GNOME_Evolution_Shell corba_shell;
|
||||
CORBA_Environment ev;
|
||||
EShellConstructResult result;
|
||||
EShellStartupLineMode startup_line_mode;
|
||||
|
||||
+ g_assert (uris == NULL || g_strv_length (uris) > 0);
|
||||
+
|
||||
#ifdef KILL_PROCESS_CMD
|
||||
kill_old_dataserver ();
|
||||
#endif
|
||||
|
||||
CORBA_exception_init (&ev);
|
||||
|
||||
- uri_list = (GSList *) data;
|
||||
-
|
||||
if (! start_online && ! start_offline)
|
||||
startup_line_mode = E_SHELL_STARTUP_LINE_MODE_CONFIG;
|
||||
else if (start_online)
|
||||
@@ -378,15 +360,16 @@
|
||||
}
|
||||
|
||||
if (shell != NULL) {
|
||||
- if (g_slist_length (uri_list) == 0)
|
||||
+ if (uris != NULL)
|
||||
+ open_uris (corba_shell, uris);
|
||||
+ else
|
||||
e_shell_create_window (shell, default_component_id, NULL);
|
||||
- open_uris (corba_shell, uri_list);
|
||||
} else {
|
||||
CORBA_Environment ev;
|
||||
|
||||
CORBA_exception_init (&ev);
|
||||
- if (uri_list != NULL)
|
||||
- open_uris (corba_shell, uri_list);
|
||||
+ if (uris != NULL)
|
||||
+ open_uris (corba_shell, uris);
|
||||
else
|
||||
if (default_component_id == NULL)
|
||||
GNOME_Evolution_Shell_createNewWindow (corba_shell, "", &ev);
|
||||
@@ -396,8 +379,6 @@
|
||||
CORBA_exception_free (&ev);
|
||||
}
|
||||
|
||||
- g_slist_free (uri_list);
|
||||
-
|
||||
CORBA_Object_release (corba_shell, &ev);
|
||||
|
||||
CORBA_exception_free (&ev);
|
||||
@@ -501,7 +482,6 @@
|
||||
GConfClient *client;
|
||||
gboolean skip_warning_dialog;
|
||||
#endif
|
||||
- GSList *uri_list;
|
||||
GnomeProgram *program;
|
||||
GOptionContext *context;
|
||||
char *filename;
|
||||
@@ -543,8 +523,10 @@
|
||||
#endif
|
||||
|
||||
#if DEVELOPMENT
|
||||
+ client = g_conf_client_get_default ();
|
||||
+
|
||||
if (force_migrate) {
|
||||
- destroy_config ();
|
||||
+ destroy_config (client);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -571,17 +553,6 @@
|
||||
if (setup_only)
|
||||
exit (0);
|
||||
|
||||
- uri_list = NULL;
|
||||
-
|
||||
- if (remaining_args != NULL) {
|
||||
- const char **p;
|
||||
-
|
||||
- for (p = (const char**)remaining_args; *p != NULL; p++)
|
||||
- uri_list = g_slist_prepend (uri_list, (char *) *p);
|
||||
- }
|
||||
- uri_list = g_slist_reverse (uri_list);
|
||||
-
|
||||
-
|
||||
gnome_sound_init ("localhost");
|
||||
|
||||
if (!disable_eplugin) {
|
||||
@@ -597,15 +568,20 @@
|
||||
}
|
||||
|
||||
#if DEVELOPMENT
|
||||
- client = gconf_client_get_default ();
|
||||
- skip_warning_dialog = gconf_client_get_bool (client, "/apps/evolution/shell/skip_warning_dialog", NULL);
|
||||
- g_object_unref (client);
|
||||
+ skip_warning_dialog = gconf_client_get_bool (
|
||||
+ client, SKIP_WARNING_DIALOG_KEY, NULL);
|
||||
|
||||
if (!skip_warning_dialog && !getenv ("EVOLVE_ME_HARDER"))
|
||||
- show_development_warning();
|
||||
+ gconf_client_set_bool (
|
||||
+ client, SKIP_WARNING_DIALOG_KEY,
|
||||
+ show_development_warning (), NULL);
|
||||
else
|
||||
+ g_idle_add ((GSourceFunc) idle_cb, remaining_args);
|
||||
+
|
||||
+ g_object_unref (client);
|
||||
+#else
|
||||
+ g_idle_add ((GSourceFunc) idle_cb, remaining_args);
|
||||
#endif
|
||||
- g_idle_add (idle_cb, uri_list);
|
||||
|
||||
bonobo_main ();
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,357 +0,0 @@
|
|||
--- evolution-2.10.1/plugins/exchange-operations/exchange-config-listener.c.check-uri-before-strcmp 2007-04-09 09:09:13.000000000 -0400
|
||||
+++ evolution-2.10.1/plugins/exchange-operations/exchange-config-listener.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -1250,26 +1250,30 @@
|
||||
exchange_add_autocompletion_folders (GConfClient *gc_client, ExchangeAccount *account)
|
||||
{
|
||||
ESourceList *sl=NULL;
|
||||
- ESourceGroup *group;
|
||||
ESource *source;
|
||||
- GSList *groups, *sources;
|
||||
+ GSList *groups;
|
||||
gboolean found_group=FALSE;
|
||||
|
||||
sl = e_source_list_new_for_gconf (gc_client, CONF_KEY_CONTACTS);
|
||||
groups = e_source_list_peek_groups (sl);
|
||||
|
||||
for ( ; groups != NULL && !found_group; groups = g_slist_next (groups)) {
|
||||
- group = E_SOURCE_GROUP (groups->data);
|
||||
+ ESourceGroup *group = E_SOURCE_GROUP (groups->data);
|
||||
+
|
||||
if (strcmp (e_source_group_peek_name (group), account->account_name) == 0
|
||||
&&
|
||||
strcmp (e_source_group_peek_base_uri (group), EXCHANGE_URI_PREFIX) == 0) {
|
||||
-
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
+ GSList *sources = e_source_group_peek_sources (group);
|
||||
|
||||
for( ; sources != NULL; sources = g_slist_next (sources)) {
|
||||
- source = E_SOURCE (sources->data);
|
||||
- if (g_str_has_prefix (e_source_peek_absolute_uri (source),
|
||||
- "gal://")) {
|
||||
+ ESource *source = E_SOURCE (sources->data);
|
||||
+ const gchar *absolute_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ absolute_uri = e_source_peek_absolute_uri (source);
|
||||
+ if (absolute_uri == NULL)
|
||||
+ continue;
|
||||
+ if (g_str_has_prefix (absolute_uri, "gal://")) {
|
||||
/* Set autocompletion on GAL alone by default */
|
||||
e_source_set_property (source, "completion", "true");
|
||||
break;
|
||||
--- evolution-2.10.1/plugins/groupwise-account-setup/camel-gw-listener.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/plugins/groupwise-account-setup/camel-gw-listener.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -254,10 +254,7 @@
|
||||
remove_esource (const char *conf_key, const char *group_name, char* source_name, const char* relative_uri)
|
||||
{
|
||||
ESourceList *list;
|
||||
- ESourceGroup *group;
|
||||
- ESource *source;
|
||||
GSList *groups;
|
||||
- GSList *sources;
|
||||
gboolean found_group;
|
||||
GConfClient* client;
|
||||
GSList *ids;
|
||||
@@ -271,19 +268,21 @@
|
||||
found_group = FALSE;
|
||||
|
||||
for ( ; groups != NULL && !found_group; groups = g_slist_next (groups)) {
|
||||
-
|
||||
- group = E_SOURCE_GROUP (groups->data);
|
||||
+ ESourceGroup *group = E_SOURCE_GROUP (groups->data);
|
||||
|
||||
if (strcmp (e_source_group_peek_name (group), group_name) == 0 &&
|
||||
strcmp (e_source_group_peek_base_uri (group), GROUPWISE_URI_PREFIX ) == 0) {
|
||||
-
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
+ GSList *sources = e_source_group_peek_sources (group);
|
||||
|
||||
for( ; sources != NULL; sources = g_slist_next (sources)) {
|
||||
-
|
||||
- source = E_SOURCE (sources->data);
|
||||
-
|
||||
- if (strcmp (e_source_peek_relative_uri (source), relative_uri) == 0) {
|
||||
+ ESource *source = E_SOURCE (sources->data);
|
||||
+ const gchar *source_relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ source_relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (source_relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (strcmp (source_relative_uri, relative_uri) == 0) {
|
||||
|
||||
if (!strcmp (conf_key, CALENDAR_SOURCES))
|
||||
source_selection_key = SELECTED_CALENDARS;
|
||||
@@ -328,16 +327,12 @@
|
||||
modify_esource (const char* conf_key, GwAccountInfo *old_account_info, const char* new_group_name, CamelURL *new_url)
|
||||
{
|
||||
ESourceList *list;
|
||||
- ESourceGroup *group;
|
||||
- ESource *source;
|
||||
GSList *groups;
|
||||
- GSList *sources;
|
||||
char *old_relative_uri;
|
||||
CamelURL *url;
|
||||
gboolean found_group;
|
||||
GConfClient* client;
|
||||
const char *poa_address;
|
||||
- char *new_relative_uri;
|
||||
const char *new_poa_address;
|
||||
|
||||
url = camel_url_new (old_account_info->source_url, NULL);
|
||||
@@ -354,20 +349,23 @@
|
||||
found_group = FALSE;
|
||||
|
||||
for ( ; groups != NULL && !found_group; groups = g_slist_next (groups)) {
|
||||
-
|
||||
- group = E_SOURCE_GROUP (groups->data);
|
||||
+ ESourceGroup *group = E_SOURCE_GROUP (groups->data);
|
||||
|
||||
if (strcmp (e_source_group_peek_name (group), old_account_info->name) == 0 &&
|
||||
strcmp (e_source_group_peek_base_uri (group), GROUPWISE_URI_PREFIX) == 0) {
|
||||
-
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
+ GSList *sources = e_source_group_peek_sources (group);
|
||||
|
||||
for ( ; sources != NULL; sources = g_slist_next (sources)) {
|
||||
-
|
||||
- source = E_SOURCE (sources->data);
|
||||
-
|
||||
- if (strcmp (e_source_peek_relative_uri (source), old_relative_uri) == 0) {
|
||||
-
|
||||
+ ESource *source = E_SOURCE (sources->data);
|
||||
+ const gchar *source_relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ source_relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (source_relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (strcmp (source_relative_uri, old_relative_uri) == 0) {
|
||||
+ gchar *new_relative_uri;
|
||||
+
|
||||
new_relative_uri = g_strdup_printf ("%s@%s/", new_url->user, new_poa_address);
|
||||
e_source_group_set_name (group, new_group_name);
|
||||
e_source_set_relative_uri (source, new_relative_uri);
|
||||
--- evolution-2.10.1/plugins/hula-account-setup/camel-hula-listener.c.check-uri-before-strcmp 2007-04-09 09:09:14.000000000 -0400
|
||||
+++ evolution-2.10.1/plugins/hula-account-setup/camel-hula-listener.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -241,10 +241,7 @@
|
||||
remove_esource (const char *conf_key, const char *group_name, char* source_name, const char* relative_uri)
|
||||
{
|
||||
ESourceList *list;
|
||||
- ESourceGroup *group;
|
||||
- ESource *source;
|
||||
GSList *groups;
|
||||
- GSList *sources;
|
||||
gboolean found_group;
|
||||
GConfClient* client;
|
||||
GSList *ids;
|
||||
@@ -258,19 +255,21 @@
|
||||
found_group = FALSE;
|
||||
|
||||
for ( ; groups != NULL && !found_group; groups = g_slist_next (groups)) {
|
||||
-
|
||||
- group = E_SOURCE_GROUP (groups->data);
|
||||
+ ESourceGroup *group = E_SOURCE_GROUP (groups->data);
|
||||
|
||||
if (strcmp (e_source_group_peek_name (group), group_name) == 0 &&
|
||||
strcmp (e_source_group_peek_base_uri (group), HULA_CALDAV_URI_PREFIX ) == 0) {
|
||||
-
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
+ GSList *sources = e_source_group_peek_sources (group);
|
||||
|
||||
for( ; sources != NULL; sources = g_slist_next (sources)) {
|
||||
-
|
||||
- source = E_SOURCE (sources->data);
|
||||
-
|
||||
- if (strcmp (e_source_peek_relative_uri (source), relative_uri) == 0) {
|
||||
+ ESource *source = E_SOURCE (sources->data);
|
||||
+ const gchar *source_relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ source_relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (source_relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (strcmp (source_relative_uri, relative_uri) == 0) {
|
||||
|
||||
if (!strcmp (conf_key, CALENDAR_SOURCES))
|
||||
source_selection_key = SELECTED_CALENDARS;
|
||||
@@ -311,15 +310,11 @@
|
||||
modify_esource (const char* conf_key, HulaAccountInfo *old_account_info, const char* new_group_name, CamelURL *new_url)
|
||||
{
|
||||
ESourceList *list;
|
||||
- ESourceGroup *group;
|
||||
- ESource *source;
|
||||
GSList *groups;
|
||||
- GSList *sources;
|
||||
char *old_relative_uri;
|
||||
CamelURL *url;
|
||||
gboolean found_group;
|
||||
GConfClient* client;
|
||||
- char *new_relative_uri;
|
||||
|
||||
url = camel_url_new (old_account_info->source_url, NULL);
|
||||
if (!url->host || strlen (url->host) ==0)
|
||||
@@ -334,19 +329,23 @@
|
||||
|
||||
for ( ; groups != NULL && !found_group; groups = g_slist_next (groups)) {
|
||||
|
||||
- group = E_SOURCE_GROUP (groups->data);
|
||||
+ ESourceGroup *group = E_SOURCE_GROUP (groups->data);
|
||||
|
||||
if (strcmp (e_source_group_peek_name (group), old_account_info->name) == 0 &&
|
||||
strcmp (e_source_group_peek_base_uri (group), HULA_CALDAV_URI_PREFIX) == 0) {
|
||||
-
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
+ GSList *sources = e_source_group_peek_sources (group);
|
||||
|
||||
for ( ; sources != NULL; sources = g_slist_next (sources)) {
|
||||
-
|
||||
- source = E_SOURCE (sources->data);
|
||||
-
|
||||
- if (strcmp (e_source_peek_relative_uri (source), old_relative_uri) == 0) {
|
||||
-
|
||||
+ ESource *source = E_SOURCE (sources->data);
|
||||
+ const gchar *source_relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ source_relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (source_relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (strcmp (source_relative_uri, old_relative_uri) == 0) {
|
||||
+ gchar *new_relative_uri;
|
||||
+
|
||||
new_relative_uri = g_strdup_printf ("%s@%s:%d/dav/%s/calendar/Personal", new_url->user, new_url->host, new_url->port, new_url->user);
|
||||
e_source_group_set_name (group, new_group_name);
|
||||
e_source_set_relative_uri (source, new_relative_uri);
|
||||
--- evolution-2.10.1/addressbook/gui/component/addressbook-component.c.check-uri-before-strcmp 2007-04-09 09:07:42.000000000 -0400
|
||||
+++ evolution-2.10.1/addressbook/gui/component/addressbook-component.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -118,7 +118,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
personal_source = source;
|
||||
break;
|
||||
}
|
||||
--- evolution-2.10.1/addressbook/gui/component/addressbook-migrate.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/addressbook/gui/component/addressbook-migrate.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -472,7 +472,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
*personal_source = g_object_ref (source);
|
||||
break;
|
||||
}
|
||||
--- evolution-2.10.1/calendar/gui/calendar-component.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/calendar-component.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -210,7 +210,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
personal_source = source;
|
||||
break;
|
||||
}
|
||||
--- evolution-2.10.1/calendar/gui/tasks-component.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/tasks-component.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -170,7 +170,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
personal_source = source;
|
||||
break;
|
||||
}
|
||||
--- evolution-2.10.1/calendar/gui/memos-component.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/memos-component.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -174,7 +174,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
personal_source = source;
|
||||
break;
|
||||
}
|
||||
--- evolution-2.10.1/calendar/gui/migration.c.check-uri-before-strcmp 2007-05-14 13:21:57.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/migration.c 2007-05-14 13:34:13.000000000 -0400
|
||||
@@ -466,7 +466,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
*personal_source = g_object_ref (source);
|
||||
break;
|
||||
}
|
||||
@@ -562,7 +568,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
*personal_source = g_object_ref (source);
|
||||
break;
|
||||
}
|
||||
@@ -1070,7 +1082,13 @@
|
||||
GSList *s;
|
||||
for (s = sources; s; s = s->next) {
|
||||
ESource *source = E_SOURCE (s->data);
|
||||
- if (!strcmp (PERSONAL_RELATIVE_URI, e_source_peek_relative_uri (source))) {
|
||||
+ const gchar *relative_uri;
|
||||
+
|
||||
+ g_assert (source != NULL);
|
||||
+ relative_uri = e_source_peek_relative_uri (source);
|
||||
+ if (relative_uri == NULL)
|
||||
+ continue;
|
||||
+ if (!strcmp (PERSONAL_RELATIVE_URI, relative_uri)) {
|
||||
*personal_source = g_object_ref (source);
|
||||
break;
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-2.10.1/widgets/misc/e-attachment-bar.c.e-attachment-bar 2007-05-01 11:22:41.000000000 -0400
|
||||
+++ evolution-2.10.1/widgets/misc/e-attachment-bar.c 2007-05-01 15:10:49.000000000 -0400
|
||||
@@ -491,6 +491,8 @@
|
||||
g_ptr_array_free (temp_arr, TRUE);
|
||||
|
||||
update (bar);
|
||||
+
|
||||
+ g_signal_emit (bar, signals[CHANGED], 0);
|
||||
|
||||
id++;
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-2.10.1/po/en_CA.po.en_CA-attribution-format 2007-04-27 22:58:06.000000000 -0400
|
||||
+++ evolution-2.10.1/po/en_CA.po 2007-04-27 22:58:36.000000000 -0400
|
||||
@@ -10992,7 +10992,7 @@
|
||||
"On ${AbbrevWeekdayName}, ${Year}-${Month}-${Day} at ${24Hour}:${Minute} "
|
||||
"${TimeZone}, ${Sender} wrote:"
|
||||
msgstr ""
|
||||
-"On ${AbbrevWeekdayName}, ${Year}-${Day}-${Month} at ${24Hour}:${Minute} "
|
||||
+"On ${AbbrevWeekdayName}, ${Year}-${Month}-${Day} at ${24Hour}:${Minute} "
|
||||
"${TimeZone}, ${Sender} wrote:"
|
||||
|
||||
#: ../mail/em-filter-editor.c:155
|
||||
|
|
@ -1,192 +0,0 @@
|
|||
--- evolution-2.10.1/widgets/misc/e-multi-config-dialog.c.fix-help 2007-04-09 09:10:24.000000000 -0400
|
||||
+++ evolution-2.10.1/widgets/misc/e-multi-config-dialog.c 2007-04-13 22:26:25.000000000 -0400
|
||||
@@ -192,13 +192,12 @@
|
||||
|
||||
switch (response_id) {
|
||||
case GTK_RESPONSE_HELP:
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- "config-prefs",
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", "config-prefs", &error);
|
||||
+ if (error != NULL) {
|
||||
g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
break;
|
||||
case GTK_RESPONSE_CLOSE:
|
||||
default:
|
||||
--- evolution-2.10.1/widgets/misc/e-send-options.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/widgets/misc/e-send-options.c 2007-04-13 22:26:25.000000000 -0400
|
||||
@@ -588,34 +588,32 @@
|
||||
|
||||
static void e_send_options_cb (GtkDialog *dialog, gint state, gpointer func_data)
|
||||
{
|
||||
+ ESendOptionsDialogPrivate *priv;
|
||||
+ ESendOptionsDialog *sod;
|
||||
+ GError *error = NULL;
|
||||
|
||||
- ESendOptionsDialogPrivate *priv;
|
||||
- ESendOptionsDialog *sod;
|
||||
- GError *error = NULL;
|
||||
-
|
||||
- sod = func_data;
|
||||
- priv = sod->priv;
|
||||
-
|
||||
- switch (state) {
|
||||
- case GTK_RESPONSE_OK:
|
||||
- e_send_options_get_widgets_data (sod);
|
||||
- case GTK_RESPONSE_CANCEL:
|
||||
- gtk_widget_hide (priv->main);
|
||||
- gtk_widget_destroy (priv->main);
|
||||
- g_object_unref (priv->xml);
|
||||
- break;
|
||||
- case GTK_RESPONSE_HELP:
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- priv->help_section,
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
- g_warning ("%s", error->message);
|
||||
- break;
|
||||
- }
|
||||
- g_signal_emit (G_OBJECT (func_data), signals[SOD_RESPONSE], 0, state);
|
||||
+ sod = func_data;
|
||||
+ priv = sod->priv;
|
||||
+
|
||||
+ switch (state) {
|
||||
+ case GTK_RESPONSE_OK:
|
||||
+ e_send_options_get_widgets_data (sod);
|
||||
+ case GTK_RESPONSE_CANCEL:
|
||||
+ gtk_widget_hide (priv->main);
|
||||
+ gtk_widget_destroy (priv->main);
|
||||
+ g_object_unref (priv->xml);
|
||||
+ break;
|
||||
+ case GTK_RESPONSE_HELP:
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", priv->help_section, &error);
|
||||
+ if (error != NULL) {
|
||||
+ g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
+ g_signal_emit (G_OBJECT (func_data), signals[SOD_RESPONSE], 0, state);
|
||||
}
|
||||
|
||||
gboolean
|
||||
--- evolution-2.10.1/plugins/exchange-operations/exchange-send-options.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/plugins/exchange-operations/exchange-send-options.c 2007-04-13 22:26:25.000000000 -0400
|
||||
@@ -191,21 +191,20 @@
|
||||
|
||||
switch (state) {
|
||||
case GTK_RESPONSE_OK:
|
||||
- exchange_send_options_get_widgets_data (sod);
|
||||
+ exchange_send_options_get_widgets_data (sod);
|
||||
case GTK_RESPONSE_CANCEL:
|
||||
- gtk_widget_hide (priv->main);
|
||||
- gtk_widget_destroy (priv->main);
|
||||
- g_object_unref (priv->xml);
|
||||
- break;
|
||||
+ gtk_widget_hide (priv->main);
|
||||
+ gtk_widget_destroy (priv->main);
|
||||
+ g_object_unref (priv->xml);
|
||||
+ break;
|
||||
case GTK_RESPONSE_HELP:
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- priv->help_section,
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
- g_warning ("%s", error->message);
|
||||
- break;
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", priv->help_section, &error);
|
||||
+ if (error != NULL) {
|
||||
+ g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
+ break;
|
||||
}
|
||||
g_signal_emit (G_OBJECT (func_data), signals[SOD_RESPONSE], 0, state);
|
||||
|
||||
--- evolution-2.10.1/addressbook/gui/contact-editor/e-contact-editor.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/addressbook/gui/contact-editor/e-contact-editor.c 2007-04-13 22:26:02.000000000 -0400
|
||||
@@ -3235,13 +3235,12 @@
|
||||
{
|
||||
GError *error = NULL;
|
||||
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- "usage-contact-cards",
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", "usage-contact-cards", &error);
|
||||
+ if (error != NULL) {
|
||||
g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
}
|
||||
|
||||
static GList *
|
||||
--- evolution-2.10.1/composer/e-msg-composer.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/composer/e-msg-composer.c 2007-04-13 22:26:25.000000000 -0400
|
||||
@@ -2886,13 +2886,12 @@
|
||||
GError *error = NULL;
|
||||
EMsgComposerPrivate *p = composer->priv;
|
||||
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- "usage-composer",
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", "usage-composer", &error);
|
||||
+ if (error != NULL) {
|
||||
g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
--- evolution-2.10.1/shell/e-shell-window.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/shell/e-shell-window.c 2007-04-13 22:26:02.000000000 -0400
|
||||
@@ -1042,7 +1042,7 @@
|
||||
bonobo_ui_util_set_ui (priv->ui_component,
|
||||
PREFIX,
|
||||
xmlfile,
|
||||
- "evolution-" BASE_VERSION, NULL);
|
||||
+ "evolution", NULL);
|
||||
g_free (xmlfile);
|
||||
|
||||
e_shell_window_commands_setup (window);
|
||||
--- evolution-2.10.1/calendar/gui/dialogs/comp-editor.c.fix-help 2007-04-13 22:25:21.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/dialogs/comp-editor.c 2007-04-13 22:26:25.000000000 -0400
|
||||
@@ -1693,13 +1693,12 @@
|
||||
|
||||
priv = editor->priv;
|
||||
|
||||
- gnome_help_display_desktop (NULL,
|
||||
- "evolution-" BASE_VERSION,
|
||||
- "evolution-" BASE_VERSION ".xml",
|
||||
- priv->help_section,
|
||||
- &error);
|
||||
- if (error != NULL)
|
||||
+ gnome_help_display (
|
||||
+ "evolution.xml", priv->help_section, &error);
|
||||
+ if (error != NULL) {
|
||||
g_warning ("%s", error->message);
|
||||
+ g_error_free (error);
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
--- evolution-2.10.1/calendar/gui/GNOME_Evolution_Calendar.server.in.in.fix-uri-handling 2007-04-09 09:10:33.000000000 -0400
|
||||
+++ evolution-2.10.1/calendar/gui/GNOME_Evolution_Calendar.server.in.in 2007-05-14 14:11:59.000000000 -0400
|
||||
@@ -50,9 +50,11 @@
|
||||
<oaf_attribute name="evolution:button_icon" type="string" value="stock_calendar"/>
|
||||
<oaf_attribute name="evolution:button_sort_order" type="string" value="-8"/>
|
||||
|
||||
+<!-- FIXME: See bug 407104: Write a interface to launch without shell.
|
||||
<oaf_attribute name="evolution:uri_schemas" type="stringv">
|
||||
<item value="calendar"/>
|
||||
</oaf_attribute>
|
||||
+-->
|
||||
|
||||
</oaf_server>
|
||||
|
||||
|
|
@ -1,218 +0,0 @@
|
|||
--- evolution-2.10.1/mail/em-utils.c.saving-attachments 2007-04-14 14:25:40.000000000 -0400
|
||||
+++ evolution-2.10.1/mail/em-utils.c 2007-04-14 15:08:50.000000000 -0400
|
||||
@@ -354,28 +354,23 @@
|
||||
|
||||
/* Saving messages... */
|
||||
|
||||
-static void
|
||||
-emu_save_part_response(GtkWidget *filesel, int response, CamelMimePart *part)
|
||||
+static const gchar *
|
||||
+emu_save_get_filename_for_part (CamelMimePart *part)
|
||||
{
|
||||
- char *uri;
|
||||
-
|
||||
- if (response == GTK_RESPONSE_OK) {
|
||||
- uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (filesel));
|
||||
+ const gchar *filename;
|
||||
|
||||
- if (!e_file_can_save((GtkWindow *)filesel, uri)) {
|
||||
- g_free(uri);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- e_file_update_save_path(gtk_file_chooser_get_current_folder_uri(
|
||||
- GTK_FILE_CHOOSER(filesel)), TRUE);
|
||||
- /* FIXME: popup error if it fails? */
|
||||
- mail_save_part(part, uri, NULL, NULL, FALSE);
|
||||
- g_free(uri);
|
||||
+ filename = camel_mime_part_get_filename (part);
|
||||
+ if (filename == NULL) {
|
||||
+ if (CAMEL_IS_MIME_MESSAGE (part)) {
|
||||
+ filename = camel_mime_message_get_subject (
|
||||
+ CAMEL_MIME_MESSAGE (part));
|
||||
+ if (filename == NULL)
|
||||
+ filename = _("message");
|
||||
+ } else
|
||||
+ filename = _("attachment");
|
||||
}
|
||||
|
||||
- gtk_widget_destroy((GtkWidget *)filesel);
|
||||
- camel_object_unref(part);
|
||||
+ return filename;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -387,83 +382,78 @@
|
||||
* Saves a mime part to disk (prompting the user for filename).
|
||||
**/
|
||||
void
|
||||
-em_utils_save_part(GtkWidget *parent, const char *prompt, CamelMimePart *part)
|
||||
+em_utils_save_part (GtkWidget *parent, const char *prompt, CamelMimePart *part)
|
||||
{
|
||||
- const char *name;
|
||||
- GtkWidget *filesel;
|
||||
+ GtkWidget *file_chooser;
|
||||
+ const gchar *filename;
|
||||
+ gchar *uri = NULL;
|
||||
|
||||
- name = camel_mime_part_get_filename(part);
|
||||
- if (name == NULL) {
|
||||
- if (CAMEL_IS_MIME_MESSAGE(part)) {
|
||||
- name = camel_mime_message_get_subject((CamelMimeMessage *)part);
|
||||
- if (name == NULL)
|
||||
- name = _("message");
|
||||
- } else {
|
||||
- name = _("attachment");
|
||||
- }
|
||||
+ filename = emu_save_get_filename_for_part (part);
|
||||
+
|
||||
+ file_chooser = e_file_get_save_filesel (
|
||||
+ parent, prompt, filename, GTK_FILE_CHOOSER_ACTION_SAVE);
|
||||
+
|
||||
+ if (gtk_dialog_run (GTK_DIALOG (file_chooser)) != GTK_RESPONSE_OK)
|
||||
+ goto exit;
|
||||
+
|
||||
+ uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (file_chooser));
|
||||
+
|
||||
+ /* XXX Would be nice to mention _why_ we can't save. */
|
||||
+ if (!e_file_can_save (GTK_WINDOW (file_chooser), uri)) {
|
||||
+ g_warning ("Unable to save %s", uri);
|
||||
+ goto exit;
|
||||
}
|
||||
|
||||
- filesel = e_file_get_save_filesel(parent, prompt, name, GTK_FILE_CHOOSER_ACTION_SAVE);
|
||||
- camel_object_ref(part);
|
||||
- g_signal_connect (filesel, "response", G_CALLBACK (emu_save_part_response), part);
|
||||
- gtk_widget_show (filesel);
|
||||
+ e_file_update_save_path (
|
||||
+ gtk_file_chooser_get_current_folder_uri (
|
||||
+ GTK_FILE_CHOOSER (file_chooser)), TRUE);
|
||||
+
|
||||
+ mail_save_part (part, uri, NULL, NULL, FALSE);
|
||||
+
|
||||
+exit:
|
||||
+ gtk_widget_destroy (file_chooser);
|
||||
+ g_free (uri);
|
||||
}
|
||||
|
||||
-static void
|
||||
-emu_save_parts_response (GtkWidget *filesel, int response, GSList *parts)
|
||||
+void
|
||||
+em_utils_save_parts (GtkWidget *parent, const gchar *prompt, GSList *parts)
|
||||
{
|
||||
- GSList *selected;
|
||||
- char *uri = NULL;
|
||||
- if (response == GTK_RESPONSE_OK) {
|
||||
- uri = gtk_file_chooser_get_current_folder_uri(GTK_FILE_CHOOSER (filesel));
|
||||
- e_file_update_save_path(uri, FALSE);
|
||||
-
|
||||
- for ( selected = parts; selected != NULL; selected = selected->next) {
|
||||
- const char *file_name;
|
||||
- char *safe_name = NULL;
|
||||
- char *file_path;
|
||||
- CamelMimePart *part = selected->data;
|
||||
-
|
||||
- file_name = camel_mime_part_get_filename(part);
|
||||
- if (file_name == NULL) {
|
||||
- if (CAMEL_IS_MIME_MESSAGE(part)) {
|
||||
- file_name = camel_mime_message_get_subject((CamelMimeMessage *)part);
|
||||
- if (file_name == NULL)
|
||||
- file_name = _("message");
|
||||
- } else {
|
||||
- file_name = _("attachment");
|
||||
- }
|
||||
- } else {
|
||||
- safe_name = g_strdup(file_name);
|
||||
- em_filename_make_safe(safe_name);
|
||||
- file_name = safe_name;
|
||||
- }
|
||||
-
|
||||
- file_path = g_build_filename (uri, file_name, NULL);
|
||||
- if (!e_file_check_local(file_path) || !g_file_test(file_path, (G_FILE_TEST_EXISTS)) || e_error_run(NULL, E_ERROR_ASK_FILE_EXISTS_OVERWRITE, file_name, NULL) == GTK_RESPONSE_OK)
|
||||
- mail_save_part(part, file_path, NULL, NULL, FALSE);
|
||||
- else
|
||||
- g_warning ("Could not save %s. File already exists", file_path);
|
||||
+ GtkWidget *file_chooser;
|
||||
+ gchar *path_uri;
|
||||
+ GSList *iter;
|
||||
+
|
||||
+ file_chooser = e_file_get_save_filesel (
|
||||
+ parent, prompt, NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
|
||||
+
|
||||
+ if (gtk_dialog_run (GTK_DIALOG (file_chooser)) != GTK_RESPONSE_OK)
|
||||
+ goto exit;
|
||||
+
|
||||
+ path_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (file_chooser));
|
||||
+
|
||||
+ e_file_update_save_path (path_uri, FALSE);
|
||||
|
||||
- g_free (file_path);
|
||||
- g_free (safe_name);
|
||||
- }
|
||||
+ for (iter = parts; iter != NULL; iter = iter->next) {
|
||||
+ CamelMimePart *part = iter->data;
|
||||
+ const gchar *filename;
|
||||
+ gchar *uri;
|
||||
+
|
||||
+ filename = emu_save_get_filename_for_part (part);
|
||||
+
|
||||
+ uri = g_build_path ("/", path_uri, filename, NULL);
|
||||
+
|
||||
+ /* XXX Would be nice to mention _why_ we can't save. */
|
||||
+ if (e_file_can_save (GTK_WINDOW (file_chooser), uri))
|
||||
+ mail_save_part (part, uri, NULL, NULL, FALSE);
|
||||
+ else
|
||||
+ g_warning ("Unable to save %s", uri);
|
||||
|
||||
g_free (uri);
|
||||
- }
|
||||
-
|
||||
- g_slist_free (parts);
|
||||
- gtk_widget_destroy((GtkWidget *)filesel);
|
||||
-}
|
||||
+ }
|
||||
|
||||
-void
|
||||
-em_utils_save_parts (GtkWidget *parent, const char *prompt, GSList * parts)
|
||||
-{
|
||||
- GtkWidget *filesel;
|
||||
+ g_free (path_uri);
|
||||
|
||||
- filesel = e_file_get_save_filesel (parent, prompt, NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
|
||||
- g_signal_connect (filesel, "response", G_CALLBACK (emu_save_parts_response), parts);
|
||||
- gtk_widget_show (filesel);
|
||||
+exit:
|
||||
+ gtk_widget_destroy (file_chooser);
|
||||
}
|
||||
|
||||
|
||||
--- evolution-2.10.1/mail/em-format-html-display.c.saving-attachments 2007-04-14 14:25:40.000000000 -0400
|
||||
+++ evolution-2.10.1/mail/em-format-html-display.c 2007-04-14 15:08:50.000000000 -0400
|
||||
@@ -2099,12 +2099,24 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-attachments_save_all_clicked(GtkWidget *w, EMFormatHTMLDisplay *efhd)
|
||||
+attachments_save_all_clicked (GtkWidget *widget, EMFormatHTMLDisplay *efhd)
|
||||
{
|
||||
GSList *attachment_parts;
|
||||
+ guint n_attachment_parts;
|
||||
|
||||
- attachment_parts = e_attachment_bar_get_parts(E_ATTACHMENT_BAR(efhd->priv->attachment_bar));
|
||||
- em_utils_save_parts(w, _("Select folder to save all attachments..."), attachment_parts);
|
||||
+ attachment_parts = e_attachment_bar_get_parts (
|
||||
+ E_ATTACHMENT_BAR (efhd->priv->attachment_bar));
|
||||
+ n_attachment_parts = g_slist_length (attachment_parts);
|
||||
+ g_return_if_fail (n_attachment_parts > 0);
|
||||
+
|
||||
+ if (n_attachment_parts == 1)
|
||||
+ em_utils_save_part (
|
||||
+ widget, _("Save attachment as"),
|
||||
+ attachment_parts->data);
|
||||
+ else
|
||||
+ em_utils_save_parts (
|
||||
+ widget, _("Select folder to save all attachments"),
|
||||
+ attachment_parts);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1,85 +0,0 @@
|
|||
--- evolution-2.10.1/mail/mail-send-recv.c.send-recv-dialog 2007-05-15 14:26:24.000000000 -0400
|
||||
+++ evolution-2.10.1/mail/mail-send-recv.c 2007-05-15 14:30:51.000000000 -0400
|
||||
@@ -312,21 +312,6 @@
|
||||
return SEND_INVALID;
|
||||
}
|
||||
|
||||
-gboolean
|
||||
-dialog_map (GtkWidget *window, GdkEvent *event, GtkWidget *table)
|
||||
-{
|
||||
- int h, w;
|
||||
-
|
||||
- w = table->allocation.width + 30 /* Spacing around the table */;
|
||||
- h = table->allocation.height + 60 /* Cancell All button and Seperator and outer spacing */;
|
||||
-
|
||||
- if (w > 750)
|
||||
- w = 750;
|
||||
- if (h > 400)
|
||||
- h = 400;
|
||||
- gtk_widget_set_usize (window, w, h);
|
||||
-}
|
||||
-
|
||||
static struct _send_data *
|
||||
build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destination)
|
||||
{
|
||||
@@ -385,7 +370,7 @@
|
||||
|
||||
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
|
||||
- GTK_POLICY_AUTOMATIC,
|
||||
+ GTK_POLICY_NEVER,
|
||||
GTK_POLICY_AUTOMATIC);
|
||||
|
||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), table);
|
||||
@@ -443,6 +428,7 @@
|
||||
recv_icon = e_icon_factory_get_image ("stock_mail-receive", E_ICON_SIZE_LARGE_TOOLBAR);
|
||||
pretty_url = format_url (source->url, account->name);
|
||||
label = (GtkLabel *)gtk_label_new (NULL);
|
||||
+ gtk_label_set_ellipsize (label, PANGO_ELLIPSIZE_END);
|
||||
gtk_label_set_markup (label, pretty_url);
|
||||
g_free (pretty_url);
|
||||
|
||||
@@ -457,10 +443,10 @@
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0, .5);
|
||||
gtk_misc_set_alignment (GTK_MISC (status_label), 0, .5);
|
||||
|
||||
- gtk_table_attach (table, (GtkWidget *)recv_icon, 0, 1, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
+ gtk_table_attach (table, (GtkWidget *)recv_icon, 0, 1, row, row+2, 0, 0, 0, 0);
|
||||
gtk_table_attach (table, (GtkWidget *)label, 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
- gtk_table_attach (table, (GtkWidget *)bar, 2, 3, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
- gtk_table_attach (table, (GtkWidget *)stop, 3, 4, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
+ gtk_table_attach (table, (GtkWidget *)bar, 2, 3, row, row+2, 0, 0, 0, 0);
|
||||
+ gtk_table_attach (table, (GtkWidget *)stop, 3, 4, row, row+2, 0, 0, 0, 0);
|
||||
gtk_table_attach (table, (GtkWidget *)status_label, 1, 2, row+1, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
|
||||
info->bar = bar;
|
||||
@@ -496,6 +482,7 @@
|
||||
send_icon = e_icon_factory_get_image ("stock_mail-send", E_ICON_SIZE_LARGE_TOOLBAR);
|
||||
pretty_url = format_url (destination, NULL);
|
||||
label = (GtkLabel *)gtk_label_new (NULL);
|
||||
+ gtk_label_set_ellipsize (label, PANGO_ELLIPSIZE_END);
|
||||
gtk_label_set_markup (label, pretty_url);
|
||||
|
||||
g_free (pretty_url);
|
||||
@@ -508,10 +495,10 @@
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0, .5);
|
||||
gtk_misc_set_alignment (GTK_MISC (status_label), 0, .5);
|
||||
|
||||
- gtk_table_attach (table, GTK_WIDGET (send_icon), 0, 1, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
+ gtk_table_attach (table, GTK_WIDGET (send_icon), 0, 1, row, row+2, 0, 0, 0, 0);
|
||||
gtk_table_attach (table, GTK_WIDGET (label), 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
- gtk_table_attach (table, GTK_WIDGET (bar), 2, 3, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
- gtk_table_attach (table, GTK_WIDGET (stop), 3, 4, row, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
+ gtk_table_attach (table, GTK_WIDGET (bar), 2, 3, row, row+2, 0, 0, 0, 0);
|
||||
+ gtk_table_attach (table, GTK_WIDGET (stop), 3, 4, row, row+2, 0, 0, 0, 0);
|
||||
gtk_table_attach (table, GTK_WIDGET (status_label), 1, 2, row+1, row+2, GTK_EXPAND | GTK_FILL, 0, 0, 0);
|
||||
|
||||
info->bar = bar;
|
||||
@@ -526,7 +513,6 @@
|
||||
gtk_widget_show (GTK_WIDGET (gd));
|
||||
|
||||
g_signal_connect (gd, "response", G_CALLBACK (dialog_response), data);
|
||||
- g_signal_connect (gd, "map-event", G_CALLBACK (dialog_map), table);
|
||||
|
||||
g_object_weak_ref ((GObject *) gd, (GWeakNotify) dialog_destroy_cb, data);
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-2.4.1/shell/apps_evolution_shell.schemas.in.in.hide-switcher-buttons-by-default 2005-10-26 16:21:15.000000000 -0400
|
||||
+++ evolution-2.4.1/shell/apps_evolution_shell.schemas.in.in 2005-10-26 16:21:22.000000000 -0400
|
||||
@@ -99,7 +99,7 @@
|
||||
<applyto>/apps/evolution/shell/view_defaults/buttons_visible</applyto>
|
||||
<owner>evolution</owner>
|
||||
<type>bool</type>
|
||||
- <default>TRUE</default>
|
||||
+ <default>FALSE</default>
|
||||
<locale name="C">
|
||||
<short>Window buttons are visible</short>
|
||||
<long>Whether the window buttons should be visible.</long>
|
||||
|
|
@ -1,88 +0,0 @@
|
|||
--- evolution-2.9.5/addressbook/conduit/Makefile.am.fix-conduit-dir 2007-01-03 10:32:47.000000000 -0500
|
||||
+++ evolution-2.9.5/addressbook/conduit/Makefile.am 2007-01-21 22:05:23.000000000 -0500
|
||||
@@ -28,7 +28,7 @@
|
||||
-e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g' \
|
||||
$< > $@
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-address-$(BASE_VERSION).conduit
|
||||
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
--- evolution-2.9.5/addressbook/conduit/Makefile.in.fix-conduit-dir 2007-01-21 22:05:44.000000000 -0500
|
||||
+++ evolution-2.9.5/addressbook/conduit/Makefile.in 2007-01-21 22:06:04.000000000 -0500
|
||||
@@ -459,7 +459,7 @@
|
||||
$(top_builddir)/widgets/misc/libemiscwidgets.la \
|
||||
$(EVOLUTION_ADDRESSBOOK_CONDUIT_LIBS)
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-address-$(BASE_VERSION).conduit
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
--- evolution-2.9.5/calendar/conduits/todo/Makefile.am.fix-conduit-dir 2007-01-03 10:34:54.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/todo/Makefile.am 2007-01-21 22:05:23.000000000 -0500
|
||||
@@ -24,7 +24,7 @@
|
||||
-e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g' \
|
||||
$< > $@
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-todo-$(BASE_VERSION).conduit
|
||||
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
--- evolution-2.9.5/calendar/conduits/todo/Makefile.in.fix-conduit-dir 2007-01-21 22:06:31.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/todo/Makefile.in 2007-01-21 22:06:39.000000000 -0500
|
||||
@@ -454,7 +454,7 @@
|
||||
$(top_builddir)/widgets/misc/libemiscwidgets.la \
|
||||
$(EVOLUTION_CALENDAR_CONDUIT_LIBS)
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-todo-$(BASE_VERSION).conduit
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
--- evolution-2.9.5/calendar/conduits/memo/Makefile.am.fix-conduit-dir 2007-01-03 10:34:54.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/memo/Makefile.am 2007-01-21 22:05:23.000000000 -0500
|
||||
@@ -24,7 +24,7 @@
|
||||
-e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g' \
|
||||
$< > $@
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-memo-$(BASE_VERSION).conduit
|
||||
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
--- evolution-2.9.5/calendar/conduits/memo/Makefile.in.fix-conduit-dir 2007-01-21 22:06:46.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/memo/Makefile.in 2007-01-21 22:06:54.000000000 -0500
|
||||
@@ -454,7 +454,7 @@
|
||||
$(top_builddir)/widgets/misc/libemiscwidgets.la \
|
||||
$(EVOLUTION_CALENDAR_CONDUIT_LIBS)
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-memo-$(BASE_VERSION).conduit
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
--- evolution-2.9.5/calendar/conduits/calendar/Makefile.am.fix-conduit-dir 2007-01-03 10:34:54.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/calendar/Makefile.am 2007-01-21 22:05:23.000000000 -0500
|
||||
@@ -24,7 +24,7 @@
|
||||
-e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g' \
|
||||
$< > $@
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-calendar-$(BASE_VERSION).conduit
|
||||
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
--- evolution-2.9.5/calendar/conduits/calendar/Makefile.in.fix-conduit-dir 2007-01-21 22:06:15.000000000 -0500
|
||||
+++ evolution-2.9.5/calendar/conduits/calendar/Makefile.in 2007-01-21 22:06:23.000000000 -0500
|
||||
@@ -456,7 +456,7 @@
|
||||
$(top_builddir)/widgets/misc/libemiscwidgets.la \
|
||||
$(EVOLUTION_CALENDAR_CONDUIT_LIBS)
|
||||
|
||||
-conduitdir = $(datadir)/gnome-pilot/conduits/
|
||||
+conduitdir = $(libdir)/gnome-pilot/conduits/
|
||||
conduit_DATA = e-calendar-$(BASE_VERSION).conduit
|
||||
BUILT_SOURCES = $(conduit_DATA)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
|
@ -1,515 +0,0 @@
|
|||
--- evolution-2.5.4/addressbook/conduit/address-conduit.c.fix-conduits 2005-12-08 03:15:02.000000000 -0500
|
||||
+++ evolution-2.5.4/addressbook/conduit/address-conduit.c 2006-01-10 19:33:44.000000000 -0500
|
||||
@@ -462,14 +462,19 @@
|
||||
{
|
||||
static char buff[ 4096 ];
|
||||
struct Address addr;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
if (remote == NULL) {
|
||||
sprintf (buff, "[NULL]");
|
||||
return buff;
|
||||
}
|
||||
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&addr, 0, sizeof (struct Address));
|
||||
- unpack_Address (&addr, remote->record, remote->length);
|
||||
+ unpack_Address (&addr, &piBuf, address_v1);
|
||||
|
||||
g_snprintf (buff, 4096, "['%s' '%s' '%s']",
|
||||
addr.entry[entryLastname] ?
|
||||
@@ -791,7 +796,8 @@
|
||||
EAddrConduitContext *ctxt)
|
||||
{
|
||||
GnomePilotRecord p;
|
||||
- static char record[0xffff];
|
||||
+ static unsigned char record[0xffff];
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_assert (local->addr != NULL );
|
||||
|
||||
@@ -803,9 +809,17 @@
|
||||
p.archived = local->local.archived;
|
||||
p.secret = local->local.secret;
|
||||
|
||||
+ memset (&piBuf, 0, sizeof (piBuf));
|
||||
+ memset (record, 0, sizeof (record));
|
||||
+ pack_Address (local->addr, &piBuf, address_v1);
|
||||
+
|
||||
/* Generate pilot record structure */
|
||||
+ if (piBuf.used > 0)
|
||||
+ memcpy (record, piBuf.data, piBuf.used);
|
||||
p.record = record;
|
||||
- p.length = pack_Address (local->addr, p.record, 0xffff);
|
||||
+ p.length = piBuf.used;
|
||||
+ if (piBuf.data)
|
||||
+ free (piBuf.data);
|
||||
|
||||
return p;
|
||||
}
|
||||
@@ -834,16 +848,16 @@
|
||||
*/
|
||||
if (local->local.ID != 0) {
|
||||
struct Address addr;
|
||||
- char record[0xffff];
|
||||
+ pi_buffer_t *buffer = pi_buffer_new (0xffff);
|
||||
int cat = 0;
|
||||
|
||||
if (dlp_ReadRecordById (ctxt->dbi->pilot_socket,
|
||||
ctxt->dbi->db_handle,
|
||||
- local->local.ID, &record,
|
||||
- NULL, NULL, NULL, &cat) > 0) {
|
||||
+ local->local.ID, buffer,
|
||||
+ NULL, NULL, &cat) > 0) {
|
||||
local->local.category = cat;
|
||||
memset (&addr, 0, sizeof (struct Address));
|
||||
- unpack_Address (&addr, record, 0xffff);
|
||||
+ unpack_Address (&addr, buffer, address_v1);
|
||||
for (i = 0; i < 5; i++) {
|
||||
if (addr.entry[entryPhone1 + i])
|
||||
local->addr->entry[entryPhone1 + i] =
|
||||
@@ -858,6 +872,8 @@
|
||||
}
|
||||
free_Address (&addr);
|
||||
}
|
||||
+
|
||||
+ pi_buffer_free (buffer);
|
||||
}
|
||||
|
||||
local->addr->entry[entryFirstname] = e_pilot_utf8_to_pchar (e_contact_get_const (contact, E_CONTACT_GIVEN_NAME));
|
||||
@@ -1019,10 +1035,16 @@
|
||||
EContactField next_mail, next_home, next_work, next_fax;
|
||||
EContactField next_other, next_main, next_pager, next_mobile;
|
||||
int i;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_return_val_if_fail(remote!=NULL,NULL);
|
||||
memset (&address, 0, sizeof (struct Address));
|
||||
- unpack_Address (&address, remote->record, remote->length);
|
||||
+
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
+ unpack_Address (&address, &piBuf, address_v1);
|
||||
|
||||
if (in_contact == NULL)
|
||||
contact = e_contact_new ();
|
||||
@@ -1212,7 +1234,7 @@
|
||||
EBookQuery *query;
|
||||
GList *l;
|
||||
int len;
|
||||
- unsigned char *buf;
|
||||
+ pi_buffer_t *buffer;
|
||||
char *filename;
|
||||
char *change_id;
|
||||
char *auth;
|
||||
@@ -1302,9 +1324,9 @@
|
||||
gnome_pilot_conduit_sync_abs_set_num_updated_local_records (abs_conduit, mod_records);
|
||||
gnome_pilot_conduit_sync_abs_set_num_deleted_local_records(abs_conduit, del_records);
|
||||
|
||||
- buf = (unsigned char*)g_malloc (0xffff);
|
||||
+ buffer = pi_buffer_new (0xffff);
|
||||
len = dlp_ReadAppBlock (dbi->pilot_socket, dbi->db_handle, 0,
|
||||
- (unsigned char *)buf, 0xffff);
|
||||
+ -1, buffer);
|
||||
|
||||
if (len < 0) {
|
||||
WARN (_("Could not read pilot's Address application block"));
|
||||
@@ -1313,8 +1335,8 @@
|
||||
_("Could not read pilot's Address application block"));
|
||||
return -1;
|
||||
}
|
||||
- unpack_AddressAppInfo (&(ctxt->ai), buf, len);
|
||||
- g_free (buf);
|
||||
+ unpack_AddressAppInfo (&(ctxt->ai), buffer->data, len);
|
||||
+ pi_buffer_free (buffer);
|
||||
|
||||
check_for_slow_setting (conduit, ctxt);
|
||||
if (ctxt->cfg->sync_type == GnomePilotConduitSyncTypeCopyToPilot
|
||||
--- evolution-2.5.4/calendar/conduits/calendar/calendar-conduit.c.fix-conduits 2006-01-02 06:38:57.000000000 -0500
|
||||
+++ evolution-2.5.4/calendar/conduits/calendar/calendar-conduit.c 2006-01-10 19:33:44.000000000 -0500
|
||||
@@ -413,14 +413,20 @@
|
||||
{
|
||||
static char buff[ 4096 ];
|
||||
struct Appointment appt;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
if (remote == NULL) {
|
||||
sprintf (buff, "[NULL]");
|
||||
return buff;
|
||||
}
|
||||
|
||||
+
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&appt, 0, sizeof (struct Appointment));
|
||||
- unpack_Appointment (&appt, remote->record, remote->length);
|
||||
+ unpack_Appointment (&appt, &piBuf, datebook_v1);
|
||||
|
||||
g_snprintf (buff, 4096, "[%ld %ld '%s' '%s']",
|
||||
mktime (&appt.begin),
|
||||
@@ -818,7 +824,8 @@
|
||||
ECalConduitContext *ctxt)
|
||||
{
|
||||
GnomePilotRecord p;
|
||||
- static char record[0xffff];
|
||||
+ static unsigned char record[0xffff];
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_assert (local->comp != NULL);
|
||||
g_assert (local->appt != NULL );
|
||||
@@ -829,9 +836,17 @@
|
||||
p.archived = local->local.archived;
|
||||
p.secret = local->local.secret;
|
||||
|
||||
+ memset (&piBuf, 0, sizeof (piBuf));
|
||||
+ memset (record, 0, sizeof (record));
|
||||
+ pack_Appointment (local->appt, &piBuf, datebook_v1);
|
||||
+
|
||||
/* Generate pilot record structure */
|
||||
+ if (piBuf.used > 0)
|
||||
+ memcpy (record, piBuf.data, piBuf.used);
|
||||
p.record = record;
|
||||
- p.length = pack_Appointment (local->appt, p.record, 0xffff);
|
||||
+ p.length = piBuf.used;
|
||||
+ if (piBuf.data)
|
||||
+ free (piBuf.data);
|
||||
|
||||
return p;
|
||||
}
|
||||
@@ -867,22 +882,24 @@
|
||||
* we don't overwrite them
|
||||
*/
|
||||
if (local->local.ID != 0) {
|
||||
- struct Appointment appt;
|
||||
- char record[0xffff];
|
||||
+ struct Appointment appt;
|
||||
+ pi_buffer_t *buffer = pi_buffer_new (0xffff);
|
||||
int cat = 0;
|
||||
|
||||
if (dlp_ReadRecordById (ctxt->dbi->pilot_socket,
|
||||
ctxt->dbi->db_handle,
|
||||
- local->local.ID, &record,
|
||||
- NULL, NULL, NULL, &cat) > 0) {
|
||||
+ local->local.ID, buffer,
|
||||
+ NULL, NULL, &cat) > 0) {
|
||||
local->local.category = cat;
|
||||
memset (&appt, 0, sizeof (struct Appointment));
|
||||
- unpack_Appointment (&appt, record, 0xffff);
|
||||
+ unpack_Appointment (&appt, buffer, datebook_v1);
|
||||
local->appt->alarm = appt.alarm;
|
||||
local->appt->advance = appt.advance;
|
||||
local->appt->advanceUnits = appt.advanceUnits;
|
||||
free_Appointment (&appt);
|
||||
}
|
||||
+
|
||||
+ pi_buffer_free (buffer);
|
||||
}
|
||||
|
||||
/* STOP: don't replace these with g_strdup, since free_Appointment
|
||||
@@ -1140,11 +1157,17 @@
|
||||
GSList *edl = NULL;
|
||||
char *txt;
|
||||
int pos, i;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_return_val_if_fail (remote != NULL, NULL);
|
||||
|
||||
+
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&appt, 0, sizeof (struct Appointment));
|
||||
- unpack_Appointment (&appt, remote->record, remote->length);
|
||||
+ unpack_Appointment (&appt, &piBuf, datebook_v1);
|
||||
|
||||
if (in_comp == NULL) {
|
||||
comp = e_cal_component_new ();
|
||||
@@ -1409,7 +1432,7 @@
|
||||
GnomePilotConduitSyncAbs *abs_conduit;
|
||||
GList *removed = NULL, *added = NULL, *l;
|
||||
int len;
|
||||
- unsigned char *buf;
|
||||
+ pi_buffer_t *buffer;
|
||||
char *filename, *change_id;
|
||||
icalcomponent *icalcomp;
|
||||
gint num_records, add_records = 0, mod_records = 0, del_records = 0;
|
||||
@@ -1521,9 +1544,9 @@
|
||||
gnome_pilot_conduit_sync_abs_set_num_updated_local_records (abs_conduit, mod_records);
|
||||
gnome_pilot_conduit_sync_abs_set_num_deleted_local_records(abs_conduit, del_records);
|
||||
|
||||
- buf = (unsigned char*)g_malloc (0xffff);
|
||||
+ buffer = pi_buffer_new (0xffff);
|
||||
len = dlp_ReadAppBlock (dbi->pilot_socket, dbi->db_handle, 0,
|
||||
- (unsigned char *)buf, 0xffff);
|
||||
+ -1, buffer);
|
||||
|
||||
if (len < 0) {
|
||||
WARN (_("Could not read pilot's Calendar application block"));
|
||||
@@ -1532,8 +1555,8 @@
|
||||
_("Could not read pilot's Calendar application block"));
|
||||
return -1;
|
||||
}
|
||||
- unpack_AppointmentAppInfo (&(ctxt->ai), buf, len);
|
||||
- g_free (buf);
|
||||
+ unpack_AppointmentAppInfo (&(ctxt->ai), buffer->data, len);
|
||||
+ pi_buffer_free (buffer);
|
||||
|
||||
check_for_slow_setting (conduit, ctxt);
|
||||
if (ctxt->cfg->sync_type == GnomePilotConduitSyncTypeCopyToPilot
|
||||
--- evolution-2.5.4/calendar/conduits/todo/todo-conduit.c.fix-conduits 2005-12-08 03:15:03.000000000 -0500
|
||||
+++ evolution-2.5.4/calendar/conduits/todo/todo-conduit.c 2006-01-10 19:33:44.000000000 -0500
|
||||
@@ -402,14 +402,19 @@
|
||||
{
|
||||
static char buff[ 4096 ];
|
||||
struct ToDo todo;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
if (remote == NULL) {
|
||||
sprintf (buff, "[NULL]");
|
||||
return buff;
|
||||
}
|
||||
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&todo, 0, sizeof (struct ToDo));
|
||||
- unpack_ToDo (&todo, remote->record, remote->length);
|
||||
+ unpack_ToDo (&todo, &piBuf, todo_v1);
|
||||
|
||||
g_snprintf (buff, 4096, "[%d %ld %d %d '%s' '%s' %d]",
|
||||
todo.indefinite,
|
||||
@@ -594,7 +599,8 @@
|
||||
EToDoConduitContext *ctxt)
|
||||
{
|
||||
GnomePilotRecord p;
|
||||
- static char record[0xffff];
|
||||
+ static unsigned char record[0xffff];
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_assert (local->comp != NULL);
|
||||
g_assert (local->todo != NULL );
|
||||
@@ -607,9 +613,17 @@
|
||||
p.archived = local->local.archived;
|
||||
p.secret = local->local.secret;
|
||||
|
||||
+ memset (&piBuf, 0, sizeof (piBuf));
|
||||
+ memset (record, 0, sizeof (record));
|
||||
+ pack_ToDo (local->todo, &piBuf, todo_v1);
|
||||
+
|
||||
/* Generate pilot record structure */
|
||||
+ if (piBuf.used > 0)
|
||||
+ memcpy (record, piBuf.data, piBuf.used);
|
||||
p.record = record;
|
||||
- p.length = pack_ToDo (local->todo, p.record, 0xffff);
|
||||
+ p.length = piBuf.used;
|
||||
+ if (piBuf.data)
|
||||
+ free (piBuf.data);
|
||||
|
||||
return p;
|
||||
}
|
||||
@@ -696,15 +710,17 @@
|
||||
|
||||
/* Don't overwrite the category */
|
||||
if (local->local.ID != 0) {
|
||||
- char record[0xffff];
|
||||
+ pi_buffer_t *buffer = pi_buffer_new (0xffff);
|
||||
int cat = 0;
|
||||
|
||||
if (dlp_ReadRecordById (ctxt->dbi->pilot_socket,
|
||||
ctxt->dbi->db_handle,
|
||||
- local->local.ID, &record,
|
||||
- NULL, NULL, NULL, &cat) > 0) {
|
||||
+ local->local.ID, buffer,
|
||||
+ NULL, NULL, &cat) > 0) {
|
||||
local->local.category = cat;
|
||||
}
|
||||
+
|
||||
+ pi_buffer_free (buffer);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -859,12 +875,17 @@
|
||||
icaltimezone *utc_zone;
|
||||
int priority;
|
||||
char *txt;
|
||||
+ pi_buffer_t piBuf;
|
||||
char *category;
|
||||
|
||||
g_return_val_if_fail (remote != NULL, NULL);
|
||||
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&todo, 0, sizeof (struct ToDo));
|
||||
- unpack_ToDo (&todo, remote->record, remote->length);
|
||||
+ unpack_ToDo (&todo, &piBuf, todo_v1);
|
||||
|
||||
utc_zone = icaltimezone_get_utc_timezone ();
|
||||
now = icaltime_from_timet_with_zone (time (NULL), FALSE,
|
||||
@@ -1014,7 +1035,7 @@
|
||||
GnomePilotConduitSyncAbs *abs_conduit;
|
||||
GList *l;
|
||||
int len;
|
||||
- unsigned char *buf;
|
||||
+ pi_buffer_t *buffer;
|
||||
char *filename, *change_id;
|
||||
icalcomponent *icalcomp;
|
||||
gint num_records, add_records = 0, mod_records = 0, del_records = 0;
|
||||
@@ -1104,9 +1125,9 @@
|
||||
g_message("num_records: %d\nadd_records: %d\nmod_records: %d\ndel_records: %d\n",
|
||||
num_records, add_records, mod_records, del_records);
|
||||
|
||||
- buf = (unsigned char*)g_malloc (0xffff);
|
||||
+ buffer = pi_buffer_new (0xffff);
|
||||
len = dlp_ReadAppBlock (dbi->pilot_socket, dbi->db_handle, 0,
|
||||
- (unsigned char *)buf, 0xffff);
|
||||
+ -1, buffer);
|
||||
|
||||
if (len < 0) {
|
||||
WARN (_("Could not read pilot's ToDo application block"));
|
||||
@@ -1115,8 +1136,8 @@
|
||||
_("Could not read pilot's ToDo application block"));
|
||||
return -1;
|
||||
}
|
||||
- unpack_ToDoAppInfo (&(ctxt->ai), buf, len);
|
||||
- g_free (buf);
|
||||
+ unpack_ToDoAppInfo (&(ctxt->ai), buffer->data, len);
|
||||
+ pi_buffer_free (buffer);
|
||||
|
||||
lastDesktopUniqueID = 128;
|
||||
|
||||
--- evolution-2.5.4/calendar/conduits/memo/memo-conduit.c.fix-conduits 2006-01-10 22:52:28.000000000 -0500
|
||||
+++ evolution-2.5.4/calendar/conduits/memo/memo-conduit.c 2006-01-10 23:11:47.000000000 -0500
|
||||
@@ -331,14 +331,19 @@
|
||||
{
|
||||
static char buff[ 64 ];
|
||||
struct Memo memo;
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
if (remote == NULL) {
|
||||
sprintf (buff, "[NULL]");
|
||||
return buff;
|
||||
}
|
||||
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&memo, 0, sizeof (struct Memo));
|
||||
- unpack_Memo (&memo, remote->record, remote->length);
|
||||
+ unpack_Memo (&memo, &piBuf, memo_v1);
|
||||
|
||||
g_snprintf (buff, 64, "['%s']",
|
||||
memo.text ?
|
||||
@@ -451,7 +456,8 @@
|
||||
EMemoConduitContext *ctxt)
|
||||
{
|
||||
GnomePilotRecord p;
|
||||
- static char record[0xffff];
|
||||
+ static unsigned char record[0xffff];
|
||||
+ pi_buffer_t piBuf;
|
||||
|
||||
g_assert (local->comp != NULL);
|
||||
g_assert (local->memo != NULL );
|
||||
@@ -466,8 +472,14 @@
|
||||
|
||||
/* Generate pilot record structure */
|
||||
p.record = record;
|
||||
- p.length = pack_Memo (local->memo, p.record, 0xffff);
|
||||
-
|
||||
+ memset (&piBuf, 0, sizeof (piBuf));
|
||||
+ memset (record, 0, sizeof (record));
|
||||
+ p.length = pack_Memo (local->memo, &piBuf, memo_v1);
|
||||
+ if (piBuf.used > 0)
|
||||
+ memcpy (record, piBuf.data, piBuf.used);
|
||||
+ p.length = piBuf.used;
|
||||
+ if (piBuf.data)
|
||||
+ free (piBuf.data);
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -568,16 +580,17 @@
|
||||
|
||||
/* Don't overwrite the category */
|
||||
if (local->local.ID != 0) {
|
||||
- char record[0xffff];
|
||||
+ pi_buffer_t *buffer = pi_buffer_new (0xffff);
|
||||
int cat = 0;
|
||||
|
||||
LOG(fprintf(stderr, "local_record_from_comp: calling dlp_ReadRecordById\n"));
|
||||
if (dlp_ReadRecordById (ctxt->dbi->pilot_socket,
|
||||
ctxt->dbi->db_handle,
|
||||
- local->local.ID, &record,
|
||||
- NULL, NULL, NULL, &cat) > 0) {
|
||||
+ local->local.ID, buffer,
|
||||
+ NULL, NULL, &cat) > 0) {
|
||||
local->local.category = cat;
|
||||
}
|
||||
+ pi_buffer_free (buffer);
|
||||
LOG(fprintf(stderr, "local_record_from_comp: done calling dlp_ReadRecordById\n"));
|
||||
}
|
||||
|
||||
@@ -699,6 +712,7 @@
|
||||
{
|
||||
ECalComponent *comp;
|
||||
struct Memo memo;
|
||||
+ pi_buffer_t piBuf;
|
||||
struct icaltimetype now;
|
||||
icaltimezone *utc_zone;
|
||||
char *txt, *txt2, *txt3;
|
||||
@@ -707,8 +721,12 @@
|
||||
|
||||
g_return_val_if_fail (remote != NULL, NULL);
|
||||
|
||||
+ piBuf.data = remote->record;
|
||||
+ piBuf.allocated = remote->length;
|
||||
+ piBuf.used = remote->length;
|
||||
+
|
||||
memset (&memo, 0, sizeof (struct Memo));
|
||||
- unpack_Memo (&memo, remote->record, remote->length);
|
||||
+ unpack_Memo (&memo, &piBuf, memo_v1);
|
||||
|
||||
utc_zone = icaltimezone_get_utc_timezone ();
|
||||
now = icaltime_from_timet_with_zone (time (NULL), FALSE,
|
||||
@@ -836,7 +854,7 @@
|
||||
GnomePilotConduitSyncAbs *abs_conduit;
|
||||
GList *l;
|
||||
int len;
|
||||
- unsigned char *buf;
|
||||
+ pi_buffer_t *buffer;
|
||||
char *filename, *change_id;
|
||||
icalcomponent *icalcomp;
|
||||
gint num_records, add_records = 0, mod_records = 0, del_records = 0;
|
||||
@@ -929,9 +947,9 @@
|
||||
g_message("num_records: %d\nadd_records: %d\nmod_records: %d\ndel_records: %d\n",
|
||||
num_records, add_records, mod_records, del_records);
|
||||
|
||||
- buf = (unsigned char*)g_malloc (0xffff);
|
||||
+ buffer = pi_buffer_new (0xffff);
|
||||
len = dlp_ReadAppBlock (dbi->pilot_socket, dbi->db_handle, 0,
|
||||
- (unsigned char *)buf, 0xffff);
|
||||
+ -1, buffer);
|
||||
|
||||
if (len < 0) {
|
||||
WARN (_("Could not read pilot's Memo application block"));
|
||||
@@ -940,8 +958,8 @@
|
||||
_("Could not read pilot's Memo application block"));
|
||||
return -1;
|
||||
}
|
||||
- unpack_MemoAppInfo (&(ctxt->ai), buf, len);
|
||||
- g_free (buf);
|
||||
+ unpack_MemoAppInfo (&(ctxt->ai), buffer->data, len);
|
||||
+ pi_buffer_free (buffer);
|
||||
|
||||
lastDesktopUniqueID = 128;
|
||||
|
||||
|
|
@ -1,242 +0,0 @@
|
|||
--- evolution-2.5.5.1/calendar/gui/e-day-view.c.commit-enter-on-calendar 2006-01-16 09:42:17.000000000 -0500
|
||||
+++ evolution-2.5.5.1/calendar/gui/e-day-view.c 2006-01-25 23:48:24.000000000 -0500
|
||||
@@ -334,6 +334,10 @@
|
||||
gint event_num,
|
||||
gchar *initial_text);
|
||||
static void e_day_view_stop_editing_event (EDayView *day_view);
|
||||
+static gboolean e_day_view_text_keypress (GnomeCanvasItem *item,
|
||||
+ guint keyval,
|
||||
+ guint state,
|
||||
+ EDayView *day_view);
|
||||
static gboolean e_day_view_on_text_item_event (GnomeCanvasItem *item,
|
||||
GdkEvent *event,
|
||||
EDayView *day_view);
|
||||
@@ -4484,6 +4488,8 @@
|
||||
G_CALLBACK (e_day_view_on_text_item_event), day_view);
|
||||
g_signal_emit_by_name (G_OBJECT(day_view),
|
||||
"event_added", event);
|
||||
+ g_signal_connect (event->canvas_item, "keypress",
|
||||
+ G_CALLBACK (e_day_view_text_keypress), day_view);
|
||||
|
||||
e_day_view_update_long_event_label (day_view, event_num);
|
||||
}
|
||||
@@ -4667,6 +4673,8 @@
|
||||
G_CALLBACK (e_day_view_on_text_item_event), day_view);
|
||||
g_signal_emit_by_name (G_OBJECT(day_view),
|
||||
"event_added", event);
|
||||
+ g_signal_connect (event->canvas_item, "keypress",
|
||||
+ G_CALLBACK (e_day_view_text_keypress), day_view);
|
||||
|
||||
e_day_view_update_event_label (day_view, day, event_num);
|
||||
}
|
||||
@@ -5824,46 +5832,74 @@
|
||||
}
|
||||
|
||||
static gboolean
|
||||
+e_day_view_text_keypress (GnomeCanvasItem *item,
|
||||
+ guint keyval,
|
||||
+ guint state,
|
||||
+ EDayView *day_view)
|
||||
+{
|
||||
+ gboolean retval = FALSE;
|
||||
+
|
||||
+ tooltip_destroy (day_view, item);
|
||||
+
|
||||
+ if (keyval == GDK_Return) {
|
||||
+ EText *text = E_TEXT (item);
|
||||
+ gint new_pos = 0;
|
||||
+
|
||||
+ /*
|
||||
+ * HACK: last character which should be \n needs to be deleted
|
||||
+ * here so that GDK_Return was already processed on EText
|
||||
+ * before E_TEXT_KEYPRESS event is emitted.
|
||||
+ */
|
||||
+ if (text->selection_end >= 1)
|
||||
+ new_pos = text->selection_end - 1;
|
||||
+
|
||||
+ text->selection_end = e_text_model_validate_position (text->model, new_pos);
|
||||
+ e_text_delete_selection (text);
|
||||
+
|
||||
+ day_view->resize_event_num = -1;
|
||||
+
|
||||
+ /* We set the keyboard focus to the EDayView, so the
|
||||
+ EText item loses it and stops the edit. */
|
||||
+ gtk_widget_grab_focus (GTK_WIDGET (day_view));
|
||||
+
|
||||
+ /* Stop the signal last or we will also stop any
|
||||
+ other events getting to the EText item. */
|
||||
+ gtk_signal_emit_stop_by_name (GTK_OBJECT (item),
|
||||
+ "event");
|
||||
+
|
||||
+ retval = TRUE;
|
||||
+ } else if (keyval == GDK_Escape) {
|
||||
+ cancel_editing (day_view);
|
||||
+ gtk_signal_emit_stop_by_name (GTK_OBJECT (item), "event");
|
||||
+ /* focus should go to day view when stop editing */
|
||||
+ gtk_widget_grab_focus (GTK_WIDGET (day_view));
|
||||
+
|
||||
+ retval = TRUE;
|
||||
+ } else if ((keyval == GDK_Up)
|
||||
+ && (state & GDK_SHIFT_MASK)
|
||||
+ && (state & GDK_CONTROL_MASK)
|
||||
+ && !(state & GDK_MOD1_MASK)) {
|
||||
+ e_day_view_change_event_end_time_up (day_view);
|
||||
+
|
||||
+ retval = TRUE;
|
||||
+ } else if ((keyval == GDK_Down)
|
||||
+ && (state & GDK_SHIFT_MASK)
|
||||
+ && (state & GDK_CONTROL_MASK)
|
||||
+ && !(state & GDK_MOD1_MASK)) {
|
||||
+ e_day_view_change_event_end_time_down (day_view);
|
||||
+
|
||||
+ retval = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ return retval;
|
||||
+}
|
||||
+
|
||||
+static gboolean
|
||||
e_day_view_on_text_item_event (GnomeCanvasItem *item,
|
||||
GdkEvent *event,
|
||||
EDayView *day_view)
|
||||
{
|
||||
switch (event->type) {
|
||||
- case GDK_KEY_PRESS:
|
||||
- tooltip_destroy (day_view, item);
|
||||
- if (event && event->key.keyval == GDK_Return) {
|
||||
- day_view->resize_event_num = -1;
|
||||
- day_view->resize_event_num = -1;
|
||||
-
|
||||
- /* We set the keyboard focus to the EDayView, so the
|
||||
- EText item loses it and stops the edit. */
|
||||
- gtk_widget_grab_focus (GTK_WIDGET (day_view));
|
||||
-
|
||||
- /* Stop the signal last or we will also stop any
|
||||
- other events getting to the EText item. */
|
||||
- gtk_signal_emit_stop_by_name (GTK_OBJECT (item),
|
||||
- "event");
|
||||
- return TRUE;
|
||||
- } else if (event->key.keyval == GDK_Escape) {
|
||||
- cancel_editing (day_view);
|
||||
- gtk_signal_emit_stop_by_name (GTK_OBJECT (item), "event");
|
||||
- /* focus should go to day view when stop editing */
|
||||
- gtk_widget_grab_focus (GTK_WIDGET (day_view));
|
||||
- return TRUE;
|
||||
- } else if ((event->key.keyval == GDK_Up)
|
||||
- && (event->key.state & GDK_SHIFT_MASK)
|
||||
- && (event->key.state & GDK_CONTROL_MASK)
|
||||
- && !(event->key.state & GDK_MOD1_MASK)) {
|
||||
- e_day_view_change_event_end_time_up (day_view);
|
||||
- return TRUE;
|
||||
- } else if ((event->key.keyval == GDK_Down)
|
||||
- && (event->key.state & GDK_SHIFT_MASK)
|
||||
- && (event->key.state & GDK_CONTROL_MASK)
|
||||
- && !(event->key.state & GDK_MOD1_MASK)) {
|
||||
- e_day_view_change_event_end_time_down (day_view);
|
||||
- return TRUE;
|
||||
- }
|
||||
- break;
|
||||
case GDK_2BUTTON_PRESS:
|
||||
#if 0
|
||||
g_print ("Item got double-click\n");
|
||||
--- evolution-2.5.5.1/calendar/gui/e-week-view.c.commit-enter-on-calendar 2006-01-16 09:42:17.000000000 -0500
|
||||
+++ evolution-2.5.5.1/calendar/gui/e-week-view.c 2006-01-25 23:46:43.000000000 -0500
|
||||
@@ -175,6 +175,10 @@
|
||||
const gchar *uid,
|
||||
EWeekViewForeachEventCallback callback,
|
||||
gpointer data);
|
||||
+static gboolean e_week_view_text_keypress (GnomeCanvasItem *item,
|
||||
+ guint keyval,
|
||||
+ guint state,
|
||||
+ EWeekView *week_view);
|
||||
static gboolean e_week_view_on_text_item_event (GnomeCanvasItem *item,
|
||||
GdkEvent *event,
|
||||
EWeekView *week_view);
|
||||
@@ -2771,6 +2775,8 @@
|
||||
week_view);
|
||||
g_signal_emit_by_name (G_OBJECT(week_view),
|
||||
"event_added", event);
|
||||
+ g_signal_connect (span->text_item, "keypress",
|
||||
+ G_CALLBACK (e_week_view_text_keypress), week_view);
|
||||
|
||||
}
|
||||
|
||||
@@ -3028,6 +3034,51 @@
|
||||
}
|
||||
|
||||
static gboolean
|
||||
+e_week_view_text_keypress (GnomeCanvasItem *item,
|
||||
+ guint keyval,
|
||||
+ guint state,
|
||||
+ EWeekView *week_view)
|
||||
+{
|
||||
+ gboolean retval = FALSE;
|
||||
+
|
||||
+ tooltip_destroy (week_view, item);
|
||||
+
|
||||
+ if (keyval == GDK_Return) {
|
||||
+ EText *text = E_TEXT (item);
|
||||
+ gint new_pos = 0;
|
||||
+
|
||||
+ /*
|
||||
+ * HACK: last charater which should be \n needs to be deleted
|
||||
+ * here so that GDK_Return was already processed on EText
|
||||
+ * before E_TEXT_KEYPRESS event is emitted.
|
||||
+ */
|
||||
+ if (text->selection_end >= 1)
|
||||
+ new_pos = text->selection_end - 1;
|
||||
+
|
||||
+ text->selection_end = e_text_model_validate_position (text->model, new_pos);
|
||||
+ e_text_delete_selection (text);
|
||||
+
|
||||
+ /* We set the keyboard focus to the EDayView, so the
|
||||
+ EText item loses it and stops the edit. */
|
||||
+ gtk_widget_grab_focus (GTK_WIDGET (week_view));
|
||||
+
|
||||
+ /* Stop the signal last or we will also stop any
|
||||
+ other events getting to the EText item. */
|
||||
+ gtk_signal_emit_stop_by_name (GTK_OBJECT (item),
|
||||
+ "event");
|
||||
+ retval = TRUE;
|
||||
+ } else if (keyval == GDK_Escape) {
|
||||
+ cancel_editing (week_view);
|
||||
+ gtk_signal_emit_stop_by_name (GTK_OBJECT (item), "event");
|
||||
+ /* focus should go to week view when stop editing */
|
||||
+ gtk_widget_grab_focus (GTK_WIDGET (week_view));
|
||||
+ retval = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ return retval;
|
||||
+}
|
||||
+
|
||||
+static gboolean
|
||||
e_week_view_on_text_item_event (GnomeCanvasItem *item,
|
||||
GdkEvent *gdkevent,
|
||||
EWeekView *week_view)
|
||||
@@ -3044,26 +3095,6 @@
|
||||
#endif
|
||||
|
||||
switch (gdkevent->type) {
|
||||
- case GDK_KEY_PRESS:
|
||||
- tooltip_destroy (week_view, item);
|
||||
- if (gdkevent && gdkevent->key.keyval == GDK_Return) {
|
||||
- /* We set the keyboard focus to the EDayView, so the
|
||||
- EText item loses it and stops the edit. */
|
||||
- gtk_widget_grab_focus (GTK_WIDGET (week_view));
|
||||
-
|
||||
- /* Stop the signal last or we will also stop any
|
||||
- other events getting to the EText item. */
|
||||
- gtk_signal_emit_stop_by_name (GTK_OBJECT (item),
|
||||
- "event");
|
||||
- return TRUE;
|
||||
- } else if (gdkevent->key.keyval == GDK_Escape) {
|
||||
- cancel_editing (week_view);
|
||||
- gtk_signal_emit_stop_by_name (GTK_OBJECT (item), "event");
|
||||
- /* focus should go to week view when stop editing */
|
||||
- gtk_widget_grab_focus (GTK_WIDGET (week_view));
|
||||
- return TRUE;
|
||||
- }
|
||||
- break;
|
||||
case GDK_2BUTTON_PRESS:
|
||||
if (!e_week_view_find_event_from_item (week_view, item,
|
||||
&event_num, &span_num))
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
--- evolution-2.6.0/calendar/gui/dialogs/event-page.c.prototypes 2006-03-14 01:00:04.000000000 -0500
|
||||
+++ evolution-2.6.0/calendar/gui/dialogs/event-page.c 2006-03-14 01:00:21.000000000 -0500
|
||||
@@ -59,6 +59,8 @@
|
||||
#include "event-page.h"
|
||||
#include "e-send-options-utils.h"
|
||||
|
||||
+GtkWidget *alarm_list_dialog_peek (ECal *ecal, EAlarmList *list_store);
|
||||
+
|
||||
|
||||
|
||||
/* Private part of the EventPage structure */
|
||||
--- evolution-2.6.0/calendar/gui/dialogs/cal-prefs-dialog.c.prototypes 2006-03-13 14:14:07.000000000 -0500
|
||||
+++ evolution-2.6.0/calendar/gui/dialogs/cal-prefs-dialog.c 2006-03-13 14:14:24.000000000 -0500
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "../calendar-config.h"
|
||||
#include "cal-prefs-dialog.h"
|
||||
#include <libgnomeui/gnome-color-picker.h>
|
||||
+#include <libgnomeui/gnome-file-entry.h>
|
||||
#include <widgets/misc/e-dateedit.h>
|
||||
#include <e-util/e-dialog-widgets.h>
|
||||
#include <e-util/e-util-private.h>
|
||||
|
|
@ -1,169 +0,0 @@
|
|||
--- evolution-2.10.1/configure.no-gnome-common 2007-04-09 12:32:23.000000000 -0400
|
||||
+++ evolution-2.10.1/configure 2007-04-09 12:33:02.000000000 -0400
|
||||
@@ -33161,154 +33161,6 @@
|
||||
|
||||
|
||||
|
||||
- # Check whether --enable-compile-warnings was given.
|
||||
-if test "${enable_compile_warnings+set}" = set; then
|
||||
- enableval=$enable_compile_warnings;
|
||||
-else
|
||||
- enable_compile_warnings="yes"
|
||||
-fi
|
||||
-
|
||||
-
|
||||
- warnCFLAGS=
|
||||
- if test "x$GCC" != xyes; then
|
||||
- enable_compile_warnings=no
|
||||
- fi
|
||||
-
|
||||
- warning_flags=
|
||||
- realsave_CFLAGS="$CFLAGS"
|
||||
-
|
||||
- case "$enable_compile_warnings" in
|
||||
- no)
|
||||
- warning_flags=
|
||||
- ;;
|
||||
- minimum)
|
||||
- warning_flags="-Wall"
|
||||
- ;;
|
||||
- yes)
|
||||
- warning_flags="-Wall -Wmissing-prototypes"
|
||||
- ;;
|
||||
- maximum|error)
|
||||
- warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
|
||||
- CFLAGS="$warning_flags $CFLAGS"
|
||||
- for option in -Wno-sign-compare; do
|
||||
- SAVE_CFLAGS="$CFLAGS"
|
||||
- CFLAGS="$CFLAGS $option"
|
||||
- { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
|
||||
-echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
|
||||
- cat >conftest.$ac_ext <<_ACEOF
|
||||
-/* confdefs.h. */
|
||||
-_ACEOF
|
||||
-cat confdefs.h >>conftest.$ac_ext
|
||||
-cat >>conftest.$ac_ext <<_ACEOF
|
||||
-/* end confdefs.h. */
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-rm -f conftest.$ac_objext
|
||||
-if { (ac_try="$ac_compile"
|
||||
-case "(($ac_try" in
|
||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
- *) ac_try_echo=$ac_try;;
|
||||
-esac
|
||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
- (eval "$ac_compile") 2>conftest.er1
|
||||
- ac_status=$?
|
||||
- grep -v '^ *+' conftest.er1 >conftest.err
|
||||
- rm -f conftest.er1
|
||||
- cat conftest.err >&5
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); } &&
|
||||
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
||||
- { (case "(($ac_try" in
|
||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
- *) ac_try_echo=$ac_try;;
|
||||
-esac
|
||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
- (eval "$ac_try") 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; } &&
|
||||
- { ac_try='test -s conftest.$ac_objext'
|
||||
- { (case "(($ac_try" in
|
||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
- *) ac_try_echo=$ac_try;;
|
||||
-esac
|
||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
- (eval "$ac_try") 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; }; then
|
||||
- has_option=yes
|
||||
-else
|
||||
- echo "$as_me: failed program was:" >&5
|
||||
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||
-
|
||||
- has_option=no
|
||||
-fi
|
||||
-
|
||||
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
- CFLAGS="$SAVE_CFLAGS"
|
||||
- { echo "$as_me:$LINENO: result: $has_option" >&5
|
||||
-echo "${ECHO_T}$has_option" >&6; }
|
||||
- if test $has_option = yes; then
|
||||
- warning_flags="$warning_flags $option"
|
||||
- fi
|
||||
- unset has_option
|
||||
- unset SAVE_CFLAGS
|
||||
- done
|
||||
- unset option
|
||||
- if test "$enable_compile_warnings" = "error" ; then
|
||||
- warning_flags="$warning_flags -Werror"
|
||||
- fi
|
||||
- ;;
|
||||
- *)
|
||||
- { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
|
||||
-echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
- ;;
|
||||
- esac
|
||||
- CFLAGS="$realsave_CFLAGS"
|
||||
- { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
|
||||
-echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
|
||||
- { echo "$as_me:$LINENO: result: $warning_flags" >&5
|
||||
-echo "${ECHO_T}$warning_flags" >&6; }
|
||||
-
|
||||
- # Check whether --enable-iso-c was given.
|
||||
-if test "${enable_iso_c+set}" = set; then
|
||||
- enableval=$enable_iso_c;
|
||||
-else
|
||||
- enable_iso_c=no
|
||||
-fi
|
||||
-
|
||||
-
|
||||
- { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
|
||||
-echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
|
||||
- complCFLAGS=
|
||||
- if test "x$enable_iso_c" != "xno"; then
|
||||
- if test "x$GCC" = "xyes"; then
|
||||
- case " $CFLAGS " in
|
||||
- *\ \ -ansi\ \ *) ;;
|
||||
- *) complCFLAGS="$complCFLAGS -ansi" ;;
|
||||
- esac
|
||||
- case " $CFLAGS " in
|
||||
- *\ \ -pedantic\ \ *) ;;
|
||||
- *) complCFLAGS="$complCFLAGS -pedantic" ;;
|
||||
- esac
|
||||
- fi
|
||||
- fi
|
||||
- { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
|
||||
-echo "${ECHO_T}$complCFLAGS" >&6; }
|
||||
-
|
||||
- WARN_CFLAGS="$warning_flags $complCFLAGS"
|
||||
-
|
||||
-
|
||||
-CFLAGS="$CFLAGS $WARN_CFLAGS"
|
||||
case $CFLAGS in
|
||||
*-Wall*)
|
||||
# Turn off the annoying "comparison between signed and unsigned"
|
||||
--- evolution-2.10.1/configure.in.no-gnome-common 2007-04-09 09:11:47.000000000 -0400
|
||||
+++ evolution-2.10.1/configure.in 2007-04-09 12:32:23.000000000 -0400
|
||||
@@ -1136,9 +1136,6 @@
|
||||
dnl *************************
|
||||
dnl CFLAGS and LIBS and stuff
|
||||
dnl *************************
|
||||
-
|
||||
-GNOME_COMPILE_WARNINGS(yes)
|
||||
-CFLAGS="$CFLAGS $WARN_CFLAGS"
|
||||
case $CFLAGS in
|
||||
*-Wall*)
|
||||
# Turn off the annoying "comparison between signed and unsigned"
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
--- evolution-2.7.2.1/calendar/gui/alarm-notify/alarm-queue.c.notification-cleanups 2006-04-22 00:39:20.000000000 -0400
|
||||
+++ evolution-2.7.2.1/calendar/gui/alarm-notify/alarm-queue.c 2006-05-23 16:04:23.000000000 -0400
|
||||
@@ -1566,10 +1566,11 @@
|
||||
const char *summary, *location;
|
||||
GtkTooltips *tooltips;
|
||||
ECalComponentText text;
|
||||
- char *str, *start_str, *end_str, *alarm_str, *time_str;
|
||||
+ char *start_str, *end_str, *alarm_str, *time_str;
|
||||
icaltimezone *current_zone;
|
||||
ECalComponentOrganizer organiser;
|
||||
char *body;
|
||||
+ NotifyNotification *n;
|
||||
|
||||
d(printf("%s:%d (popup_notification)\n",__FILE__, __LINE__));
|
||||
|
||||
@@ -1601,9 +1602,6 @@
|
||||
end_str = timet_to_str_with_zone (qa->instance->occur_end, current_zone);
|
||||
time_str = calculate_time (qa->instance->occur_start, qa->instance->occur_end);
|
||||
|
||||
- str = g_strdup_printf ("%s %s",
|
||||
- start_str, time_str);
|
||||
-
|
||||
if (organiser.cn) {
|
||||
if (location)
|
||||
body = g_strdup_printf ("<b>%s</b>\n%s %s\n%s %s", organiser.cn, _("Location:"), location, start_str, time_str);
|
||||
@@ -1617,16 +1615,21 @@
|
||||
body = g_strdup_printf ("%s %s", start_str, time_str);
|
||||
}
|
||||
|
||||
- NotifyNotification *n = notify_notification_new (summary, body, "stock_appointment-reminder", NULL);
|
||||
- if (!notify_notification_show(n, NULL))
|
||||
+ n = notify_notification_new (summary, body, "stock_appointment-reminder", NULL);
|
||||
+
|
||||
+ /* Notifications don't timeout: require explicit user action: */
|
||||
+ notify_notification_set_timeout (n, NOTIFY_EXPIRES_NEVER);
|
||||
+
|
||||
+ if (!notify_notification_show (n, NULL))
|
||||
g_warning ("Could not send notification to daemon\n");
|
||||
|
||||
- /* create the private structure */
|
||||
+ g_object_unref (n);
|
||||
+
|
||||
+ g_free (body);
|
||||
g_free (start_str);
|
||||
g_free (end_str);
|
||||
g_free (alarm_str);
|
||||
g_free (time_str);
|
||||
- g_free (str);
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,178 +0,0 @@
|
|||
diff -ur evolution-2.7.3/filter/filter-datespec.c my-evolution-2.7.3/filter/filter-datespec.c
|
||||
--- evolution-2.7.3/filter/filter-datespec.c 2005-08-09 17:29:27.000000000 -0600
|
||||
+++ my-evolution-2.7.3/filter/filter-datespec.c 2006-06-28 20:51:01.000000000 -0600
|
||||
@@ -61,8 +61,10 @@
|
||||
|
||||
typedef struct _timespan {
|
||||
guint32 seconds;
|
||||
- const char *singular;
|
||||
- const char *plural;
|
||||
+ const char *past_singular;
|
||||
+ const char *past_plural;
|
||||
+ const char *future_singular;
|
||||
+ const char *future_plural;
|
||||
float max;
|
||||
} timespan;
|
||||
|
||||
@@ -75,13 +77,13 @@
|
||||
#define ngettext(a, b) a, b
|
||||
|
||||
static const timespan timespans[] = {
|
||||
- { 1, ngettext("1 second ago", "%d seconds ago"), 59.0 },
|
||||
- { 60, ngettext("1 minute ago", "%d minutes ago"), 59.0 },
|
||||
- { 3600, ngettext("1 hour ago", "%d hours ago"), 23.0 },
|
||||
- { 86400, ngettext("1 day ago", "%d days ago"), 31.0 },
|
||||
- { 604800, ngettext("1 week ago", "%d weeks ago"), 52.0 },
|
||||
- { 2419200, ngettext("1 month ago", "%d months ago"), 12.0 },
|
||||
- { 31557600, ngettext("1 year ago", "%d years ago"), 1000.0 },
|
||||
+ { 1, ngettext("1 second ago", "%d seconds ago"), ngettext("1 second in the future", "%d seconds in the future"), 59.0 },
|
||||
+ { 60, ngettext("1 minute ago", "%d minutes ago"), ngettext("1 minute in the future", "%d minutes in the future"), 59.0 },
|
||||
+ { 3600, ngettext("1 hour ago", "%d hours ago"), ngettext("1 hour in the future", "%d hours in the future"), 23.0 },
|
||||
+ { 86400, ngettext("1 day ago", "%d days ago"), ngettext("1 day in the future", "%d days in the future"), 31.0 },
|
||||
+ { 604800, ngettext("1 week ago", "%d weeks ago"), ngettext("1 week in the future", "%d weeks in the future"), 52.0 },
|
||||
+ { 2419200, ngettext("1 month ago", "%d months ago"), ngettext("1 month in the future", "%d months in the future"), 12.0 },
|
||||
+ { 31557600, ngettext("1 year ago", "%d years ago"), ngettext("1 year in the future", "%d years in the future"), 1000.0 },
|
||||
};
|
||||
|
||||
/* now we let the compiler see the real function call */
|
||||
@@ -92,7 +94,7 @@
|
||||
|
||||
struct _FilterDatespecPrivate {
|
||||
GtkWidget *label_button;
|
||||
- GtkWidget *notebook_type, *option_type, *calendar_specify, *spin_relative, *option_relative;
|
||||
+ GtkWidget *notebook_type, *option_type, *calendar_specify, *spin_relative, *option_relative, *option_past_future;
|
||||
FilterDatespec_type type;
|
||||
int span;
|
||||
};
|
||||
@@ -264,7 +266,7 @@
|
||||
get_best_span (time_t val)
|
||||
{
|
||||
int i;
|
||||
-
|
||||
+
|
||||
for (i=N_TIMESPANS-1;i>=0;i--) {
|
||||
if (val % timespans[i].seconds == 0)
|
||||
return i;
|
||||
@@ -302,8 +304,18 @@
|
||||
|
||||
span = get_best_span(fds->value);
|
||||
count = fds->value / timespans[span].seconds;
|
||||
+ sprintf(buf, ngettext(timespans[span].past_singular, timespans[span].past_plural, count), count);
|
||||
+ }
|
||||
+ break;
|
||||
+ case FDST_X_FUTURE:
|
||||
+ if (fds->value == 0)
|
||||
+ label = _("now");
|
||||
+ else {
|
||||
+ int span, count;
|
||||
|
||||
- sprintf(buf, ngettext(timespans[span].singular, timespans[span].plural, count), count);
|
||||
+ span = get_best_span(fds->value);
|
||||
+ count = fds->value / timespans[span].seconds;
|
||||
+ sprintf(buf, ngettext(timespans[span].future_singular, timespans[span].future_plural, count), count);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -329,6 +341,7 @@
|
||||
fds->value = mktime(&tm);
|
||||
/* what about timezone? */
|
||||
break; }
|
||||
+ case FDST_X_FUTURE:
|
||||
case FDST_X_AGO: {
|
||||
int val;
|
||||
|
||||
@@ -349,6 +362,8 @@
|
||||
struct _FilterDatespecPrivate *p = PRIV(fds);
|
||||
|
||||
p->type = fds->type==FDST_UNKNOWN ? FDST_NOW : fds->type;
|
||||
+
|
||||
+ int note_type = fds->type==FDST_X_FUTURE ? FDST_X_AGO : fds->type; // FUTURE and AGO use the same notebook pages/etc.
|
||||
|
||||
switch (p->type) {
|
||||
case FDST_NOW:
|
||||
@@ -368,11 +383,18 @@
|
||||
p->span = get_best_span(fds->value);
|
||||
gtk_spin_button_set_value((GtkSpinButton*)p->spin_relative, fds->value/timespans[p->span].seconds);
|
||||
gtk_option_menu_set_history((GtkOptionMenu*)p->option_relative, p->span);
|
||||
+ gtk_option_menu_set_history((GtkOptionMenu*)p->option_past_future, 0);
|
||||
+ break;
|
||||
+ case FDST_X_FUTURE:
|
||||
+ p->span = get_best_span(fds->value);
|
||||
+ gtk_spin_button_set_value((GtkSpinButton*)p->spin_relative, fds->value/timespans[p->span].seconds);
|
||||
+ gtk_option_menu_set_history((GtkOptionMenu*)p->option_relative, p->span);
|
||||
+ gtk_option_menu_set_history((GtkOptionMenu*)p->option_past_future, 1);
|
||||
break;
|
||||
}
|
||||
|
||||
- gtk_notebook_set_current_page ((GtkNotebook*) p->notebook_type, p->type);
|
||||
- gtk_option_menu_set_history ((GtkOptionMenu*) p->option_type, p->type);
|
||||
+ gtk_notebook_set_current_page ((GtkNotebook*) p->notebook_type, note_type);
|
||||
+ gtk_option_menu_set_history ((GtkOptionMenu*) p->option_type, note_type);
|
||||
}
|
||||
|
||||
|
||||
@@ -397,6 +419,18 @@
|
||||
}
|
||||
|
||||
static void
|
||||
+set_option_past_future (GtkMenu *menu, FilterDatespec *fds)
|
||||
+{
|
||||
+ GtkWidget *w;
|
||||
+
|
||||
+ w = gtk_menu_get_active (menu);
|
||||
+ if(g_list_index (GTK_MENU_SHELL (menu)->children, w) == 0)
|
||||
+ fds->type = fds->priv->type = FDST_X_AGO;
|
||||
+ else
|
||||
+ fds->type = fds->priv->type = FDST_X_FUTURE;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
button_clicked (GtkButton *button, FilterDatespec *fds)
|
||||
{
|
||||
struct _FilterDatespecPrivate *p = PRIV(fds);
|
||||
@@ -424,6 +458,7 @@
|
||||
p->calendar_specify = glade_xml_get_widget (gui, "calendar_specify");
|
||||
p->spin_relative = glade_xml_get_widget (gui, "spin_relative");
|
||||
p->option_relative = glade_xml_get_widget (gui, "option_relative");
|
||||
+ p->option_past_future = glade_xml_get_widget (gui, "option_past_future");
|
||||
|
||||
set_values (fds);
|
||||
|
||||
@@ -431,6 +466,8 @@
|
||||
G_CALLBACK (set_option_type), fds);
|
||||
g_signal_connect (GTK_OPTION_MENU (p->option_relative)->menu, "deactivate",
|
||||
G_CALLBACK (set_option_relative), fds);
|
||||
+ g_signal_connect (GTK_OPTION_MENU (p->option_past_future)->menu, "deactivate",
|
||||
+ G_CALLBACK (set_option_past_future), fds);
|
||||
|
||||
gtk_box_pack_start ((GtkBox *) dialog->vbox, toplevel, TRUE, TRUE, 3);
|
||||
|
||||
@@ -486,5 +523,8 @@
|
||||
case FDST_X_AGO:
|
||||
g_string_append_printf (out, "(- (get-current-date) %d)", (int) fds->value);
|
||||
break;
|
||||
+ case FDST_X_FUTURE:
|
||||
+ g_string_append_printf (out, "(+ (get-current-date) %d)", (int) fds->value);
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
diff -ur evolution-2.7.3/filter/filter-datespec.h my-evolution-2.7.3/filter/filter-datespec.h
|
||||
--- evolution-2.7.3/filter/filter-datespec.h 2002-11-01 16:22:57.000000000 -0700
|
||||
+++ my-evolution-2.7.3/filter/filter-datespec.h 2006-06-28 17:25:55.000000000 -0600
|
||||
@@ -42,6 +42,7 @@
|
||||
FDST_NOW,
|
||||
FDST_SPECIFIED,
|
||||
FDST_X_AGO,
|
||||
+ FDST_X_FUTURE,
|
||||
} FilterDatespec_type;
|
||||
|
||||
struct _FilterDatespec {
|
||||
@@ -52,7 +53,7 @@
|
||||
|
||||
/* either a timespan, an absolute time, or 0
|
||||
* depending on type -- the above mapping to
|
||||
- * (X_AGO, SPECIFIED, NOW)
|
||||
+ * (X_FUTURE, X_AGO, SPECIFIED, NOW)
|
||||
*/
|
||||
|
||||
time_t value;
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
--- evolution-2.7.3/widgets/text/e-text.c.replicated_cjk_input 2006-07-06 09:57:22.000000000 -0400
|
||||
+++ evolution-2.7.3/widgets/text/e-text.c 2006-07-06 09:58:27.000000000 -0400
|
||||
@@ -1498,7 +1498,8 @@
|
||||
}
|
||||
|
||||
|
||||
- insert_preedit_text (text);
|
||||
+ if (text->im_context_signals_registered)
|
||||
+ insert_preedit_text (text);
|
||||
|
||||
if (!pango_layout_get_text (text->layout))
|
||||
return;
|
||||
@@ -2212,7 +2213,8 @@
|
||||
G_SIGNAL_MATCH_DATA,
|
||||
0, 0, NULL,
|
||||
NULL, save_text);
|
||||
- save_text->im_context_signals_registered = FALSE;
|
||||
+ save_text->im_context_signals_registered = FALSE;
|
||||
+ reset_layout (save_text);
|
||||
}
|
||||
|
||||
if (text->im_context) {
|
||||
|
|
@ -1,112 +0,0 @@
|
|||
--- evolution-2.7.4/widgets/text/e-text.h.cal 2006-07-13 10:15:56.000000000 -0400
|
||||
+++ evolution-2.7.4/widgets/text/e-text.h 2006-07-13 10:18:20.000000000 -0400
|
||||
@@ -109,6 +109,7 @@
|
||||
|
||||
const gchar *text; /* Text to display --- from the ETextModel */
|
||||
gint preedit_len; /* preedit length to display */
|
||||
+ gint preedit_pos; /* preedit cursor position */
|
||||
PangoLayout *layout;
|
||||
int num_lines; /* Number of lines of text */
|
||||
|
||||
--- evolution-2.7.4/widgets/text/e-text.c.cal 2006-07-13 10:15:51.000000000 -0400
|
||||
+++ evolution-2.7.4/widgets/text/e-text.c 2006-07-13 10:18:20.000000000 -0400
|
||||
@@ -132,6 +132,7 @@
|
||||
|
||||
static void reset_layout_attrs (EText *text);
|
||||
|
||||
+static void update_im_cursor_position (EText *text);
|
||||
#if 0
|
||||
/* GtkEditable Methods */
|
||||
static void e_text_editable_do_insert_text (GtkEditable *editable,
|
||||
@@ -325,6 +326,8 @@
|
||||
pango_layout_set_attributes (text->layout, attrs);
|
||||
pango_attr_list_unref (attrs);
|
||||
}
|
||||
+
|
||||
+ update_im_cursor_position (text);
|
||||
}
|
||||
|
||||
if (preedit_string)
|
||||
@@ -3723,6 +3726,7 @@
|
||||
text->model = e_text_model_new ();
|
||||
text->text = e_text_model_get_text (text->model);
|
||||
text->preedit_len = 0;
|
||||
+ text->preedit_pos = 0;
|
||||
text->layout = NULL;
|
||||
|
||||
text->revert = NULL;
|
||||
@@ -3840,17 +3844,71 @@
|
||||
}
|
||||
}
|
||||
|
||||
+/*
|
||||
+ * Fetch cursor location into Strong or Weak positions so as to
|
||||
+ * display the preedit candidate selection window in the right place
|
||||
+ */
|
||||
+static void
|
||||
+e_text_get_cursor_locations (EText *text,
|
||||
+ GdkRectangle *strong_pos,
|
||||
+ GdkRectangle *weak_pos)
|
||||
+{
|
||||
+ double x1, y1;
|
||||
+ PangoRectangle pango_strong_pos;
|
||||
+ PangoRectangle pango_weak_pos;
|
||||
+ int cx, cy;
|
||||
+ gint index;
|
||||
+
|
||||
+ gnome_canvas_item_get_bounds (GNOME_CANVAS_ITEM (text), &x1, &y1, NULL, NULL);
|
||||
+
|
||||
+ gnome_canvas_get_scroll_offsets (GNOME_CANVAS (GNOME_CANVAS_ITEM (text)->canvas), &cx, &cy);
|
||||
+
|
||||
+ index = g_utf8_offset_to_pointer (text->text, text->selection_start) - text->text;
|
||||
+
|
||||
+ pango_layout_get_cursor_pos (text->layout, index + text->preedit_pos,
|
||||
+ strong_pos ? &pango_strong_pos : NULL,
|
||||
+ weak_pos ? &pango_weak_pos : NULL);
|
||||
+
|
||||
+ if (strong_pos) {
|
||||
+ strong_pos->x = x1 - cx - text->xofs_edit + pango_strong_pos.x / PANGO_SCALE;
|
||||
+ strong_pos->y = y1 - cy - text->yofs_edit + pango_strong_pos.y / PANGO_SCALE;
|
||||
+ strong_pos->width = 0;
|
||||
+ strong_pos->height = pango_strong_pos.height / PANGO_SCALE;
|
||||
+ }
|
||||
+
|
||||
+ if (weak_pos) {
|
||||
+ weak_pos->x = x1 - cx - text->xofs_edit + pango_weak_pos.x / PANGO_SCALE;
|
||||
+ weak_pos->y = y1 - cy - text->yofs_edit + pango_weak_pos.y / PANGO_SCALE;
|
||||
+ weak_pos->width = 0;
|
||||
+ weak_pos->height = pango_weak_pos.height / PANGO_SCALE;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+/* Update IM's cursor position to display candidate selection window */
|
||||
+static void
|
||||
+update_im_cursor_position (EText *text)
|
||||
+{
|
||||
+ GdkRectangle area;
|
||||
+
|
||||
+ e_text_get_cursor_locations (text, &area, NULL);
|
||||
+
|
||||
+ gtk_im_context_set_cursor_location (text->im_context, &area);
|
||||
+}
|
||||
+
|
||||
static void
|
||||
e_text_preedit_changed_cb (GtkIMContext *context,
|
||||
- EText *etext)
|
||||
+ EText *etext)
|
||||
{
|
||||
gchar *preedit_string = NULL;
|
||||
+ gint cursor_pos;
|
||||
|
||||
gtk_im_context_get_preedit_string (context, &preedit_string,
|
||||
- NULL, NULL);
|
||||
+ NULL, &cursor_pos);
|
||||
|
||||
+ cursor_pos = CLAMP (cursor_pos, 0, g_utf8_strlen (preedit_string, -1));
|
||||
etext->preedit_len = strlen (preedit_string);
|
||||
- g_free (preedit_string);
|
||||
+ etext->preedit_pos = g_utf8_offset_to_pointer (preedit_string, cursor_pos) - preedit_string;
|
||||
+ g_free (preedit_string);
|
||||
|
||||
g_signal_emit (etext, e_text_signals[E_TEXT_KEYPRESS], 0, 0, 0);
|
||||
}
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
--- evolution-2.7.4/widgets/table/e-cell-text.c.task 2006-07-13 10:56:19.000000000 -0400
|
||||
+++ evolution-2.7.4/widgets/table/e-cell-text.c 2006-07-13 10:56:27.000000000 -0400
|
||||
@@ -199,6 +199,7 @@
|
||||
gboolean im_context_signals_registered;
|
||||
|
||||
guint16 preedit_length; /* length of preedit string, in bytes */
|
||||
+ gint preedit_pos; /* position of preedit cursor */
|
||||
|
||||
ECellActions actions;
|
||||
};
|
||||
@@ -222,6 +223,7 @@
|
||||
static void _insert (ECellTextView *text_view, char *string, int value);
|
||||
static void _delete_selection (ECellTextView *text_view);
|
||||
static PangoAttrList* build_attr_list (ECellTextView *text_view, int row, int text_length);
|
||||
+static void update_im_cursor_location (ECellTextView *tv);
|
||||
|
||||
static ECellClass *parent_class;
|
||||
|
||||
@@ -560,6 +562,9 @@
|
||||
if (preedit_attrs)
|
||||
pango_attr_list_unref (preedit_attrs);
|
||||
pango_attr_list_unref (attrs);
|
||||
+
|
||||
+ update_im_cursor_location (text_view);
|
||||
+
|
||||
return layout;
|
||||
}
|
||||
|
||||
@@ -1863,6 +1868,66 @@
|
||||
/* IM Context Callbacks */
|
||||
|
||||
static void
|
||||
+e_cell_text_get_cursor_locations (ECellTextView *tv,
|
||||
+ GdkRectangle *strong_pos,
|
||||
+ GdkRectangle *weak_pos)
|
||||
+{
|
||||
+ GdkRectangle area;
|
||||
+ CellEdit *edit=tv->edit;
|
||||
+ ECellView *cell_view = (ECellView *)tv;
|
||||
+ ETableItem *item = E_TABLE_ITEM ((cell_view)->e_table_item_view);
|
||||
+ GnomeCanvasItem *parent_item = GNOME_CANVAS_ITEM (item)->parent;
|
||||
+ PangoRectangle pango_strong_pos;
|
||||
+ PangoRectangle pango_weak_pos;
|
||||
+ gint x, y, col, row;
|
||||
+ gdouble x1,y1;
|
||||
+ gint cx, cy;
|
||||
+ gint index;
|
||||
+
|
||||
+ row = edit->row;
|
||||
+ col = edit->view_col;
|
||||
+
|
||||
+ e_table_item_get_cell_geometry (item, &row, &col,
|
||||
+ &x, &y, NULL, &area.height);
|
||||
+
|
||||
+ gnome_canvas_item_get_bounds (GNOME_CANVAS_ITEM (parent_item), &x1, &y1, NULL, NULL);
|
||||
+
|
||||
+ gnome_canvas_get_scroll_offsets (GNOME_CANVAS (GNOME_CANVAS_ITEM (parent_item)->canvas), &cx, &cy);
|
||||
+
|
||||
+ index = edit->selection_end + edit->preedit_pos;
|
||||
+
|
||||
+ pango_layout_get_cursor_pos (edit->layout,
|
||||
+ index,
|
||||
+ strong_pos ? &pango_strong_pos : NULL,
|
||||
+ weak_pos ? &pango_weak_pos : NULL);
|
||||
+
|
||||
+ if (strong_pos) {
|
||||
+ strong_pos->x = x + x1 - cx - edit->xofs_edit + pango_strong_pos.x / PANGO_SCALE;
|
||||
+ strong_pos->y = y + y1 - cy - edit->yofs_edit + pango_strong_pos.y / PANGO_SCALE;
|
||||
+ strong_pos->width = 0;
|
||||
+ strong_pos->height = pango_strong_pos.height / PANGO_SCALE;
|
||||
+ }
|
||||
+
|
||||
+ if (weak_pos) {
|
||||
+ weak_pos->x = x + x1 - cx - edit->xofs_edit + pango_weak_pos.x / PANGO_SCALE;
|
||||
+ weak_pos->y = y + y1 - cy - edit->yofs_edit + pango_weak_pos.y / PANGO_SCALE;
|
||||
+ weak_pos->width = 0;
|
||||
+ weak_pos->height = pango_weak_pos.height / PANGO_SCALE;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+update_im_cursor_location (ECellTextView *tv)
|
||||
+{
|
||||
+ CellEdit *edit=tv->edit;
|
||||
+ GdkRectangle area;
|
||||
+
|
||||
+ e_cell_text_get_cursor_locations (tv, &area, NULL);
|
||||
+
|
||||
+ gtk_im_context_set_cursor_location (edit->im_context, &area);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
e_cell_text_preedit_changed_cb (GtkIMContext *context,
|
||||
ECellTextView *tv)
|
||||
{
|
||||
@@ -1871,10 +1936,12 @@
|
||||
CellEdit *edit=tv->edit;
|
||||
gtk_im_context_get_preedit_string (edit->im_context, &preedit_string,
|
||||
NULL, &cursor_pos);
|
||||
-
|
||||
+
|
||||
edit->preedit_length = strlen (preedit_string);
|
||||
- cursor_pos = CLAMP (cursor_pos, 0, g_utf8_strlen (preedit_string, -1));
|
||||
+ cursor_pos = CLAMP (cursor_pos, 0, g_utf8_strlen (preedit_string, -1));
|
||||
+ edit->preedit_pos = g_utf8_offset_to_pointer (preedit_string, cursor_pos) - preedit_string;
|
||||
g_free (preedit_string);
|
||||
+
|
||||
ect_queue_redraw (tv, edit->view_col, edit->row);
|
||||
}
|
||||
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
--- evolution-2.7.90/widgets/text/e-text.c.deleting-preedit-buffer 2006-07-26 10:16:02.000000000 -0400
|
||||
+++ evolution-2.7.90/widgets/text/e-text.c 2006-07-26 10:25:29.000000000 -0400
|
||||
@@ -284,7 +284,7 @@
|
||||
PangoAttrList *preedit_attrs = NULL;
|
||||
gchar *preedit_string = NULL;
|
||||
GString *tmp_string = g_string_new (NULL);
|
||||
- gint length = 0, cpos = 0, preedit_length = 0;
|
||||
+ gint length = 0, cpos = 0;
|
||||
gboolean new_attrs = FALSE;
|
||||
|
||||
if (text->layout == NULL || !GTK_IS_IM_CONTEXT (text->im_context))
|
||||
@@ -295,19 +295,15 @@
|
||||
|
||||
g_string_prepend_len (tmp_string, text->text,length);
|
||||
|
||||
- if (text->preedit_len)
|
||||
- gtk_im_context_get_preedit_string (text->im_context,
|
||||
- &preedit_string, &preedit_attrs,
|
||||
- NULL);
|
||||
+ /* we came into this function only when text->preedit_len was not 0
|
||||
+ so we can saftely fetch the preedit string */
|
||||
+ gtk_im_context_get_preedit_string (text->im_context, &preedit_string, &preedit_attrs, NULL);
|
||||
|
||||
if (preedit_string && g_utf8_validate (preedit_string, -1, NULL))
|
||||
- text->preedit_len = preedit_length = strlen (preedit_string);
|
||||
- else
|
||||
- text->preedit_len = preedit_length = 0;
|
||||
-
|
||||
- cpos = g_utf8_offset_to_pointer (text->text, text->selection_start) - text->text;
|
||||
+ {
|
||||
+ text->preedit_len = strlen (preedit_string);
|
||||
+ cpos = g_utf8_offset_to_pointer (text->text, text->selection_start) - text->text;
|
||||
|
||||
- if (preedit_length) {
|
||||
g_string_insert (tmp_string, cpos, preedit_string);
|
||||
|
||||
reset_layout_attrs (text);
|
||||
@@ -320,15 +316,17 @@
|
||||
|
||||
pango_layout_set_text (text->layout, tmp_string->str, tmp_string->len);
|
||||
|
||||
- pango_attr_list_splice (attrs, preedit_attrs, cpos, preedit_length);
|
||||
+ pango_attr_list_splice (attrs, preedit_attrs, cpos, text->preedit_len);
|
||||
|
||||
if (new_attrs) {
|
||||
pango_layout_set_attributes (text->layout, attrs);
|
||||
pango_attr_list_unref (attrs);
|
||||
- }
|
||||
+ }
|
||||
|
||||
update_im_cursor_position (text);
|
||||
}
|
||||
+ else
|
||||
+ text->preedit_len = 0;
|
||||
|
||||
if (preedit_string)
|
||||
g_free (preedit_string);
|
||||
@@ -385,9 +383,12 @@
|
||||
pango_attr_list_insert_before (attrs, attr);
|
||||
}
|
||||
}
|
||||
+
|
||||
pango_layout_set_attributes (text->layout, attrs);
|
||||
+
|
||||
if (attrs)
|
||||
pango_attr_list_unref (attrs);
|
||||
+
|
||||
calc_height (text);
|
||||
}
|
||||
|
||||
@@ -1510,9 +1511,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
-
|
||||
- if (text->im_context_signals_registered)
|
||||
- insert_preedit_text (text);
|
||||
+ /* Insert preedit text only when im_context signals are connected & text->preedit_len is not zero */
|
||||
+ if (text->im_context_signals_registered && text->preedit_len)
|
||||
+ insert_preedit_text (text);
|
||||
+
|
||||
+ /* Need to reset the layout to cleanly clear the preedit buffer
|
||||
+ * when typing in CJK & using backspace on the preedit */
|
||||
+ if(!text->preedit_len)
|
||||
+ reset_layout (text);
|
||||
|
||||
if (!pango_layout_get_text (text->layout))
|
||||
return;
|
||||
@@ -2220,11 +2226,12 @@
|
||||
*/
|
||||
|
||||
if (save_text && save_text->im_context) {
|
||||
+ gtk_im_context_focus_out(save_text->im_context);
|
||||
g_signal_handlers_disconnect_matched (save_text->im_context,
|
||||
G_SIGNAL_MATCH_DATA,
|
||||
0, 0, NULL,
|
||||
NULL, save_text);
|
||||
- save_text->im_context_signals_registered = FALSE;
|
||||
+ save_text->im_context_signals_registered = FALSE;
|
||||
reset_layout (save_text);
|
||||
}
|
||||
|
||||
@@ -2240,6 +2247,7 @@
|
||||
G_CALLBACK (e_text_delete_surrounding_cb), text);
|
||||
text->im_context_signals_registered = TRUE;
|
||||
}
|
||||
+ gtk_im_context_focus_in(text->im_context);
|
||||
}
|
||||
start_editing (text);
|
||||
text->show_cursor = FALSE; /* so we'll redraw and the cursor will be shown */
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-2.7.92/shell/main.c.fix-prgname 2006-08-28 11:04:44.000000000 -0400
|
||||
+++ evolution-2.7.92/shell/main.c 2006-08-28 11:04:56.000000000 -0400
|
||||
@@ -516,7 +516,7 @@
|
||||
|
||||
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
|
||||
|
||||
- program = gnome_program_init (PACKAGE "-" BASE_VERSION, VERSION, LIBGNOMEUI_MODULE, argc, argv,
|
||||
+ program = gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv,
|
||||
GNOME_PROGRAM_STANDARD_PROPERTIES,
|
||||
GNOME_PARAM_GOPTION_CONTEXT, context,
|
||||
GNOME_PARAM_HUMAN_READABLE_NAME, _("Evolution"),
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
--- evolution-2.9.91/plugins/print-message/print-message.c.fix-indic-printing 2007-02-12 01:58:01.000000000 -0500
|
||||
+++ evolution-2.9.91/plugins/print-message/print-message.c 2007-02-12 13:30:17.000000000 -0500
|
||||
@@ -83,7 +83,7 @@
|
||||
data->config = e_print_load_settings ();
|
||||
data->preview = 0;
|
||||
|
||||
- data->msg = e_msg_composer_get_message (composer, 1);
|
||||
+ data->msg = e_msg_composer_get_message_print (composer, 1);
|
||||
dialog = (GtkDialog *)e_print_get_dialog_with_config (_("Print Message"), 0, data->config);
|
||||
gtk_dialog_set_default_response(dialog, GTK_RESPONSE_OK);
|
||||
e_dialog_set_transient_for ((GtkWindow *) dialog, (GtkWidget *) composer);
|
||||
@@ -102,7 +102,7 @@
|
||||
data->config = e_print_load_settings ();
|
||||
data->preview = 0;
|
||||
|
||||
- data->msg = e_msg_composer_get_message (composer, 1);
|
||||
+ data->msg = e_msg_composer_get_message_print (composer, 1);
|
||||
|
||||
print_response(NULL, GTK_RESPONSE_APPLY, data);
|
||||
}
|
||||
--- evolution-2.9.91/composer/e-msg-composer.h.fix-indic-printing 2007-01-22 10:23:06.000000000 -0500
|
||||
+++ evolution-2.9.91/composer/e-msg-composer.h 2007-02-12 13:29:24.000000000 -0500
|
||||
@@ -101,6 +101,8 @@
|
||||
CamelMimePart *part);
|
||||
CamelMimeMessage *e_msg_composer_get_message (EMsgComposer *composer,
|
||||
gboolean save_html_object_data);
|
||||
+CamelMimeMessage *e_msg_composer_get_message_print (EMsgComposer *composer,
|
||||
+ gboolean save_html_object_data);
|
||||
CamelMimeMessage *e_msg_composer_get_message_draft (EMsgComposer *composer);
|
||||
void e_msg_composer_show_sig_file (EMsgComposer *composer);
|
||||
gboolean e_msg_composer_get_send_html (EMsgComposer *composer);
|
||||
--- evolution-2.9.91/composer/e-msg-composer.c.fix-indic-printing 2007-02-12 13:29:24.000000000 -0500
|
||||
+++ evolution-2.9.91/composer/e-msg-composer.c 2007-02-12 13:29:24.000000000 -0500
|
||||
@@ -5267,6 +5267,49 @@
|
||||
}
|
||||
|
||||
CamelMimeMessage *
|
||||
+e_msg_composer_get_message_print (EMsgComposer *composer, gboolean save_html_object_data)
|
||||
+{
|
||||
+ EMsgComposer *temp_composer;
|
||||
+ CamelMimeMessage *msg;
|
||||
+ GString *flags;
|
||||
+
|
||||
+ msg = build_message (composer, save_html_object_data);
|
||||
+ temp_composer = e_msg_composer_new_with_message (msg);
|
||||
+ camel_object_unref (msg);
|
||||
+
|
||||
+ /* build flags string */
|
||||
+ flags = g_string_sized_new (128);
|
||||
+ if (temp_composer->priv->send_html)
|
||||
+ g_string_append (flags, "text/html");
|
||||
+ else
|
||||
+ g_string_append (flags, "text/plain");
|
||||
+ if (temp_composer->priv->pgp_sign)
|
||||
+ g_string_append (flags, ", pgp-sign");
|
||||
+ if (temp_composer->priv->pgp_encrypt)
|
||||
+ g_string_append (flags, ", pgp-encrypt");
|
||||
+ if (temp_composer->priv->smime_sign)
|
||||
+ g_string_append (flags, ", smime-sign");
|
||||
+ if (temp_composer->priv->smime_encrypt)
|
||||
+ g_string_append (flags, ", smime-encrypt");
|
||||
+
|
||||
+ /* override composer flags */
|
||||
+ temp_composer->priv->send_html = TRUE;
|
||||
+ temp_composer->priv->pgp_sign = FALSE;
|
||||
+ temp_composer->priv->pgp_encrypt = FALSE;
|
||||
+ temp_composer->priv->smime_sign = FALSE;
|
||||
+ temp_composer->priv->smime_encrypt = FALSE;
|
||||
+
|
||||
+ msg = build_message (temp_composer, save_html_object_data);
|
||||
+ camel_medium_set_header (CAMEL_MEDIUM (msg),
|
||||
+ "X-Evolution-Format", flags->str);
|
||||
+
|
||||
+ e_msg_composer_delete (temp_composer);
|
||||
+ g_string_free (flags, TRUE);
|
||||
+
|
||||
+ return msg;
|
||||
+}
|
||||
+
|
||||
+CamelMimeMessage *
|
||||
e_msg_composer_get_message_draft (EMsgComposer *composer)
|
||||
{
|
||||
CamelMimeMessage *msg;
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
--- evolution-2.8.0/widgets/text/e-text.c.indic-cursor-movement 2006-09-13 14:53:39.000000000 -0400
|
||||
+++ evolution-2.8.0/widgets/text/e-text.c 2006-09-13 14:53:48.000000000 -0400
|
||||
@@ -2876,6 +2876,76 @@
|
||||
}
|
||||
}
|
||||
|
||||
+
|
||||
+
|
||||
+/* direction = TRUE (move forward), FALSE (move backward)
|
||||
+ Any error shall return length(text->text) or 0 or text->selection_end (as deemed fit) */
|
||||
+static int
|
||||
+_get_updated_position (EText *text, gboolean direction)
|
||||
+{
|
||||
+ PangoLogAttr *log_attrs = NULL;
|
||||
+ gint n_attrs;
|
||||
+ char *p = NULL;
|
||||
+ gint new_pos = 0;
|
||||
+ gint length = 0;
|
||||
+
|
||||
+ /* Basic sanity test, return whatever position we are currently at. */
|
||||
+ g_return_val_if_fail (text->layout != NULL, text->selection_end);
|
||||
+
|
||||
+ length = g_utf8_strlen (text->text, -1);
|
||||
+
|
||||
+ /* length checks to make sure we are not wandering off into nonexistant memory... */
|
||||
+ if((text->selection_end >= length) && (TRUE == direction)) /* forward */
|
||||
+ return length;
|
||||
+ /* checking for -ve value wont hurt! */
|
||||
+ if((text->selection_end <= 0) && (FALSE == direction)) /* backward */
|
||||
+ return 0;
|
||||
+
|
||||
+ /* check for validness of full text->text */
|
||||
+ if(!g_utf8_validate(text->text, -1, NULL))
|
||||
+ return text->selection_end;
|
||||
+
|
||||
+ /* get layout's PangoLogAttr to facilitate moving when moving across grapheme cluster as in indic langs */
|
||||
+ pango_layout_get_log_attrs (text->layout, &log_attrs, &n_attrs);
|
||||
+
|
||||
+ /* Fetch the current char index in the line & keep moving
|
||||
+ forward until we can display cursor */
|
||||
+ p = g_utf8_offset_to_pointer (text->text, text->selection_end);
|
||||
+
|
||||
+ new_pos = text->selection_end;
|
||||
+ while(1)
|
||||
+ {
|
||||
+ /* check before moving forward/backwards if we have more chars to move or not */
|
||||
+ if(TRUE == direction)
|
||||
+ p = g_utf8_next_char (p);
|
||||
+ else
|
||||
+ p = g_utf8_prev_char (p);
|
||||
+
|
||||
+ /* validate the new string & return with original position if check fails */
|
||||
+ if(!g_utf8_validate (p, -1, NULL))
|
||||
+ break; /* will return old value of new_pos */
|
||||
+
|
||||
+ new_pos = g_utf8_pointer_to_offset (text->text, p);
|
||||
+
|
||||
+ /* if is_cursor_position is set, cursor can appear in front of character.
|
||||
+ i.e. this is a grapheme boundary AND make some sanity checks */
|
||||
+ if((new_pos >=0) && (new_pos < n_attrs) && (log_attrs[new_pos].is_cursor_position))
|
||||
+ break;
|
||||
+ else if((new_pos < 0) || (new_pos >= n_attrs))
|
||||
+ {
|
||||
+ new_pos = text->selection_end;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if(log_attrs)
|
||||
+ g_free(log_attrs);
|
||||
+
|
||||
+ return new_pos;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+
|
||||
static int
|
||||
_get_position(EText *text, ETextEventProcessorCommand *command)
|
||||
{
|
||||
@@ -2951,15 +3021,14 @@
|
||||
if (text->selection_end >= length)
|
||||
new_pos = length;
|
||||
else
|
||||
- new_pos = text->selection_end + 1;
|
||||
-
|
||||
+ new_pos = _get_updated_position(text, TRUE); /* get updated position to display cursor */
|
||||
+
|
||||
break;
|
||||
|
||||
case E_TEP_BACKWARD_CHARACTER:
|
||||
new_pos = 0;
|
||||
- if (text->selection_end >= 1) {
|
||||
- new_pos = text->selection_end - 1;
|
||||
- }
|
||||
+ if (text->selection_end >= 1)
|
||||
+ new_pos = _get_updated_position(text, FALSE); /* get updated position to display cursor */
|
||||
|
||||
break;
|
||||
|
||||
@@ -3341,6 +3410,7 @@
|
||||
if (!text->layout)
|
||||
create_layout (text);
|
||||
|
||||
+ /* We move cursor only if scroll is TRUE */
|
||||
if (scroll && !text->button_down) {
|
||||
/* XXX do we really need the @trailing logic here? if
|
||||
we don't we can scrap the loop and just use
|
||||
@@ -3349,7 +3419,9 @@
|
||||
int selection_index;
|
||||
PangoLayoutIter *iter = pango_layout_get_iter (text->layout);
|
||||
|
||||
+ /* check if we are using selection_start or selection_end for moving? */
|
||||
selection_index = use_start ? text->selection_start : text->selection_end;
|
||||
+
|
||||
/* convert to a byte index */
|
||||
selection_index = g_utf8_offset_to_pointer (text->text, selection_index) - text->text;
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,91 +0,0 @@
|
|||
--- evolution-2.9.1/calendar/gui/e-day-view.c.first-ascii 2006-11-06 11:25:23.000000000 -0500
|
||||
+++ evolution-2.9.1/calendar/gui/e-day-view.c 2006-11-06 11:34:32.000000000 -0500
|
||||
@@ -333,7 +333,7 @@
|
||||
static void e_day_view_start_editing_event (EDayView *day_view,
|
||||
gint day,
|
||||
gint event_num,
|
||||
- gchar *initial_text);
|
||||
+ GdkEventKey *key_event);
|
||||
static void e_day_view_stop_editing_event (EDayView *day_view);
|
||||
static gboolean e_day_view_text_keypress (GnomeCanvasItem *item,
|
||||
guint keyval,
|
||||
@@ -6012,7 +6012,6 @@
|
||||
ECalModel *model;
|
||||
ECalComponent *comp;
|
||||
gint day, event_num;
|
||||
- gchar *initial_text;
|
||||
guint keyval;
|
||||
gboolean stop_emission;
|
||||
time_t dtstart, dtend;
|
||||
@@ -6153,15 +6152,12 @@
|
||||
|
||||
/* We only want to start an edit with a return key or a simple
|
||||
character. */
|
||||
- if (keyval == GDK_Return) {
|
||||
- initial_text = NULL;
|
||||
- } else if (((keyval >= 0x20) && (keyval <= 0xFF)
|
||||
- && (event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))
|
||||
- || (event->length == 0)
|
||||
- || (keyval == GDK_Tab)) {
|
||||
+ if ((keyval != GDK_Return) &&
|
||||
+ (((keyval >= 0x20) && (keyval <= 0xFF)
|
||||
+ && (event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))
|
||||
+ || (event->length == 0)
|
||||
+ || (keyval == GDK_Tab)))
|
||||
return FALSE;
|
||||
- } else
|
||||
- initial_text = e_utf8_from_gtk_event_key (widget, event->keyval, event->string);
|
||||
|
||||
/* Add a new event covering the selected range */
|
||||
icalcomp = e_cal_model_create_component_with_defaults (model);
|
||||
@@ -6207,15 +6203,11 @@
|
||||
gtk_widget_queue_draw (day_view->main_canvas);
|
||||
|
||||
if (e_day_view_find_event_from_uid (day_view, ecal, uid, NULL, &day, &event_num)) {
|
||||
- e_day_view_start_editing_event (day_view, day, event_num,
|
||||
- initial_text);
|
||||
+ e_day_view_start_editing_event (day_view, day, event_num, event);
|
||||
} else {
|
||||
g_warning ("Couldn't find event to start editing.\n");
|
||||
}
|
||||
|
||||
- if (initial_text)
|
||||
- g_free (initial_text);
|
||||
-
|
||||
g_object_unref (comp);
|
||||
|
||||
return TRUE;
|
||||
@@ -6897,7 +6889,7 @@
|
||||
e_day_view_start_editing_event (EDayView *day_view,
|
||||
gint day,
|
||||
gint event_num,
|
||||
- gchar *initial_text)
|
||||
+ GdkEventKey *key_event)
|
||||
{
|
||||
EDayViewEvent *event;
|
||||
ETextEventProcessor *event_processor = NULL;
|
||||
@@ -6937,10 +6929,20 @@
|
||||
rid of the start and end times. */
|
||||
e_canvas_item_grab_focus (event->canvas_item, TRUE);
|
||||
|
||||
- if (initial_text) {
|
||||
- gnome_canvas_item_set (event->canvas_item,
|
||||
- "text", initial_text,
|
||||
- NULL);
|
||||
+ if (key_event) {
|
||||
+ if (gtk_im_context_filter_keypress (((EText *)(event->canvas_item))->im_context, key_event)) {
|
||||
+ ((EText *)(event->canvas_item))->need_im_reset = TRUE;
|
||||
+ }
|
||||
+ else {
|
||||
+ char *initial_text;
|
||||
+
|
||||
+ initial_text = e_utf8_from_gtk_event_key (GTK_WIDGET (day_view), key_event->keyval, key_event->string);
|
||||
+ gnome_canvas_item_set (event->canvas_item,
|
||||
+ "text", initial_text,
|
||||
+ NULL);
|
||||
+ if (initial_text)
|
||||
+ g_free (initial_text);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Try to move the cursor to the end of the text. */
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
--- evolution-2.9.1/calendar/gui/e-day-view.c.im-context-reset 2006-11-06 10:14:26.000000000 -0500
|
||||
+++ evolution-2.9.1/calendar/gui/e-day-view.c 2006-11-06 10:15:39.000000000 -0500
|
||||
@@ -6928,6 +6928,9 @@
|
||||
if (!event->canvas_item)
|
||||
return;
|
||||
|
||||
+ /* Reset IM context. */
|
||||
+ gtk_im_context_reset (E_TEXT (event->canvas_item)->im_context);
|
||||
+
|
||||
/* We must grab the focus before setting the initial text, since
|
||||
grabbing the focus will result in a call to
|
||||
e_day_view_on_editing_started(), which will reset the text to get
|
||||
|
|
@ -1,299 +0,0 @@
|
|||
--- evolution-2.9.1/mail/message-list.c.ememory 2006-10-25 11:11:34.000000000 -0400
|
||||
+++ evolution-2.9.1/mail/message-list.c 2006-10-25 11:15:12.000000000 -0400
|
||||
@@ -412,70 +412,28 @@
|
||||
return info;
|
||||
}
|
||||
|
||||
-static const char *
|
||||
-get_normalised_string (MessageList *message_list, CamelMessageInfo *info, int col)
|
||||
+static const gchar *
|
||||
+get_normalised_string (MessageList *message_list, const gchar *string)
|
||||
{
|
||||
- const char *string, *str;
|
||||
- char *normalised;
|
||||
- EPoolv *poolv;
|
||||
- int index;
|
||||
-
|
||||
- switch (col) {
|
||||
- case COL_SUBJECT_NORM:
|
||||
- string = camel_message_info_subject (info);
|
||||
- index = NORMALISED_SUBJECT;
|
||||
- break;
|
||||
- case COL_FROM_NORM:
|
||||
- string = camel_message_info_from (info);
|
||||
- index = NORMALISED_FROM;
|
||||
- break;
|
||||
- case COL_TO_NORM:
|
||||
- string = camel_message_info_to (info);
|
||||
- index = NORMALISED_TO;
|
||||
- break;
|
||||
- default:
|
||||
- string = NULL;
|
||||
- index = NORMALISED_LAST;
|
||||
- g_assert_not_reached ();
|
||||
- }
|
||||
-
|
||||
- /* slight optimisation */
|
||||
- if (string == NULL || string[0] == '\0')
|
||||
+ GHashTable *hash_table = message_list->normalised_hash;
|
||||
+ GStringChunk *string_chunk = message_list->string_chunk;
|
||||
+ gchar *collation_key, *temp;
|
||||
+
|
||||
+ if (string == NULL || *string == '\0')
|
||||
return "";
|
||||
-
|
||||
- poolv = g_hash_table_lookup (message_list->normalised_hash, camel_message_info_uid (info));
|
||||
- if (poolv == NULL) {
|
||||
- poolv = e_poolv_new (NORMALISED_LAST);
|
||||
- g_hash_table_insert (message_list->normalised_hash, (char *) camel_message_info_uid (info), poolv);
|
||||
- } else {
|
||||
- str = e_poolv_get (poolv, index);
|
||||
- if (*str)
|
||||
- return str;
|
||||
- }
|
||||
-
|
||||
- if (col == COL_SUBJECT_NORM) {
|
||||
- const unsigned char *subject;
|
||||
-
|
||||
- subject = (const unsigned char *) string;
|
||||
- while (!g_ascii_strncasecmp (subject, "Re:", 3)) {
|
||||
- subject += 3;
|
||||
-
|
||||
- /* jump over any spaces */
|
||||
- while (*subject && isspace ((int) *subject))
|
||||
- subject++;
|
||||
- }
|
||||
-
|
||||
- /* jump over any spaces */
|
||||
- while (*subject && isspace ((int) *subject))
|
||||
- subject++;
|
||||
-
|
||||
- string = (const char *) subject;
|
||||
- }
|
||||
-
|
||||
- normalised = g_utf8_collate_key (string, -1);
|
||||
- e_poolv_set (poolv, index, normalised, TRUE);
|
||||
-
|
||||
- return e_poolv_get (poolv, index);
|
||||
+
|
||||
+ collation_key = g_hash_table_lookup (hash_table, string);
|
||||
+ if (collation_key != NULL)
|
||||
+ return collation_key;
|
||||
+
|
||||
+ temp = g_utf8_collate_key (string, -1);
|
||||
+ collation_key = g_string_chunk_insert_const (string_chunk, temp);
|
||||
+ g_free (temp);
|
||||
+
|
||||
+ temp = g_string_chunk_insert_const (string_chunk, string);
|
||||
+ g_hash_table_insert (hash_table, temp, collation_key);
|
||||
+
|
||||
+ return collation_key;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -1283,12 +1241,23 @@
|
||||
str = camel_message_info_from (msg_info);
|
||||
return (void *)(str ? str : "");
|
||||
case COL_FROM_NORM:
|
||||
- return (void *) get_normalised_string (message_list, msg_info, col);
|
||||
+ str = camel_message_info_from (msg_info);
|
||||
+ return (void *) get_normalised_string (message_list, str);
|
||||
case COL_SUBJECT:
|
||||
str = camel_message_info_subject (msg_info);
|
||||
return (void *)(str ? str : "");
|
||||
case COL_SUBJECT_NORM:
|
||||
- return (void *) get_normalised_string (message_list, msg_info, col);
|
||||
+ str = camel_message_info_subject (msg_info);
|
||||
+ while (str != NULL && *str != '\0') {
|
||||
+ /* skip over spaces and reply prefixes */
|
||||
+ if (g_ascii_strncasecmp (str, "Re:", 3) == 0)
|
||||
+ str += 3;
|
||||
+ else if (g_ascii_isspace (*str))
|
||||
+ str++;
|
||||
+ else
|
||||
+ break;
|
||||
+ }
|
||||
+ return (void *) get_normalised_string (message_list, str);
|
||||
case COL_SENT: {
|
||||
ETreePath child;
|
||||
|
||||
@@ -1312,7 +1281,8 @@
|
||||
str = camel_message_info_to (msg_info);
|
||||
return (void *)(str ? str : "");
|
||||
case COL_TO_NORM:
|
||||
- return (void *) get_normalised_string (message_list, msg_info, col);
|
||||
+ str = camel_message_info_to (msg_info);
|
||||
+ return (void *) get_normalised_string (message_list, str);
|
||||
case COL_SIZE:
|
||||
return GINT_TO_POINTER (camel_message_info_size(msg_info));
|
||||
case COL_DELETED:
|
||||
@@ -2023,9 +1993,10 @@
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
|
||||
|
||||
message_list->normalised_hash = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
+ message_list->string_chunk = g_string_chunk_new (1024);
|
||||
|
||||
message_list->hidden = NULL;
|
||||
- message_list->hidden_pool = NULL;
|
||||
+ message_list->hidden_string_chunk = NULL;
|
||||
message_list->hide_before = ML_HIDE_NONE_START;
|
||||
message_list->hide_after = ML_HIDE_NONE_END;
|
||||
|
||||
@@ -2054,14 +2025,6 @@
|
||||
g_signal_connect (((GtkScrolledWindow *) message_list)->vscrollbar, "value-changed", G_CALLBACK (ml_scrolled), message_list);
|
||||
}
|
||||
|
||||
-static gboolean
|
||||
-normalised_free (gpointer key, gpointer value, gpointer user_data)
|
||||
-{
|
||||
- e_poolv_destroy (value);
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
static void
|
||||
message_list_destroy(GtkObject *object)
|
||||
{
|
||||
@@ -2127,17 +2090,17 @@
|
||||
MessageList *message_list = MESSAGE_LIST (object);
|
||||
struct _MessageListPrivate *p = message_list->priv;
|
||||
|
||||
- g_hash_table_foreach (message_list->normalised_hash, (GHFunc) normalised_free, NULL);
|
||||
g_hash_table_destroy (message_list->normalised_hash);
|
||||
+ g_string_chunk_free (message_list->string_chunk);
|
||||
|
||||
if (message_list->thread_tree)
|
||||
camel_folder_thread_messages_unref(message_list->thread_tree);
|
||||
|
||||
if (message_list->hidden) {
|
||||
g_hash_table_destroy(message_list->hidden);
|
||||
- e_mempool_destroy(message_list->hidden_pool);
|
||||
+ g_string_chunk_free(message_list->hidden_string_chunk);
|
||||
message_list->hidden = NULL;
|
||||
- message_list->hidden_pool = NULL;
|
||||
+ message_list->hidden_string_chunk = NULL;
|
||||
}
|
||||
|
||||
g_free(message_list->search);
|
||||
@@ -2940,17 +2903,6 @@
|
||||
d(printf("changed = %d added = %d removed = %d\n",
|
||||
changes->uid_changed->len, changes->uid_added->len, changes->uid_removed->len));
|
||||
|
||||
- for (i = 0; i < changes->uid_removed->len; i++) {
|
||||
- /* uncache the normalised strings for these uids */
|
||||
- EPoolv *poolv;
|
||||
-
|
||||
- poolv = g_hash_table_lookup (ml->normalised_hash, changes->uid_removed->pdata[i]);
|
||||
- if (poolv != NULL) {
|
||||
- g_hash_table_remove (ml->normalised_hash, changes->uid_removed->pdata[i]);
|
||||
- e_poolv_destroy (poolv);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
/* check if the hidden state has changed, if so modify accordingly, then regenerate */
|
||||
if (ml->hidejunk || ml->hidedeleted)
|
||||
mail_folder_hide_by_flag (folder, ml, &changes, (ml->hidejunk ? CAMEL_MESSAGE_JUNK : 0) | (ml->hidedeleted ? CAMEL_MESSAGE_DELETED : 0));
|
||||
@@ -3028,7 +2980,11 @@
|
||||
}
|
||||
|
||||
/* reset the normalised sort performance hack */
|
||||
- g_hash_table_foreach_remove (message_list->normalised_hash, normalised_free, NULL);
|
||||
+ /* XXX GLib 2.12 added g_hash_table_remove_all() */
|
||||
+ g_hash_table_destroy (message_list->normalised_hash);
|
||||
+ message_list->normalised_hash = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
+ g_string_chunk_free (message_list->string_chunk);
|
||||
+ message_list->string_chunk = g_string_chunk_new (1024);
|
||||
|
||||
mail_regen_cancel(message_list);
|
||||
|
||||
@@ -3479,14 +3435,14 @@
|
||||
MESSAGE_LIST_LOCK (ml, hide_lock);
|
||||
if (ml->hidden == NULL) {
|
||||
ml->hidden = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
- ml->hidden_pool = e_mempool_new (512, 256, E_MEMPOOL_ALIGN_BYTE);
|
||||
+ ml->hidden_string_chunk = g_string_chunk_new (512);
|
||||
}
|
||||
|
||||
- uid = e_mempool_strdup (ml->hidden_pool, uids->pdata[i]);
|
||||
+ uid = g_string_chunk_insert (ml->hidden_string_chunk, uids->pdata[i]);
|
||||
g_hash_table_insert (ml->hidden, uid, uid);
|
||||
for ( ; i < uids->len; i++) {
|
||||
if (g_hash_table_lookup (ml->uid_nodemap, uids->pdata[i])) {
|
||||
- uid = e_mempool_strdup (ml->hidden_pool, uids->pdata[i]);
|
||||
+ uid = g_string_chunk_insert (ml->hidden_string_chunk, uids->pdata[i]);
|
||||
g_hash_table_insert (ml->hidden, uid, uid);
|
||||
}
|
||||
}
|
||||
@@ -3507,9 +3463,9 @@
|
||||
MESSAGE_LIST_LOCK (ml, hide_lock);
|
||||
if (ml->hidden) {
|
||||
g_hash_table_destroy (ml->hidden);
|
||||
- e_mempool_destroy (ml->hidden_pool);
|
||||
+ g_string_chunk_free (ml->hidden_string_chunk);
|
||||
ml->hidden = NULL;
|
||||
- ml->hidden_pool = NULL;
|
||||
+ ml->hidden_string_chunk = NULL;
|
||||
}
|
||||
ml->hide_before = ML_HIDE_NONE_START;
|
||||
ml->hide_after = ML_HIDE_NONE_END;
|
||||
@@ -3545,9 +3501,9 @@
|
||||
MESSAGE_LIST_LOCK(ml, hide_lock);
|
||||
if (ml->hidden) {
|
||||
g_hash_table_destroy (ml->hidden);
|
||||
- e_mempool_destroy (ml->hidden_pool);
|
||||
+ g_string_chunk_free (ml->hidden_string_chunk);
|
||||
ml->hidden = NULL;
|
||||
- ml->hidden_pool = NULL;
|
||||
+ ml->hidden_string_chunk = NULL;
|
||||
}
|
||||
ml->hide_before = ML_HIDE_NONE_START;
|
||||
ml->hide_after = ML_HIDE_NONE_END;
|
||||
@@ -3558,7 +3514,7 @@
|
||||
camel_file_util_decode_fixed_int32 (in, &version);
|
||||
if (version == HIDE_STATE_VERSION) {
|
||||
ml->hidden = g_hash_table_new(g_str_hash, g_str_equal);
|
||||
- ml->hidden_pool = e_mempool_new(512, 256, E_MEMPOOL_ALIGN_BYTE);
|
||||
+ ml->hidden_string_chunk = g_string_chunk_new(512);
|
||||
camel_file_util_decode_fixed_int32 (in, &lower);
|
||||
ml->hide_before = lower;
|
||||
camel_file_util_decode_fixed_int32 (in, &upper);
|
||||
@@ -3567,7 +3523,7 @@
|
||||
char *olduid, *uid;
|
||||
|
||||
if (camel_file_util_decode_string (in, &olduid) != -1) {
|
||||
- uid = e_mempool_strdup(ml->hidden_pool, olduid);
|
||||
+ uid = g_string_chunk_insert(ml->hidden_string_chunk, olduid);
|
||||
g_free (olduid);
|
||||
g_hash_table_insert(ml->hidden, uid, uid);
|
||||
}
|
||||
@@ -3717,12 +3673,12 @@
|
||||
|
||||
if (m->ml->hidden == NULL) {
|
||||
m->ml->hidden = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
- m->ml->hidden_pool = e_mempool_new (512, 256, E_MEMPOOL_ALIGN_BYTE);
|
||||
+ m->ml->hidden_string_chunk = g_string_chunk_new (512);
|
||||
}
|
||||
|
||||
for (i = 0; i < uidnew->len; i++) {
|
||||
if (g_hash_table_lookup (m->ml->hidden, uidnew->pdata[i]) == 0) {
|
||||
- char *uid = e_mempool_strdup (m->ml->hidden_pool, uidnew->pdata[i]);
|
||||
+ char *uid = g_string_chunk_insert (m->ml->hidden_string_chunk, uidnew->pdata[i]);
|
||||
g_hash_table_insert (m->ml->hidden, uid, uid);
|
||||
}
|
||||
}
|
||||
--- evolution-2.9.1/mail/message-list.h.ememory 2006-09-28 04:56:51.000000000 -0400
|
||||
+++ evolution-2.9.1/mail/message-list.h 2006-10-25 11:15:12.000000000 -0400
|
||||
@@ -102,11 +102,12 @@
|
||||
GHashTable *uid_nodemap; /* uid (from info) -> tree node mapping */
|
||||
|
||||
GHashTable *normalised_hash;
|
||||
+ GStringChunk *string_chunk;
|
||||
|
||||
/* UID's to hide. Keys in the mempool */
|
||||
/* IMPORTANT: You MUST have obtained the hide lock, to operate on this data */
|
||||
GHashTable *hidden;
|
||||
- struct _EMemPool *hidden_pool;
|
||||
+ GStringChunk *hidden_string_chunk;
|
||||
int hide_unhidden; /* total length, before hiding */
|
||||
int hide_before, hide_after; /* hide ranges of messages */
|
||||
|
||||
|
|
@ -1,153 +0,0 @@
|
|||
--- evolution-2.9.2/mail/em-mailer-prefs.c.gtk-font-button 2006-08-09 04:43:27.000000000 -0400
|
||||
+++ evolution-2.9.2/mail/em-mailer-prefs.c 2006-11-11 08:31:53.000000000 -0500
|
||||
@@ -36,8 +36,8 @@
|
||||
#include <bonobo/bonobo-generic-factory.h>
|
||||
|
||||
#include <libgnomeui/gnome-color-picker.h>
|
||||
-#include <libgnomeui/gnome-font-picker.h>
|
||||
#include <gtk/gtkfilechooserbutton.h>
|
||||
+#include <gtk/gtkfontbutton.h>
|
||||
|
||||
#include <glade/glade.h>
|
||||
|
||||
@@ -535,12 +535,14 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-font_changed (GnomeFontPicker *fontpicker, const char *arg1, EMMailerPrefs *prefs)
|
||||
+font_changed (GtkFontButton *font_button, EMMailerPrefs *prefs)
|
||||
{
|
||||
- const char *key;
|
||||
+ const gchar *key;
|
||||
+ const gchar *font_name;
|
||||
|
||||
- key = g_object_get_data ((GObject *) fontpicker, "key");
|
||||
- gconf_client_set_string (prefs->gconf, key, gnome_font_picker_get_font_name (fontpicker), NULL);
|
||||
+ key = g_object_get_data (G_OBJECT (font_button), "key");
|
||||
+ font_name = gtk_font_button_get_font_name (font_button);
|
||||
+ gconf_client_set_string (prefs->gconf, key, font_name, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -841,8 +843,8 @@
|
||||
|
||||
/* Mail Fonts */
|
||||
font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL);
|
||||
- prefs->font_fixed = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontFixed"));
|
||||
- gnome_font_picker_set_font_name (prefs->font_fixed, font);
|
||||
+ prefs->font_fixed = GTK_FONT_BUTTON (glade_xml_get_widget (gui, "FontFixed"));
|
||||
+ gtk_font_button_set_font_name (prefs->font_fixed, font);
|
||||
g_free (font);
|
||||
g_object_set_data ((GObject *) prefs->font_fixed, "key", "/apps/evolution/mail/display/fonts/monospace");
|
||||
g_signal_connect (prefs->font_fixed, "font-set", G_CALLBACK (font_changed), prefs);
|
||||
@@ -850,8 +852,8 @@
|
||||
gtk_widget_set_sensitive ((GtkWidget *) prefs->font_fixed, FALSE);
|
||||
|
||||
font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/variable", NULL);
|
||||
- prefs->font_variable = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontVariable"));
|
||||
- gnome_font_picker_set_font_name (prefs->font_variable, font);
|
||||
+ prefs->font_variable = GTK_FONT_BUTTON (glade_xml_get_widget (gui, "FontVariable"));
|
||||
+ gtk_font_button_set_font_name (prefs->font_variable, font);
|
||||
g_free (font);
|
||||
g_object_set_data ((GObject *) prefs->font_variable, "key", "/apps/evolution/mail/display/fonts/variable");
|
||||
g_signal_connect (prefs->font_variable, "font-set", G_CALLBACK (font_changed), prefs);
|
||||
--- evolution-2.9.2/mail/em-mailer-prefs.h.gtk-font-button 2006-05-25 00:59:47.000000000 -0400
|
||||
+++ evolution-2.9.2/mail/em-mailer-prefs.h 2006-11-11 08:31:53.000000000 -0500
|
||||
@@ -39,7 +39,7 @@
|
||||
struct _GladeXML;
|
||||
struct _GnomeColorPicker;
|
||||
struct _GtkFileChooserbutton;
|
||||
-struct _GnomeFontPicker;
|
||||
+struct _GtkFontButton;
|
||||
struct _GConfClient;
|
||||
struct _GtkButton;
|
||||
struct _GtkTreeView;
|
||||
@@ -92,8 +92,8 @@
|
||||
struct _GtkFileChooserButton *notify_sound_file;
|
||||
|
||||
/* HTML Mail tab */
|
||||
- struct _GnomeFontPicker *font_variable;
|
||||
- struct _GnomeFontPicker *font_fixed;
|
||||
+ struct _GtkFontButton *font_variable;
|
||||
+ struct _GtkFontButton *font_fixed;
|
||||
struct _GtkToggleButton *font_share;
|
||||
|
||||
/* Loading Images */
|
||||
--- evolution-2.9.2/mail/mail-config.glade.gtk-font-button 2006-07-19 11:26:27.000000000 -0400
|
||||
+++ evolution-2.9.2/mail/mail-config.glade 2006-11-11 08:31:53.000000000 -0500
|
||||
@@ -4700,14 +4700,14 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="GnomeFontPicker" id="FontFixed">
|
||||
+ <widget class="GtkFontButton" id="FontFixed">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="title" translatable="yes">Select HTML fixed width font</property>
|
||||
- <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
|
||||
+ <property name="show_style">True</property>
|
||||
<property name="show_size">True</property>
|
||||
- <property name="use_font_in_label">False</property>
|
||||
- <property name="label_font_size">14</property>
|
||||
+ <property name="use_font">False</property>
|
||||
+ <property name="use_size">False</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="font_set" handler="changed"/>
|
||||
</widget>
|
||||
@@ -4722,14 +4722,14 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="GnomeFontPicker" id="FontVariable">
|
||||
+ <widget class="GtkFontButton" id="FontVariable">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="title" translatable="yes">Select HTML variable width font</property>
|
||||
- <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
|
||||
+ <property name="show_style">True</property>
|
||||
<property name="show_size">True</property>
|
||||
- <property name="use_font_in_label">False</property>
|
||||
- <property name="label_font_size">14</property>
|
||||
+ <property name="use_font">False</property>
|
||||
+ <property name="use_size">False</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="font_set" handler="changed"/>
|
||||
</widget>
|
||||
@@ -8484,14 +8484,14 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="GnomeFontPicker" id="print_fixed">
|
||||
+ <widget class="GtkFontButton" id="print_fixed">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="title" translatable="yes">Select HTML fixed width font for printing</property>
|
||||
- <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
|
||||
+ <property name="show_style">True</property>
|
||||
<property name="show_size">True</property>
|
||||
- <property name="use_font_in_label">False</property>
|
||||
- <property name="label_font_size">14</property>
|
||||
+ <property name="use_font">False</property>
|
||||
+ <property name="use_size">False</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="font_set" handler="changed"/>
|
||||
</widget>
|
||||
@@ -8506,14 +8506,14 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
- <widget class="GnomeFontPicker" id="print_variable">
|
||||
+ <widget class="GtkFontButton" id="print_variable">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="title" translatable="yes">Select HTML variable width font for printing</property>
|
||||
- <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
|
||||
+ <property name="show_style">True</property>
|
||||
<property name="show_size">True</property>
|
||||
- <property name="use_font_in_label">False</property>
|
||||
- <property name="label_font_size">14</property>
|
||||
+ <property name="use_font">False</property>
|
||||
+ <property name="use_size">False</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="font_set" handler="changed"/>
|
||||
</widget>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,86 +0,0 @@
|
|||
--- evolution-2.9.3/calendar/gui/e-meeting-list-view.c.meeting-list-view 2006-12-11 23:13:47.000000000 -0500
|
||||
+++ evolution-2.9.3/calendar/gui/e-meeting-list-view.c 2006-12-11 23:14:17.000000000 -0500
|
||||
@@ -623,18 +623,45 @@
|
||||
|
||||
}
|
||||
|
||||
+void
|
||||
+attendee_added_cb (EMeetingStore *store, GtkTreePath *path,
|
||||
+ GtkTreeIter *iter, EMeetingListView *view)
|
||||
+{
|
||||
+ EMeetingAttendee *attendee;
|
||||
+ gint row;
|
||||
+
|
||||
+ /* Add the new attendee to the name selector. */
|
||||
+ row = gtk_tree_path_get_indices (path) [0];
|
||||
+ attendee = e_meeting_store_find_attendee_at_row (store, row);
|
||||
+ e_meeting_list_view_add_attendee_to_name_selector (view, attendee);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+attendee_deleted_cb (EMeetingStore *store, GtkTreePath *path,
|
||||
+ EMeetingListView *view)
|
||||
+{
|
||||
+ EMeetingAttendee *attendee;
|
||||
+ gint row;
|
||||
+
|
||||
+ /* Remove the old attendee from the name selector. */
|
||||
+ row = gtk_tree_path_get_indices (path) [0];
|
||||
+ attendee = e_meeting_store_find_attendee_at_row (store, row);
|
||||
+ e_meeting_list_view_remove_attendee_from_name_selector (view, attendee);
|
||||
+}
|
||||
|
||||
EMeetingListView *
|
||||
e_meeting_list_view_new (EMeetingStore *store)
|
||||
{
|
||||
- EMeetingListView *view = g_object_new (E_TYPE_MEETING_LIST_VIEW, NULL);
|
||||
+ EMeetingListView *view;
|
||||
GtkTreeSelection *selection;
|
||||
|
||||
- if (view) {
|
||||
- view->priv->store = store;
|
||||
- gtk_tree_view_set_model (GTK_TREE_VIEW (view), GTK_TREE_MODEL (store));
|
||||
- build_table (view);
|
||||
- }
|
||||
+ view = g_object_new (E_TYPE_MEETING_LIST_VIEW, NULL);
|
||||
+ view->priv->store = store;
|
||||
+ gtk_tree_view_set_model (GTK_TREE_VIEW (view), GTK_TREE_MODEL (store));
|
||||
+ build_table (view);
|
||||
+
|
||||
+ g_signal_connect (store, "row-inserted", G_CALLBACK (attendee_added_cb), view);
|
||||
+ g_signal_connect (store, "row-deleted", G_CALLBACK (attendee_deleted_cb), view);
|
||||
|
||||
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(view));
|
||||
g_signal_connect (selection, "changed", G_CALLBACK (row_activated_cb), view);
|
||||
--- evolution-2.9.3/calendar/gui/e-meeting-store.c.meeting-list-view 2006-12-04 10:44:42.000000000 -0500
|
||||
+++ evolution-2.9.3/calendar/gui/e-meeting-store.c 2006-12-11 23:14:17.000000000 -0500
|
||||
@@ -794,14 +794,13 @@
|
||||
}
|
||||
|
||||
if (row != -1) {
|
||||
-
|
||||
- g_ptr_array_remove_index (store->priv->attendees, row);
|
||||
- g_object_unref (attendee);
|
||||
-
|
||||
path = gtk_tree_path_new ();
|
||||
gtk_tree_path_append_index (path, row);
|
||||
gtk_tree_model_row_deleted (GTK_TREE_MODEL (store), path);
|
||||
gtk_tree_path_free (path);
|
||||
+
|
||||
+ g_ptr_array_remove_index (store->priv->attendees, row);
|
||||
+ g_object_unref (attendee);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -815,10 +814,10 @@
|
||||
|
||||
for (i = 0; i < store->priv->attendees->len; i++) {
|
||||
EMeetingAttendee *attendee = g_ptr_array_index (store->priv->attendees, i);
|
||||
- g_object_unref (attendee);
|
||||
|
||||
gtk_tree_model_row_deleted (GTK_TREE_MODEL (store), path);
|
||||
gtk_tree_path_next (path);
|
||||
+ g_object_unref (attendee);
|
||||
}
|
||||
|
||||
g_ptr_array_set_size (store->priv->attendees, 0);
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
--- evolution-2.9.3/mail/mail-config.glade.source-path-entry 2006-12-08 20:15:16.000000000 -0500
|
||||
+++ evolution-2.9.3/mail/mail-config.glade 2006-12-08 20:16:13.000000000 -0500
|
||||
@@ -1343,7 +1343,7 @@
|
||||
<widget class="GtkFileChooserButton" id="source_path_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Mailbox location</property>
|
||||
- <property name="action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
|
||||
+ <property name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
|
||||
<property name="local_only">True</property>
|
||||
<property name="show_hidden">False</property>
|
||||
<property name="do_overwrite_confirmation">False</property>
|
||||
@@ -1354,7 +1354,6 @@
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
- <property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
--- evolution-2.9.3/mail/em-folder-properties.c.unread-messages 2006-12-09 09:00:08.000000000 -0500
|
||||
+++ evolution-2.9.3/mail/em-folder-properties.c 2006-12-09 09:00:09.000000000 -0500
|
||||
@@ -145,27 +145,27 @@
|
||||
gtk_widget_show (table);
|
||||
gtk_box_pack_start ((GtkBox *) parent, table, TRUE, TRUE, 0);
|
||||
|
||||
- /* TODO: can this be done in a loop? */
|
||||
/* to be on the safe side, ngettext is used here, see e.g. comment #3 at bug 272567 */
|
||||
- label = gtk_label_new (ngettext ("Total messages:", "Total messages:", prop_data->total));
|
||||
+ label = gtk_label_new (ngettext ("Unread messages:", "Unread messages:", prop_data->unread));
|
||||
gtk_widget_show (label);
|
||||
gtk_misc_set_alignment ((GtkMisc *) label, 0.0, 0.5);
|
||||
gtk_table_attach ((GtkTable *) table, label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0);
|
||||
|
||||
- sprintf(countstr, "%d", prop_data->total);
|
||||
+ sprintf(countstr, "%d", prop_data->unread);
|
||||
label = gtk_label_new (countstr);
|
||||
gtk_widget_show (label);
|
||||
gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5);
|
||||
gtk_table_attach ((GtkTable *) table, label, 1, 2, row, row+1, GTK_FILL | GTK_EXPAND, 0, 0, 0);
|
||||
row++;
|
||||
|
||||
+ /* TODO: can this be done in a loop? */
|
||||
/* to be on the safe side, ngettext is used here, see e.g. comment #3 at bug 272567 */
|
||||
- label = gtk_label_new (ngettext ("Unread messages:", "Unread messages:", prop_data->unread));
|
||||
+ label = gtk_label_new (ngettext ("Total messages:", "Total messages:", prop_data->total));
|
||||
gtk_widget_show (label);
|
||||
gtk_misc_set_alignment ((GtkMisc *) label, 0.0, 0.5);
|
||||
gtk_table_attach ((GtkTable *) table, label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0);
|
||||
|
||||
- sprintf(countstr, "%d", prop_data->unread);
|
||||
+ sprintf(countstr, "%d", prop_data->total);
|
||||
label = gtk_label_new (countstr);
|
||||
gtk_widget_show (label);
|
||||
gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5);
|
||||
--- evolution-2.9.3/mail/mail-component.c.unread-messages 2006-12-09 09:00:08.000000000 -0500
|
||||
+++ evolution-2.9.3/mail/mail-component.c 2006-12-09 09:00:09.000000000 -0500
|
||||
@@ -544,6 +544,9 @@
|
||||
|| g_ascii_strcasecmp(emfv->folder->full_name, ".") == 0)
|
||||
bits |= 8;
|
||||
|
||||
+ if (selected->len > 1)
|
||||
+ g_string_append_printf(tmp, ngettext ("%d selected, ", "%d selected, ", selected->len), selected->len);
|
||||
+
|
||||
if (bits == 1)
|
||||
g_string_append_printf(tmp, ngettext ("%d draft", "%d drafts", visible), visible);
|
||||
else if (bits == 2)
|
||||
@@ -553,13 +556,11 @@
|
||||
else {
|
||||
if (!emfv->hide_deleted)
|
||||
visible += deleted;
|
||||
+ if (unread && selected->len <= 1)
|
||||
+ g_string_append_printf(tmp, ngettext ("%d unread, ", "%d unread, ", unread), unread);
|
||||
g_string_append_printf(tmp, ngettext ("%d total", "%d total", visible), visible);
|
||||
- if (unread && selected->len <=1)
|
||||
- g_string_append_printf(tmp, ngettext (", %d unread", ", %d unread", unread), unread);
|
||||
}
|
||||
|
||||
- if (selected->len > 1)
|
||||
- g_string_append_printf(tmp, ngettext (", %d selected", ", %d selected", selected->len), selected->len);
|
||||
message_list_free_uids(emfv->list, selected);
|
||||
}
|
||||
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
--- evolution-2.9.3/mail/mail-ops.c.view-attachment-uri 2006-12-06 10:26:24.000000000 -0500
|
||||
+++ evolution-2.9.3/mail/mail-ops.c 2006-12-06 11:16:46.000000000 -0500
|
||||
@@ -2089,21 +2089,23 @@
|
||||
save_part_save (struct _mail_msg *mm)
|
||||
{
|
||||
struct _save_part_msg *m = (struct _save_part_msg *)mm;
|
||||
+ mode_t mode = S_IRUSR | S_IRGRP | S_IROTH;
|
||||
+ int flags = O_WRONLY | O_CREAT | O_TRUNC;
|
||||
CamelDataWrapper *content;
|
||||
CamelStream *stream;
|
||||
-
|
||||
- if(!m->readonly){
|
||||
- if (!(stream = camel_stream_vfs_new_with_uri (m->path, O_WRONLY | O_CREAT | O_TRUNC, 0644))) {
|
||||
- camel_exception_setv (&mm->ex, CAMEL_EXCEPTION_SYSTEM,
|
||||
- _("Cannot create output file: %s:\n %s"),
|
||||
- m->path, g_strerror (errno));
|
||||
- return;
|
||||
- }
|
||||
- } else if (!(stream = camel_stream_vfs_new_with_uri (m->path, O_WRONLY | O_CREAT | O_TRUNC, 0444))) {
|
||||
+ gchar *uri;
|
||||
+
|
||||
+ uri = g_filename_to_uri (m->path, NULL, NULL);
|
||||
+
|
||||
+ if (!m->readonly)
|
||||
+ mode |= S_IWUSR;
|
||||
+
|
||||
+ stream = camel_stream_vfs_new_with_uri (uri, flags, mode);
|
||||
+ if (stream == NULL) {
|
||||
camel_exception_setv (&mm->ex, CAMEL_EXCEPTION_SYSTEM,
|
||||
_("Cannot create output file: %s:\n %s"),
|
||||
m->path, g_strerror (errno));
|
||||
- return;
|
||||
+ goto exit;
|
||||
}
|
||||
|
||||
content = camel_medium_get_content_object (CAMEL_MEDIUM (m->part));
|
||||
@@ -2115,6 +2117,9 @@
|
||||
g_strerror (errno));
|
||||
|
||||
camel_object_unref (stream);
|
||||
+
|
||||
+exit:
|
||||
+ g_free (uri);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- evolution-2.9.4/mail/em-format-html.c.view-message-source 2006-12-20 10:51:00.000000000 -0500
|
||||
+++ evolution-2.9.4/mail/em-format-html.c 2006-12-21 10:08:02.000000000 -0500
|
||||
@@ -1872,7 +1872,7 @@
|
||||
filtered_stream = camel_stream_filter_new_with_stream ((CamelStream *) stream);
|
||||
html_filter = camel_mime_filter_tohtml_new (CAMEL_MIME_FILTER_TOHTML_CONVERT_NL
|
||||
| CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES
|
||||
- | CAMEL_MIME_FILTER_TOHTML_ESCAPE_8BIT, 0);
|
||||
+ | CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT, 0);
|
||||
camel_stream_filter_add(filtered_stream, html_filter);
|
||||
camel_object_unref(html_filter);
|
||||
|
||||
2552
evolution.spec
2552
evolution.spec
File diff suppressed because it is too large
Load diff
10
flatpak-evolution-fix-service-names.sh
Executable file
10
flatpak-evolution-fix-service-names.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# see https://gitlab.gnome.org/GNOME/glib/issues/1737
|
||||
# previous versions used milliseconds instead of seconds as the timeout argument",
|
||||
(`pkg-config --atleast-version 2.60.1 gio-2.0` || `pkg-config --atleast-version 2.61.0 gio-2.0`) && TIMEOUTMULT= || TIMEOUTMULT=000
|
||||
|
||||
sed -e "s|\@SOURCES_SERVICE\@|$(pkg-config --variable=sourcesdbusservicename evolution-data-server-1.2)|" \
|
||||
-e "s|\@ADDRESSBOOK_SERVICE\@|$(pkg-config --variable=addressbookdbusservicename evolution-data-server-1.2)|" \
|
||||
-e "s|\@CALENDAR_SERVICE\@|$(pkg-config --variable=calendardbusservicename evolution-data-server-1.2)|" \
|
||||
-e "s|\@TIMEOUTMULT\@|${TIMEOUTMULT}|"
|
||||
29
flatpak-evolution-wrapper.sh.in
Normal file
29
flatpak-evolution-wrapper.sh.in
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "--quit" -o "$1" = "--force-shutdown" ]; then
|
||||
/app/bin/evolution.bin "$@"
|
||||
else
|
||||
export BOGOFILTER_DIR="${XDG_DATA_HOME}/bogofilter/"
|
||||
export GIO_USE_NETWORK_MONITOR=base
|
||||
gsettings reset org.gnome.evolution-data-server network-monitor-gio-name
|
||||
|
||||
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @SOURCES_SERVICE@ | wc -l)
|
||||
if [ "${LINES}" = "0" ]; then
|
||||
/app/libexec/evolution-source-registry &
|
||||
gdbus wait --session --timeout=1@TIMEOUTMULT@ @SOURCES_SERVICE@
|
||||
fi
|
||||
|
||||
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @ADDRESSBOOK_SERVICE@ | wc -l)
|
||||
if [ "${LINES}" = "0" ]; then
|
||||
/app/libexec/evolution-addressbook-factory -r &
|
||||
gdbus wait --session --timeout=1@TIMEOUTMULT@ @ADDRESSBOOK_SERVICE@
|
||||
fi
|
||||
|
||||
LINES=$(gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames | grep @CALENDAR_SERVICE@ | wc -l)
|
||||
if [ "${LINES}" = "0" ]; then
|
||||
/app/libexec/evolution-calendar-factory -r &
|
||||
gdbus wait --session --timeout=1@TIMEOUTMULT@ @CALENDAR_SERVICE@
|
||||
fi
|
||||
|
||||
/app/bin/evolution.bin "$@"
|
||||
fi
|
||||
5
rpminspect.yaml
Normal file
5
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
runpath:
|
||||
allowed_paths:
|
||||
- /usr/lib/evolution
|
||||
- /usr/lib64/evolution
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
16051c6cbb617cb04665e402566e0976 evolution-2.10.1.tar.bz2
|
||||
SHA512 (evolution-3.59.1.tar.xz) = 26d6d4dfcdbc3d89f88d9e24096c7ff910d221119def75d7f80a397f682be96860726832c7c62b46769ce9cfcc15e5844cbcc016facc9b21b4eb9bbb2c17360d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue