Clean up and improve case code.
[pspp] / glade.patch
1 This patch mitigates a bug in glade-2, which silently deletes stock_ids, which 
2 it thinks are not valid.   You may have to apply this patch after editing 
3 data-editor.glade with glade-2.  Glade-3 is another story and might give 
4 problems of its own.
5 --- src/ui/gui/data-editor.glade,old    2006-12-31 07:29:39.000000000 +0900
6 +++ src/ui/gui/data-editor.glade        2006-12-31 07:30:04.000000000 +0900
7 @@ -653,6 +653,7 @@
8                   <property name="visible">True</property>
9                   <property name="sensitive">False</property>
10                   <property name="tooltip" translatable="yes">Variables</property>
11 +                  <property name="stock_id">pspp-goto-variable</property>
12                   <property name="label" translatable="yes"></property>
13                   <property name="use_underline">True</property>
14                   <property name="visible_horizontal">True</property>
15 @@ -712,6 +713,7 @@
16                   <property name="visible">True</property>
17                   <property name="sensitive">False</property>
18                   <property name="tooltip" translatable="yes">Insert Case</property>
19 +                  <property name="stock_id">pspp-insert-case</property>
20                   <property name="label" translatable="yes"></property>
21                   <property name="use_underline">True</property>
22                   <property name="visible_horizontal">True</property>
23 @@ -730,6 +732,7 @@
24                   <property name="visible">True</property>
25                   <property name="sensitive">False</property>
26                   <property name="tooltip" translatable="yes">Insert Variable</property>
27 +                  <property name="stock_id">pspp-insert-variable</property>
28                   <property name="label" translatable="yes"></property>
29                   <property name="use_underline">True</property>
30                   <property name="visible_horizontal">True</property>
31 @@ -760,6 +763,7 @@
32                   <property name="visible">True</property>
33                   <property name="sensitive">False</property>
34                   <property name="tooltip" translatable="yes">Split File</property>
35 +                  <property name="stock_id">pspp-split-file</property>
36                   <property name="label" translatable="yes"></property>
37                   <property name="use_underline">True</property>
38                   <property name="visible_horizontal">True</property>
39 @@ -777,6 +781,7 @@
40                   <property name="visible">True</property>
41                   <property name="sensitive">False</property>
42                   <property name="tooltip" translatable="yes">Weight Cases</property>
43 +                  <property name="stock_id">pspp-weight-cases</property>
44                   <property name="label" translatable="yes"></property>
45                   <property name="use_underline">True</property>
46                   <property name="visible_horizontal">True</property>
47 @@ -794,6 +799,7 @@
48                   <property name="visible">True</property>
49                   <property name="sensitive">False</property>
50                   <property name="tooltip" translatable="yes">Select Cases</property>
51 +                  <property name="stock_id">pspp-select-cases</property>
52                   <property name="label" translatable="yes"></property>
53                   <property name="use_underline">True</property>
54                   <property name="visible_horizontal">True</property>
55 @@ -823,6 +829,7 @@
56                 <widget class="GtkToggleToolButton" id="togglebutton-value-labels">
57                   <property name="visible">True</property>
58                   <property name="tooltip" translatable="yes">Value Labels</property>
59 +                  <property name="stock_id">pspp-value-labels</property>
60                   <property name="label" translatable="yes"></property>
61                   <property name="use_underline">True</property>
62                   <property name="visible_horizontal">True</property>