]> git.sur5r.net Git - bacula/bacula/blob - bacula/patches/1.36.2/1.36.2-wx-console-bugfixes.diff
Cleanup patches a bit
[bacula/bacula] / bacula / patches / 1.36.2 / 1.36.2-wx-console-bugfixes.diff
1 Index: CHANGELOG
2 ===================================================================
3 RCS file: /cvsroot/bacula/bacula/src/wx-console/CHANGELOG,v
4 retrieving revision 1.42.8.2
5 retrieving revision 1.42
6 diff -r1.42.8.2 -r1.42
7 1,9d0
8 < 24-03-2005 :
9 <  - wxbMainFrame : Fix a bug with GTK+-1.2 which caused wx-console to crash
10 <    when starting.
11 <  - wxbRestorePanel : Fix a major bug which caused wx-console to enter in an
12 <    infinite loop which allocate a lot of memory and could make the system crash.
13
14 < 10-03-2005 :
15 <  - wxbMainFrame : Fix bug #0000221 (Debian 292517)
16
17 Index: wxbmainframe.cpp
18 ===================================================================
19 RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbmainframe.cpp,v
20 retrieving revision 1.30.6.2
21 retrieving revision 1.30
22 diff -r1.30.6.2 -r1.30
23 7c7
24 <  *    Version $Id$
25 ---
26 >  *    Version $Id$
27 210,211d209
28 <    lockedbyconsole = false;
29 <    
30 317a316,317
31 >    lockedbyconsole = false;
32 >    
33 650,651c650,651
34 <             if (res == -1) { //Cancel pressed
35 <                Send(".\n");
36 ---
37 >             if (res == -1) {
38 >                Send("\n");
39 Index: wxbrestorepanel.cpp
40 ===================================================================
41 RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbrestorepanel.cpp,v
42 retrieving revision 1.40.8.1
43 retrieving revision 1.40
44 diff -r1.40.8.1 -r1.40
45 7c7
46 <  *    Version $Id$
47 ---
48 >  *    Version $Id$
49 411c411
50 <    markWhenCommandDone = false;
51 ---
52 >    markWhenListingDone = false;
53 1987a1988
54 >       AddPendingEvent(event);
55 1996a1998
56 >       AddPendingEvent(event);
57 2002a2005
58 >       AddPendingEvent(event);
59 2015a2019
60 >       AddPendingEvent(event);
61 2024c2028
62 <    markWhenCommandDone = false;
63 ---
64 >    markWhenListingDone = false;
65 2028c2032
66 <    if (markWhenCommandDone) {
67 ---
68 >    if (markWhenListingDone) {
69 2041a2046
70 >    csprint("Tree marked", CS_DEBUG);
71 2044c2049
72 <          markWhenCommandDone = !markWhenCommandDone;
73 ---
74 >          markWhenListingDone = !markWhenListingDone;
75 2045a2051
76 >       AddPendingEvent(event);
77 2049d2054
78 <    markWhenCommandDone = false;
79 2051,2054c2056
80 <    if (markWhenCommandDone) {
81 <       CmdMark(event.GetItem(), NULL, 0);
82 <       tree->Refresh();
83 <    }
84 ---
85 >    //event.Skip();
86 2065a2068
87 >       AddPendingEvent(event);
88 2080a2084
89 >       AddPendingEvent(event);
90 2095a2100
91 >       AddPendingEvent(event);
92 2105a2111,2112
93 >       AddPendingEvent(event);
94 >       //event.Skip();
95 2125c2132
96 <    
97 ---
98 >      
99 2140a2148,2149
100 >       AddPendingEvent(event);
101 >       //event.Skip();
102 2176a2186
103 >       AddPendingEvent(event);
104 2212a2223
105 >       AddPendingEvent(event);
106 2241a2253
107 >       AddPendingEvent(event);
108 2270a2283
109 >       AddPendingEvent(event);
110 Index: wxbrestorepanel.h
111 ===================================================================
112 RCS file: /cvsroot/bacula/bacula/src/wx-console/wxbrestorepanel.h,v
113 retrieving revision 1.19.10.1
114 retrieving revision 1.19
115 diff -r1.19.10.1 -r1.19
116 7c7
117 <  *    Version $Id$
118 ---
119 >  *    Version $Id$
120 154c154
121 <       bool markWhenCommandDone; //If an item should be (un)marked after the current listing/marking is done
122 ---
123 >       bool markWhenListingDone;