| 17 You should have received a copy of the GNU General Public License |
17 You should have received a copy of the GNU General Public License |
| 18 along with this program; if not, write to the Free Software |
18 along with this program; if not, write to the Free Software |
| 19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 |
20 |
| 21 --> |
21 --> |
| |
22 <!-- |
| |
23 ▀ |
| |
24 ▄ ▄ ▄▄▄ ▄ ▄▄ ▄ ▄▄ ▄▄▄ ▄ ▄▄ ▄▄▄▄ |
| |
25 ▀▄ ▄ ▄▀ ▀ █ █▀ ▀ █▀ █ █ █▀ █ █▀ ▀█ |
| |
26 █▄█▄█ ▄▀▀▀█ █ █ █ █ █ █ █ █ |
| |
27 █ █ ▀▄▄▀█ █ █ █ ▄▄█▄▄ █ █ ▀█▄▀█ |
| |
28 ▄ █ |
| |
29 ▀▀ |
| |
30 |
| |
31 Glade 3.38.2 has issues with this file. Currently there are two issues. |
| |
32 |
| |
33 First, the filtered_visible tag is getting a property removed. This property |
| |
34 has a invisible-set friend property which Glade does not let us set. Therefore, |
| |
35 Glade thinks that the property is at a default value and thus ignore it. |
| |
36 However, this tag is used to make text visible in a block of invisible text, so |
| |
37 we need to explicitly set both the invisible and invisible-set properties. |
| |
38 |
| |
39 Replace this: |
| |
40 |
| |
41 <child type="tag"> |
| |
42 <object class="GtkTextTag" id="tags.filtered_visible"/> |
| |
43 </child> |
| |
44 |
| |
45 With this: |
| |
46 |
| |
47 <child type="tag"> |
| |
48 <object class="GtkTextTag" id="tags.filtered_visible"> |
| |
49 <property name="invisible">False</property> |
| |
50 <property name="invisible-set">True</property> |
| |
51 </object> |
| |
52 </child> |
| |
53 |
| |
54 Glade is also messing up the GtkSearchEntry with an id of expression. It is |
| |
55 removing the properties for primary-icon-activatable and |
| |
56 primary-icon-sensitive. These properties default to TRUE according to gtk-doc, |
| |
57 but if you remove them and then check in the insepector, they're both set to |
| |
58 FALSE. So we explicitly set them. I haven't found the cause for this as the |
| |
59 GtkEntry code in 3.24.0 says they default to TRUE, but regardless something |
| |
60 funky is going on. The raw text is below for pasting. |
| |
61 |
| |
62 <property name="primary-icon-activatable">True</property> |
| |
63 <property name="primary-icon-sensitive">True</property> |
| |
64 |
| |
65 --> |
| 22 <interface> |
66 <interface> |
| 23 <requires lib="gtk+" version="3.20"/> |
67 <requires lib="gtk+" version="3.22"/> |
| 24 <!-- interface-license-type gplv2 --> |
68 <!-- interface-license-type gplv2 --> |
| 25 <!-- interface-name Pidgin --> |
69 <!-- interface-name Pidgin --> |
| 26 <!-- interface-description Internet Messenger --> |
70 <!-- interface-description Internet Messenger --> |
| 27 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
71 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
| 28 <object class="GtkTextTagTable" id="message-format"> |
72 <object class="GtkTextTagTable" id="message-format"> |
| 29 <child type="tag"> |
73 <child type="tag"> |
| 30 <object class="GtkTextTag" id="tags.level[0]"> |
74 <object class="GtkTextTag" id="tags.level[0]"> |
| 31 <property name="foreground_rgba">rgb(0,0,0)</property> |
75 <property name="foreground-rgba">rgb(0,0,0)</property> |
| 32 </object> |
76 </object> |
| 33 </child> |
77 </child> |
| 34 <child type="tag"> |
78 <child type="tag"> |
| 35 <object class="GtkTextTag" id="tags.level[1]"> |
79 <object class="GtkTextTag" id="tags.level[1]"> |
| 36 <property name="foreground_rgba">rgb(102,102,102)</property> |
80 <property name="foreground-rgba">rgb(102,102,102)</property> |
| 37 </object> |
81 </object> |
| 38 </child> |
82 </child> |
| 39 <child type="tag"> |
83 <child type="tag"> |
| 40 <object class="GtkTextTag" id="tags.level[2]"> |
84 <object class="GtkTextTag" id="tags.level[2]"> |
| 41 <property name="foreground_rgba">rgb(0,0,0)</property> |
85 <property name="foreground-rgba">rgb(0,0,0)</property> |
| 42 </object> |
86 </object> |
| 43 </child> |
87 </child> |
| 44 <child type="tag"> |
88 <child type="tag"> |
| 45 <object class="GtkTextTag" id="tags.level[3]"> |
89 <object class="GtkTextTag" id="tags.level[3]"> |
| 46 <property name="foreground_rgba">rgb(102,0,0)</property> |
90 <property name="foreground-rgba">rgb(102,0,0)</property> |
| 47 </object> |
91 </object> |
| 48 </child> |
92 </child> |
| 49 <child type="tag"> |
93 <child type="tag"> |
| 50 <object class="GtkTextTag" id="tags.level[4]"> |
94 <object class="GtkTextTag" id="tags.level[4]"> |
| 51 <property name="foreground_rgba">rgb(255,0,0)</property> |
95 <property name="foreground-rgba">rgb(255,0,0)</property> |
| 52 </object> |
96 </object> |
| 53 </child> |
97 </child> |
| 54 <child type="tag"> |
98 <child type="tag"> |
| 55 <object class="GtkTextTag" id="tags.level[5]"> |
99 <object class="GtkTextTag" id="tags.level[5]"> |
| 56 <property name="foreground_rgba">rgb(255,0,0)</property> |
100 <property name="foreground-rgba">rgb(255,0,0)</property> |
| 57 <property name="weight">700</property> |
101 <property name="weight">700</property> |
| 58 </object> |
102 </object> |
| 59 </child> |
103 </child> |
| 60 <child type="tag"> |
104 <child type="tag"> |
| 61 <object class="GtkTextTag" id="tags.category"> |
105 <object class="GtkTextTag" id="tags.category"> |
| 68 </object> |
112 </object> |
| 69 </child> |
113 </child> |
| 70 <child type="tag"> |
114 <child type="tag"> |
| 71 <object class="GtkTextTag" id="tags.filtered_visible"> |
115 <object class="GtkTextTag" id="tags.filtered_visible"> |
| 72 <property name="invisible">False</property> |
116 <property name="invisible">False</property> |
| |
117 <property name="invisible-set">True</property> |
| 73 </object> |
118 </object> |
| 74 </child> |
119 </child> |
| 75 <child type="tag"> |
120 <child type="tag"> |
| 76 <object class="GtkTextTag" id="tags.match"> |
121 <object class="GtkTextTag" id="tags.match"> |
| 77 <property name="background_rgba">rgb(255,175,175)</property> |
122 <property name="background-rgba">rgb(255,175,175)</property> |
| 78 <property name="weight">700</property> |
123 <property name="weight">700</property> |
| 79 </object> |
124 </object> |
| 80 </child> |
125 </child> |
| 81 <child type="tag"> |
126 <child type="tag"> |
| 82 <object class="GtkTextTag" id="tags.paused"> |
127 <object class="GtkTextTag" id="tags.paused"> |
| 83 <property name="invisible">True</property> |
128 <property name="invisible">True</property> |
| 84 </object> |
129 </object> |
| 85 </child> |
130 </child> |
| 86 </object> |
131 </object> |
| 87 <object class="GtkTextBuffer" id="buffer"> |
132 <object class="GtkTextBuffer" id="buffer"> |
| 88 <property name="tag_table">message-format</property> |
133 <property name="tag-table">message-format</property> |
| 89 </object> |
134 </object> |
| 90 <template class="PidginDebugWindow" parent="GtkWindow"> |
135 <template class="PidginDebugWindow" parent="GtkWindow"> |
| 91 <property name="can_focus">False</property> |
136 <property name="can-focus">False</property> |
| 92 <property name="title" translatable="yes">Debug Window</property> |
137 <property name="title" translatable="yes">Debug Window</property> |
| 93 <child> |
|
| 94 <placeholder/> |
|
| 95 </child> |
|
| 96 <child> |
138 <child> |
| 97 <object class="GtkBox"> |
139 <object class="GtkBox"> |
| 98 <property name="visible">True</property> |
140 <property name="visible">True</property> |
| 99 <property name="can_focus">False</property> |
141 <property name="can-focus">False</property> |
| 100 <property name="orientation">vertical</property> |
142 <property name="orientation">vertical</property> |
| 101 <child> |
143 <child> |
| 102 <object class="GtkToolbar" id="toolbar"> |
144 <object class="GtkToolbar" id="toolbar"> |
| 103 <property name="visible">True</property> |
145 <property name="visible">True</property> |
| 104 <property name="can_focus">False</property> |
146 <property name="can-focus">False</property> |
| 105 <property name="icon_size">2</property> |
147 <property name="icon_size">2</property> |
| 106 <signal name="popup-context-menu" handler="toolbar_context" swapped="no"/> |
148 <signal name="popup-context-menu" handler="toolbar_context" swapped="no"/> |
| 107 <child> |
149 <child> |
| 108 <object class="GtkToolButton" id="save"> |
150 <object class="GtkToolButton" id="save"> |
| 109 <property name="visible">True</property> |
151 <property name="visible">True</property> |
| 110 <property name="can_focus">False</property> |
152 <property name="can-focus">False</property> |
| 111 <property name="tooltip_text" translatable="yes">Save</property> |
153 <property name="tooltip-text" translatable="yes">Save</property> |
| 112 <property name="is_important">True</property> |
154 <property name="is-important">True</property> |
| 113 <property name="label" translatable="yes">_Save...</property> |
155 <property name="label" translatable="yes">_Save...</property> |
| 114 <property name="use_underline">True</property> |
156 <property name="use-underline">True</property> |
| 115 <property name="icon_name">document-save</property> |
157 <property name="icon-name">document-save</property> |
| 116 <signal name="clicked" handler="save_cb" object="PidginDebugWindow" swapped="no"/> |
158 <signal name="clicked" handler="save_cb" object="PidginDebugWindow" swapped="no"/> |
| 117 </object> |
159 </object> |
| 118 <packing> |
160 <packing> |
| 119 <property name="expand">False</property> |
161 <property name="expand">False</property> |
| 120 <property name="homogeneous">True</property> |
162 <property name="homogeneous">True</property> |
| 121 </packing> |
163 </packing> |
| 122 </child> |
164 </child> |
| 123 <child> |
165 <child> |
| 124 <object class="GtkToolButton" id="clear"> |
166 <object class="GtkToolButton" id="clear"> |
| 125 <property name="visible">True</property> |
167 <property name="visible">True</property> |
| 126 <property name="can_focus">False</property> |
168 <property name="can-focus">False</property> |
| 127 <property name="tooltip_text" translatable="yes">Clear</property> |
169 <property name="tooltip-text" translatable="yes">Clear</property> |
| 128 <property name="is_important">True</property> |
170 <property name="is-important">True</property> |
| 129 <property name="label" translatable="yes">_Clear</property> |
171 <property name="label" translatable="yes">_Clear</property> |
| 130 <property name="use_underline">True</property> |
172 <property name="use-underline">True</property> |
| 131 <property name="icon_name">edit-clear</property> |
173 <property name="icon-name">edit-clear</property> |
| 132 <signal name="clicked" handler="clear_cb" object="PidginDebugWindow" swapped="no"/> |
174 <signal name="clicked" handler="clear_cb" object="PidginDebugWindow" swapped="no"/> |
| 133 </object> |
175 </object> |
| 134 <packing> |
176 <packing> |
| 135 <property name="expand">False</property> |
177 <property name="expand">False</property> |
| 136 <property name="homogeneous">True</property> |
178 <property name="homogeneous">True</property> |
| 137 </packing> |
179 </packing> |
| 138 </child> |
180 </child> |
| 139 <child> |
181 <child> |
| 140 <object class="GtkSeparatorToolItem"> |
182 <object class="GtkSeparatorToolItem"> |
| 141 <property name="visible">True</property> |
183 <property name="visible">True</property> |
| 142 <property name="can_focus">False</property> |
184 <property name="can-focus">False</property> |
| 143 </object> |
185 </object> |
| 144 <packing> |
186 <packing> |
| 145 <property name="expand">False</property> |
187 <property name="expand">False</property> |
| 146 <property name="homogeneous">True</property> |
188 <property name="homogeneous">True</property> |
| 147 </packing> |
189 </packing> |
| 148 </child> |
190 </child> |
| 149 <child> |
191 <child> |
| 150 <object class="GtkToggleToolButton" id="pause"> |
192 <object class="GtkToggleToolButton" id="pause"> |
| 151 <property name="visible">True</property> |
193 <property name="visible">True</property> |
| 152 <property name="can_focus">False</property> |
194 <property name="can-focus">False</property> |
| 153 <property name="tooltip_text" translatable="yes">Pause</property> |
195 <property name="tooltip-text" translatable="yes">Pause</property> |
| 154 <property name="is_important">True</property> |
196 <property name="is-important">True</property> |
| 155 <property name="label" translatable="yes">_Pause</property> |
197 <property name="label" translatable="yes">_Pause</property> |
| 156 <property name="use_underline">True</property> |
198 <property name="use-underline">True</property> |
| 157 <property name="icon_name">media-playback-pause</property> |
199 <property name="icon-name">media-playback-pause</property> |
| 158 <signal name="clicked" handler="pause_cb" object="PidginDebugWindow" swapped="no"/> |
200 <signal name="clicked" handler="pause_cb" object="PidginDebugWindow" swapped="no"/> |
| 159 </object> |
201 </object> |
| 160 <packing> |
202 <packing> |
| 161 <property name="expand">False</property> |
203 <property name="expand">False</property> |
| 162 <property name="homogeneous">True</property> |
204 <property name="homogeneous">True</property> |
| 163 </packing> |
205 </packing> |
| 164 </child> |
206 </child> |
| 165 <child> |
207 <child> |
| 166 <object class="GtkSeparatorToolItem"> |
208 <object class="GtkSeparatorToolItem"> |
| 167 <property name="visible">True</property> |
209 <property name="visible">True</property> |
| 168 <property name="can_focus">False</property> |
210 <property name="can-focus">False</property> |
| 169 </object> |
211 </object> |
| 170 <packing> |
212 <packing> |
| 171 <property name="expand">False</property> |
213 <property name="expand">False</property> |
| 172 <property name="homogeneous">True</property> |
214 <property name="homogeneous">True</property> |
| 173 </packing> |
215 </packing> |
| 174 </child> |
216 </child> |
| 175 <child> |
217 <child> |
| 176 <object class="GtkToggleToolButton" id="filter"> |
218 <object class="GtkToggleToolButton" id="filter"> |
| 177 <property name="visible">True</property> |
219 <property name="visible">True</property> |
| 178 <property name="can_focus">False</property> |
220 <property name="can-focus">False</property> |
| 179 <property name="tooltip_text" translatable="yes">Filter</property> |
221 <property name="tooltip-text" translatable="yes">Filter</property> |
| 180 <property name="is_important">True</property> |
222 <property name="is-important">True</property> |
| 181 <property name="label" translatable="yes">_Filter</property> |
223 <property name="label" translatable="yes">_Filter</property> |
| 182 <property name="use_underline">True</property> |
224 <property name="use-underline">True</property> |
| 183 <property name="icon_name">edit-find</property> |
225 <property name="icon-name">edit-find</property> |
| 184 <signal name="clicked" handler="regex_filter_toggled_cb" object="PidginDebugWindow" swapped="no"/> |
226 <signal name="clicked" handler="regex_filter_toggled_cb" object="PidginDebugWindow" swapped="no"/> |
| 185 </object> |
227 </object> |
| 186 <packing> |
228 <packing> |
| 187 <property name="expand">False</property> |
229 <property name="expand">False</property> |
| 188 <property name="homogeneous">True</property> |
230 <property name="homogeneous">True</property> |
| 189 </packing> |
231 </packing> |
| 190 </child> |
232 </child> |
| 191 <child> |
233 <child> |
| 192 <object class="GtkToolItem"> |
234 <object class="GtkToolItem"> |
| 193 <property name="visible">True</property> |
235 <property name="visible">True</property> |
| 194 <property name="can_focus">False</property> |
236 <property name="can-focus">False</property> |
| 195 <child> |
237 <child> |
| 196 <object class="GtkSearchEntry" id="expression"> |
238 <object class="GtkSearchEntry" id="expression"> |
| 197 <property name="visible">True</property> |
239 <property name="visible">True</property> |
| 198 <property name="can_focus">True</property> |
240 <property name="can-focus">True</property> |
| 199 <property name="primary_icon_name">edit-find-symbolic</property> |
241 <property name="primary-icon-name">edit-find-symbolic</property> |
| 200 <property name="primary_icon_activatable">True</property> |
242 <property name="primary-icon-activatable">True</property> |
| 201 <property name="primary_icon_sensitive">True</property> |
243 <property name="primary-icon-sensitive">True</property> |
| 202 <property name="primary_icon_tooltip_text" translatable="yes">Click for more options.</property> |
244 <property name="primary-icon-tooltip-text" translatable="yes">Click for more options.</property> |
| 203 <signal name="icon-press" handler="regex_popup_cb" object="PidginDebugWindow" swapped="no"/> |
245 <signal name="icon-press" handler="regex_popup_cb" object="PidginDebugWindow" swapped="no"/> |
| 204 <signal name="key-release-event" handler="regex_key_release_cb" object="PidginDebugWindow" swapped="no"/> |
246 <signal name="key-release-event" handler="regex_key_release_cb" object="PidginDebugWindow" swapped="no"/> |
| 205 <signal name="search-changed" handler="regex_changed_cb" object="PidginDebugWindow" swapped="no"/> |
247 <signal name="search-changed" handler="regex_changed_cb" object="PidginDebugWindow" swapped="no"/> |
| 206 </object> |
248 </object> |
| 207 </child> |
249 </child> |