Commit 51d81f75d9c0499e8011bacc01bbb9804c7df3c1

Authored by Perry Werneck
1 parent e5a2791d
Exists in master and in 1 other branch develop

Adding action for keyboard accelerators dialog.

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
src/terminal/actions/table.c
... ... @@ -317,7 +317,7 @@
317 317 //
318 318 {
319 319 .group = LIB3270_ACTION_GROUP_NONE,
320   - .name = "dialog-accelerators",
  320 + .name = "dialog-keyboard",
321 321 .label = N_("Change keyboard accelerators"),
322 322 .activate = fire_accelerators_dialog
323 323  
... ... @@ -355,13 +355,13 @@
355 355  
356 356 static int fire_accelerators_dialog(GtkWidget *widget, const struct _v3270_action * action) {
357 357  
358   - /*
359   - v3270_settings_popup_dialog(
360   - v3270_accelerator_settings_new(),
361   - widget,
362   - TRUE
  358 + gtk_widget_show_all(
  359 + v3270_settings_popup_dialog(
  360 + v3270_accelerator_settings_new(),
  361 + widget,
  362 + TRUE
  363 + )
363 364 );
364   - */
365 365  
366 366 return 0;
367 367 }
... ...