Revert "Fixed a use after free error when manipulating datasets."
[pspp] / src / ui / gui / sort.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- PSPP - a program for statistical analysis. -->
3 <!-- Copyright (C) 2017 Free Software Foundation, Inc. -->
4
5 <!-- This program is free software: you can redistribute it and/or modify -->
6 <!-- it under the terms of the GNU General Public License as published by -->
7 <!-- the Free Software Foundation, either version 3 of the License, or -->
8 <!-- (at your option) any later version. -->
9
10 <!-- This program is distributed in the hope that it will be useful, -->
11 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
12 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
13 <!-- GNU General Public License for more details. -->
14
15 <!-- You should have received a copy of the GNU General Public License -->
16 <!-- along with this program.  If not, see <http://www.gnu.org/licenses/>. -->
17
18 <!-- Generated with glade 3.18.3 -->
19 <interface>
20   <requires lib="gtk+" version="3.4.2"/>
21   <requires lib="psppire" version="2054.17080"/>
22   <object class="PsppireDialog" id="sort-cases-dialog">
23     <property name="can_focus">False</property>
24     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
25     <property name="title" translatable="yes">Sort Cases</property>
26     <property name="modal">True</property>
27     <property name="help_page">SORT-CASES</property>
28     <child>
29       <object class="GtkBox" id="dialog-hbox4">
30         <property name="visible">True</property>
31         <property name="can_focus">False</property>
32         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
33         <property name="spacing">2</property>
34         <child>
35           <object class="GtkBox" id="hbox14">
36             <property name="visible">True</property>
37             <property name="can_focus">False</property>
38             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
39             <property name="margin_left">5</property>
40             <property name="margin_top">5</property>
41             <property name="margin_bottom">5</property>
42             <child>
43               <object class="GtkScrolledWindow" id="scrolledwindow6">
44                 <property name="visible">True</property>
45                 <property name="can_focus">True</property>
46                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
47                 <property name="hscrollbar_policy">never</property>
48                 <property name="shadow_type">etched-in</property>
49                 <child>
50                   <object class="PsppireDictView" id="sort-cases-treeview1">
51                     <property name="visible">True</property>
52                     <property name="can_focus">True</property>
53                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
54                     <property name="border_width">0</property>
55                     <property name="headers_visible">False</property>
56                     <child internal-child="selection">
57                       <object class="GtkTreeSelection" id="psppire-dictview-selection1"/>
58                     </child>
59                   </object>
60                 </child>
61               </object>
62               <packing>
63                 <property name="expand">True</property>
64                 <property name="fill">True</property>
65                 <property name="position">0</property>
66               </packing>
67             </child>
68             <child>
69               <object class="GtkGrid" id="grid1">
70                 <property name="visible">True</property>
71                 <property name="can_focus">False</property>
72                 <child>
73                   <object class="PsppireSelector" id="sort-cases-selector">
74                     <property name="visible">True</property>
75                     <property name="can_focus">True</property>
76                     <property name="receives_default">True</property>
77                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
78                     <property name="valign">center</property>
79                     <property name="border_width">5</property>
80                     <property name="source_widget">sort-cases-treeview1</property>
81                     <property name="dest_widget">sort-cases-treeview2</property>
82                   </object>
83                   <packing>
84                     <property name="left_attach">0</property>
85                     <property name="top_attach">0</property>
86                   </packing>
87                 </child>
88                 <child>
89                   <object class="GtkBox" id="vbox16">
90                     <property name="visible">True</property>
91                     <property name="can_focus">False</property>
92                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
93                     <property name="vexpand">True</property>
94                     <property name="orientation">vertical</property>
95                     <child>
96                       <object class="GtkLabel" id="label18">
97                         <property name="visible">True</property>
98                         <property name="can_focus">False</property>
99                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
100                         <property name="xalign">0</property>
101                         <property name="label" translatable="yes">Sort by:</property>
102                       </object>
103                       <packing>
104                         <property name="expand">False</property>
105                         <property name="fill">True</property>
106                         <property name="position">0</property>
107                       </packing>
108                     </child>
109                     <child>
110                       <object class="GtkScrolledWindow" id="scrolledwindow7">
111                         <property name="visible">True</property>
112                         <property name="can_focus">True</property>
113                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
114                         <property name="hscrollbar_policy">never</property>
115                         <property name="shadow_type">etched-in</property>
116                         <child>
117                           <object class="PsppireVarView" id="sort-cases-treeview2">
118                             <property name="visible">True</property>
119                             <property name="can_focus">True</property>
120                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
121                             <property name="border_width">0</property>
122                             <property name="headers_visible">False</property>
123                             <child internal-child="selection">
124                               <object class="GtkTreeSelection" id="psppire-var-view-selection"/>
125                             </child>
126                           </object>
127                         </child>
128                       </object>
129                       <packing>
130                         <property name="expand">True</property>
131                         <property name="fill">True</property>
132                         <property name="position">1</property>
133                       </packing>
134                     </child>
135                   </object>
136                   <packing>
137                     <property name="left_attach">1</property>
138                     <property name="top_attach">0</property>
139                   </packing>
140                 </child>
141                 <child>
142                   <object class="GtkFrame" id="frame9">
143                     <property name="visible">True</property>
144                     <property name="can_focus">False</property>
145                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
146                     <property name="label_xalign">0</property>
147                     <child>
148                       <object class="GtkButtonBox" id="vbuttonbox4">
149                         <property name="visible">True</property>
150                         <property name="margin-start">12</property>
151                         <property name="can_focus">False</property>
152                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
153                         <property name="orientation">vertical</property>
154                         <property name="layout_style">spread</property>
155                         <child>
156                           <object class="GtkRadioButton" id="sort-cases-radiobutton0">
157                             <property name="label" translatable="yes">Ascending</property>
158                             <property name="visible">True</property>
159                             <property name="can_focus">True</property>
160                             <property name="receives_default">False</property>
161                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
162                             <property name="xalign">0</property>
163                             <property name="active">True</property>
164                             <property name="draw_indicator">True</property>
165                           </object>
166                           <packing>
167                             <property name="expand">False</property>
168                             <property name="fill">False</property>
169                             <property name="position">0</property>
170                           </packing>
171                         </child>
172                         <child>
173                           <object class="GtkRadioButton" id="sort-cases-radiobutton1">
174                             <property name="label" translatable="yes">Descending</property>
175                             <property name="visible">True</property>
176                             <property name="can_focus">True</property>
177                             <property name="receives_default">False</property>
178                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
179                             <property name="xalign">0</property>
180                             <property name="draw_indicator">True</property>
181                             <property name="group">sort-cases-radiobutton0</property>
182                           </object>
183                           <packing>
184                             <property name="expand">False</property>
185                             <property name="fill">False</property>
186                             <property name="position">1</property>
187                           </packing>
188                         </child>
189                       </object>
190                     </child>
191                     <child type="label">
192                       <object class="GtkLabel" id="label17">
193                         <property name="visible">True</property>
194                         <property name="can_focus">False</property>
195                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
196                         <property name="label" translatable="yes">Sort Order</property>
197                         <property name="use_markup">True</property>
198                       </object>
199                     </child>
200                   </object>
201                   <packing>
202                     <property name="left_attach">1</property>
203                     <property name="top_attach">1</property>
204                   </packing>
205                 </child>
206                 <child>
207                   <object class="GtkEventBox" id="eventbox1">
208                     <property name="visible">True</property>
209                     <property name="can_focus">False</property>
210                     <child>
211                       <placeholder/>
212                     </child>
213                   </object>
214                   <packing>
215                     <property name="left_attach">0</property>
216                     <property name="top_attach">1</property>
217                   </packing>
218                 </child>
219               </object>
220               <packing>
221                 <property name="expand">True</property>
222                 <property name="fill">True</property>
223                 <property name="position">1</property>
224               </packing>
225             </child>
226           </object>
227           <packing>
228             <property name="expand">True</property>
229             <property name="fill">True</property>
230             <property name="position">0</property>
231           </packing>
232         </child>
233         <child>
234           <object class="PsppireButtonbox" id="psppire-buttonbox4">
235             <property name="orientation">vertical</property>
236             <property name="visible">True</property>
237             <property name="can_focus">False</property>
238             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
239             <property name="border_width">5</property>
240           </object>
241           <packing>
242             <property name="expand">False</property>
243             <property name="fill">False</property>
244             <property name="pack_type">end</property>
245             <property name="position">1</property>
246           </packing>
247         </child>
248       </object>
249     </child>
250   </object>
251 </interface>