1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
|
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* e-component-registry.c: Remove/replace unneeded includes and
move around stuff so that system headers are included first.
* e-corba-storage.c: Replace #include <bonobo.h>
* e-folder-tree.c: Shuffle.
* e-folder.c: Remove #include <gtk/gtkobject.h>
* e-local-storage.c: Replace #include <gnome.h> and <bonobo.h>
* e-setup.c: Replace #include <glib.h> and <gnome.h>
* e-shell-folder-creation-dialog.c: Replace #include <gnome.h>
* e-shell-folder-title-bar.c: Replace <gnome.h>
* e-shell-utils.c: Same here.
* e-shell-view-menu.c: Same here (and <bonobo.h>)
* e-shell-view.c: Replace <gnome.h> and <bonobo.h>
* e-shell.c: Replace <gnome.h>
* e-shell.h: Shuffle.
* e-shortcuts-view-model.c: Replace <gnome.h>
* e-shortcuts-view.c: Remove #include <gnome.h>
* e-shortcuts.c: Move <string.h> up.
* e-splash.c: Replace <gnome.h>
* e-storage-set-view.c: Replace <gnome.h>
* e-storage-set.c: Shuffle
* e-storage.c: Replace <gnome.h>
* evolution-local-storage.c: Same here
* evolution-local-storage.h: And here.
* evolution-session.c: Same here too.
* evolution-session.h: Replace <bonobo.h>
* evolution-shell-client.c: Here too.
* evolution-shell-component-client.c: Shuffle.
* evolution-shell-component.c: Replace <bonobo.h>
* evolution-shell-view.c: Remove #include <bonobo.h>
* evolution-shell-view.h: Replace <gnome.h>
* evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h>
* evolution-storage-listener.h: Replace <gnome.h>
* evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h>
* evolution-storage-set-view.c: Remove <gnome.h>
* evolution-storage.c: Replace <bonobo.h>
* main.c: Replace <gnome.h> and <bonobo.h>
* importer/importer.c: Replace <gnome.h>
* importer/intelligent.c: Replace <gnome.h>. Add prototype for
intelligent_importer_init().
* importer/intelligent.h: Added this file.
2001-03-28 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (folder_sort_callback): Use
`g_strcasecmp()' instead of `strcasecmp()'.
2001-03-28 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (storage_sort_callback,
folder_sort_callback): Use strcasecmp instead of strcmp.
2001-03-28 Ettore Perazzoli <ettore@ximian.com>
* e-local-storage.c (async_xfer_folder_callback):
s/new_folder/destination_folder/ where appropriate, idiot.
2001-03-28 Jon Trowbridge <trow@gnu.org>
* e-shell-view-menu.c: In a fit of egomania, added myself to the
authors array.
2001-03-26 Ettore Perazzoli <ettore@ximian.com>
* evolution-shell-component-client.c
(shell_component_result_from_corba_exception): Implement.
2001-03-26 Ettore Perazzoli <ettore@ximian.com>
* evolution-shell-component-client.c
(evolution_shell_component_client_async_xfer_folder): Handle CORBA
exception.
(evolution_shell_component_client_async_create_folder): Likewise.
* e-local-storage.c (create_folder_directory): Create the
`subfolders' directory if it doesn't exist.
* e-storage-set-view.c (tree_drag_data_received): Build the
correct target path by appending the basename from the source
path.
* evolution-shell-component.c
(impl_ShellComponent_async_xfer_folder): Enabled again.
(class_init): Install it.
* e-local-folder.c (METADATA_FILE_NAME_LEN): Removed #define.
(METADATA_FILE_NAME): Removed #define.
(save_metadata): Use the public
`E_LOCAL_FOLDER_METADATA_FILE_NAME' value instead.
(construct_loading_metadata): Likewise.
* e-local-folder.h (E_LOCAL_FOLDER_METADATA_FILE_NAME_LEN): New
#define.
(E_LOCAL_FOLDER_METADATA_FILE_NAME): New #define.
* e-local-storage.c (remove_folder_directory): New helper
function.
(async_xfer_folder_step): New.
(async_xfer_complete): New.
(async_xfer_folder_callback): New.
(impl_async_xfer_folder): Implement.
* e-storage.h: Added value `E_STORAGE_NOTEMPTY' to
`EStorageResult'.
* evolution-shell-component-client.c
(evolution_shell_component_clinet_async_xfer_folder): New.
2001-03-23 Ettore Perazzoli <ettore@ximian.com>
* e-local-storage.c (impl_async_xfer_folder): New, implementation
for `EStorage::async_xfer_folder'.
(class_init): Install it.
(check_valid_name): Removed. Conflicts shouldn't be handled this
way, and hardcoding the names is *bad*.
(create_folder_directory): New helper function.
(real_do_folder_create): Removed.
(create_folder): New. Do things here using
`create_folder_directory'.
(impl_async_create_folder): Use `create_folder'.
(notify_bonobo_listener): Renamed from `notify_listener'. Moved
on top for clarity.
2001-03-22 Iain Holmes <iain@ximian.com>
* importer/evolution-importer-listener.c (evolution_importer_listener_new):
Remove the usage of the corba_object thing.
(evolution_importer_listener_construct): Ditto.
* e-local-storage.c (real_do_folder_create): Revert the e_mkdir_hier call
to two seperate calls to mkdir. If the directory exists, just call the
callback and notify the listener.
* importer/GNOME_Evolution_Importer.idl: Add a folderpath paramater to the
loadFile method.
* importer/evolution-importer.[ch]: Update for the new folderpath param.
* importer/evolution-importer-client.[ch]: Ditto.
* importer/importer.c: Ditto.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (motion_notify_event): Unref the target
list we create on the fly.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-creation-dialog.c (async_create_cb): Changed
signature to match `EStorageSetResultCallback' instead of
`EStorageResultCallback', to match the changes in the async_create
API call.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c: Removed some unused static variables.
(set_evolution_path_selection): Removed unused variable
`evolution_path'.
* e-storage-set.c (e_storage_set_async_xfer_folder): Get an
`EStorageSetResultCallback', instead of an
`EStorageResultCallback'.
(e_storage_set_async_remove_folder): Likewise.
(e_storage_set_async_create_folder): Likewise.
(storage_callback_converter): New callback to convert from the
EStorageResultCallback to the EStorageSetResultCallback.
* e-storage-set.h: New typedef `EStorageSetResultCallback'.
* Evolution-ShellComponent.idl: Renamed `copyFolderAsync' into
`xferFolderAsync' for consistency.
* e-storage-set-view.c (tree_drag_data_received): Updated to use
`e_storage_set_async_xfer_folder()' instead of
`e_storage_set_async_move_folder()' or
`e_storage_set_async_copy_folder()'.
(folder_xfer_callback): New, callback for the xfer function.
* e-storage-set.c (e_storage_set_async_move_folder): Removed.
(e_storage_set_async_copy_folder): Removed.
(e_storage_set_async_xfer_folder): New.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-storage.c (e_storage_async_xfer_folder): New.
(impl_async_xfer_folder): New, default implementation for the
`async_xfer_folder' method.
(class_init): Install it.
* e-storage.h: New virtual method `async_xfer_folder'.
* evolution-storage.c (impl_Storage_async_xfer_folder): New. Just
a stub for now.
(evolution_storage_get_epv): Install it as the implementation for
the `asyncXferFolder' method.
* Evolution-Storage.idl: New method `asyncXferFolder'.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c: Removed `source_drag_types',
`num_source_drag_types', `destination_drag_types',
`num_destination_drag_types', `target_list'.
(E_SHORTCUT_TARGET_TYPE): Renamed from "E_SHORTCUT_TYPE".
(EVOLUTION_PATH_TARGET_TYPE): Define to "_EVOLUTION_PRIVATE_PATH".
(find_matching_target_for_drag_context): If any of the targets
matches it, return it.
(handle_evolution_path_drag_motion): New.
(tree_drag_motion): Use it if we are matching an
`EVOLUTION_PATH_TARGET_TYPE' target.
(e_storage_set_view_construct): Call `e_tree_drag_dest_set()' on
the view so that we become a possible DnD target.
(get_folder_at_node): Don't die if you don't find a folder there.
(create_target_entries_from_dnd_type_list): Make the first entry
an `EVOLUTION_PATH_TARGET_TYPE', the second one an
`E_SHORTCUT_TYPE', and the following ones the ones defined by the
folder.
(set_evolution_path_selection): New function to set the private
Evolution path selection.
(set_e_shortcut_selection): Assert @selection_data to be not NULL.
(class_init): Don't set up the `target_list' anymore.
(storage_sort_callback): Actually compare the two nodes, not the
first node with itself.
* e-storage-set.c (e_storage_set_async_copy_folder): New.
(e_storage_set_async_move_folder): New.
2001-03-22 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (etree_get_save_id): Changed get_save_id to
just return a strdup of the path.
(new_storage_cb, new_folder_cb, insert_folders, insert_storages):
Call e_tree_memory_sort_node.
2001-03-21 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (etree_get_save_id): If we have no
associated StorageSet yet, just return "root". [This can happen
when this function is called at construction time.]
2001-03-21 Ettore Perazzoli <ettore@ximian.com>
* Evolution-ShellComponentDnd.idl: StudlyCapsify struct members to
match the new IDL naming standards.
* e-storage-set-view.c: Updated accordingly.
2001-03-21 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (tree_drag_data_get): Get the target type
from the atom, and pass it through the `SourceFolder::getData'
invocation. Also, signal an error by passing `-1' as the length
value to `gtk_selection_data_set()'.
(find_matching_target_for_drag_context): New helper function.
(tree_drag_motion): Use it to figure out a suitable type for the
drop action, and pass it to the `DestinationFolder::handleMotion'
method.
* e-storage-set-view.c (get_component_at_node): New helper
function.
(table_drag_begin): Use it.
(convert_corba_drag_action_to_gdk): New helper function.
(table_drag_motion): Use the `DestinationFolder::handleMotion'
method to handle the "drag_motion" signal.
* Evolution-ShellComponentDnd.idl: Change the signature for the
`handleMotion' method so that it only has @suggested_action
parameter.
2001-03-20 JP Rosevear <jpr@ximian.com>
* importer/Makefile.am: make sure intelligent.h gets disted
2001-03-19 Christopher James Lahey <clahey@ximian.com>
* Merged e-tree-rework-branch:
2001-03-19 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (etree_get_save_id): Made "root" detection
deal properly with removed nodes.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-shell-view.c (e_shell_view_save_settings): Added some unused
code to implement saving of the expanded state.
* e-storage-set-view.c: Added has_save_id and get_save_id methods.
2001-03-13 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false.
2001-03-09 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c, e-storage-set-view.h: Chaned this to use
ETree instead of ETable.
2001-03-19 Ettore Perazzoli <ettore@ximian.com>
* evolution-shell-component-client.c: New members
`dnd_source_folder_interface' and
`dnd_destination_folder_interface' in
`EvolutionShellCompoentClientPrivate'.
(init): Initialize.
(impl_destroy): Clean up.
(evolution_shell_component_client_get_dnd_source_interface): New.
(evolution_shell_component_client_get_dnd_destination_interface):
New.
2001-03-19 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (init): Ooops. Initialize the
`drag_corba_source_context' member. correctly.
(table_drag_begin): Don't crash if queryInterface returns
`CORBA_OBJECT_NIL'.
(table_drag_end): Don't do anything if the
`drag_corba_source_interface' is `CORBA_OBJECT_NIL'.
2001-03-19 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c New members `drag_data',
`drag_corba_source_interface' and `drag_corba_source_context in
`EStorageSetViewPrivate'.
(init): Init the new members.
(destroy): Clean up the new members.
(table_drag_begin): Query for the
`EvolutionShellComponentDnd::SourceFolder' interface on the
handler for the folder we are dragging from, and initialize all
the CORBA context information for the drag, after invoking
`::beginDrag()' on it.
(convert_gdk_drag_action_to_corba): New helper function.
(table_drag_data_get): Get the data using
`::SourceFolder::getData'.
(table_drag_end): New, override for the "ETable::table_drag_end"
signal. Invoke `::endDrag' on the SourceFolder interface,
unref/release the interface, and clean up the source context.
(table_drag_data_delete): New, override for the
"ETable::table_drag_data_delete" signal.
(class_init): Install `table_drag_end' and
`table_drag_data_delete'.
* Evolution-ShellComponentDnd.idl: Derive `::DestinationFolder'
and `SourceFolder' from `Bonobo::Unknown'.
2001-03-19 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (table_drag_data_get): Don't get the
selection through
`evolution_shell_component_client_get_dnd_selection()'.
* evolution-shell-component.c
(impl_ShellComponent_getDndSelection): Removed.
(class_init): Don't install.
* evolution-shell-component-client.c
(evolution_shell_component_client_get_dnd_selection): Removed.
* Evolution-ShellComponentDnd.idl: New file with the DnD stuff.
* Evolution-ShellComponent.idl: Removed the dnd stuff.
2001-03-15 Pablo Saratxaga <pablo@mandrakesoft.com>
* main.c: fixed a no-c-format tag
2001-03-14 Ettore Perazzoli <ettore@ximian.com>
* importer/Makefile.am (INCLUDES): Remove `-g Wall' and friends.
Use `$(EXTRA_GNOME_CFLAGS)' instead of `$(GNOME_INCLUDEDIR)'. Add
`-I$(top_builddir)/shell'.
2001-03-13 Iain Holmes <iain@ximian.com>
* importer/intelligent.c (start_importer): Add a "Don't ask me again"
checkbox and don't ask about an importer if the box was ticked.
2001-03-12 Iain Holmes <iain@ximian.com>
* Evolution-Storage.idl: Add a FolderResult structure.
* e-local-storage.c (struct _AsyncCreateFolderCallbackData): Add a
Bonobo_Listener.
(notify_listener): Function to...notify the listener.
(component_async_create_folder_callback): Use the notify_listener
function.
(real_do_folder_create): New prototype. Replace all returns with
a call to notify_listener. Make the directory with a call to
e_mkdir_hier instead of multiple calls to mkdir. Only emit a fail
on a bad error, not on EEXIST.
(bonobo_interface_create_folder_cb): Namespace create_folder_cb to match
the others.
e-shell.c: Run the intelligent importer.
evolution-storage.c (impl_Storage_async_create_folder): Just emit the signal,
not the callback.
(e_marshal_NONE__POINTER_POINTER_POINTER_POINTER_POINTER): Lovely signal
marshaller.
(class_init): Change the signal definition for the create_folder signal.
importer/GNOME_Evolution_Importer.idl: Add an IntelligentImporter inteface.
importer/Makefile.am: Add the evolution-intelligent-importer.c, intelligent.c
and evolution-intelligent-importer.h to the files.
importer/evolution-importer-listener.[ch]: Convert to BonoboXObject.
importer/evolution-importer.[ch]: BonoboXObjectification.
importer/evolution-intelligent-importer.[ch]: BonoboXObject for the
GNOME:Evolution:IntelligentImporter interface.
importer/intelligent.c: Code for running the intelligent importers.
2001-03-08 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (get_folder_at_row): New helper function.
(create_target_list_for_row): Use it.
(table_drag_data_get): Get the selection from the shell component
using `evolution_shell_component_client_get_dnd_selection()'.
(set_e_shortcut_selection): Turn a `g_return_if_fail()' into a
`g_assert()'.
* evolution-shell-component.c: New member `get_dnd_selection_fn'
in `EvolutionShellComponentPrivate'.
(evolution_shell_component_construct): New arg
@get_dnd_selection_fn.
(evolution_shell_component_new): Likewise.
(impl_ShellComponent_getDndSelection): New, implementation for
`ShellComponent::getDndSelection'.
(class_init): Install it.
* evolution-shell-component-client.c
(evolution_shell_component_client_get_dnd_selection): New, wrapper
for `ShellComponent::getDndSelection'.
* evolution-shell-component.h: Renamed
`EvolutionShellComponentPopulateFolderContextMenu' into
`EvolutionShellComponentPopulateFolderContextMenuFn'. New
function pointer typedef `EvolutionShellComponentGetDndSelectionFn'.
* Evolution-ShellComponent.idl: New method
`ShellComponent::getDndSelection'.
* e-storage-set-view.c (create_target_entries_from_dnd_type_list):
Always add an `E_SHORTCUT_TYPE' type at least.
(create_target_list_for_row): Don't return NULL if the list of
exported DND types is NULL. Don't create an unused target list.
Actually return the created target list.
(table_drag_data_get): If the @info is zero, set the e-shortcut
selection.
(set_uri_list_selection): Temporarily disabled.
2001-03-07 Ettore Perazzoli <ettore@ximian.com>
* e-component-registry.c (register_type): New args
@num_exported_dnd_types, @exported_dnd_types,
@num_accepted_dnd_types, @accepted_dnd_types. Pass them to
`e_folder_type_registry_register_type()'.
(register_component): Updated accordingly, getting the values from
the CORBA `GNOME::Evolution::FolderType' struct.
* e-folder-type-registry.c: New members `accepted_dnd_types' and
`exported_dnd_types' in `struct _FolderType'.
(e_folder_type_registry_register_type): New args
@num_accepted_dnd_types, @accepted_dnd_types,
@num_exported_dnd_types, @exported_dnd_types.
(register_folder_type): Likewise.
(folder_type_new): Likewise. Use them to initialize
`accepted_dnd_types' and `exported_dnd_types' in the newly created
`FolderType' struct.
(e_folder_type_registry_get_accepted_dnd_types_for_type): New.
(e_folder_type_registry_get_exported_dnd_types_for_type): New.
* e-storage-set-view.c: New #defined constant `DRAG_RESISTANCE'.
New members `drag_x', `drag_y', `drag_column', `drag_row' in
`EStorageSetViewPrivate'.
(init): Initialize them.
(button_press_event): New function, overriding for the
`::button_press_event' method.
(motion_notify_event): New function, overriding for the
`::motion_notify_event' method.
(class_init): Install them.
* evolution-shell-component.c
(duplicate_null_terminated_string_array): New helper function.
(evolution_shell_component_construct): Copy the values for
`accepted_dnd_types' and `exported_dnd_types' from the original
folder type list using it.
(destroy): Free the `exported_dnd_types' and `accepted_dnd_types'
members too.
(fill_corba_sequence_from_null_terminated_string_array): New
helper function.
(impl_ShellComponent__get_supported_types): Also set the
`exported_dnd_types' and `accepted_dnd_types' values in the folder
type elements we return.
* evolution-shell-component.h: Added `accepted_dnd_types' and
`exported_dnd_types' members to `EvolutionShellComponentFolderType'.
* Evolution-ShellComponent.idl: Renamed `accepted_dnd_mime_types'
to `accepted_dnd_types' and `exported_dnd_mime_types' to
`exported_dnd_types'. These are not necessarily MIME types.
2001-03-05 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c: Override cursor_activated signal instead
of cursor_changed signal.
2001-02-27 Dan Winship <danw@ximian.com>
* main.c (development_warning): Update this again.
2001-02-26 Ettore Perazzoli <ettore@ximian.com>
* Evolution-Shell.idl: Rename `FolderTypeList' to
`FolderTypeNameList' as it was confusing.
* Evolution-ShellComponent.idl: New members
`accepted_dnd_mime_types' and `exported_dnd_mime_types' in `struct
FolderType'.
2001-02-24 Jeffrey Stedfast <fejj@ximian.com>
* e-storage.c (folder_changed_cb): Don't free a const pointer.
2001-02-23 Iain Holmes <iain@ximian.com>
* e-local-storage.c (construct): Connect to the create-folder signal.
(impl_async_create_folder): Move this into the real_do_folder_create
function.
(real_do_folder_create): Function that creates the folder.
(create_folder_cb): Creates the folder form a callback.
2001-02-21 Michael Meeks <michael@ximian.com>
* importer/importer.c: add include.
(show_import_wizard): update signature to that of a verb.
* evolution-shell-component.c (corba_class_init): move into
(class_init): here & upd.
(evolution_shell_component_construct): upd.
(create_servant): kill.
(E_MAKE_TYPE) -> E_MAKE_X_TYPE.
2001-02-20 Dan Winship <danw@ximian.com>
* e-folder.c (_EFolderPrivate): split "highlighted" into
self_highlight and child_highligh.
(e_folder_get_highlighted): Return TRUE if either self_highlight
is true or any child is highlighted.
(e_folder_set_child_highlight): New function to tell the folder
about a child highlight change.
* e-storage.c (folder_changed_cb): Update child highlights
correctly on folders so that folders will be highlighted whenever
their children are.
2001-02-17 Christopher James Lahey <clahey@ximian.com>
* e-shell-view-menu.c (file_verbs): Cast this fucntion pointer.
* e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling
here.
* evolution-shell-component.c
(impl_ShellComponent_async_copy_folder): Commented out this unused
function.
* evolution-storage.c (storage_gtk_to_corba_result): Removed an
unused variable here.
* importer/importer.c: Include gal/widets/e-gui-utils.h.
2001-02-14 Dan Winship <danw@ximian.com>
* Evolution-Storage.idl: add asyncCreateFolder and
asyncRemoveFolder interfaces. (Use Bonobo::Listener rather than
creating a new listener interface.)
* Evolution-LocalStorage.idl: Remove the
Evolution::LocalStorageOpsListener interface, which wasn't being
used.
* evolution-storage.c (impl_Storage_async_create_folder,
impl_Storage_async_remove_folder): implement by emitting signals
on the EvolutionStorage object. Convert from
EvolutionStorageResult to GNOME_Evolution_Storage_Result (blah!)
(class_init): Set up the new "create_folder" and "remove_folder"
signals.
* e-corba-storage.c (async_create_folder, async_remove_folder):
Implement, using the new Evolution::Storage IDL. Convert from
GNOME_Evolution_Storage_Result to EStorageResult (blah!)
* e-storage-set.c (e_storage_set_async_create_folder): Don't allow
a NULL description (since it doesn't allow a NULL anythign else).
* e-shell-folder-creation-dialog.c (dialog_clicked_cb): Pass ""
rather than NULL for the description.
2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
* Makefile.am: xml-i18n-tools setup.
* GNOME_Evolution_Shell.oaf.in: Mark strings for translation.
2001-02-10 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view-menu.c: Moved the author list to the top of the
file.
(command_about_box): Display the `SUB_VERSION' as well.
2001-02-08 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-creation-dialog.c (dialog_clicked_cb): Destroy
the dialog instead of using `gnome_dialog_close()'.
(dialog_clicked_cb): Likewise.
(dialog_close_cb): Removed.
(e_shell_show_folder_creation_dialog): Don't connect to the
"close" signal anymore.
* e-shell-folder-selection-dialog.c
(folder_creation_dialog_result_cb): New callback. Set the default
folder to be the newly created one.
(impl_clicked): Use it.
* e-shell-folder-creation-dialog.c: Add members `folder_path',
`result_callback' and `result_callback_data' to `struct
_DialogData'.
(e_shell_show_folder_creation_dialog): New args @result_callback
and @result_callback_data.
(async_create_cb): Notify the result through the specified
callback.
(dialog_clicked_cb): Likewise. Set the `folder_path' in the
DialogData so that we can pass it over when we get the async
notification of the result of the operation.
* e-shell-folder-creation-dialog.h: New type
`EShellFolderCreationDialogCallback'.
* e-storage-set-view.c (e_storage_set_view_set_current_folder):
Show the node too, using `e_tree_model_show_node()'.
2001-02-05 Ettore Perazzoli <ettore@ximian.com>
* e-setup.c (copy_default_stuff): s/first time you run/first time
you are running/.
2001-02-02 Ettore Perazzoli <ettore@ximian.com>
* e-component-registry.h: Don't #include <config.h>.
* e-corba-storage-registry.h: Likewise.
* e-corba-storage.h: Likewise.
* e-folder-type-registry.h: Likewise.
* e-folder.h: Likewise.
* e-local-folder.h: Likewise.
* e-local-storage.h: Likewise.
* e-shell-folder-title-bar.h: Likewise.
* e-shell-view.h: Likewise.
* e-shell.h: Likewise.
* e-shortcuts-view.h: Likewise.
* e-shortcuts.h: Likewise.
* e-splash.h: Likewise.
* e-storage-set-view.h: Likewise.
* e-storage-set.h: Likewise.
* e-storage.h: Likewise.
* evolution-local-storage.h: Likewise.
* evolution-session.h: Likewise.
* evolution-shell-client.h: Likewise.
* evolution-shell-component.h: Likewise.
* evolution-shell-view.h: Likewise.
* evolution-storage-listener.h: Likewise.
* evolution-storage.h: Likewise.
2001-02-02 Iain Holmes <iain@ximian.com>
* importer/evolution-importer-client.c:
(evolution_importer_client_new_from_id): Free the CORBA_Environment.
2001-01-30 Iain Holmes <iain@ximian.com>
* importer/importer.c: (start_import): Added a notice if there is no
importer that can handle the file.
(get_iid_for_filetype): Free the list of multiple items before returning.
(importer_timeout_fn): Removed notice.
(import_cb): Removed notice.
2001-01-30 Iain Holmes <iain@ximian.com>
* importer/importer.c: Added a nasty hack to change the druids Finish
button to be Import.
* importer/import.glade: Remove the FIXME warning.
2001-01-30 Kjartan Maraas <kmaraas@gnome.org>
* importer/importer.c: Fixed some typos.
2001-01-28 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-creation-dialog.c (add_storage_set_view): Set the
shadow type to be `GTK_SHADOW_IN' in the EScrollFrame.
2001-01-27 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view.c (storage_set_view_box_button_release_event_cb):
Don't pop down the folder bar if the button release happens in the
e-paned's handle.
(storage_set_view_box_button_release_event_cb): Changed the return
value to be int. Stupid me.
2001-01-27 Jason Leach <jasonleach@usa.net>
* e-shortcuts-view.h: Fix #include to point to gal instead of
widgets/shortcut-bar/
* e-shortcuts.c: Here too.
* e-shortcuts-view-model.h: And lastly here.
* Makefile.am (evolution_LDADD): Don't link with the old
widgets/shortcut-bar/libshortcut-bar.la anymore, gal has the new
shortcut-bar.
2001-01-27 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (get_pixbuf_for_folder): Don't scale if the
size is the same. `gdk_pixbuf_scale()' seems to be blurring the
image even if the scaling factor is 1.0.
2001-01-26 Ettore Perazzoli <ettore@ximian.com>
* e-corba-storage.c: Remove all instances of `__FUNCTION__'.
* e-folder-tree.c: Likewise.
* e-folder-type-registry.c: Likewise.
* e-shell-view.c: Likewise.
* e-shell-view-menu.c: Likewise.
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view.c (e_shell_view_construct): Connect the
"updated_folder" with `gtk_signal_connect_while_alive()' so that
it gets disconnected when the shell view dies.
2001-01-24 Jason Leach <jasonleach@usa.net>
(Fix #1252: Need a File->Close way to close a view)
* e-shell-view-menu.c (command_close): New function, destroys the
current view.
* e-shell.c (view_destroy_cb): Make sure shell settings get saved
when the last view is destroyed.
2001-01-24 Kjartan Maraas <kmaraas@gnome.org>
* importer/GNOME_Evolution_Importer.idl: Fix missing ';'.
2001-01-23 Ettore Perazzoli <ettore@ximian.com>
* e-corba-storage.c (impl_StorageListener_update_folder): Don't
call `e_storage_updated_folder()' as it's supposed to happen
automatically now.
* e-storage.c (e_storage_updated_folder): Removed.
(folder_changed_cb): New callback for the "changed" signal on the
EFolders.
(e_storage_new_folder): Connect it.
* e-folder-tree.c: New member `data_to_path' in `EFolderTree'.
(e_folder_tree_new): Init here.
(e_folder_tree_destroy): Destroy it here.
(e_folder_tree_add): Add to the `data_to_path' hash. Make sure
we are not adding the same folder twice.
(remove_folder): Remove from the `data_to_path' hash.
(e_folder_tree_get_path_for_folder): New.
* e-shell-view.c (e_shell_view_construct): Don't connect to the
"folder_updated" signal of the local storage anymore.
(folder_updated_cb): Removed.
(updated_folder_cb): New.
(e_shell_view_construct): Connect it to the "updated_folder"
signal.
* e-local-storage.c: Remove `FOLDER_UPDATED' enum value and the
`signals' variable, as we don't want to define any custom signals
here anymore.
(bonobo_interface_update_folder_cb): No need to emit the
"folder_updated" signal here. The base class will take care of
this already.
(class_init): Don't install the "folder_updated" signal here.
* e-local-storage.h: Removed signal "folder_updated". It is not
necessary, as we already have an `updated_folder' in `EStorage',
which is the parent class of `ELocalStorage'.
2001-01-24 Iain Holmes <iain@ximian.com>
* importer/GNOME_Evolution_Importer.idl: Removed the busy exception.
2001-01-19 Iain Holmes <iain@ximian.com>
* importer/GNOME_Evolution_Importer.idl: Make the processItem oneway.
Make the Listener interface inherit from Bonobo::Unknown.
* importer/evolution-importer-client.[ch]: Remove all the crap to deal
with creating the Listener object.
* importer/evolution-importer-listener.[ch]: A new bonobo object to
implement the ImporterListener interface.
* importer/importer.c: Fix it up to use the new Listener object.
2001-01-18 Iain Holmes <iain@ximian.com>
* e-shortcuts-view.c (show_new_group_dialog): Don't make the dialog
modal.
2001-01-16 Iain Holmes <iain@ximian.com>
* importer/GNOME_Evolution_Importer.idl: Removed the ImporterFactory
interface and put the methods from it into the Importer interface.
* importer/evolution-importer-factory.[ch]: Removed.
* importer/evolution-importer.[ch]: Added the new methods.
Added inline documentation for all public functions.
* importer/evolution-importer-client.[ch]: Added new client support for
the new methods.
Added inline documentation for all public functions.
* importer/importer.c (create_plugin_menu): Changed the query to look for
IDL:GNOME/Evolution/Importer:1.0.
(start_import): Do all CORBA methods through the EvolutionImporterClient.
(get_iid_for_filetype): Change query to search for
IDL:GNOME/Evolution/Importer:1.0.
2001-01-19 Dan Winship <danw@ximian.com>
* evolution-storage.c (evolution_storage_folder_exists): New
function. Obvious.
2001-01-19 Jason Leach <jasonleach@usa.net>
(Bug #883: Shortcut bar does not update when a folders display
name changes)
* e-local-storage.c (class_init): Define a new "folder_updated"
signal here.
(bonobo_interface_update_folder_cb): Emit the new folder_updated
signal here.
* e-shell-view.c (e_shell_view_construct): Connect the
EShell::ELocalStorage folder_updated signal here. Also connect
the updated_folder signal coming from EShell::EStorageSet to the
new callback.
* e-shell-view.c (folder_updated_cb): Callback that actually
initiates the shell updating.
* e-shortcuts.c (e_shortcuts_update_shortcut_by_uri): New
function. Given a URI for a shortcut bar item, we'll update it.
* e-shortcuts.c (e_shortcuts_remove_shortcut_by_uri): New
function. Given a URI for a shortcut bar item, we'll remove it.
* e-shortcuts.c (removed_folder_cb): Connect this callback that
will remove a renamed vfolder from the shortcut bar. Temporary
fix to the problem of renaming vfolders and having the shortcut
bar think the old vfolder still exists.
(Bug #1168: Shortcut bar and icon size persistence)
* e-shell-view.c (save_shortcut_bar_icon_modes): New static
function, save the icon modes (for all shortcut bar groups, even
though we only have one group now).
(load_shortcut_bar_icon_modes): New static function, load the
saved shortcut bar group icon modes and apply them to our shortcut
bar.
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* importer/evolution-importer.h: Use "typedef enum { ... } Blah;"
instead of "typedef enum _Blah Blah; enum _Blah { ... };" so that
gtk-doc can parse it. Sigh.
2001-01-17 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Set the shadow type
for the EScrollFrame. Also, make the EStorageSetView widget grab
the focus. For some reason it doesnt' seem to work, but I'll
blame ETree for now.
2001-01-17 Ettore Perazzoli <ettore@ximian.com>
* e-shell-view.c (update_for_current_uri): Display the folder name
before "Evolution" instead of after it. Also, display the
sub-version string if it was defined when configuring.
2001-01-17 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (table_drag_drop): Don't emit the
"dnd_action" signal here. Instead, do a `gtk_drag_get_data()' to
retrieve information about the drop.
(table_drag_data_received): New, implementation for
`ETable::table_drag_data_received'.
(class_init): Install it.
(table_drag_data_get): Use `unsigned int' instead of `guint' for
consistency.
(table_drag_motion): Same here. Also use `int' instead of `gint'.
(table_drag_drop): Likewise.
(treepath_compare): Likewise.
(marshal_NONE__ENUM_STRING_STRING_STRING): Removed.
(marshal_NONE__GDKDRAGACTION_STRING_STRING_STRING): New.
(class_init): Use it; update signal "dnd_action" so that it passes
a `GdkDragAction *' instead of .
* e-storage-set-view.h: Change signal "::dnd_action" so that it
provides a `GdkDragContext' instead of just a `GdkDragAction'.
2001-01-16 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (e_shell_view_construct): set config
path on window.
2001-01-16 JP Rosevear <jpr@ximian.com>
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): pop the
visual/cm after the construct
2001-01-15 JP Rosevear <jpr@ximian.com>
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
the color map
(e_shell_folder_title_bar_new): and the visual...
2001-01-15 Iain Holmes <iain@ximian.com>
* importer/importer.c (import_druid_cancel): Just destroy the wizard.
All other freeing code is moved into import_druid_destroy.
(show_import_wizard): Connect the destroy signal to import_druid_destroy.
(start_import): Connect to the destroy signal of the dialog and the
clicked as well.
(dialog_destroy_cb): Stop the import after the current item has finished.
(dialog_clicked_cb): Stop the import.
(import_cb): Only process the next item if the dialog hasn't been stopped.
Destroy the dialog if it hasn't been destroyed already.
* e-splash.c (e_splash_construct): Set the window title to Evolution.
2001-01-13 Jason Leach <jasonleach@usa.net>
(Fix bug #934: Add Right-click item to hide the shortcut bar)
* e-shortcuts-view.c (class_init): Create a new hide_requested
signal.
(hide_shortcut_bar_cb): New function that gets called from the
right click menu items, it emits the hide_requested signal.
* e-shell-view.c (setup_widgets): Connect the hide_requested from
the shortcut bar.
(hide_requested_cb): New function.
2001-01-13 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.h: New signal `dnd_action'.
* e-storage-set-view.c: Renamed `drag_types' to
`source_drag_types' and `num_drag_types' to
`num_source_drag_types'. New variables `destination_drag_types'
and `num_destination_drag_types'.
(e_storage_set_view_construct): Set the ETree as a drag
destination. Allow both GDK_ACTION_MOVE and GDK_ACTION_COPY.
* e-storage-set-view.c (table_drag_begin): Renamed from
`etable_drag_begin'.
(table_drag_data_get): Renamed from `etable_drag_data_get'.
Changed to be a method override instead of a signal handler.
(table_drag_motion): New; implementation for the
`ETable::table_drag_motion' method. Changed to be a method
override instead of a signal handler.
(table_drag_drop): New, implementation for `::table_drag_drop'.
(cursor_change): Renamed from `on_cursor_change'.
(e_storage_set_view_construct): Don't connect the signals here.
(class_init): Instead, override the methods here. Also, install
our override for `::table_drag_motion' and for
`::table_drag_drop'.
(right_click): Changed to be a method instead of a signal handler.
(cursor_change): Likewise.
2001-01-13 Miguel de Icaza <miguel@gnu.org>
* e-shell.c (e_shell_construct): Unref our copy, and then destroy.
* e-splash.c (e_splash_set_icon_highlight): Do not execute code if
we have been destroyed.
(e_splash_add_icon): ditto.
2001-01-12 Miguel de Icaza <miguel@gnu.org>
* e-splash.c (e_splash_construct): Ok, talked to Ettore. Going
back to TOPLEVEL non-POPUP.
(e_splash_construct): Remove nice toplevel window.
2001-01-12 Ettore Perazzoli <ettore@ximian.com>
* evolution-shell-component.c: Add member `copy_folder_fn' to
`EvolutionShellComponentPrivate'.
(init): Init to NULL.
(impl_ShellComponent_async_copy_folder): New function,
implementation for `::asyncCopyFolder'.
(evolution_shell_component_construct): New arg @copy_folder_fn.
Set the corresponding member in `EvolutionShellComponentPrivate'.
(evolution_shell_component_new): New arg @copy_folder_fn. Pass it
to `evolution_shell_component_construct'.
* evolution-shell-component.h: New type
`EvolutionShellComponentCopyFolderFn'.
2001-01-12 Ettore Perazzoli <ettore@helixcode.com>
* Evolution-ShellComponent.idl: Add method `::removeFolderAsync'.
2001-01-12 Ettore Perazzoli <ettore@ximian.com>
* evolution-shell-component.c (corba_class_init):
s/addFolderAsync/createFolderAsync/.
* evolution-shell-component-client.c
(evolution_shell_component_client_async_create_folder):
s/addFolderAsync/createFolderAsync/.
* Evolution-ShellComponent.idl: Rename `addFolder' into
`createFolder'.
2001-01-12 Dan Winship <danw@ximian.com>
* importer/.cvsignore: Create
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-storage-set-view.c: Added translation strings.
* e-shell-view-menu.c (command_about_box): Update our name
(command_new_mail_message): Remove "window"
from the moniker path.
* e-splash.c (e_splash_construct): Make the spalsh screen a
toplevel instead of a popup.
2001-01-11 Dan Winship <danw@ximian.com>
* e-shell-view.c (show_existing_view): Remove the "Already have
view for..." message. People keep assuming it's an error.
2001-01-11 Iain Holmes <iain@ximian.com>
* importer/*: New directory containing the importer framework.
* e-shell-view-menu.c (file_verbs): Add the FileImporter verb.
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* e-shell-view-menu.c (command_goto_folder): Fix prototype
(command_new_view): ditto.
(command_new_mail_message): Implement command_new_mail_message.
verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB
2001-01-04 Dan Winship <danw@helixcode.com>
* evolution-storage.c (evolution_storage_update_folder_by_uri):
New function to update a folder given its URI. Plus associated
changes to other functions to keep track of the path<->URI
mappings.
2000-12-28 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-client.c (user_select_folder): Make sure the
`*uri_return' and `*physical_uri_return' are always initialized on
return, as that's what the caller expects.
2000-12-23 Jason Leach <jasonleach@usa.net>
* e-shell-view-menu.c (command_run_bugbuddy): Fix a crash when the
user tries to "Submit bug report" but doesn't have bug-buddy
installed. Bug #633.
2000-12-23 Jason Leach <jasonleach@usa.net>
* e-setup.c (copy_default_stuff): Make the "Evolution
installation" dialog resizable. Bug #742.
(check_evolution_directory): Here too.
2000-12-14 Iain Holmes <iain@helixcode.com>
* e-shell-folder-selection-dialog.c (dbl_click_cb): Modify to suit the
new double click callback signature. Destroy the dialog after the double
click as well.
2000-12-14 Ettore Perazzoli <ettore@helixcode.com>
* main.c (development_warning): Slightly updated the text for the
release.
2000-12-14 Ettore Perazzoli <ettore@helixcode.com>
* e-splash.c (ICON_Y): Update for the size of the new splash.
2000-12-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-splash.c (button_press_event): Return TRUE as we have handled
the event.
2000-12-12 Dan Winship <danw@helixcode.com>
* e-shell-view.c (get_control_for_uri): Pass path+1 rather than
path to get_type_for_storage, to match the convention used by its
other callers.
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* e-splash.c (e_splash_construct): Connect a button-press-event
signal on the splash screen so users can click it to hide it.
(button_press_event): New callback to hide the splash screen.
2000-12-11 Dan Winship <danw@helixcode.com>
* e-shell-view.c (get_type_for_{folder,storage}): return NULL if
no {folder,storage} is found.
(get_control_for_uri): return NULL if no folder_type is found.
2000-12-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts-view.c (e_shortcuts_view_construct): Ooops. We were
reffing a bogus pointer that was not assigned yet.
* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
Updated according to the new IDL.
* e-local-storage.c (construct): Pass `NULL' to
`e_storage_construct' as the @toplevel_node_type arg.
* evolution-shell-component-client.c
(evolution_shell_component_client_new_for_objref): New.
(evolution_shell_component_client_new): Refactored to use it.
* e-corba-storage.c (e_corba_storage_construct): New arg
@toplevel_node_type. Pass it to `e_storage_construct'.
(e_corba_storage_new): New arg @toplevel_node_type. Pass it to
`e_corba_storage_construct'.
* e-storage.c: New member `toplevel_node_uri_type' in
`EStoragePrivate'.
(init): Init to NULL.
(destroy): Unref.
(e_storage_construct): New arg @toplevel_node_type. Set the
private member value accordingly.
(e_storage_new): New arg @toplevel_node_type. Pass to
`e_storage_construct'.
(e_storage_get_toplevel_node_type): New.
* e-shell-view.c (get_physical_uri_for_evolution_uri): New arg
@shell_view.
(get_physical_uri_for_storage): Filled in. New arg @shell_view.
(get_physical_uri_for_folder): Filled in. New arg @shell_view.
* evolution-local-storage.c (evolution_local_storage_construct):
Pass `NULL' as the @toplevel_node_type arg to
`evolution_storage_construct'.
* evolution-storage.c: New member `toplevel_node_type' in
`EvolutionStoragePrivate'.
(destroy): Free.
(init): Init to NULL.
(evolution_storage_construct): New arg @toplevel_node_handler
to initialize the corresponding field in `->priv'.
(evolution_storage_new): New arg @toplevel_node_type. Pass
it to `evolution_storage_construct'.
(evolution_storage_register): Pass the @toplevel_node_type
arg to `::addStorage'.
* Evolution-Storage.idl: Add arg @toplevel_node_type to
`StorageRegistry::addStorage'.
* main.c (new_view_on_running_shell): Deal with an exception in
`::createNewView' gracefully.
* e-shell-view.c (switch_on_folder_tree_click): New.
(folder_selected_cb): Refactored to use it.
(storage_selected_cb): Use it.
2000-12-07 Michael Meeks <michael@helixcode.com>
* Makefile.am (oaf_DATA): update to GNOME_Evolution_Shell.oafinfo
* e-shell.h: upd.
2000-12-04 Ettore Perazzoli <ettore@helixcode.com>
* Evolution-StorageSetView.idl: Arg @uri renamed to @name in
`StorageSetViewListener::notifyStorageSelected'.
* evolution-storage-set-view.c
(storage_set_view_widget_storage_selected_cb): Renamed arg @uri to
@name.
* e-storage-set-view.c (on_cursor_change): Only emit the name of
the storage for the "storage_selected" signal [i.e. remove the
leading slash].
* e-shell-view.c (storage_selected_cb): New callback for the
"storage_selected" signal on the EStorageSetView used for the
folder tree.
(setup_storage_set_subwindow): Connect it.
* evolution-local-storage.c (evolution_local_storage_construct):
Pass NULL as the @toplevel_node_uri arg to
`evolution_storage_construct()'.
* evolution-storage.c: New member `toplevel_node_uri' in
`EvolutionStoragePrivate'.
(init): Init to NULL.
(destroy): Free.
(evolution_storage_construct): New arg @toplevel_node_uri. Set
the @toplevel_node_uri member in the private part to its value.
(evolution_storage_new): New arg @toplevel_node_uri. Pass it to
`evolution_storage_construct()'.
(evolution_storage_register): Pass the @toplevel_node_uri value to
the `::addStorage' CORBA method.
* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
New arg @toplevel_node_uri, to go with the IDL change.
* Evolution-Storage.idl (StorageRegistry::addStorage): New arg
@toplevel_node_uri.
* e-local-storage.c (construct): Pass NULL as the
@toplevel_node_uri arg to `e_storage_construct()'.
* e-corba-storage.c (e_corba_storage_construct): New arg
@toplevel_node_uri. Pass it to `e_storage_construct()'.
(e_corba_storage_new): New arg @toplevel_node_uri. Pass it to
`e_corba_storage_construct()'.
* e-storage.c: New member `toplevel_node_uri' in
`EStoragePrivate'.
(init): Init to NULL.
(destroy): Free.
(e_storage_construct): New arg @toplevel_node_uri. Set the
`toplevel_node_uri' member in the private part to its value.
(e_storage_new): New arg @toplevel_node_uri. Pass it to
`e_storage_construct()'.
(e_storage_get_toplevel_node_uri): New.
* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
Renamed from `impl_StorageRegistry_register_storage'.
(impl_StorageRegistry_removeStorageByName): Renamed from
`impl_StorageRegistry_unregister_storage'.
(corba_class_init): Updated accordingly.
2000-12-04 Ettore Perazzoli <ettore@helixcode.com>
* main.c (new_view_on_running_shell): Don't crash if the object
returned from `oaf_activate_from_id' is NIL and the exception
isn't set. Just handle this as a normal error condition.
2000-12-04 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (get_control_for_uri): return NULL if we can't
create a view.
(setup_evolution_shell_view_interface): add precondition.
2000-12-04 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts-view.c (e_shortcuts_view_construct): Ref the
shortcuts.
* main.c (new_view_on_running_shell): New.
(idle_cb): If the shell cannot be created, then call
`new_view_on_running_shell'.
* e-shell-view.c: New member `shell_view_interface' in
`EShellViewPrivate'.
(init): Init to NULL.
(setup_evolution_shell_view_interface): Set up.
(destroy): Unref.
* e-shell.c (impl_Shell_getComponentByType): Renamed from
`impl_Shell_get_component_for_type'.
(impl_Shell_selectUserFolder): Renamed from
`impl_Shell_user_select_folder'.
(impl_Shell_getLocalStorage): Renamed from
`impl_Shell_get_local_storage'.
(impl_Shell_createStorageSetView): Renamed from
`impl_Shell_create_storage_set_view'.
(corba_class_init): Updated accordingly.
(impl_Shell_createNewView): New, implementation for the
`createNewView' CORBA method.
(corba_class_init): Install it.
* Evolution-Shell.idl: New method `::createNewView'.
* e-shell.c (register_shell): New.
(e_shell_construct): Return value changed to `gboolean'. New arg
@iid. Construct the Bonobo object before displaying the splash,
then try to register it with the specified @iid. If registration
fails, return %FALSE. Otherwise, just do everything normally and
return %TRUE.
(e_shell_new): Pass the OAFIID to `e_shell_construct()'. If it
fails, unref the object and return NULL.
* evolution.oafinfo: New.
2000-11-27 JP Rosevear <jpr@helixcode.com>
* e-shell-view-menu.c (command_about_box): Add myself, anna, jesse
2000-11-15 Michael Meeks <michael@helixcode.com>
* e-shell.c (e_shell_component_maybe_crashed): de-register
a component's UI if it dies.
2000-11-25 Peter Williams <peterw@helixcode.com>
* Makefile.am (idldir): Install our IDL's into $(datadir)/idl.
2000-11-25 Federico Mena Quintero <federico@helixcode.com>
* e-setup.c (check_dir_recur): Plug leaks of the fullname and
fulldefaultname.
(check_evolution_directory): Plug leaks of defaultdir and newfiles
and the list's data; made the code have a single return point.
* e-shell.c (e_shell_restore_from_settings): Plug leak of prefix.
(corba_class_init): Plug leak; we were not assigning the
vepv->_base_epv.
* evolution-storage.c (corba_class_init): Likewise.
* evolution-local-storage.c (corba_class_init): Likewise.
2000-11-24 Federico Mena Quintero <federico@helixcode.com>
* evolution-shell-component.c
(impl_ShellComponent__get_supported_types): Plug leak; mark the
CORBA sequence so that it will be released.
2000-11-14 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (unmerge_on_error): add
(e_shell_view_construct): hook up to system_exception on
ui_container.
2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu>
* e-shell.c: (setup_components), (save_settings_for_component):
* evolution-storage.c: (evolution_storage_register_on_shell):
Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*"
to sync up with yesterday's IDL re-scoping.
2000-11-06 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (unrealize): remove.
(e_shell_view_construct): ditto.
2000-11-09 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Make the panes of the EPaned not shrinkable
beyond their minimum size.
2000-11-08 Matt Bissiri <bissiri@eecs.umich.edu>
* e-shell-folder-selection-dialog.c: Fix typo in a comment.
2000-11-06 Dan Winship <danw@helixcode.com>
* e-storage-set-view.c (insert_folders): Pass full_name, not
folder_name to callback.
2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-view.c (impl_ShellView_change_current_view):
Constified @uri.
(impl_ShellView_set_title): Constified @title.
2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c: New member `crash_type_names' in `EShellPrivate'.
(init): Init to NULL.
(destroy): Free.
(e_shell_component_maybe_crashed): New.
2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_create_view):
`CORBA_Object_duplicate()' the return value.
2000-11-06 Kjartan Maraas <kmaraas@gnome.org>
* e-setup.c: Added #include <config.h>
2000-11-03 Ettore Perazzoli <ettore@helixcode.com>
* main.c: New local static variables `evolution_directory',
`no_splash'.
(main): Removed local variable `evolution_directory'. Add a
`--no-splash' command-line option for setting the value of
`no_splash'.
(idle_cb): Use the static `evolution_directory'. Make the newly
created shell show the splash or not according to the value of
`no_splash'.
* e-shell.c (setup_components): Deal with a NULL @splash
parameter.
(e_shell_construct): New arg `show_splash'. Don't create a splash
screen if FALSE; instead, pass NULL to `setup_components()' as the
@splash arg.
(e_shell_new): New arg `show_splash'. Pass it to
`e_shell_construct()'.
2000-11-03 Dan Winship <danw@helixcode.com>
* evolution-storage-listener.c (class_init): Fix the name of the
signal passed to gtk_signal_new so that this actually works.
2000-11-01 Dan Winship <danw@helixcode.com>
* evolution-storage.c (evolution_storage_new_folder): Make this
take "highlighted" as well.
* e-local-storage.c (new_folder):
* e-corba-storage.c (impl_StorageListener_new_folder): set
highlighted on the new folder.
* e-storage-set-view.c (updated_folder_cb): Remove an unused
variable.
2000-10-26 Iain Holmes <iain@helixcode.com>
* Evolution-ShellView.idl: Added a change_current_view method and
a set_title.
* evolution-shell-view.c (class_init): Added signals for the above methods.
(impl_ShellView_change_current_view), (impl_ShellView_set_title): Implementations
for above methods.
(corba_class_init): Connect the implemenations.
* e-shell-view.c (shell_view_interface_change_current_view): Change
the display to the new uri.
(shell_view_interface_set_title): Set the window title.
(setup_evolution_shell_view_interface): Connect the signals to the above
functions.
2000-11-01 Dan Winship <danw@helixcode.com>
* Evolution-Storage.idl: Add "highligted" field to Folder. Add
update_folder method to StorageListener to change display_name and
highlight status.
* e-folder.c: Add "highlighted" to EFolder to match the
Evolution::Folder type.
(e_folder_get_highlighted, e_folder_set_highlighted): Added
* evolution-storage-listener.c
(impl_Evolution_StorageListener_update_folder, etc):
* e-storage.c (e_storage_updated_folder, etc):
* e-corba-storage.c (impl_StorageListener_update_folder, etc):
Implement update_folder.
* e-storage-set.c (storage_updated_folder_cb, etc): Re-emit
updated_folder signals received from EStorage.
* e-storage-set-view.c (various): Add another model column to the
ETable and set it up as a bold_column based on
e_folder_get_highligted.
(updated_folder_cb, etc): Listen to EStorageSet update_folder
signal and emit ETree node_changed signals.
* evolution-storage.c (evolution_storage_update_folder): Client
function to update a folder's display_name and highlighted status.
* Evolution-LocalStorage.idl:
* evolution-local-storage.c:
* e-local-storage.c: Change set_display_name to update_folder to
match Evolution::StorageListener
2000-10-25 <jpr@helixcode.com>
* e-shortcuts-view-model.c (load_group_into_model): Set folder to NULL to
kill warning
2000-10-23 Dan Winship <danw@helixcode.com>
* Makefile.am (INCLUDES): Update EVOLUTION_LOCALEDIR
2000-10-20 Michael Meeks <michael@helixcode.com>
* evolution-shell-component-client.c
(evolution_shell_component_client_populate_folder_context_menu),
(evolution_shell_component_client_create_view): update to new UI handler
* e-shell-view-menu.c (command_create_folder): ditto.
* e-storage-set-view.c (popup_folder_menu): ditto.
* evolution-shell-component-client.h: kill ui-compat include.
2000-10-19 Iain Holmes <iain@helixcode.com>
*e-shell-view.c (e_shell_view_save_settings): If there is no view
save the default uri instead.
(socket_destroy_cb): When a view crashes, change the view to the
default one.
2000-10-18 Michael Meeks <michael@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
update for new UI handler.
2000-10-18 Iain Holmes <iain@helixcode.com>
* e-shell-view.c (start_progress_bar): If the widget is not realized
don't do anything, to prevent BadGC's at shut down.
(stop_progress_bar): Don't draw anything if the widget is not realized.
Same reason.
* e-shell-folder-selection-dialog.c (dbl_click_cb): Emit the
folder-selected signal.
(e_shell_folder_selection_dialog_construct): Connect to the e-table's
double-click signal.
2000-10-17 Iain Holmes <iain@helixcode.com>
* e-shell.c (view_deleted_cb): Save the settings before the
view is destroyed.
(e_shell_quit): Don't save the settings when there are no views.
2000-10-16 Iain Holmes <iain@helixcode.com>
* e-setup.c (check_evolution_directory): Better dialog.
* e-splash.c (icon_free): Don't unref the canvas item.
(e_splash_construct): Add a frame round the splash screen.
2000-10-16 Dan Winship <danw@helixcode.com>
* evolution-storage-set-view-factory.c
(evolution_storage_set_view_factory_new_view): Add a typecast.
* e-storage-set-view.c (popup_folder_menu): Move variable
declarations into the #if 0 to kill warnings.
(populate_folder_context_menu_with_common_items,
folder_context_menu_activate_cb): Move these into #if 0 too.
* e-shell.c: Add prototype.
* e-shell-view.c (storage_set_view_box_map_cb):
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Remove unused variables.
* e-setup.c: Fix warning caused by e-util -> gal migration.
2000-10-11 Iain Holmes <iain@helixcode.com>
* e-setup.c (check_evolution_directory): Check if there are any
files in default_user that are not in ~/evolution and if so
copy them over.
(check_dir_recur): Recursive function to check the directory.
* e-shell-view-menu.c: Look Maw! I'm an Evolution hacker too.
* e-shell-view.c: Don't quit on when a view is destroyed.
* e-shell.c: Save the settings for the remaining views whenever
a view is destroyed.
2000-10-15 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (setup_storage_set_subwindow): Use an
EScrollFrame instead of a GtkScrolledWindow.
2000-10-14 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (e_shell_construct): Display a splash screen.
(setup_components): New arg @splash, pointer to an ESplash.
Display the icons of the components in the splash and highlight
them as the components are activated.
* e-splash.c: New.
* e-splash.h: New.
2000-10-13 Anna Marie Dirks <anna@helixcode.com>
* e-shell-folder-creation-dialog.glade: Added focus to the
folder-name text entry.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c: Fixed the spec on this.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c: Changed this to use the built in cells.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c: Adapted this for the new ETable system.
2000-10-09 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c: Change paths in such a way as to require
HEAD bonobo.
(command_toggle_folder_bar, command_toggle_shortcut_bar): only
respond to state changes.
2000-10-07 Matt Wilson <msw@redhat.com>
* e-shell-view.c (init): initialize priv->sockets to NULL, fixes
startup crash on non-ia32 platforms
2000-10-06 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c: New member `sockets.
(init): Init to NULL.
(destroy): Free. Also, disconnect the "destroy" signal from them
before the controls get destroyed.
(find_socket): New function. [Thanks Dan.]
(socket_destroy_cb): New callback for the destruction of a socket.
(get_control_for_uri): Get the socket through `find_socket()' and
connect the "destroy" signal to `socket_destroy_cb'.
2000-10-06 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (insert_storages): call
_set_compare_function after inserting the storage.
2000-10-06 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw
pair to reduce flicker on switching controls.
2000-10-05 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (command_xml_dump): fix.
2000-10-05 Chris Toshok <toshok@helixcode.com>
* e-shell-folder-creation-dialog.c: #include <gal/widgets/e-gui-utils.h>
* e-shell-folder-selection-dialog.c: same.
2000-10-05 Chris Toshok <toshok@helixcode.com>
* e-shell-folder-selection-dialog.c: add #include for
libgnomeui/gnome-messagebox.h
2000-10-05 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
(folder_bar_mode_changed_cb): upd.
(command_xml_dump): clobber.
(e_shell_view_menu_setup): upd.
* e-shell-view.c (shell_view_interface_set_message_cb): upd.
(shell_view_interface_unset_message_cb): upd.
(e_shell_view_construct): upd.
(get_control_for_uri): upd.
(e_shell_view_get_bonobo_ui_component): upd.
2000-10-04 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (setup_progress_bar): remove evil usize set.
2000-10-03 Matt Bissiri <bissiri@eecs.umich.edu>
* e-shell-view-menu.c (e_shell_view_menu_setup): Use
`bonobo_ui_component_add_verb_list' instead of
`bonobo_ui_component_add_verb_list_with_data' for help_verbs,
so that `command_help' gets an html filename as user_data,
instead of a ptr to EShellView.
(menu_do_misc): Move DumpXML from help_verbs to here, because
`command_xml_dump' needs to get EShellView as user_data.
2000-10-02 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts-view.c (show_new_group_dialog): Destroy the dialog
if the user has clicked on "OK" or "Cancel".
2000-10-02 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (e_storage_set_view_get_current_folder): if
we're not displaying folders, the current folder is NULL.
(class_init): fix typo.
* Makefile.am (libeshell_a_SOURCES):
evolution-storage-set-view-listener.[ch] should be here, not
evolution_SOURCES.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* evolution-storage-set-view.c: add storage_selected behavior -
loop over the listeners calling _storage_selected.
* Evolution-StorageSetView.idl: add storage_selected to the
Listener interface.
* e-storage-set-view.c add storage_selected signal.
(on_cursor_change): if the depth is less than 2, emit
"storage_selected", otherwise emit "folder_selected".
* e-storage-set-view.h: add storage_selected signal.
* evolution-storage-set-view-listener.h: add storage_selected
signal.
* evolution-storage-set-view-listener.c: add storage_selected
signal.
2000-10-02 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage-set-view-listener.c: New.
* evolution-storage-set-view-listener.h: New.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* evolution-storage-set-view.c (impl_StorageSetView_add_listener): fix typo.
(impl_StorageSetView_remove_listener): same.
(impl_StorageSetView__get_show_folders): implementation of getter for show_folders.
(impl_StorageSetView__set_show_folders): implementation of setter for show_folders.
(corba_class_init): install _set_show_folders and _get_show_folders.
* Evolution-StorageSetView.idl: add show_folders attribute to
StorageSetView.
* e-storage-set-view.h: add prototypes for
e_storage_set_view_{get,set}_show_folders.
* e-storage-set-view.c (insert_storages): split this code out from
e_storage_set_view_construct so we can call it when "show_folders"
has been changed.
(e_storage_set_view_construct): remove the code to insert
storages.
(e_storage_set_view_set_show_folders): new function. tears down
existing tree and node/path hashtable and calls insert_storages.
(e_storage_set_view_get_show_folders): new function, retrieves
current show_folders state.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* evolution-storage-set-view-factory.c
(evolution_storage_set_view_factory_new_view): pass
storage_set_view_interface as second argument to
bonobo_object_add_interface, and call gtk_widget_show on the
storage_set_view widget.
2000-10-03 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (setup_bonobo_ui_handler): kill.
* e-shell-view-menu.c (e_shell_view_menu_setup): strip
out the XML UI merge; move it to
* e-shell-view.c (e_shell_view_construct): here, +
freeze / thaw pair.
* e-shell-view.c (setup_progress_bar): impl.
(setup_widgets): hook in.
(progress_bar_timeout_cb): fix.
(start_progress_bar): fix.
(stop_progress_bar): fix.
(e_shell_view_construct): setup ui handler first.
2000-09-22 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (e_shell_view_menu_setup): upd.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (new_folder_cb): set the new node's compare function.
(insert_folders): same.
(new_storage_cb): remove uunecessary cast.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (new_storage_cb): track e-tree sort api change.
(treepath_compare): same.
(new_folder_cb): same.
2000-10-02 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (e_storage_set_view_construct): pass NULL
for the open/closed pixbuf of the tree renderer. we'll let it
supply the default.
(destroy): remove the expanded/unexpanded pixbuf references.
(new_storage_cb): use e_tree_model_node_insert_id so we can (soon)
save expanded/collapsed state.
(new_folder_cb): same.
(insert_folders): same.
(e_storage_set_view_construct): same.
2000-10-02 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (impl_Shell_create_storage_set_view): New,
implementation for `::create_storage_set_view'.
(corba_class_init): Install.
* evolution-storage-set-view-factory.c: New.
* evolution-storage-set-view-factory.h: New.
* evolution-storage-set-view.c: New.
* evolution-storage-set-view.h: New.
* Evolution-Shell.idl: New method
`Shell::create_storage_set_view'.
* Evolution.idl: #include <Evolution-StorageSetView.idl>.
* Evolution-StorageSetView.idl: New.
2000-10-02 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c (find_listener_in_list): New helper
function.
(impl_Storage_remove_listener): New, implementation for
`Storage::remove_listener'.
(remove_listener): Helper function for
`impl_Storage_remove_listener'.
(evolution_storage_get_epv): Install the implementation for
`::remove_listener'.
(add_listener): Return a boolean indicating success or failure.
Reject multiple additions of the same listener.
(impl_Storage_add_listener): Updated accordingly: raise an
exception if `add_listener' fails.
* Evolution-Storage.idl: Added `Storage::remove_listener'. Added
exception `AlreadyListening' for `::add_listener'.
2000-09-29 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (popup_storage_set_view_button_clicked): Renamed
from `popup_storage_set_view_close_button_clicked'.
(storage_set_view_box_map_cb): Updated accordingly. Connect to
"button_clicked" instead of "close_button_clicked".
(disconnect_popup_signals): Updated accordingly.
(e_shell_view_set_folder_bar_mode): Update the button mode of the
title bar according to the folder bar mode.
2000-09-28 Dan Winship <danw@helixcode.com>
* e-corba-storage.c (impl_StorageListener_new_folder): Don't print
"Folder registered successfully" if it didn't. (Duh. :)
2000-09-28 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c: New constant `DEFAULT_URI'.
(e_shell_view_load_settings): If the `DisplayedURI' from
`gnome_config' cannot be displayed, display the `DEFAULT_URI'.
2000-09-26 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c (e_shortcuts_get_group_title): Cast the data
pointer, not the node pointer.
(e_shortcuts_add_group): If @group_num is -1, emit the effective
group number with the "new_group" signal instead of -1, which is
going to confuse the signal handler.
(e_shortcuts_add_shortcut): Likewise with the shortcut.
* e-shortcuts-view-model.c (shortcuts_new_group_cb): We are @data,
not @shortcuts.
(class_init): Install the `::destroy' handler.
* e-shortcuts-view.c (e_shortcuts_view_construct): Set
`priv->shortcuts'.
(remove_shortcut_cb): Don't remove the item both on the data and
the model.
(toggle_small_icons_cb): Removed some crufty checks.
(toggle_large_icons_cb): Likewise.
(show_new_group_dialog): New, implementation for the "Create new
shortcut group" dialog.
(destroy_group_cb): Callback for the "Destroy this group" item.
(create_new_group): Callback for the "Create new group" item.
2000-09-25 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts-view.c (item_selected): Renamed from
`selected_item'.
(class_init): Updated accordingly.
(impl_shortcut_dropped): New function, implementation for
`EShortcutBar::shortcut_dropped'.
(impl_shortcut_dragged): New function, implementation for
`EShortcutBar::shortcut_dragged'.
(e_shortcuts_view_construct): Update to use EShortcutsViewModel.
(class_init): Install them.
* e-shortcuts.c (e_shortcuts_get_group_title): New.
* e-shortcuts-view-model.c: New.
* e-shortcuts-view-model.h: New.
2000-09-24 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_local_storage): Don't unref the local storage.
2000-09-22 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (e_shell_view_menu_setup): upd.
2000-09-21 Federico Mena Quintero <federico@helixcode.com>
* e-shell-view-menu.c: Fix mis-spelling of "calendar".
2000-09-21 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (show_existing_view): upd.
* Evolution-ShellComponent.idl: upd.
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
upd.
2000-09-18 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (command_xml_dump): add xml dump option.
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-component-registry.c, e-corba-storage-registry.c,
e-corba-storage.c, e-folder-type-registry.c, e-folder.c,
e-local-folder.c, e-local-storage.c,
e-shell-folder-creation-dialog.c,
e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c,
e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c,
e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c,
e-storage.c, evolution-local-storage.c, evolution-session.c,
evolution-shell-client.c, evolution-shell-component-client.c,
evolution-shell-component.c, evolution-shell-view.c,
evolution-storage-listener.c, evolution-storage.c, main.c: Fixed
the #include lines to deal properly with gal.
2000-09-16 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (e_shell_view_menu_setup): use datadir.
2000-09-16 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.h: #include "bonobo-win.h", not "bonobo-app.h".
2000-09-15 Dan Winship <danw@helixcode.com>
* e-storage.c (get_path_for_physical_uri_foreach): foreach_data
should be set to the caller-supplied data, not the tree item data.
2000-09-14 Iain Holmes <iain@helixcode.com>
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Remove the *kludge* so that the button width is set properly.
Fixes bug #XXXX
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c: Remove sillies in toggle paths.
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view.c: move fn to bonobo.
2000-09-14 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(GNOME_PRINT_LIBS) to evolution_LDADD.
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (e_shell_view_construct): prune cruft.
(shell_view_interface_unset_message_cb),
(shell_view_interface_set_message_cb): impl.
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (e_shell_view_menu_setup): re-order to suit and
add freeze / thaw, update paths to toggles, remove warnings
2000-09-07 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c: Re-hash pretty much the whole file
* ui.xml: Add.
* e-shell-view.c (e_shell_view_construct): connect unrealize & delete_event
to theit signals on the window (class_init): remove widget_class bits.
2000-09-06 Michael Meeks <michael@helixcode.com>
* e-shell.c (view_destroy_cb, destroy, e_shell_new_view, e_shell_quit):
update to track object type change.
* e-shell.c (e_shell_restore_from_settings): ditto.
* main.c (idle_cb): ditto.
* e-shell-view.c (e_shell_view_new, e_shell_view_construct, setup_widgets):
updated for BonoboApp.
(progress_bar_timeout_cb, start_progress_bar, stop_progress_bar),
(shell_view_interface_set_message_cb, shell_view_interface_unset_message_cb):
emasculated for now.
* e-storage-set-view.c (popup_folder_menu): disable popup menu for now.
2000-09-13 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (popdown_transient_folder_bar): New.
(storage_set_view_box_button_release_event_cb): Rewritten to use
it.
(folder_selected_cb): Pop down the transient folder bar if the
folder bar mode is `TRANSIENT'.
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* ($(IDL_GENERATED)): Stupid `orbit-idl' wants a space after the
`-I'.
2000-09-12 Lauris Kaplinski <lauris@helixcode.com>
* e-shell-view.c (update_folder_title_bar): Translate UTF-8
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am: Remove the `ui.xml' stuff.
2000-09-11 Dan Winship <danw@helixcode.com>
* main.c (main): Initialize libunicode
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* e-local-storage.c: Fixed some warnings.
2000-09-11 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-folder-selection-dialog.c (set_default_folder): Work on
the assumption that @default_uri is not NULL.
(e_shell_folder_selection_dialog_construct): Only call if the
@default_uri is not NULL.
2000-09-11 Ettore Perazzoli <ettore@helixcode.com>
* e-local-storage.c (new_folder): Removed debugging message.
2000-09-11 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c (evolution_storage_new_folder): If
description is NULL, use the empty string instead.
* e-local-storage.c (new_folder): New utility function to add a
new folder by keeping both the Bonobo interface and the EStorage
up-to-date.
(load_folders): Use it here instead of just
`e_storage_new_folder()'.
(component_async_create_folder_callback): Likewise.
* e-shell-view.c (update_for_current_uri): Prevent an
EStorageSetView warning if the path is NULL.
* evolution-storage.c (impl_Storage_add_listener): New,
implementation for `Evolution::Storage::add_listener'.
(evolution_storage_get_epv): Install it.
* evolution-storage-listener.c
(evolution_storage_listener_corba_objref): New.
(create_servant): Create the servant with `g_new0()' instead of
`g_new()'.
2000-09-11 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage-listener.c
(evolution_storage_listener_construct): Unset the `GTK_FLOATING'
flag as `EvolutionStorageListener' is self-owned.
2000-09-11 Ettore Perazzoli <ettore@helixcode.com>
* e-storage.c (impl_list_folders): Removed.
(impl_get_subfolder_paths): New static function, implementation
for `::get_subfolder_paths'.
(class_init): Install it.
(e_storage_get_subfolder_paths): New.
* e-storage.h: `list_folders' virtual method removed. New virtual
method `list_subfolder_paths'.
* e-storage-set-view.c (etree_icon_at): If the folder is not
found, return NULL.
* e-local-storage.c (bonobo_interface_set_display_name_cb): New
function, callback for the `set_display_name' signal on the
EvolutionLocalStorage.
(construct): Connect it.
* e-storage-set-view.c (folder_changed_cb): New callback for the
"changed" signal emitted by the EFolders. It makes the model emit
the "changed" signal for the appropriate row.
(insert_folders): Connect it.
2000-09-09 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c (etree_value_at): Return the name of the
folder or the storage instead of just returning the last segment
of the path.
* e-storage-set.c (e_storage_set_get_folder): If the storage is
not found, just return NULL to avoid a g_warning.
2000-09-09 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Fixed some warnings.
2000-09-09 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (update_for_current_uri): Make sure `folder_name'
is always dynamically allocated, as we `g_free()' it.
2000-09-08 Lauris Kaplinski <lauris@helixcode.com>
* e-shell-view.c (update_for_current_uri): Translate UTF-8 string
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c (list_through_listener_foreach): Don't crash
on nodes with no data. [The root node has none indeed.]
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* e-folder-tree.c (e_folder_tree_get_folder): Return NULL if there
is no folder with that @path, instead of segfaulting.
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c: New member `folder_tree' in
`EvolutionStoragePrivate'.
(init): Initialize it.
(destroy): Destroy it.
(list_through_listener): New.
(add_listener): Use it to list all the current folders through the
listener.
(evolution_storage_new_folder): Add the thingie to the
`folder_tree'.
(evolution_storage_removed_folder): Remove the thingie from the
`folder_tree'.
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* e-storage.c: Replaced the `path_to_folder' GHashTable with an
EFolderTree named `folder_tree'.
(init): Updated accordingly.
(destroy): Updated accordingly.
(free_private): Removed.
(remove_folder): Removed.
(folder_new): Removed.
(folder_remove_subfolder): Removed.
(folder_add_subfolder): Removed.
(folder_destroy): Removed.
(get_parent_path): Removed.
(impl_list_folders): Reimplemented by using the `EFolderTree'
methods.
(e_storage_construct): Don't create the root folder here.
(get_path_for_physical_uri_foreach): Updated to be an
`EFolderTreeForeachFunc'.
(e_storage_get_path_for_physical_uri): Likewise, updated to use
`e_folder_tree_foreach()'.
(e_storage_new_folder): Updated to use the EFolderTree.
(e_storage_removed_folder): Likewise.
(folder_destroy_notify): New function, for the destroy
notification of `EFolder'.
* evolution-storage-listener.c: Change the `servant' member in
`EvolutionStorageListenerPrivate' into an
`EvolutionStorageListenerServant'.
* e-folder-tree.c: New.
* e-folder-tree.h: New.
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage-listener.c (create_servant): Return an
`EvolutionStorageListenerServant' instead of a
`POA_Evolution_StorageListener'.
(evolution_storage_listener_new): Add a cast accordingly.
* evolution-storage.c (corba_class_init): Remove `NO_WARNINGS'
madness.
2000-09-08 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c: Added base ETableModel functions.
* evolution-storage-listener.c, evolution-storage.c: Fixed some
warnings.
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (set_owner_on_components): New.
(e_shell_construct): Call it after setting up the local storage.
* e-component-registry.c (register_component): Don't set the owner
here.
* evolution-shell-client.c
(evolution_shell_client_get_local_storage): New.
2000-09-08 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-view.c (destroy): Chain to the parent's
destroy method.
* evolution-shell-component.c (destroy): Chain to the parent's
destroy method.
* evolution-storage.c: `corba_storage_listener' in
`EvolutionStoragePrivate' replaced with a list of listeners,
`corba_storage_listeners'.
(init): Init to NULL.
(add_listener): New utility function.
(destroy): Destroy all the listeners.
(evolution_storage_new_folder): Notify all the listeners.
(evolution_storage_removed_folder): Likewise.
* e-local-storage.c: New member `bonobo_interface' in
`ELocalStoragePrivate'.
(init): Init to NULL.
(e_local_storage_get_corba_interface): New.
* e-shell.c: New member `local_storage' in `EShellPrivate'.
(init): Init to NULL.
(setup_local_storage): Make it point to the newly created local
storage.
(destroy): Unref if not NULL.
(impl_Shell_get_local_storage): New, implementation for
`Evolution::Shell::get_local_storage'.
(corba_class_init): Set it up.
* evolution-local-storage-client.c: New.
* evolution-local-storage-client.h: New.
* evolution-local-storage.c: New.
* evolution-local-storage.h: New.
* evolution-storage-listener.c: New.
* evolution-storage-listener.h: New.
* Evolution-Storage.idl: New method `Storage::add_listener'.
* Evolution-Shell.idl: New method `Shell::get_local_storage'.
* Evolution-LocalStorage.idl: New.
2000-09-02 Lauris Kaplinski <lauris@helixcode.com>
* e-shell-folder-creation-dialog.c: Use e_utf8 wrappers
2000-09-01 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c (removed_folder_cb): free node_data.
(removed_storage_cb): same.
(new_storage_cb): don't free the path we put in the node's
node_data.
(e_storage_set_view_set_current_folder): remove calls to
set_cursor_row (-1), and clean up a little bit.
2000-09-01 Christopher James Lahey <clahey@helixcode.com>
* e-local-storage.c: Strdup path when setting the callback data.
* evolution-storage.c: Removed an unused variable.
2000-08-31 Chris Toshok <toshok@helixcode.com>
* e-shell-view.c (init): initialize delayed_selection = NULL;
2000-09-01 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c (evolution_storage_new_folder): Handle @path
as the full path.
* e-storage.c (e_storage_new_folder): Consider @path to be the
full path, not the parent path.
* e-local-storage.c (load_folders): Updated accordingly.
* Evolution-Storage.idl: Member `name' of `struct Folder' renamed
to `display_name'.
2000-08-31 Chris Toshok <toshok@helixcode.com>
* e-shell-view.c: add delayed_selection to _EShellViewPrivate.
(new_folder_cb): new function. check if the path is our
delayed_selection and if so, select it.
(folder_selected_cb): if the user selects something using a UI
gesture, clear out a pending delayed selection.
(e_shell_view_display_uri): if the uri isn't available, save it in
the delayed_selection field, and set up the new_folder signal.
2000-08-29 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (shell_view_interface_set_message_cb): If the
message contains a newline, only display the part until the
newline, excluding the newline. Otherwise the status bar resizes
nastily.
2000-08-28 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_components): Removed the hardcoding of the
shell component IDs. Rather, do an OAF query looking for the
`Evolution::ShellComponent' interface and activate all the
components in the result.
(MAIL_COMPONENT_ID): Removed.
(CALENDAR_COMPONENT_ID): Removed.
(ADDRESSBOOK_COMPONENT_ID): Removed.
* e-storage-set-view.c: Make `sort_model' static.
2000-08-25 Chris Toshok <toshok@helixcode.com>
* e-storage-set-view.c: convert to use ETree instead of GtkCTree.
* e-storage-set-view.h: change superclass from GtkCTree to ETable.
* main.c (main): call e_cursors_init.
* Makefile.am (evolution_LDADD): add libetable.a
2000-08-25 Peter Williams <peterw@helixcode.com>
Silence some obvious assertions.
* e-shell.c (e_shell_construct): Ref our shortcut bar to
sink it. Same with the folder_type_registry.
* e-shell-folder-title-bar.c (destroy): Only attempt to unref
priv->icon if nonnull.
* e-shell-view.c (update_folder_title_bar): Don't attempt to set
the folder_icon/_name if they're NULL.
2000-08-24 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component-client.c
(evolution_shell_component_client_new): Don't abort if the
component cannot be activated. Rather, just return NULL.
2000-08-20 arik devens <arik@helixcode.com>
* Makefile.am (evolution_LDADD): Added UNICODE_LIBS to link in the
new e-text stuff.
2000-08-19 Christopher James Lahey <clahey@helixcode.com>
* e-shell-folder-title-bar.c: Fixed a warning.
2000-08-19 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Fixed a warning.
2000-08-18 Larry Ewing <lewing@helixcode.com>
* e-shell-folder-title-bar.c (style_set_cb): update the pixmap
define E_USE_STYLES to disable the current darkening behavior
(destroy): free the icon.
(e_shell_folder_title_bar_construct): style_set_cb does everything
important now.
(e_shell_folder_title_bar_set_icon): actually store the pixbuf
when we set it so that we still have it if the style changes and
take care of refcounting them properly.
2000-08-17 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c (menu_create_file): Make capitalization of
menu items consistent.
(menu_create_view): Likewise.
(menu_create_help): Likewise.
(e_shell_view_menu_setup): Create a component menu placeholder so
that components can add their own component-specific menus there.
(menu_create_actions): Removed.
(e_shell_view_menu_setup): Don't call it.
(menu_create_tools): Removed.
(e_shell_view_menu_setup): Don't call it.
(menu_create_settings): New.
(e_shell_view_menu_setup): Call it.
2000-08-13 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (delete_event): New. Make the parent shell quit.
2000-08-13 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (shell_view_interface_set_message_cb): Removed
debugging message.
(shell_view_interface_unset_message_cb): Likewise.
2000-08-13 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c: New members `progress_bar_timeout_id',
`progress_bar_value' in `EShellViewPrivate'.
(init): Init them.
(destroy): If the timeout id is not zero, remove the associated
timeout.
(progress_bar_timeout_cb): New.
(start_progress_bar): New.
(stop_progress_bar): New.
(shell_view_interface_set_message_cb): If busy, start the progress
bar. Otherwise, stop it.
(shell_view_interface_unset_message_cb): Stop the progress bar.
* e-shell-view.c (setup_widgets): Enable the progress bar in the
appbar.
* e-shell-view.c (shell_view_interface_unset_message_cb): New
function, callback for the `EvolutionShellView::unset_message'
signal.
(shell_view_interface_set_message_cb): New function, callback for
the `EvolutionShellView::set_message' signal.
(setup_evolution_shell_view_interface): Connect these signals to a
newly created EvolutionShellView object, add ::add_interface this
object to the control's frame.
* evolution-shell-view.c: New.
* evolution-shell-view.h: New.
* Evolution-ShellView.idl: New interface.
2000-08-10 Dan Winship <danw@helixcode.com>
* Evolution-ShellComponent.idl: add "in string evolution_homedir"
to ShellComponent::set_owner's arguments.
* e-shell.c (e_shell_get_local_directory): Expose local_directory.
* e-component-registry.c (register_component): Pass the shell's
"local_directory" to the component as its evolution_homedir.
* evolution-shell-component.c (impl_ShellComponent_set_owner):
Update to include evolution_homedir.
(class_init): Update signal prototype.
* evolution-shell-component-client.c
(evolution_shell_component_client_set_owner): Update to include
evolution_homedir.
* e-init.c: Remove. This wasn't being used.
2000-08-10 Peter Williams <peterw@helixcode.com>
* e-shell-view-menu.c (command_about_box): Add lil' ol'
me to the about box.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* e-setup.c, e-shell.c: Fixed some warnings.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Fixed a warning.
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c (menu_create_file_new): Create a placeholder
for the print items.
2000-08-08 Dan Winship <danw@helixcode.com>
* e-setup.c (e_setup): Check for ~/evolution/shortcuts.xml in
addition to ~/evolution, to make sure it's really the directory
we're expecting it to be. Also, convert from old-style config file
to new-style config directory.
2000-08-04 Michael Meeks <michael@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
unref.
* e-shell.c (e_shell_construct): Remove erroneous refs on
folder_type_registry, storage_set.
* e-shortcuts-view.c (destroy): unref the shortcuts, causing a
massive ripple chain ref-count reaction.
2000-08-03 JP Rosevear <jpr@helixcode.com>
* e-shell.h: Remove gconf references
* e-shell-view.h: Remove gconf references
* main.c (idle_cb): Remove gconf references
* Makefile.am: Remove gconf cflags and libs
* e-shell-view.c (e_shell_view_load_settings): Change to use
gnome-config
(e_shell_view_save_settings): ditto
* e-shell.c (e_shell_restore_from_settings): Change to
use gnome_config
(save_settings_for_views): ditto
2000-08-03 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (destroy): unref the UI handler.
2000-08-03 Jeffrey Stedfast <fejj@helixcode.com>
* e-shell-folder-selection-dialog.c (set_default_folder): Make
sure default_uri isn't NULL!!
2000-08-03 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c (command_goto_folder): Just use the current
URI as the @default_uri parameter for
`e_shell_folder_selection_dialog_new()'.
* evolution-session.c (class_init): Call `corba_class_init()'.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_new): @default_path renamed to
@default_uri.
(e_shell_folder_selection_dialog_construct): Likewise. If the
@default_uri is an `evolution:' one, use it as a path; if it is
different, assume it is a physical URI and consequently look for
the folder that has that physical URI and make it the default.
(set_default_folder): New helper function.
(e_shell_folder_selection_dialog_construct): Use it.
* e-storage-set.c (e_storage_set_get_path_for_physical_uri): New.
* e-storage.c (e_storage_get_path_for_physical_uri): New.
2000-07-27 Dan Winship <danw@helixcode.com>
* main.c (idle_cb): work with either gconf 0.5 or newer
2000-07-26 Peter Williams <peterw@helixcode.com>
* e-storage.c (e_storage_new_folder): Fix tiny mem leak.
2000-07-26 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (disconnect_popup_signals): Disconnect the "map"
signal handler too.
2000-07-25 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-folder-creation-dialog.c (add_folder_types): Work around
GtkOptionMenu utter brokenness by destroying the associated
Glade-built GtkMenu and creating a new one from scratch.
2000-07-24 Dan Winship <danw@helixcode.com>
* e-shell.c, main.c: Remove GOAD support.
* evolution-shell-component-client.c: Remove GOAD support.
(evolution_shell_component_client_new): Give the "maybe
OAF_INFO_PATH" message if no oafinfo file was found, and give a
"consult previous error messages" message if the component was
found but not activated. Abort in either case.
2000-07-23 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c: Converted to use `bonobo_ui_handler_*()'
stuff directly, instead of converting from GnomeUIInfo.
(command_quit): Update arg types for BonoboUIHandler.
(command_run_bugbuddy): Likewise.
(command_about_box): Likewise.
(command_new_task): Removed.
(command_new_journal_entry): Removed.
(menu_create_file_new): New.
(menu_create_file): New.
(menu_create_edit): New.
(menu_create_view): New.
(menu_create_tools): New.
(menu_create_actions): New.
(e_shell_view_menu_setup): Create menus using them instead of
converting from GnomeUIInfo.
2000-07-22 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (e_shell_construct): Don't unref NULL shortcuts, you
idiot.
2000-07-22 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (e_shell_view_set_folder_bar_mode): Make the
title bar non-clickable when the folder tree is visible.
* e-shell-folder-title-bar.c: New members `button_arrow' and
`clickable' in `EShellFolderTitleBarPrivate'. Renamed `label'
into `button_label'. Added `label'.
(init): Init them.
(e_shell_folder_title_bar_construct): Pass a pointer to the title
bar as the user data for the "realize" signal. Create `label'.
(title_button_box_realize_cb): Use the `button_arrow' member
instead of using `gtk_object_{set,get}_data()'.
(setup_style): Set the style for `label' too.
(e_shell_folder_title_bar_set_clickable): New.
(e_shell_folder_title_bar_set_title): Set both `label' and
`button_label'.
2000-07-21 Peter Williams <peterw@helixcode.com>
* evolution-shell-client.c (user_select_folder): Don't use
g_main_loop to block the caller; this will break when
threads are enabled and GDK_THREADS_ENTER deadlocks. Use
gtk_main / gtk_main_exit to enter and exit the main loop,
which handles the recursive case correctly.
(impl_FolderSelectionListener_selected): Same.
(impl_FolderSelectionListener_cancel): Same.
(struct _FolderSelectionListenerServant): No more main_loop member.
2000-07-21 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (storage_set_view_box_button_release_event_cb):
Set the toggle state to FALSE on the title bar.
* e-shell-folder-title-bar.c: Signal "title_clicked" replaced by
"title_toggled".
(setup_style): Change the style for the button too.
(e_shell_folder_title_bar_construct): Use a GtkToggleButton, not a
GtkButton.
(e_shell_folder_title_bar_set_toggle_state): New.
2000-07-21 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-folder-title-bar.c (create_icon_pixmap): New. Create a
small arrow-shaped GtkPixmap.
(title_button_box_realize_cb): New. Callback for the "realize"
signal of the button's inner box.
* e-shell-view.c (title_bar_clicked_cb): New function, callback
for the "title_clicked" signal of the title bar.
(setup_widgets): Connect it.
* e-shell-view.c: New member `storage_set_title_bar' in
`EShellViewPrivate'.
(setup_storage_set_subwindow): Set it.
* e-shell-folder-title-bar.c: Use a GtkLabel instead of an
EClippedLabel for the title.
(title_button_clicked_cb): New.
(e_shell_folder_title_bar_construct): Put the label into a button.
Connect the button's "clicked" signal to
`title_button_clicked_cb'.
2000-07-21 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c
(impl_ShellComponent_populate_folder_context_menu): If the pointer
to the function to populate the folder context menu is NULL, don't
do anything.
2000-07-21 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c (popup_folder_menu): New. Create a
BonoboUIHandler-managed pop-up menu, let the component fill it in
with `::populate_folder_context_menu', and display it. Then
destroy it with the associated BonoboUIHandler.
(handle_right_button_selection): New.
(handle_left_button_selection): New. This pops up the right-click
menu.
(button_release_event): Use them.
(init): Set the `GTK_BUTTON_SELECTS' flag for button #3's actions.
* evolution-shell-component-client.c
(evolution_shell_component_client_populate_folder_context_menu):
New.
(evolution_shell_component_client_async_create_folder): Added
preconditions.
* e-shell-view.c (e_shell_view_save_settings): Add missing cast.
* evolution-shell-component.c: New member
`populate_folder_context_menu' in
`EvolutionShellComponentPrivate'.
(impl_ShellComponent_populate_folder_context_menu): New,
implementation for
`Evolution::ShellComponent::populate_folder_context_menu'.
(corba_class_init): Install it.
(evolution_shell_component_new): New arg
@populate_folder_context_menu.
(evolution_shell_component_construct): Likewise.
* Evolution-ShellComponent.idl: New method
`::populate_folder_context_menu'.
2000-07-20 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (e_shell_view_save_settings): Save the paned
positions.
(e_shell_view_load_settings): Restore them.
2000-07-20 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (save_settings_for_views): New. Code moved out of
`e_shell_save_settings'.
(e_shell_save_settings): Use it.
(save_settings_for_component): New.
(save_settings_for_components): New.
(e_shell_save_settings): Use it, so that we make all the
components save settings too.
* e-component-registry.c
(e_component_registry_get_id_list): New.
(e_component_registry_get_component_by_id): New.
* Makefile.am (libeshell_a_SOURCES): Add
`evolution-shell-component-client' and `evolution-session'.
* evolution-session.c: New.
* evolution-session.h: New.
* Makefile.am (evolution_SOURCES): Removed files that were already
in `libeshell.a'.
* Evolution.idl: #include <Evolution-Session.idl>.
* Evolution-Session.idl: New.
2000-07-20 Ettore Perazzoli <ettore@helixcode.com>
* main.c (no_views_left_cb): Call `e_shell_quit()' on the shell
before getting out of the GTK+ main loop.
(view_delete_event_cb): Removed.
(idle_cb): Don't call it.
* e-shell-view-menu.c (command_new_view): New, implementation of
the "New view" command.
2000-07-16 Damon Chaplin <damon@helixcode.com>
* e-shortcuts-view.c (e_shortcuts_view_construct): created a model
for the EShortcutBar. This will probably have to be moved to support
multiple views.
(class_init): #if'd out overriding the class functions. They don't
exist any more (they are in the model instead).
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* main.c: Fixed to match gconf API change.
2000-07-10 Dan Winship <danw@helixcode.com>
* main.c (development_warning): Update the message.
2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-folder-title-bar.c (title_button_clicked_cb):
Temporarily `#if 0'ed out.
2000-07-10 Dan Winship <danw@helixcode.com>
* e-shell.c (impl_Shell_user_select_folder): Translate a
default_folder of "" into NULL (which can't be passed over CORBA).
2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
* e-storage.c (e_storage_new_folder): Removed debugging message.
* e-storage-set.c (storage_new_folder_cb): Removed debugging
message.
2000-07-10 Federico Mena Quintero <federico@helixcode.com>
* e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush()
when the shell view is unrealized so that the DeleteEvent gets
sent to the remote plugs as soon as possible before we start
making other CORBA calls. The problem is that our CORBA pipe is
synchronous while our X pipe is asynch. We have to ensure
ordering for certain operations. This is NOT the correct and
complete fix, which should go in Bonobo.
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (e_shell_view_display_uri): Don't update the
current URI if there are problems creating a view for it.
(show_error): Remove. Not used anymore.
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c: Cleanup some unused menu items and added
"FIXMEs" for the ones we plan to add in the short term but are not
implemented yet.
(command_create_folder): Get rid of an unused variable.
2000-07-07 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-client.c (user_select_folder): Fix small warning
by adding proper cast when filling in the CORBA sequence struct.
2000-07-07 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_corba_storages): Ref the CORBA storage
registry.
2000-07-06 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c: Removed `corba_storage_registry' member
from `EvolutionStoragePrivate'.
(destroy): Don't unref/release it. Call
`StorageListener::destroy' to notify that we are dead.
(evolution_storage_register): Don't ref and store the registry.
2000-07-05 Dan Winship <danw@helixcode.com>
* e-shell.c (e_shell_save_settings): Use the correct gconf path
(/apps, not /app), and call gconf_client_suggest_sync at the end.
(e_shell_restore_from_settings): Use the correct gconf path.
2000-07-05 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c (command_goto_folder): Set the folder
selection dialog as transient for the shell view.
(command_create_folder): New, bound to the "Create folder"
command in the "File" menu.
2000-07-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (impl_Shell_user_select_folder): New arg
@allowed_types. Pass it to the EShellFolderSelectionDialog.
Connect to the "cancelled" and "folder_selected" signals instead
of "clicked".
(corba_listener_destroy_notify): New callback.
(impl_Shell_user_select_folder): Associate it to the DestroyNotify
for the "corba_listener" GtkObject data, so we don't leak it.
(folder_selection_dialog_clicked_cb): Don't release the listener
interface here.
(folder_selection_dialog_cancelled_cb): New callback for the
"cancelled" signal.
(folder_selection_dialog_folder_selected_cb): New callback for the
"folder_selected" signal.
* e-shell-view-menu.c (command_goto_folder): Don't connect to
"clicked". Connect to "cancelled" and "folder_selected" instead.
(folder_selection_dialog_cancelled_cb): New, callback for the
"cancelled" signal.
(folder_selection_dialog_folder_selected_cb): New, callback for
the "folder_selected" signal.
* e-shell-folder-selection-dialog.c New members `allowed_types',
`storage_set' in `EShellFolderSelectionDialogPrivate'.
(class_init): Install signals "folder_selected", "cancelled".
(init): Init to NULL.
(impl_destroy): Free/unref them.
(e_shell_folder_selection_dialog_new): New arg @allowed_types.
(e_shell_folder_selection_dialog_construct): New arg
@allowed_types. Initialize `priv->allowed_types' from it.
(check_folder_type): New function. Check if the selected folder
is of the appropriate type and, if not, return FALSE and pop up an
error dialog. Otherwise, return TRUE.
(impl_clicked): Use `check_folder_type()' to check if the folder
type is OK. If it is not, stop emission of the "clicked" signal.
* e-shell-folder-selection-dialog.h: New signals
"folder_selected", "cancelled".
* evolution-shell-client.c
(evolution_shell_client_user_select_folder): New arg
@allowed_types.
(user_select_folder): New arg @allowed_types. Pass this to the
::user_select_folder method.
* Evolution-Shell.idl: New arg @required_types in
::user_select_folder.
2000-07-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_components): Don't ref the component registry.
2000-06-30 Dan Winship <danw@helixcode.com>
* Evolution-Shell.idl: add "cancel" to FolderSelectionListener.
* evolution-shell-client.c (impl_FolderSelectionListener_cancel):
Implement cancel (set *uri and *physical_uri to NULL).
(evolution_shell_client_user_select_folder): document %NULL uri
and physical_uri return values.
* e-shell.c (folder_selection_dialog_clicked_cb): If the user
clicked "Cancel" or used the wm to close the dialog, call _cancel
instead of _selected.
2000-06-30 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_set_owner):
Duplicate the object before storing it, you doofus.
2000-06-30 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_unset_owner):
NULL the owner_client.
2000-06-30 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-client.h
(evolution_shell_client_user_select_folder): Add prototype.
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c: New member `owner_client'. Removed
member `corba_owner'. All the code updated to use it.
(evolution_shell_component_get_owner): Changed so that it returns
an EvolutionShellClient instead of the raw CORBA object.
* evolution-shell-component.h: Change signal "owner_set" to get an
EvolutionShellClient wrapper instead of a CORBA interface.
* evolution-shell-client.c: New.
* evolution-shell-client.h: New.
2000-06-29 Dan Winship <danw@helixcode.com>
* evolution-shell-component-client.c
(evolution_shell_component_client_new): Update warning message to
not say "CRASHING", since it won't if you have current bonobo.
2000-06-29 Peter Williams <peter@beta.newton.cx>
* e-shell.c (e_shell_restore_from_settings): Check for the
insanely invalid NumberOfViews = 0 case.
2000-06-29 Peter Williams <peter@helixcode.com>
* e-shell.c (e_shell_construct): Ref the various E-things that
we create to go with our unrefs in the destructor.
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (e_shell_view_construct): Don't ref the shell.
(destroy): Don't unref the shell.
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c (e_shortcuts_construct): Fix typo: @shortcuts
should unset `GTK_FLOATING', not @storage_set.
* e-shell-view.c (get_storage_set_path_from_uri): If @uri is NULL,
return NULL.
* main.c (idle_cb): Restore the shell from the settings. If this
fails, just create a new view.
* e-shell.c (e_shell_save_settings): New.
(e_shell_quit): Save settings before exiting.
(e_shell_restore_from_settings): New.
* e-shell-view.c (e_shell_view_save_settings): New.
(e_shell_view_load_settings): New.
* main.c (idle_cb): Initialize Gconf, create the GConfClient and
pass it to `e_shell_new()'.
* e-shell.c: New member `gconf_client' in `EShellPrivate'.
(destroy): Unref it if not NULL.
(init): Init to NULL.
(e_shell_new): New param @gconf_client.
(e_shell_construct): Likewise.
* Makefile.am (INCLUDES): Add `GCONF_CFLAGS'.
2000-06-27 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Enable the title bar button.
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
* e-shell.c (folder_selection_dialog_clicked_cb): Close the dialog
when done. Dont do anything if 'new' was pressed, and always
return empty strings if 'cancel' was pressed.
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
* e-shell.c (impl_Shell_user_select_folder): Set the listener as
the corba_listener data, not the shell.
2000-06-26 Christopher James Lahey <clahey@helixcode.com>
* glade/Makefile.am: Added EXTRA_DIST for make distcheck.
2000-06-19 Ettore Perazzoli <ettore@helixcode.com>
* e-local-storage.c: Don't #define POSIX_SOURCE at all; this is
not needed anymore as we no longer use `readdir_r'.
2000-06-19 Chris Toshok <toshok@helixcode.com>
* e-local-storage.c: #undef _POSIX_SOURCE after including
dirent.h. this breaks the build on freebsd if we leave it
#defined. go figure.
2000-06-19 Dan Winship <danw@helixcode.com>
* evolution-shell-component-client.c
(evolution_shell_component_client_new): Add a warning before
crashing due to a known bug when it can't activate a component, so
people don't have to waste any time trying to figure out what's
up.
2000-06-13 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am: Compile the CORBA-built files,
evolution-shell-component.c and evolution-storage.c into a
separate `libeshell.a' library. Link the `evolution' executable
to it. Also cleaned up a bit and got rid of the `CPP_FLAGS'
assignment.
2000-06-12 Michael Meeks <michael@helixcode.com>
* e-shell-folder-selection-dialog.c: include gnome-dialog.h
(PARENT_TYPE): GNOME_TYPE_DIALOG replaced with gnome_dialog_get_type.
2000-06-10 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (impl_Shell_user_select_folder): New, implementation
for `Shell:user_select_folder'.
(corba_class_init): Install it.
(folder_selection_dialog_clicked_cb): Callback for the folder
selection dialog.
* Evolution-Shell.idl: New method `Shell::user_select_folder'.
New interface `FolderSelectionListener'.
* glade/e-shell-folder-creation-dialog.glade: Make it larger.
* e-shell-folder-creation-dialog.h: Fix typo: #include
<gtk/gtkwindow.h>, not <gtk/gtkwidget.h>.
* e-shell-view-menu.c: Added "Go to folder..." command.
(commmand_goto_folder): Implementation for it.
* e-shell-folder-selection-dialog.c: New.
* e-shell-folder-selection-dialog.h: New.
2000-06-10 Ettore Perazzoli <ettore@helixcode.com>
* e-local-folder.c (save_metadata): Don't set the description in
the XML file if null. Compute the physical path correctly.
* e-folder.c (e_folder_construct): Allow NULL description.
* evolution-shell-component-client.c (init): Initalize
`listener_interface' to `CORBA_OBJECT_NIL' and `listener_servant'
to NULL.
(create_listener_interface): Return void and set the `servant' and
`listener_servant' fields directly.
(evolution_shell_component_client_async_create_folder): Updated
accordingly.
* e-shell-folder-creation-dialog.c: New struct `DialogData' to be
passed to the dialog's callbacks.
(dialog_data_destroy): New.
(e_shell_show_folder_creation_dialog): Set up a `DialogData'
object and pass it as the data for the signals.
(shell_destroy_cb): New handler for the "destroy" signal on the
shell.
(e_shell_show_folder_creation_dialog): Connect it.
(dialog_destroy_cb): New handler for the "destroy" signal on the
dialog; it frees the associated `DialogData'.
(e_shell_show_folder_creation_dialog): Connect it.
(async_create_cb): New function, callback for the async folder
creation function.
(entry_name_is_valid): New function to check if the entered folder
name is valid.
(dialog_clicked_cb): Check if the specified folder name is valid
and, if so, asynchronously create the new folder.
(add_folder_types): Set "type_name" data on each menu item.
* e-storage-set-view.c (e_storage_set_view_get_current_folder):
New function.
* e-storage-set.c (get_storage_for_path): New helper function.
(e_storage_set_get_folder): Use it.
* e-storage.c (e_storage_async_create_folder): Renamed from
`e_storage_create_folder'.
(e_storage_remove_folder): Renamed from `e_storage_remove_folder'.
(impl_create_create_folder): Renamed from `impl_create_folder'.
(impl_create_remove_folder): Renamed from `impl_remove_folder'.
(class_init): Updated accordingly.
(e_storage_result_to_string): New function.
* e-storage.h: `::create_folder' renamed to
`::async_create_folder'. `::remove_folder' renamed to
`::async_remove_folder'.
* evolution-shell-component.h: Return type of
`EvolutionShellComponentCreateFolderFn' and
`EvolutionShellComponentRemoveFolderFn' changed to `void'.
* e-local-storage.c: `EComponentRegistry component_registry'
replaced with `EFolderTypeRegistry folder_type_registry' in
`ELocalStoragePrivate'
(component_async_create_folder_callback): New function, to handle
the callback from EvolutionShellComponent.
(construct): Likewise.
(e_local_storage_open): Replaced @component_registry with
@folder_type_registry.
(impl_create_folder): Implemented.
* e-local-folder.c (e_local_folder_new): New.
(e_local_folder_construct): New.
(e_local_folder_save): Precondition: physical URI is not NULL.
(save_metadata): Unlink the metadata file if `xmlSaveFile()'
fails.
* e-storage.c (e_storage_create_folder): Precondition: @path is
absolute.
(e_storage_remove_folder): Likewise.
2000-06-09 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c: Removed folder menu and "save as..." command.
* main.c (main): Call `glade_gnome_init()'.
* e-shell-view-menu.c (command_new_folder): Implemented.
* e-shell-folder-creation-dialog.c: New.
* e-shell-folder-creation-dialog.h: New.
* glade/Makefile.am: New.
* glade/e-shell-folder-creation-dialog.glade: New.
* e-shell-view.c (e_shell_view_get_current_uri): New.
* e-folder-type-registry.c
(e_folder_type_registry_get_type_names): New.
* e-shell-view.c (get_control_for_uri): Updated to use
`EvolutionShellComponentClient'.
* e-folder-type-registry.c: Use `EvolutionShellComponentClient's
instead of `BonoboObjectClient's.
* e-component-registry.c: Use `EvolutionShellComponentClient'
instead of `BonoboObjectClient' in `Component'.
(component_new): Updated accordingly.
(register_component): Likewise.
* evolution-shell-component-client.h: New.
* evolution-shell-component-client.c: New.
* evolution-shell-component.c
(impl_ShellComponent_async_create_folder): New, implementation of
`::async_create_folder'.
(impl_ShellComponent_async_remove_folder): New, implementation of
`::async_remove_folder'.
(corba_class_init): Install them.
(evolution_shell_component_new): New args `create_folder_fn' and
`remove_folder_fn' for setting the handlers for these new methods.
(evolution_shell_component_construct): Likewise.
* Evolution-ShellComponent.idl
(ShellComponent::async_create_folder): New.
(ShellComponent::async_remove_folder): New.
(ShellComponentListener): New.
* evolution-shell-component.c (impl_ShellComponent_create_view):
New param @type. Use the new `EvolutionShellComponentCreateViewFn'.
* evolution-shell-component.h: New enum `EvolutionShellComponentResult'.
Changed `EvolutionShellComponentCreateViewFn' to return an
`EvolutionShellComponentResult'.
* e-shell-view.c (get_control_for_uri): Pass the folder type to
`ShellComponent::create_view'.
* Evolution-ShellComponent.idl: New param @type for
`ShellComponent::create_view'.
2000-06-08 Miguel de Icaza <miguel@helixcode.com>
* main.c (development_warning): Use version here. Add padding to
the message.
Only destroy object if its window was not closed.
2000-06-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (setup_bonobo_ui_handler): Oops. Don't create
the toolbar. This was not supposed to be committed.
2000-06-07 Ettore Perazzoli <ettore@helixcode.com>
* e-storage.c (folder_destroy): Don't destroy the subfolders.
(remove_folder): New helper function.
(free_private): Use it.
(e_storage_removed_folder): Use it here too.
(folder_destroy): Don't unref the EFolder if NULL.
* e-storage-set-view.c (e_storage_set_view_construct): Use
`gtk_signal_connect_while_alive()' instead of just
`gtk_signal_connect()' so that the signal handler is automatically
removed when we are destroyed.
* e-storage-set.c (e_storage_set_remove_all_storages): New
function.
* e-shell-view.c (e_shell_view_construct): Use `bonobo_object_ref'
on the shell instead of `gtk_object_ref'.
(destroy): Unref the shell.
* e-local-storage.h: #include "e-component-registry.h".
* e-shell.c (setup_local_storage): Renamed from `setup_storages'.
Only set up the local storage, not the CORBA one, and don't create
the storage set.
(e_shell_construct): Create the storage set here instead. Call
`setup_local_storage' after setting up the components.
* e-local-storage.c: New member `component_registry' in
`ELocalStoragePrivate'.
(init): Init to NULL.
(destroy): If not null, unref it.
(e_local_storage_open): New arg @component_registry.
(construct): New arg @component_registry. Init
`priv->component_registry' from it.
* e-local-storage.c (impl_get_name): Renamed from `get_name'.
(impl_create_folder): New function, implementing
`EStorage::create_folder'. Just a stub for now.
(impl_remove_folder): New function, implementing
`EStorage::remove_folder'. Just a stub for now.
(class_init): Install these stub implementations.
* e-storage.c (e_storage_remove_folder): New function.
(e_storage_create_folder): New function.
(impl_create_folder): New function, default implementation for
`::create_folder'.
(impl_remove_folder): New function, default implementation for
`::remove_folder'.
(class_init): Install the implementations.
* e-storage.c (impl_get_name): Renamed from `get_name'.
(impl_get_folder): Renamed from `get_folder'.
(impl_list_folders): Renamed from `list_folders'.
* e-storage.h: New virtual methods `remove_folder',
`create_folder'.
* e-storage.c (e_storage_removed_folder): Renamed from
`e_storage_remove_folder'.
* e-corba-storage.c (impl_StorageListener_removed_folder): Updated
accordingly.
2000-06-02 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (setup_bonobo_ui_handler): Create the default toolbar.
2000-06-02 Jeffrey Stedfast <fejj@helixcode.com>
* e-shell-view-menu.c: Changed "Using the Shell" to "Getting Started"
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Free the uri variable.
* e-shell.c: Free the local_directory variable.
2000-06-02 Ettore Perazzoli <ettore@helixcode.com>
* main.c (view_delete_event_cb): New callback for the
"delete_event" on the view.
(idle_cb): Connect it.
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c (set_e_shortcut_selection): Added a
g_return_if_fail check.
2000-06-01 Dan Winship <danw@helixcode.com>
* e-shell-view-menu.c (command_help): New menu callback to launch
the help browser.
(menu_help): add pointers to the users' guide.
(e_shell_view_menu_setup): Add the help menu stuff to the uih.
* main.c (main): Set up gettext. (Problem noted by Héctor García
Alvarez)
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (DEFAULT_WIDTH): Add more 5 pixels.
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (DEFAULT_WIDTH): Made the default window a bit
narrower.
(DEFAULT_HEIGHT): And shorter.
(setup_widgets): Set the border width of the vbox that holds the
title bar to 2 pixels, so that the view looks a bit nicer.
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (DEFAULT_TREE_WIDTH): Made the tree 150 pixel
wide [instead of 100].
(setup_widgets): Use `DEFAULT_TREE_WIDTH' instead of
`DEFAULT_SHORTCUT_BAR_WIDTH' where appropriate.
(e_shell_view_construct): Hide the folder bar by default.
* e-storage-set-view.c (e_storage_set_view_construct): Set
auto-resize mode for column one.
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view-menu.c (e_shell_view_menu_setup): Set the
statusbar.
* e-shell-view.c: New member `appbar' for `EShellViewPrivate'.
(init): Initialize to NULL.
(setup_widgets): Install a status bar and set `appbar' to point to
it.
(setup_bonobo_ui_handler): Make the BonoboUIHandler use `appbar'
as its statusbar.
(e_shell_view_get_appbar): New function.
(e_shell_view_construct): Set up the BonoboUIHandler after setting
up the widgets.
* e-shortcuts.c (class_init): Add new signals "new_shortcut",
"removed_shortcut", "new_group", "removed_group".
(e_shortcuts_remove_shortcut): Emit "remove_shortcut".
(e_shortcuts_add_shortcut): Emit "new_shortcut".
(e_shortcuts_remove_group): Emit "remove_group".
(e_shortcuts_add_group): Emit "new_group".
(unload_shortcuts): Emit "remove_group" for all the groups.
* e-shortcuts.h: New signals "new_shortcut", "removed_shortcut",
"new_group", "removed_group".
* e-shortcuts-view.c (pop_up_right_click_menu): New function to
pop up the right-click menu for the shortcut bar.
(pop_up_right_click_menu_for_shortcut): New function.
(selected_item): Pop up right click menu when appropriate. Don't
activate the shortcut when right-clicking.
2000-05-31 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.h: #include 'Evolution.h".
2000-05-31 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (show_error): Use `set_current_notebook_page()'
instead of `gtk_notebook_set_page()'; this will also deactivate
the current control properly.
* e-shell-view-menu.c (e_shell_view_menu_setup): Initialize the
state of the shortcut/folder toggle menu items using
`e_shell_view_get_shortcut_bar_mode()' and
`e_shell_view_get_folder_bar_mode()'.
(command_toggle_shortcut_bar): Removed debugging message.
(command_toggle_folder_bar): Likewise.
* e-shell-view.c (e_shell_view_get_shortcut_bar_mode): New
function.
(e_shell_view_get_folder_bar_mode): New function.
2000-05-31 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c: New constant `DRAG_RESISTANCE'. New
members `button_x', `button_y' in `EStorageSetViewPrivate'.
(init): Initialize to zero.
(button_press_event): Set.
(motion_notify_event): Don't start drag unless the current x/y
position is farther than `DRAG_RESISTANCE', in any of the two
directions, from the original position of the button click.
(button_release_event): Always ungrab the pointer, even if
`selected_row_path' is NULL.
2000-05-31 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-component.c (class_init): Eeek!
s/owner_set/owner_unset/.
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Increase the size of the border of the hbox slightly to make the
title bar a bit nicer.
2000-05-31 Ettore Perazzoli <ettore@helixcode.com>
* e-component-registry.c (component_free): Invoke `::unset_owner'
on the component before releasing it.
* evolution-shell-component.c (class_init): Install the
"owner_set" signal.
(impl_ShellComponent_unset_owner): New function, implementation of
`ShellComponent::unset_owner'.
(corba_class_init): Install it.
* evolution-shell-component.h: New signal "owner_unset".
* Evolution-ShellComponent.idl: New method `ShellComponent::
unset_owner'.
* e-shell.c (e_shell_quit): Destroy all the views explicitly.
* e-shell-view-menu.c: Changed `Show shortcut bar' and `Show
folder tree' items into toggle items.
(shortcut_bar_mode_changed_cb): New callback to update the status
of the "show shortcut bar" toggle item when the shortcut bar is
hidden/shown in the view.
(folder_bar_mode_changed_cb): Likewise for the folder bar.
(e_shell_view_menu_setup): Connect these to the corresponding
signals on the shell.
* e-shell-view.c: New members `shortcut_bar_mode' and
`folder_bar_mode' in `EShellViewPrivate'.
(init): Initialize `shortcut_bar_mode' and `folder_bar_mode' to
`E_SHELL_VIEW_SUBWINDOW_HIDDEN'.
(class_init): Add the new signals.
(e_shell_view_set_shortcut_bar_mode): Renamed from
`e_shell_view_show_shortcuts'. Emit "shortcut_bar_mode_changed"
and update the `shortcut_bar_mode' member.
(e_shell_view_set_folder_bar_mode): Renamed from
`e_shell_view_show_folders'. Emit "folder_bar_mode_changed" and
update the `folder_bar_mode' member.
* e-shell-view.h: New signals "shortcut_bar_mode_changed",
"folder_bar_mode_changed".
* e-shell-view.c (setup_menus): Removed.
(e_shell_view_construct): Use `e_shell_view_menu_setup' instead.
(e_shell_view_get_bonobo_ui_handler): New function.
* e-shell-view-menu.c (e_shell_view_menu_setup): New.
* e-shell.c (impl_Shell_get_component_for_type): New function,
implementation of `Evolution::Shell::get_component_for_type'.
(corba_class_init): Install it into the EPV.
* Evolution-Shell.idl: Added method `get_component_for_type'.
2000-05-30 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c: New members `dirty', `save_idle_id' in
`EShortcutsPrivate'.
(init): Initialize.
(destroy): If the idle ID is nonzero, remove the idle. If `dirty'
is true, save.
(idle_cb): New.
(schedule_idle): New.
(make_dirty): New.
(e_shortcuts_remove_shortcut): Call it.
(e_shortcuts_add_shortcut): Likewise.
(e_shortcuts_remove_group): Likewise.
(e_shortcuts_add_group): Likewise.
* e-shell.c (e_shell_construct): Updated to match the `EShortcuts'
API changes.
* e-shortcuts.c: New member `file_name' in `EShortcutsPrivate'.
(init): Init to NULL.
(destroy): Free it.
(e_shortcuts_load): Removed.
(e_shortcuts_save): Removed.
(e_shortcuts_new): New arg @file_name. Load from the specified
file name.
* e-shortcuts-view.c (added_item): New method implementation.
(removed_item): New method implementation.
(added_group): New method implementation.
(removed_group): New method implementation.
(class_init): Install these.
* e-shortcuts.c (e_shortcuts_remove_shortcut): New function.
(e_shortcuts_add_shortcut): New function.
(e_shortcuts_remove_group): New function.
(e_shortcuts_add_group): New function.
* e-shell-view.c: New member `view_title_bar' in
`EShellViewPrivate'.
(setup_widgets): Put an EShellFolderTitleBar on top of the tree
view and the content view.
(update_window_icon): Renamed from `set_icon'.
(update_folder_title_bar): New.
(popup_tree): New function to pop up the tree view when the title
button in the title bar is clicked.
(folder_title_clicked_cb): New callback for the "clicked" signal
of EShellFolderTitleBar.
(setup_widgets): Don't add a title bar to the shortcut bar.
(create_storage_set_subwindow): New helper function.
(setup_widgets): Use it.
(show_error): Use an EClippedLabel instead of a GtkLabel.
* e-shell-view.c: Replaced all the occurences of `gpointer' with
`void *' for consistency.
* e-shell-folder-title-bar.c: New file.
* e-shell-folder-title-bar.h: New file.
* e-storage-set-view.c (e_storage_set_view_construct): Ooops. Fix
inverted key/value pair in the call to `g_hash_table_insert()'.
2000-05-28 Dan Winship <danw@helixcode.com>
* main.c (main): Remove extra free of evolution_directory.
2000-05-28 Ettore Perazzoli <ettore@helixcode.com>
* evolution-storage.c (evolution_storage_register): Use the
storage's name when registering.
2000-05-26 Matt Loper <matt@helixcode.com>
* e-shell-view-menu.c (command_about_box): Make authorlist more
alphabetical.
(command_show_treeview): New function; shows the treeview, when it
has been hidden.
(command_show_shortcut_bar): New function; shows the shortcut bar,
when it's been hidden.
2000-05-26 Ettore Perazzoli <ettore@helixcode.com>
* e-corba-storage.c (impl_StorageListener_new_folder): Set the
physical URI on the folder using `e_folder_set_physical_uri()'.
* e-local-folder.c (get_physical_uri): Removed.
(construct_loading_metadata): Use EFolder's `physical_uri' field
instead of ours, which is gone.
(save_metadata): Likewise.
(destroy): Don't free.
* e-local-folder.h: Removed `physical_uri' from `ELocalFolder'.
* e-folder.c: New member `physical_uri' in `EFolderPrivate'.
(init): Initialize to NULL.
(destroy): Free it.
(get_physical_uri): Removed.
(e_folder_set_physical_uri): New function.
* e-storage-set.c (e_storage_set_get_folder): Fix off-by-one error
in extracting the base name.
* e-storage.c: New member `path' in `Folder'.
(folder_destroy): Free it.
(folder_new): New arg. Initialize `path' from it.
(e_storage_construct): Updated accordingly.
(e_storage_new_folder): Likewise.
(e_storage_remove_folder): Remove the folder from the hash.
* e-storage-set-view.c (remove_node): New function.
(removed_storage_cb): Use it.
(new_folder_cb): New function, callback for the "new_folder"
signal on the EStorageSet.
(removed_folder_cb): New function, callback for the
"removed_folder" signal on the EStorageSet.
(e_storage_set_view_construct): Connect these signal handlers to
the respective signals on our model storage.
* e-storage-set.c (storage_new_folder_cb): New function, callback
for the "new_folder" signal on the storages.
(storage_removed_folder_cb): New function, callback for the
"removed_folder" signal on the storages.
(e_storage_set_add_storage): Connect them to the signals of the
storage being added.
* e-corba-storage-registry.c
(impl_StorageRegistry_register_storage): Throw an exception if
`e_storage_set_add_storage()' returns false.
* e-shell.c (setup_storages): Unref the local storage after adding
to the storage set.
* e-corba-storage-registry.c
(impl_StorageRegistry_register_storage): Unref the storage after
adding to the storage set.
* e-storage-set.c: New hash table `name_to_named_storage' in
`EStorageSetPrivate'.
(named_storage_new): New helper function.
(named_storage_destroy): New helper function.
(e_storage_set_add_storage): Use the hash table. Return value
changed to `gboolean'. Return FALSE if there is a storage with
that name already. Also, ref the storage.
(e_storage_set_remove_storage): Likewise [but of course don't ref
the storage].
(e_storage_set_get_storage): Use the `name_to_named_storage' hash
table.
(destroy): Destroy the `name_to_named_storage' hash.
* e-storage-set.h: New signals "new_folder", "removed_folder".
* e-storage.c (e_storage_get_watcher_for_path): Removed.
(get_watcher_for_path): Removed.
(class_init): Install signals "new_folder" and "removed_folder".
(e_storage_remove_folder): Emit "removed_folder".
(e_storage_new_folder): Emit "new_folder".
* e-storage.h: Removed method `get_watcher_for_path'. New signals
"new_folder", "removed_folder".
* e-storage-watcher.c: Removed.
* e-storage-watcher.h: Removed.
* e-corba-storage-registry.c (corba_class_init): Set the
Bonobo_Unknown evp parts.
* evolution-storage.c: New.
* evolution-storage.h: New.
* evolution-shell-component.c
(evolution_shell_component_get_owner): New.
* e-storage-set-view.c (new_storage_cb): New function.
(e_storage_set_view_construct): Connect to the "new_storage"
signal on the EStorageSet.
(removed_storage_cb): New function.
(e_storage_set_view_construct): Connect to the "removed_storage"
signal on the EStorageSet.
* e-storage-set-view.c (e_storage_set_view_construct): Make this
always look pretty, with Helix GNOME or without.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* e-storage-set-view.c: Make this always look pretty, with Helix
GNOME or without.
2000-05-25 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c (e_storage_set_view_construct): Set the
dotted line type again. Dotted is less butt-ugly than continuous.
* e-shell-view.c (show_error): Display page zero in the notebook.
* main.c (idle_cb): Renamed from `new_view_idle_cb'. Create the
EShell object here, because now the shell depends on the GLib loop
to be running for correct operation.
(main): Don't create the EShell here.
* e-storage-set-view.c (get_pixmap_and_mask_for_folder): If the
icon is not found, set the returned pixmap and mask to NULL.
* e-shell.c (e_shell_construct): Added precondition: @corba_object
must be non-nil.
(e_shell_new): Added precondition: @local_direcory must be
non-null.
* evolution-shell-component.c: New.
* evolution-shell-component.h: New.
* e-shell.c: New member `component_registry' in `EShellPrivate'.
(init): Initialize to NULL.
(destroy): Unref it.
(setup_components): New function to set up the compnent registry
and initialize the mail, calendar and addressbook components.
(e_shell_construct): Call it.
* e-storage-set.c: Updated to use EFolderTypeRegistry.
* e-storage-set.h: Likewise.
* e-shortcuts.c: Likewise.
* e-shortcuts.h: Likewise.
* e-shell.c: Likewise.
* e-shell.h: Likewise.
* e-shell-view.c: Likewise.
* e-shortcuts-view.c: Likewise.
* e-storage-set-view.c: Likewise.
* e-component-registry.c: New.
* e-component-registry.h: New.
* e-folder-type-registry.c: New.
* e-folder-type-registry.h: New.
* e-folder-type-repository.c: Removed.
* e-folder-type-repository.h: Removed.
* Evolution-ShellComponent.idl: New struct `FolderType'; new type
`FolderTypeList'. New attribute `supported_types'.
(ShellComponent::set_owner): Renamed from `set_shell'.
(ShellComponent::create_view): New.
2000-05-24 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Was using the wrong include here.
* e-storage-set-view.c: Got rid of the lines in the tree view.
2000-05-24 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added libepaned.a.
* e-shell-view.c: Switched from GtkPaned to EPaned.
2000-05-23 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c: New member `corba_storage_registry' in
`EShellPrivate'.
(init): Initialize it to NULL.
(destroy): Unref it if not NULL.
(setup_corba_storages): New function to set up the CORBA storage
registry and `bonobo_object_add_interface()' it to the shell.
(setup_storages): Call it from here.
* e-shell.h, e-shell.c: Derive EShell from BonoboObject instead of
GtkObject.
* e-storage.c (e_storage_remove_folder): Return value changed into
`gboolean'; return false if an error occurs, true otherwise.
(e_storage_new_folder): Likewise.
* e-corba-storage-registry.c: New.
* e-corba-storage-registry.h: New.
* e-corba-storage.c: New.
* e-corba-storage.h: New.
* Evolution.idl: Include the new IDLs, but no
`evolution-service-repository.idl' anymore.
* Evolution-Shell.idl: New.
* Evolution-ShellComponent.idl: New.
* Evolution-Storage.idl: New.
* evolution-service-repository.idl: Removed.
* evolution-service-repository.c: Removed.
* evolution-service-repository.h: Removed.
* e-folder-type-repository.c (folder_type_new): Free `icon_path'.
2000-05-18 Dan Winship <danw@helixcode.com>
* main.c (new_view_idle_cb): add development_warning (moved from
mail component)
2000-05-16 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c: Get rid of the `ICON_WIDTH' and
`ICON_HEIGHT' #defines.
(get_pixmap_and_mask_for_folder): Get the mini icon instead of the
big one. Use `E_SHELL_MINI_ICON_SIZE' instead of `ICON_WIDTH' and
`ICON_HEIGHT'.
* e-folder-type-repository.c: New member `mini_icon_pixbuf' in
`FolderType'.
(folder_type_new): Initialize `mini_icon_pixbuf' by loading the
mini icon if possible. If the mini icon is not found, resort to
the big one.
(folder_type_free): Unref the mini icon.
(e_folder_type_repository_get_icon_for_type): New arg @mini. If
true, return the mini icon instead of the standard one.
* e-shell-view.c (set_icon): Get the mini icon instead of the big
one by using `e_shell_get_icon_path's @try_mini arg.
* e-shell-constants.h: New file.
* e-shell-utils.c
(e_shell_get_icon_path): New arg @try_mini. If true, look for the
mini version [whose name ends in `-mini'].
* e-folder-type-repository.c
(folder_type_new): Free string returned by
`e_shell_get_icon_path()'.
2000-05-16 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c: New members `storage_set_view_box',
`shortcut_bar_box', `hpaned1_position', `hpaned2_position' in
`EShellViewPrivate'.
(init): Initialize them.
(setup_widgets): Add title bars to the tree and shortcut views.
(shortcuts_view_close_button_clicked_cb): New callback function.
(setup_widgets): Connect to the "close_button_clicked" signal of
the shortcut view's title bar.
(storage_set_view_close_button_clicked_cb): New callback function.
(setup_widgets): Connect to the "close_button_clicked" signal of
the storage set view's title bar.
(e_shell_view_show_shortcuts): New function.
(e_shell_view_show_folders): New function.
* e-shell-view.c: New members `hpaned1', `hpaned2' in
`EShellViewPrivate'.
(init): Initialize both to NULL.
(setup_widgets): Invert the parenting order for the GtkHPaneds and
store them into the private `hpaned' and `hpaned2' members.
* Makefile.am (evolution_LDADD): Link with `libemiscwidgets.a'.
2000-05-15 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c
(load_shortcuts_into_view): Removed.
(e_shortcuts_new_view): Don't set up the shortcut bar manually
here anymore, and don't set the icon callback either. The
`EShortcutsView' object is now able to do this by itself.
* e-shortcuts-view.c
(icon_callback): Moved here from `e-shortcuts.c'.
(load_group): New function.
(load_all_shortcuts): New function.
(e_shortcuts_view_construct): Call it to load the shortcuts from
the `EShortcuts' object. Also, set `icon_callback' as the icon
callback.
* e-storage-set-view.c
(button_press_event): Add/remove grab with `gtk_grab_add' and
`gtk_grab_remove'.
(button_release_event): Call `gtk_grab_remove' when removing the
grab.
* e-shortcuts.c: New member `title_to_group' in
`EShortcutsPrivate'.
(init): Initialize here.
(destroy): Destroy here.
(unload_shortcuts): Destroy and recreate here.
(load_shortcuts): Avoid inserting multiple groups with the same
title, and insert the groups into the `title_to_group' hash table.
Also, avoid leaking the return value from `xmlNodeListGetString'.
(e_shortcuts_get_group_titles): New function.
(e_shortcuts_get_shortcuts_in_group): New function.
(e_shortcuts_get_storage_set): New function.
* e-storage-set-view.c
(e_storage_set_view_set_current_folder): Emit the
"folder_selected" signal.
* e-local-folder.c
(get_string_value): Return a `char *' to be deallocated by the
caller instead of a `const char *' that does not need to be
deallocated.
(construct_loading_metadata): Free values returned from
`get_string_value'.
2000-05-15 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c: New members `dragged_row_path',
`selected_row_path_before_click' in `EStorageSetViewPrivate'.
(init): Initialize them to NULL.
(motion_notify_event): Set `dragged_row_path' from
`selected_row_path'.
(button_press_event): Initialize `selected_row_path_before_click'
from `selected_row_path'.
(button_release_event): Set `selected_row_path_before_click' to
NULL.
(drag_end): Restore the current selection from
`selected_row_path_before_click'; then set both `dragged_row_path'
to NULL.
2000-05-15 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c: New members `in_drag' and `drag_button' in
`EStorageSetViewPrivate'. New static variables `drag_types',
`num_drag_types', `target_list'.
(class_init): Create the `target_list'.
(init): Initialize the private `in_drag' member to false.
Initialize the private `drag_button' member to zero.
(button_release_event): Set it to false.
(motion_notify_event): New function, implementation of
`GtkWidget::motion_notify_event'. If `in_drag' is false, set it
to true and set ourselves up as a drag source.
(button_press_event): New function, implementation of
`GtkWidget::button_press_event'. Set `drag_button' to the event's
button number and then chain to the implementation in the parent
class.
(drag_end): New function, implementation of `GtkWidget::drag_end'.
(drag_data_get): New function, implementation of
`GtkWidget::drag_data_get'.
(set_e_shortcut_selection): New function, helper for `drag_data_get'.
(set_uri_list_selection): New function, helper for `drag_data_get'.
(class_init): Install these method implementations.
* e-storage-set-view.c: New member `selected_row_path' in
`EStorageSetViewPrivate'.
(init): Initialize it to NULL.
(tree_select_row): Set it to the path of the selected row. Don't
emit "folder_selected" yet. Also, keep the grab.
(button_release_event): New function, implementation of
`GtkWidget::button_release_event'. If `selected_row_path' is not
NULL, emit the "folder_selected" signal with `selected_row_path'
as the parameter and then set `selected_row_path' to NULL again.
(class_init): Install `button_release_event'.
* e-storage-set-view.c: Made `ICON_WIDTH' and `ICON_HEIGHT' global
#defines.
(e_storage_set_view_construct): Set the row height to
`ICON_HEIGHT'. Alos, set the selection mode to
`GTK_SELECTION_BROWSE'.
2000-05-15 Iain Holmes <ih@csd.abdn.ac.uk>
* e-local-folder.c (get_string_value): Use the correct function to
get the node's contents.
* e-shortcuts.c (load_shortcuts): Same as above.
2000-05-14 Ettore Perazzoli <ettore@helixcode.com>
* e-folder-type-repository.c
(e_folder_type_repository_get_control_id_for_type): Protect
against non-existing types.
(e_folder_type_repository_get_icon_for_type): Likewise.
2000-05-14 Ettore Perazzoli <ettore@helixcode.com>
* e-storage-set-view.c
(folder_compare_cb): Callback comparison function for comparing
folders based on their names.
(insert_folders): Use it to sort the folder list before using it.
2000-05-14 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c
(setup_storages): Pass the pointer to the folder type repository.
(e_shell_construct): Initialize the folder type repository before
everything else.
* e-storage-set.c: New member `folder_type_repository' in
`EStorageSetPrivate'.
(init): Initialize it to NULL.
(destroy): Unref it.
(e_storage_set_construct): New arg @folder_type_repository.
Initialize the corresponding member in the private struct through
it.
(e_storage_set_new): New arg @folder_type_repository.
(e_storage_set_get_folder_type_repository): New function.
* e-shortcuts.c (icon_callback): Just use [the new version of]
`e_folder_type_repository_get_icon_for_type()' instead of loading
the image manually.
* e-folder-type-repository.c: New member `icon_pixbuf' in
`FolderType'.
(folder_type_new): Load the pixbuf.
(folder_type_free): Unref the pixbuf.
(e_folder_type_repository_get_icon_name_for_type): Renamed from
`e_folder_type_repository_get_icon_for_type'.
(e_folder_type_repository_get_icon_for_type): New function, now
returning a `GdkPixbuf *'.
* e-shortcuts.c
(icon_callback): Use `e_shell_get_icon_name()'.
* e-shell-view.c: New member `storage_set_view' in
`EShellViewPrivate'.
(init): Initialize it to NULL.
(e_shell_view_construct): Create an EStorageSetView for the
shell's EStorageSet and put it into a scrolled window. Also, put
the scrolled window into the EShellView with some
[temporary] GtkPaned action. Store the pointer to the
EStorageSetView to `priv->storage_set_view'.
(set_icon): Get an EShellView and an EFolder instead of an
EShellView and a URI. Also, don't leak.
(update_for_current_uir): New helper function. Call `set_icon'.
(show_error): Call it.
(folder_selected_cb): New function.
(setup_widgets): Connect it to the "folder_selected" signal of the
storage set view.
* e-storage-set-view.c: New file.
* e-storage-set-view.h: New file.
* e-shell-utils.c: New file.
* e-shell-utils.h: New file.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view-menu.c: Added an about box.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Set the icons when changing between components.
* main.c: Set the default icon. (The change in e-shell-view.c
doesn't work unless we do this.)
2000-05-09 Matt Loper <matt@helixcode.com>
* e-shell-view-menu.c (command_run_bugbuddy): New function; allows
users to submit a bug.
(command_run_bugbuddy): Implemented with jacob's patch.
2000-05-09 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (e_shell_new_view): Display the specified @uri in the
view.
* e-shell-view.c (e_shell_view_construct): Removed arg @uri.
(e_shell_view_new): Likewise.
* main.c: New string constant `STARTUP_URI', specifying the URI to
show in the startup view.
(new_view_idle_cb): New callback function to create a new view for
`STARTUP_URI' in the idle loop. We need to do this in the idle
loop because the CORBA stuff cannot work until the loop starts
running.
(main): Set `new_view_idle_cb' up as the idle callback instead of
creating the view right away.
2000-05-09 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_storages): Woops. Don't free the path before
the warning message, as we need to print it.
2000-05-08 Ettore Perazzoli <ettore@helixcode.com>
* main.c (destroy_cb): New function.
(main): Connect it to the `destroy' signal on the shell.
2000-05-08 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c (load_shortcuts): Const fix.
2000-05-08 Larry Ewing <lewing@helixcode.com>
* e-shortcuts.c (load_shortcuts_into_view): xmlFree the return
value of xmlGetProp.
2000-05-07 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts-view.c (e_shortcuts_view_construct): Use
correct cast.
2000-05-07 Ettore Perazzoli <ettore@helixcode.com>
* main.c (main): Connect to "no_views_left", not "destroy".
* e-shell.c (view_destroy_cb): Grmpf.
2000-05-07 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (e_shell_construct): Output a warning message if the
shortcut file is not found.
(setup_storages): Output a warning message if the local storage
cannot be initialized.
(destroy): Destroy all the views.
* e-shell-view.c
(e_shell_view_construct): Ref the shell.
* e-shortcuts-view.c
(e_shortcuts_view_construct): Ref the shortcuts.
* e-shell.c: Create the "no_views_left" signal. New member
`views' in `EShellPrivate'.
(init): Initialize `views' to NULL.
(view_destroy_cb): Destroy handler for a view: remove the view
from `views', and emit the "no_views_left" signal if this was the
last view.
(e_shell_new_view): Add the new view to `views' and connect the
"destroy" signal to `view_destroy_cb'.
(destroy): Destroy the views.
* e-shell.h: New signal "no_views_left".
* e-shell-view-menu.c (command_quit): New function, implementation
of the "quit" command.
* e-shell-view.c (e_shell_view_get_shell): New function.
* e-shell.c (e_shell_quit): New function.
* main.c (main): If it is not possible to create the shell for
some reason, pop up an error message.
(shell_destroy_cb): New function, signal handler for "destroy" on
the shell object.
(main): Connect it.
2000-05-06 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcuts.c (destroy): Be safer about NULL objects.
* e-shell.c (destroy): Be safer about NULL objects.
* e-local-storage.c (load_folders): Use `readdir()', not
`readdir_r()'.
2000-05-06 Ettore Perazzoli <ettore@helixcode.com>
* main.c (init_corba) [! USING_OAF]: We have no options no
popt context.
2000-05-06 Ettore Perazzoli <ettore@helixcode.com>
* All files: Reorganized and redone a lot of the shell. New
features: internal URI namespace, extensible storage/folder
mechanism, configurable shortcuts.
2000-05-03 Damon Chaplin <damon@helixcode.com>
* e-shell-view.c (e_shell_view_new): turned the notebook border off.
The calendar looks better without it. If any of the views want a
border they should create it themselves, shouldn't they?
2000-05-04 Ettore Perazzoli <ettore@helixcode.com>
* e-shortcut.c (shell_icon_cb): Type of @url changed from `gchar
*' to `const gchar *'; new arg @data.
(e_shortcut_bar_view_new): Pass NULL as the closure value for
`e_shortcut_bar_set_icon_callback()'.
2000-05-02 Ettore Perazzoli <ettore@helixcode.com>
* e-folder-mail.c: Removed.
* e-folder-mail.h: Removed.
* eshell-types.h: Removed.
* e-folder.h: Don't #include "eshell-types.h".
2000-05-02 Ettore Perazzoli <ettore@helixcode.com>
* e-folder.h: Removed member `eservice' from `EFolder'.
* e-service.c: Removed.
* e-service.h: Removed.
2000-05-02 Matt Loper <matt@helixcode.com>
* Makefile.am: set G_LOG_DOMAIN.
2000-05-01 Dan Winship <danw@helixcode.com>
* e-shell-view.c (e_shell_view_set_view): Turn off control frame
autoactivation, so the toolbars work correctly. This may actually
be a bug in Bonobo, but we'll kludge around it here for now.
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c: OAFized.
(get_view): If `bonobo_widget_new_control()' fails for the
calendar, don't try to get the property bag and stuff and thus
prevent a segfault.
* main.c
(corba_init): Removed Bonobo initialization. Implemented OAF
version for the case in which `USING_OAF' is #defined.
(init_bonob): New function.
(main): Call `init_bonobo()'.
2000-04-26 Matt Loper <matt@helixcode.com>
* e-shell-view.c (bonobo_widget_is_dead): Helper function to see
whether a bonobo widget is a zombie (ie the remote bonobo control
died).
(e_shell_view_set_view): Try to respawn dead widgets.
2000-04-25 Dan Winship <danw@helixcode.com>
* Makefile.am: include -I$(datadir)/idl in orbit-idl arguments so
that you can have bonobo installed in the same prefix as
evolution, when that isn't the same prefix is gnome-libs, which a
lot of people seem to be doing.
(CLEANFILES): add EVOLUTION_CORBA_GENERATED
2000-04-24 Christopher James Lahey <clahey@helixcode.com>
* idl/folder.idl: Made some functions syncronous that didn't need
to be asyncronous.
2000-04-24 Matt Loper <matt@helixcode.com>
* e-shell-view.h: Added hpaned and treeview widgets to
EShellView. Added e_shell_view_toggle_shortcut_bar() and
e_shell_view_toggle_treeview().
* e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned
widget to house our shortcut bar.
(e_shell_view_toggle_shortcut_bar): New function; toggles whether
the shortcut bar is showing.
(e_shell_view_toggle_treeview): Same, for the treeview (NYI).
(e_shell_view_new): Put the notebook view in our EPaned widget.
* e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function;
toggles whether the shortcut bar is viewed.
(esv_cmd_toggle_treeview): Same, but with the treeview. Added
menuitems in the "view" menu to allow access to the above.
2000-04-19 Seth Alves <alves@hungry.com>
* e-shell-view.c (get_view): set calendar's uri with a property bag
2000-04-19 Christopher James Lahey <clahey@helixcode.com>
* idl/folder.idl: New idl file. Still unused.
2000-04-14 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Made the left pane of the shell view not
autoresize.
2000-04-09 Matt Loper <matt@helixcode.com>
* e-shell-view.c (e_shell_view_setup): Set the default height
bigger, to 600, so that everything in the shortcut-bar shows up.
2000-04-07 Matt Loper <matt@helixcode.com>
* e-shell-view.c (destroy_folder_view): New function;
Bonobo_Unknown_unref's the controls that have the views in them.
(esv_destroy): Calls the above for each folder_view in the
hashtable.
(get_view): unref the ServiceRepository interface of the control
when we're done with it.
2000-04-06 Miguel de Icaza <miguel@gnu.org>
* shell/e-shortcut.c (shell_icon_cb): Append a slash here.
(shell_icons): Only list the filenames.
* shell/main.c (evolution_boot): Be less rude.
2000-04-06 Matt Loper <matt@helixcode.com>
* shell/main.c (evolution_boot): Make sure our data directory is
available with e_setup_base_dir ().
2000-04-06 Miguel de Icaza <miguel@gnu.org>
* shell/e-shortcut.c (shell_icon_cb): Load the icons from the
installation path, not form the GNOME-libs installation prefix.
(shell_icon_cb): Memory leak fix.
* shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
installation directory here.
2000-04-05 Seth Alves <alves@hungry.com>
* shell/e-shell-view.c (get_view): hook up control:calendar
2000-03-31 Dan Winship <danw@helixcode.com>
* shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb):
Update for shortcut bar changes.
* shell/e-folder.h: add E_FOLDER_SUMMARY
* shell/e-shell.c (e_shell_setup_default_folders): make the
"Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL.
2000-03-30 Dan Winship <danw@helixcode.com>
* shell/e-shell-view.c (e_shell_view_set_view): Hold off on
deactivating the "outgoing" control until after setting up the
"incoming" control. That way if the new control takes a few
seconds to load, there won't be an ugly empty spot where the
toolbar used to be while the new control loads.
2000-03-29 Dan Winship <danw@helixcode.com>
* shell/e-shell-view.c (e_shell_view_set_view): Call
bonobo_control_frame_activate on the folder_view every time it
is displayed, and bonobo_control_frame_deactivate every time it is
hidden.
2000-03-25 Matt Loper <matt@helixcode.com>
* shell/e-shell-view.c (get_view): Move CORBA_Environment to
different scope.
2000-03-22 Matt Loper <matt@helixcode.com>
* shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"
to gtk_main_quit, so that the shell dies when you want it to.
* shell/e-shell-view.c (get_view): Reorganized, and added
assertions.
(e_shell_view_set_view): Added assertions.
2000-03-20 Matt Loper <matt@helixcode.com>
* shell/e-shell-view.h: New private field in EShellView added,
which contains the notebook and a hashtable of folders to views.
* shell/e-shell-view.c (e_shell_view_set_view): Instead of
creating a new control every time we set the view, we now keep our
controls in a notebook. This function now switches to the correct
notebook page, or creates a new page/control as necessary.
(e_shell_view_new): Creates and inserts the notebook into the
shell.
2000-03-13 Christopher James Lahey <clahey@helixcode.com>
* shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the
get_view function.
2000-03-13 bertrand <bertrand@helixcode.com>
* shell/e-shell.c (EShell_register_service):
test implementation. Show the uri and the type
of service that has just been registered.
* shell/e-shell-view.c (get_view):
once we have the bonobo control widget,
disable the autoactivation and activate
the control frame.
(get_view): added a parameter to have
a reference to the EShellView.
(get_view): In the case of the mail component
use the Evolution_ServiceRepository to
give the component a reference to the
Shell server.
2000-03-12 bertrand <bertrand@helixcode.com>
* shell/e-shell-view.c (get_view): name change
* shell/e-folder.c (e_folder_get_folder_type): added the
get_e_folder_type function.
* shell/evolution-service-repository.c:
(evolution_service_repository_new): creates an
Evolution_ServiceRepository object.
(create_evolution_service_repository):
create the corresponding servant.
(evolution_service_repository_construct): set
the closure as well as the virtual functions.
2000-03-12 bertrand <bertrand@helixcode.com>
* shell/evolution-service-repository.c:
* shell/evolution-service-repository.h:
Implementation of the service repository interface
as a bonobo object.
* shell/evolution-service-repository.idl:
new file. Contains the definition for the service
repository interface.
* shell/Shell.idl: move the shell related stuff
here
2000-03-12 bertrand <bertrand@helixcode.com>
* shell/e-folder.h: add a field refering to a
service associated to the efolder. In the case of
distant folders, it is generally a server.
* shell/e-service.c: New class. Models a service.
A service is an object with an URI and a root folder.
It genreally reporesents a distant folder.
A service is generally a ressource shared amongst
several folders.
* shell/e-service.h:
2000-03-07 bertrand <bertrand@helixcode.com>
* shell/e-shell-shortcut.c (shortcut_bar_item_selected):
removed a test that prevented the standard menu
to be shown.
2000-03-01 Ettore Perazzoli <ettore@helixcode.com>
* shell/Makefile.am (INCLUDES): use `top_srcdir' instead of
`srcdir'. Also, add `$(top_srcdir)'. And put the srcdir includes
before everything else.
(evolution_LDADD): `libeutil.la', not `libeutil.a'.
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* shell/Makefile.am (evolution_LDADD):
add libetext.a.
2000-02-08 Iain Holmes <ih@csd.abdn.ac.uk>
* shell/Makefile.am: Changed the order of the compilation, so the CORBA
stuff was generated before it was needed.
2000-01-15 Miguel de Icaza <miguel@gnu.org>
* shell/e-shell.c: Construct the default folders
* shell/e-shell-view.c (e_shell_view_new): Setup the main GnomeApp
application, load the shortcut, internal api.
* shell/e-folder.c (e_folder_get_type_name): Return description
here; Change of policy; We now know about all of the possible
types that can be displayed on Evolution.
2000-01-15 Miguel de Icaza <miguel@gnu.org>
* shell/e-folder.c: Renamed signal.
* widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item):
Use e_bar_set_item_data.
Drop item_url; Require image argument; Require user data
argument.
2000-01-05 Miguel de Icaza <miguel@gnu.org>
* shell/Makefile.am: New file.
|