GNOME Bugzilla – Bug 313808
Run application: update the known apps list while typing
Last modified: 2015-03-24 13:01:17 UTC
It would be great if the dialog could update the known applications list while typing. For example, I could type "Tex" and the only "known apps" still displayed would be those matching *Tex*. Other information:
Or, at least select the item that matches the typed text in the entry (and its completion), so that you type gconf-e which is completed to gconf-editor and the list below automagically selects the right icons+item.
2005-12-18 Vincent Untz <vuntz@gnome.org> Update the known applications list while typing and only show the items that match. Fix bug #313808. * panel-run-dialog.c: s/_command_icon_idle_id/_command_idle_id/g, add some FIXME, add a visible column to the liststore, (panel_run_dialog_destroy): reinitialize value of the new changed_id handler id (panel_run_dialog_make_all_list_visible): new (panel_run_dialog_find_command_icon_idle): if the text doesn't match the item, look if the text is in the command/name/comment of the item and set the items visibility according to this, also make sure that we show the beginning of the list since the displayed items change (panel_run_dialog_add_items_idle): use a GtkTreeModelFilter (entry_event): use g_completion_complete_utf8(), disable the "changed" handler when we complete so that it's not called twice but only once (entry_changed): move some code around to make it more readable, reset the icon and the visibility of the list items if the text is void (panel_run_dialog_setup_entry): save the handler id for the "changed" signal * panel-util.[ch]: (panel_util_utf8_strstrcase): new, stolen from e-d-s (panel_util_unicode_get_utf8): ditto