diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-04-09 05:28:07 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-04-09 05:28:07 +0800 |
commit | 98a77d35bedf5beff0f0dfef29674430f74c0102 (patch) | |
tree | 0915def203adcd2f3fb548e4d3592af99bdaba82 /lib/egg/eggdesktopfile.c | |
parent | 7f0ac8bada128d5b6c51952613d2786a951f1e75 (diff) | |
download | gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar.gz gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar.bz2 gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar.lz gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar.xz gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.tar.zst gsoc2013-epiphany-98a77d35bedf5beff0f0dfef29674430f74c0102.zip |
Update smclient from libegg master
svn path=/trunk/; revision=8952
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); } |