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