diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/popup-commands.c | 8 |
2 files changed, 16 insertions, 1 deletions
@@ -1,3 +1,12 @@ +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. + 2007-01-08 Luca Ferretti <elle.uca@libero.it> * data/epiphany.pc.in: 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 |