diff options
author | Diego Escalante Urrelo <diegoe@svn.gnome.org> | 2007-01-09 07:01:05 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-01-09 07:01:05 +0800 |
commit | 6269b4651b778e1bdc125a222317e4b558ca14b1 (patch) | |
tree | b45995202367915676cba63608fc9f97901903f2 /src | |
parent | 0b36f30129faf775ebf3c783d1823ceb75ee05bc (diff) | |
download | gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar.gz gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar.bz2 gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar.lz gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar.xz gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.tar.zst gsoc2013-epiphany-6269b4651b778e1bdc125a222317e4b558ca14b1.zip |
Check the result of ephy_file_launch_desktop_file () so if it fails we try
2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org>
* src/popup-commands.c: (background_download_completed)
Check the result of ephy_file_launch_desktop_file () so if it fails we
try an alternative naming of the background capplet: gnome-background.
This is seen in fedora. Bug #387206, which is actually caused by
bugzilla.redhat.com #201867.
svn path=/trunk/; revision=6798
Diffstat (limited to 'src')
-rw-r--r-- | src/popup-commands.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c index 7043f6496..c6dcaf969 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -284,7 +284,13 @@ background_download_completed (EphyEmbedPersist *persist) g_object_unref (persist); /* open the "Background Properties" capplet */ - ephy_file_launch_desktop_file ("background.desktop", bg, user_time); + if (!ephy_file_launch_desktop_file ("background.desktop", bg, user_time)) + { + /* If the above try didn't work, then we try the Fedora name. + * This is a fix for #387206, but is actually a workaround for + * bugzilla.redhat.com #201867 */ + ephy_file_launch_desktop_file ("gnome-background.desktop", bg, user_time); + } } void |