Commit f5279b6090d0c28305df5bccaad2466f6ca0ace4

Authored by perry.werneck@gmail.com
1 parent 8e0847a8
Exists in master and in 1 other branch develop

Reincluindo suporte básico para scripts

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
keyboard.c
... ... @@ -95,8 +95,8 @@
95 95 { GDK_Up, 0, lib3270_cursor_up },
96 96 { GDK_Right, 0, lib3270_cursor_right },
97 97 { GDK_Down, 0, lib3270_cursor_down },
98   - { GDK_Tab, 0, lib3270_tab },
99   - { GDK_ISO_Left_Tab, GDK_SHIFT_MASK, lib3270_backtab },
  98 + { GDK_Tab, 0, lib3270_nextfield },
  99 + { GDK_ISO_Left_Tab, GDK_SHIFT_MASK, lib3270_previousfield },
100 100 { GDK_KP_Left, 0, lib3270_cursor_left },
101 101 { GDK_KP_Up, 0, lib3270_cursor_up },
102 102 { GDK_KP_Right, 0, lib3270_cursor_right },
... ... @@ -199,13 +199,13 @@
199 199 void v3270_tab(GtkWidget *widget)
200 200 {
201 201 g_return_if_fail(GTK_IS_V3270(widget));
202   - lib3270_tab(GTK_V3270(widget)->host);
  202 + lib3270_nextfield(GTK_V3270(widget)->host);
203 203 }
204 204  
205 205 void v3270_backtab(GtkWidget *widget)
206 206 {
207 207 g_return_if_fail(GTK_IS_V3270(widget));
208   - lib3270_backtab(GTK_V3270(widget)->host);
  208 + lib3270_previousfield(GTK_V3270(widget)->host);
209 209 }
210 210  
211 211 void v3270_set_string(GtkWidget *widget, const gchar *str)
... ...