| 39 <!-- column-name editor --> |
39 <!-- column-name editor --> |
| 40 <column type="GObject"/> |
40 <column type="GObject"/> |
| 41 </columns> |
41 </columns> |
| 42 </object> |
42 </object> |
| 43 <template class="PidginStatusManager" parent="GtkDialog"> |
43 <template class="PidginStatusManager" parent="GtkDialog"> |
| 44 <property name="can-focus">False</property> |
44 <property name="title" translatable="1">Saved Statuses</property> |
| 45 <property name="title" translatable="yes">Saved Statuses</property> |
|
| 46 <property name="default-width">550</property> |
45 <property name="default-width">550</property> |
| 47 <property name="default-height">250</property> |
46 <property name="default-height">250</property> |
| 48 <property name="type-hint">dialog</property> |
|
| 49 <signal name="response" handler="pidgin_status_manager_response_cb" swapped="no"/> |
47 <signal name="response" handler="pidgin_status_manager_response_cb" swapped="no"/> |
| 50 <child internal-child="vbox"> |
48 <child internal-child="content_area"> |
| 51 <object class="GtkBox"> |
49 <object class="GtkScrolledWindow"> |
| 52 <property name="can-focus">False</property> |
50 <property name="vexpand">1</property> |
| 53 <property name="orientation">vertical</property> |
51 <property name="valign">fill</property> |
| 54 <property name="spacing">2</property> |
52 <property name="focusable">1</property> |
| 55 <child> |
53 <child> |
| 56 <object class="GtkScrolledWindow"> |
54 <object class="GtkTreeView"> |
| 57 <property name="visible">True</property> |
55 <property name="focusable">1</property> |
| 58 <property name="can-focus">True</property> |
56 <property name="model">model</property> |
| 59 <property name="shadow-type">in</property> |
57 <property name="search-column">0</property> |
| |
58 <signal name="row-activated" handler="pidgin_status_manager_row_activated_cb" object="PidginStatusManager" swapped="no"/> |
| |
59 <child internal-child="selection"> |
| |
60 <object class="GtkTreeSelection" id="selection"> |
| |
61 <signal name="changed" handler="pidgin_status_manager_selection_changed_cb" object="PidginStatusManager" swapped="no"/> |
| |
62 </object> |
| |
63 </child> |
| 60 <child> |
64 <child> |
| 61 <object class="GtkTreeView"> |
65 <object class="GtkTreeViewColumn"> |
| 62 <property name="visible">True</property> |
66 <property name="resizable">1</property> |
| 63 <property name="can-focus">True</property> |
67 <property name="min-width">100</property> |
| 64 <property name="model">model</property> |
68 <property name="title" translatable="1">Title</property> |
| 65 <property name="search-column">0</property> |
69 <property name="clickable">1</property> |
| 66 <signal name="row-activated" handler="pidgin_status_manager_row_activated_cb" object="PidginStatusManager" swapped="no"/> |
70 <property name="sort-column-id">0</property> |
| 67 <child internal-child="selection"> |
71 <child> |
| 68 <object class="GtkTreeSelection" id="selection"> |
72 <object class="GtkCellRendererText"> |
| 69 <signal name="changed" handler="pidgin_status_manager_selection_changed_cb" object="PidginStatusManager" swapped="no"/> |
73 <property name="ellipsize">end</property> |
| 70 </object> |
74 </object> |
| |
75 <attributes> |
| |
76 <attribute name="markup">0</attribute> |
| |
77 </attributes> |
| |
78 </child> |
| |
79 </object> |
| |
80 </child> |
| |
81 <child> |
| |
82 <object class="GtkTreeViewColumn"> |
| |
83 <property name="resizable">1</property> |
| |
84 <property name="title" translatable="1">Type</property> |
| |
85 <property name="clickable">1</property> |
| |
86 <property name="sort-column-id">2</property> |
| |
87 <child> |
| |
88 <object class="GtkCellRendererPixbuf"/> |
| |
89 <attributes> |
| |
90 <attribute name="icon-name">1</attribute> |
| |
91 </attributes> |
| 71 </child> |
92 </child> |
| 72 <child> |
93 <child> |
| 73 <object class="GtkTreeViewColumn"> |
94 <object class="GtkCellRendererText"/> |
| 74 <property name="resizable">True</property> |
95 <attributes> |
| 75 <property name="min-width">100</property> |
96 <attribute name="markup">2</attribute> |
| 76 <property name="title" translatable="yes">Title</property> |
97 </attributes> |
| 77 <property name="clickable">True</property> |
98 </child> |
| 78 <property name="sort-column-id">0</property> |
99 </object> |
| 79 <child> |
100 </child> |
| 80 <object class="GtkCellRendererText"> |
101 <child> |
| 81 <property name="ellipsize">end</property> |
102 <object class="GtkTreeViewColumn"> |
| 82 </object> |
103 <property name="resizable">1</property> |
| 83 <attributes> |
104 <property name="title" translatable="1">Message</property> |
| 84 <attribute name="markup">0</attribute> |
105 <property name="clickable">1</property> |
| 85 </attributes> |
106 <property name="sort-column-id">4</property> |
| 86 </child> |
107 <child> |
| |
108 <object class="GtkCellRendererText"> |
| |
109 <property name="ellipsize">end</property> |
| 87 </object> |
110 </object> |
| 88 </child> |
111 <attributes> |
| 89 <child> |
112 <attribute name="markup">3</attribute> |
| 90 <object class="GtkTreeViewColumn"> |
113 </attributes> |
| 91 <property name="resizable">True</property> |
|
| 92 <property name="title" translatable="yes">Type</property> |
|
| 93 <property name="clickable">True</property> |
|
| 94 <property name="sort-column-id">2</property> |
|
| 95 <child> |
|
| 96 <object class="GtkCellRendererPixbuf"/> |
|
| 97 <attributes> |
|
| 98 <attribute name="icon-name">1</attribute> |
|
| 99 </attributes> |
|
| 100 </child> |
|
| 101 <child> |
|
| 102 <object class="GtkCellRendererText"/> |
|
| 103 <attributes> |
|
| 104 <attribute name="markup">2</attribute> |
|
| 105 </attributes> |
|
| 106 </child> |
|
| 107 </object> |
|
| 108 </child> |
|
| 109 <child> |
|
| 110 <object class="GtkTreeViewColumn"> |
|
| 111 <property name="resizable">True</property> |
|
| 112 <property name="title" translatable="yes">Message</property> |
|
| 113 <property name="clickable">True</property> |
|
| 114 <property name="sort-column-id">4</property> |
|
| 115 <child> |
|
| 116 <object class="GtkCellRendererText"> |
|
| 117 <property name="ellipsize">end</property> |
|
| 118 </object> |
|
| 119 <attributes> |
|
| 120 <attribute name="markup">3</attribute> |
|
| 121 </attributes> |
|
| 122 </child> |
|
| 123 </object> |
|
| 124 </child> |
114 </child> |
| 125 </object> |
115 </object> |
| 126 </child> |
116 </child> |
| 127 </object> |
117 </object> |
| 128 <packing> |
|
| 129 <property name="expand">True</property> |
|
| 130 <property name="fill">True</property> |
|
| 131 <property name="position">1</property> |
|
| 132 </packing> |
|
| 133 </child> |
118 </child> |
| 134 </object> |
119 </object> |
| 135 </child> |
120 </child> |
| 136 <child type="action"> |
121 <child type="action"> |
| 137 <object class="GtkButton" id="use_button"> |
122 <object class="GtkButton" id="use_button"> |
| 138 <property name="label" translatable="yes">_Use</property> |
123 <property name="label" translatable="1">_Use</property> |
| 139 <property name="visible">True</property> |
124 <property name="sensitive">0</property> |
| 140 <property name="sensitive">False</property> |
125 <property name="focusable">1</property> |
| 141 <property name="can-focus">True</property> |
126 <property name="receives-default">1</property> |
| 142 <property name="receives-default">True</property> |
127 <property name="use-underline">1</property> |
| 143 <property name="use-underline">True</property> |
|
| 144 </object> |
128 </object> |
| 145 </child> |
129 </child> |
| 146 <child type="action"> |
130 <child type="action"> |
| 147 <object class="GtkButton" id="button1"> |
131 <object class="GtkButton" id="button1"> |
| 148 <property name="label" translatable="yes">_Add</property> |
132 <property name="label" translatable="1">_Add</property> |
| 149 <property name="visible">True</property> |
133 <property name="focusable">1</property> |
| 150 <property name="can-focus">True</property> |
134 <property name="receives-default">1</property> |
| 151 <property name="receives-default">True</property> |
135 <property name="use-underline">1</property> |
| 152 <property name="use-underline">True</property> |
|
| 153 </object> |
136 </object> |
| 154 </child> |
137 </child> |
| 155 <child type="action"> |
138 <child type="action"> |
| 156 <object class="GtkButton" id="modify_button"> |
139 <object class="GtkButton" id="modify_button"> |
| 157 <property name="label" translatable="yes">_Modify</property> |
140 <property name="label" translatable="1">_Modify</property> |
| 158 <property name="visible">True</property> |
141 <property name="sensitive">0</property> |
| 159 <property name="sensitive">False</property> |
142 <property name="focusable">1</property> |
| 160 <property name="can-focus">True</property> |
143 <property name="receives-default">1</property> |
| 161 <property name="receives-default">True</property> |
144 <property name="use-underline">1</property> |
| 162 <property name="use-underline">True</property> |
|
| 163 </object> |
145 </object> |
| 164 </child> |
146 </child> |
| 165 <child type="action"> |
147 <child type="action"> |
| 166 <object class="GtkButton" id="remove_button"> |
148 <object class="GtkButton" id="remove_button"> |
| 167 <property name="label" translatable="yes">_Remove</property> |
149 <property name="label" translatable="1">_Remove</property> |
| 168 <property name="visible">True</property> |
150 <property name="sensitive">0</property> |
| 169 <property name="sensitive">False</property> |
151 <property name="focusable">1</property> |
| 170 <property name="can-focus">True</property> |
152 <property name="receives-default">1</property> |
| 171 <property name="receives-default">True</property> |
153 <property name="use-underline">1</property> |
| 172 <property name="use-underline">True</property> |
|
| 173 </object> |
154 </object> |
| 174 </child> |
155 </child> |
| 175 <child type="action"> |
156 <child type="action"> |
| 176 <object class="GtkButton" id="button2"> |
157 <object class="GtkButton" id="button2"> |
| 177 <property name="label" translatable="yes">_Close</property> |
158 <property name="label" translatable="1">_Close</property> |
| 178 <property name="visible">True</property> |
159 <property name="focusable">1</property> |
| 179 <property name="can-focus">True</property> |
160 <property name="receives-default">1</property> |
| 180 <property name="receives-default">True</property> |
161 <property name="use-underline">1</property> |
| 181 <property name="use-underline">True</property> |
|
| 182 </object> |
162 </object> |
| 183 </child> |
163 </child> |
| 184 <action-widgets> |
164 <action-widgets> |
| 185 <action-widget response="0">use_button</action-widget> |
165 <action-widget response="0">use_button</action-widget> |
| 186 <action-widget response="1">button1</action-widget> |
166 <action-widget response="1">button1</action-widget> |