get_app_for_window_direct search ShellApp by window, before create.

https://bugzilla.gnome.org/show_bug.cgi?id=610324
This commit is contained in:
Maxim Ermilov
2010-02-21 03:16:30 +03:00
parent 1b7c3580e6
commit c793d7d0a4
3 changed files with 30 additions and 5 deletions

View File

@ -66,6 +66,7 @@ gboolean shell_app_info_launch (ShellAppInfo *info,
ShellAppInfo *shell_app_system_load_from_desktop_file (ShellAppSystem *system, const char *filename, GError **error);
ShellApp *shell_app_system_get_app (ShellAppSystem *system, const char *id);
ShellApp *shell_app_system_get_app_for_window (ShellAppSystem *self, MetaWindow *window);
void _shell_app_system_register_app (ShellAppSystem *self, ShellApp *app);