After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562184 - Add hardcoded default applications list taken from online.gnome.org
Add hardcoded default applications list taken from online.gnome.org
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2008-11-24 22:01 UTC by Colin Walters
Modified: 2008-11-26 01:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add hardcoded default applications list taken from online.gnome.org (4.16 KB, patch)
2008-11-24 22:01 UTC, Colin Walters
none Details | Review
Add hardcoded default applications list taken from online.gnome.org (5.52 KB, patch)
2008-11-25 19:33 UTC, Colin Walters
none Details | Review

Description Colin Walters 2008-11-24 22:01:37 UTC
The previous list of all applications in a random order was obviously
temporary.  This patch improves things by adding a static list, taken
from the online.gnome.org/applications data.

This clearly needs to be fleshed out more.
Comment 1 Colin Walters 2008-11-24 22:01:48 UTC
Created attachment 123345 [details] [review]
Add hardcoded default applications list taken from online.gnome.org
Comment 2 Owen Taylor 2008-11-25 18:28:06 UTC
Looks reasonable, two thing I see:

+// TODO - move this into GConf once we're not a plugin anymore
+// but have taken over metacity

I thought that it was more something to move into GConf once we figured
out how to deal with getting GConf to find our schemas?

+    _removeItem: function(item) {
+        let group = item.actor;
+	group.destroy();
+	delete this._displayed[appid];
+    },

appid doesn't seem to be defined.

- Owen

Comment 3 Colin Walters 2008-11-25 19:31:04 UTC
Thanks for the review.  My thought for now is to punt on GConf; doing it correctly would involve setting up po/*, intltool etc. for our plugin.  I'm leaning towards pushing as quickly as possible to become integrated into metacity (instead of being a plugin) and thus being able to use the existing autogoo/intltool/gettext/schemas etc. infrastructure inside metacity itself.

Fixed the appid issue.
Comment 4 Colin Walters 2008-11-25 19:33:39 UTC
Created attachment 123384 [details] [review]
Add hardcoded default applications list taken from online.gnome.org

The previous list of all applications in a random order was obviously
temporary.  This patch improves things by adding a static list, taken
from the online.gnome.org/applications data.

In the future we will either have a vendor-chosen static list, or
a fully dynamic system.
Comment 5 Owen Taylor 2008-11-25 19:38:38 UTC
Currently, I'd say it looks like  single source tree with mutter and no plugin
is months off, because of the requirements for mutter.
Comment 6 Colin Walters 2008-11-25 19:48:47 UTC
Months?  Ug.  Well so far this is the only configuration entry needed, correct?  Seems like it might make the most sense to invest in the temporary GConf infrastructure when we get to the point of having multiple items.  What do you think?
Comment 7 Owen Taylor 2008-11-25 19:56:24 UTC
I think it's fine for now, I was mostly commenting on the explanatory comment.
Comment 8 Colin Walters 2008-11-26 01:36:06 UTC
This is in now - will submit bigger picture apps changes as a new bug.