|
|
b97e22 |
--- gnome-shell-3.1.91/data/org.gnome.shell.gschema.xml.in.in.firefox 2011-09-07 19:50:20.167547963 +0300
|
|
|
b97e22 |
+++ gnome-shell-3.1.91/data/org.gnome.shell.gschema.xml.in.in 2011-09-07 19:51:32.067106738 +0300
|
|
|
b97e22 |
@@ -31,7 +31,7 @@
|
|
|
b97e22 |
</_description>
|
|
|
b97e22 |
</key>
|
|
|
b97e22 |
<key name="favorite-apps" type="as">
|
|
|
b97e22 |
- <default>[ 'epiphany.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop' ]</default>
|
|
|
b97e22 |
+ <default>[ 'firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop' ]</default>
|
|
|
b97e22 |
<_summary>List of desktop file IDs for favorite applications</_summary>
|
|
|
b97e22 |
<_description>
|
|
|
b97e22 |
The applications corresponding to these identifiers
|
|
|
b97e22 |
--- a/js/ui/appFavorites.js
|
|
|
b97e22 |
+++ b/js/ui/appFavorites.js
|
|
|
b97e22 |
@@ -24,6 +24,12 @@ const AppFavorites = new Lang.Class({
|
|
|
b97e22 |
|
|
|
b97e22 |
_reload: function() {
|
|
|
b97e22 |
let ids = global.settings.get_strv(this.FAVORITE_APPS_KEY);
|
|
|
b97e22 |
+ // Fedora: Replace old mozilla-firefox.desktop with firefox.desktop,
|
|
|
b97e22 |
+ for (let i = 0; i < ids.length; i++) {
|
|
|
b97e22 |
+ if (ids[i] == 'mozilla-firefox.desktop')
|
|
|
b97e22 |
+ ids[i] = 'firefox.desktop'
|
|
|
b97e22 |
+ }
|
|
|
b97e22 |
+
|
|
|
b97e22 |
let appSys = Shell.AppSystem.get_default();
|
|
|
b97e22 |
let apps = ids.map(function (id) {
|
|
|
b97e22 |
return appSys.lookup_app(id);
|