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">
|
2014-05-28 23:54:47 +00:00
|
|
|
- <default>[ 'epiphany.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Documents.desktop' ]</default>
|
|
|
|
+ <default>[ 'firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'org.gnome.Nautilus.desktop', 'org.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({
|
|
|
|
|
2013-09-03 00:06:00 +00:00
|
|
|
reload: function() {
|
2012-04-05 22:47:47 +00:00
|
|
|
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);
|