135 |
case GDK_Return: |
case GDK_Return: |
136 |
callentry = lookup_widget (mainwindow, "callentry"); |
callentry = lookup_widget (mainwindow, "callentry"); |
137 |
myrstentry = lookup_widget (mainwindow, "myrstentry"); |
myrstentry = lookup_widget (mainwindow, "myrstentry"); |
138 |
if (GTK_WIDGET_HAS_FOCUS (myrstentry) && state.contest) |
if (GTK_WIDGET_HAS_FOCUS (myrstentry)) |
139 |
{ |
{ |
140 |
cw (NULL, "f3"); |
cw (NULL, "f3"); |
141 |
} |
} |
142 |
if (GTK_WIDGET_HAS_FOCUS (callentry) && state.contest) |
if (GTK_WIDGET_HAS_FOCUS (callentry)) |
143 |
{ |
{ |
144 |
call = gtk_editable_get_chars (GTK_EDITABLE (callentry), 0, -1); |
call = gtk_editable_get_chars (GTK_EDITABLE (callentry), 0, -1); |
145 |
if (strlen (call) > 2) |
if (strlen (call) > 2) |