Bug 708174 - Improve the original search dialog patch.

Fix various bugs, improve code design and efficiency, change feature
name, update the feature up to our standards (now uses GIMP preferences,
session management, less overwhelming settings...).
Also now action history is tightly tied to GimpAction and logs all
action activation (however it activates, and the show_unavailable
parameter also applies to history).
Search algorithm greatly improved with basic tokenization, better
ordering, filtering, etc.
This commit is contained in:
Jehan
2013-09-26 06:02:59 +12:00
committed by Michael Natterer
parent fc8f6c127f
commit 5903e53d51
19 changed files with 1140 additions and 864 deletions

View File

@ -132,6 +132,15 @@ dialogs_file_export_new (GimpDialogFactory *factory,
return file_save_dialog_new (context->gimp, TRUE);
}
GtkWidget *
dialogs_action_search_get (GimpDialogFactory *factory,
GimpContext *context,
GimpUIManager *ui_manager,
gint view_size)
{
return action_search_dialog_create (context->gimp);
}
GtkWidget *
dialogs_preferences_get (GimpDialogFactory *factory,
GimpContext *context,
@ -195,15 +204,6 @@ dialogs_about_get (GimpDialogFactory *factory,
return about_dialog_create (context);
}
GtkWidget *
dialogs_action_search_get (GimpDialogFactory *factory,
GimpContext *context,
GimpUIManager *ui_manager,
gint view_size)
{
return action_search_dialog_create ();
}
GtkWidget *
dialogs_error_get (GimpDialogFactory *factory,
GimpContext *context,