Bug 600620 - Add g_app_info_get_display_name()

This new API can make use of X-GNOME-FullName in .desktop files, to have
the full name of applications.
This commit is contained in:
Vincent Untz
2009-11-18 16:37:47 -06:00
committed by Ryan Lortie
parent 9681d7e75f
commit 3257e8ebe4
3 changed files with 49 additions and 0 deletions

View File

@@ -126,6 +126,7 @@ struct _GAppInfoIface
gboolean (* can_delete) (GAppInfo *appinfo);
gboolean (* do_delete) (GAppInfo *appinfo);
const char * (* get_commandline) (GAppInfo *appinfo);
const char * (* get_display_name) (GAppInfo *appinfo);
};
GType g_app_info_get_type (void) G_GNUC_CONST;
@@ -138,6 +139,7 @@ gboolean g_app_info_equal (GAppInfo *appin
GAppInfo *appinfo2);
const char *g_app_info_get_id (GAppInfo *appinfo);
const char *g_app_info_get_name (GAppInfo *appinfo);
const char *g_app_info_get_display_name (GAppInfo *appinfo);
const char *g_app_info_get_description (GAppInfo *appinfo);
const char *g_app_info_get_executable (GAppInfo *appinfo);
const char *g_app_info_get_commandline (GAppInfo *appinfo);