Commit f079376540a5954d20b28fcf7e391f77be15fea0
1 parent
1e5c57d8
Exists in
master
and in
4 other branches
Working in the classic menu.
Showing
3 changed files
with
26 additions
and
7 deletions
Show diff stats
src/objects/window/private.h
@@ -73,5 +73,4 @@ | @@ -73,5 +73,4 @@ | ||
73 | G_GNUC_INTERNAL void pw3270_window_open_activated(GSimpleAction * action, GVariant *parameter, gpointer application); | 73 | G_GNUC_INTERNAL void pw3270_window_open_activated(GSimpleAction * action, GVariant *parameter, gpointer application); |
74 | G_GNUC_INTERNAL void pw3270_window_close_activated(GSimpleAction * action, GVariant *parameter, gpointer application); | 74 | G_GNUC_INTERNAL void pw3270_window_close_activated(GSimpleAction * action, GVariant *parameter, gpointer application); |
75 | 75 | ||
76 | - | ||
77 | #endif // PRIVATE_H_INCLUDED | 76 | #endif // PRIVATE_H_INCLUDED |
src/objects/window/window.c
ui/application.xml
@@ -154,12 +154,12 @@ | @@ -154,12 +154,12 @@ | ||
154 | 154 | ||
155 | <item> | 155 | <item> |
156 | <attribute name="label" translatable="yes">Select all</attribute> | 156 | <attribute name="label" translatable="yes">Select all</attribute> |
157 | - <attribute name="action">win.select_all</attribute> | 157 | + <attribute name="action">win.select-all</attribute> |
158 | </item> | 158 | </item> |
159 | 159 | ||
160 | <item> | 160 | <item> |
161 | <attribute name="label" translatable="yes">Select Field</attribute> | 161 | <attribute name="label" translatable="yes">Select Field</attribute> |
162 | - <attribute name="action">win.select_field</attribute> | 162 | + <attribute name="action">win.select-field</attribute> |
163 | </item> | 163 | </item> |
164 | 164 | ||
165 | <item> | 165 | <item> |
@@ -241,10 +241,30 @@ | @@ -241,10 +241,30 @@ | ||
241 | <attribute name="action">win.set.colors</attribute> | 241 | <attribute name="action">win.set.colors</attribute> |
242 | </item> | 242 | </item> |
243 | 243 | ||
244 | - <item> | 244 | + <submenu> |
245 | + <attribute name="label" translatable="yes">Screen size</attribute> | ||
246 | + <item> | ||
247 | + <attribute name="label" translatable="yes">Model 2 - 80x24</attribute> | ||
248 | + <attribute name="action">win.set-model</attribute> | ||
249 | + </item> | ||
250 | + <item> | ||
251 | + <attribute name="label" translatable="yes">Model 3 - 80x32</attribute> | ||
252 | + <attribute name="action">win.set-model</attribute> | ||
253 | + </item> | ||
254 | + <item> | ||
255 | + <attribute name="label" translatable="yes">Model 4 - 80x43</attribute> | ||
256 | + <attribute name="action">win.set-model</attribute> | ||
257 | + </item> | ||
258 | + <item> | ||
259 | + <attribute name="label" translatable="yes">Model 5 - 132x27</attribute> | ||
260 | + <attribute name="action">win.set-model</attribute> | ||
261 | + </item> | ||
262 | + | ||
263 | + </submenu> | ||
264 | + | ||
265 | + <submenu id='font-select-placeholder'> | ||
245 | <attribute name="label" translatable="yes">Select font</attribute> | 266 | <attribute name="label" translatable="yes">Select font</attribute> |
246 | - <attribute name="action">win.select.font</attribute> | ||
247 | - </item> | 267 | + </submenu> |
248 | 268 | ||
249 | <item> | 269 | <item> |
250 | <attribute name="label" translatable="yes">Screen sizes</attribute> | 270 | <attribute name="label" translatable="yes">Screen sizes</attribute> |