| 703 } |
703 } |
| 704 |
704 |
| 705 static void |
705 static void |
| 706 completion_cb(GntEntry *entry, const char *start, const char *end) |
706 completion_cb(GntEntry *entry, const char *start, const char *end) |
| 707 { |
707 { |
| 708 if (start == entry->start && *start != '/') |
708 if (start == gnt_entry_get_text(entry) && *start != '/') |
| 709 gnt_widget_key_pressed(GNT_WIDGET(entry), ": "); |
709 gnt_widget_key_pressed(GNT_WIDGET(entry), ": "); |
| 710 } |
710 } |
| 711 |
711 |
| 712 static void |
712 static void |
| 713 gg_setup_commands(FinchConv *fconv, gboolean remove_first) |
713 gg_setup_commands(FinchConv *fconv, gboolean remove_first) |