Bug 581944 - Fully rebase on ShellAppSystem, don't use Gio to load apps

To avoid loading applications from two different systems, use
ShellAppSystem solely.  This unifies the initial load and the
reload.

Extend ShellAppSystem to also load settings/preferences, and
ensure they appear in the search.
This commit is contained in:
Colin Walters
2009-05-14 14:14:18 -04:00
parent 0c7b983b10
commit 5416f53351
3 changed files with 161 additions and 80 deletions

View File

@@ -31,7 +31,7 @@ struct _ShellAppSystemClass
GType shell_app_system_get_type (void) G_GNUC_CONST;
ShellAppSystem* shell_app_system_new(void);
GList *shell_app_system_get_applications_for_menu (ShellAppSystem *monitor, const char *menu);
GSList *shell_app_system_get_applications_for_menu (ShellAppSystem *system, const char *menu);
typedef struct _ShellAppMenuEntry ShellAppMenuEntry;
@@ -43,6 +43,8 @@ struct _ShellAppMenuEntry {
GType shell_app_menu_entry_get_type (void);
GList *shell_app_system_get_menus (ShellAppSystem *monitor);
GSList *shell_app_system_get_menus (ShellAppSystem *system);
GSList *shell_app_system_get_all_settings (ShellAppSystem *system);
#endif /* __SHELL_APP_SYSTEM_H__ */