diff options
Diffstat (limited to 'lib/egg/eggdesktopfile.c')
-rw-r--r-- | lib/egg/eggdesktopfile.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/egg/eggdesktopfile.c b/lib/egg/eggdesktopfile.c index ce0c6f338..c18599881 100644 --- a/lib/egg/eggdesktopfile.c +++ b/lib/egg/eggdesktopfile.c @@ -1440,6 +1440,21 @@ egg_set_desktop_file (const char *desktop_file_path) g_error_free (error); } +#if 0 + if (egg_desktop_file) { + /* Set localized application name and default window icon */ + if (egg_desktop_file->name) + g_set_application_name (egg_desktop_file->name); + if (egg_desktop_file->icon) + { + if (g_path_is_absolute (egg_desktop_file->icon)) + gtk_window_set_default_icon_from_file (egg_desktop_file->icon, NULL); + else + gtk_window_set_default_icon_name (egg_desktop_file->icon); + } + } +#endif + G_UNLOCK (egg_desktop_file); } |