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 692483 - Fix launching settings panels
Fix launching settings panels
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 693429 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-01-24 22:57 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-02-18 18:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
app-system: Remove unused get_settings_tree method (1.62 KB, patch)
2013-01-24 22:57 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
Use the standard apps tree for gnome-control-center panels desktop files (3.26 KB, patch)
2013-01-24 22:57 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
appDisplay: Remove settings provider (4.06 KB, patch)
2013-01-24 22:57 UTC, Jasper St. Pierre (not reading bugmail)
accepted-commit_now Details | Review
app-system: Remove settings tree and the rest of the settings support (3.79 KB, patch)
2013-01-24 22:58 UTC, Jasper St. Pierre (not reading bugmail)
accepted-commit_now Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-01-24 22:57:50 UTC
Upstream gnome-control-center is planning on removing gnomecc.menu.
While gnome-shell needs it for search, and while gnome-control-center
is planning on having its own search provider, we can stop using
gnomecc.menu for launching settings panels.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-01-24 22:57:52 UTC
Created attachment 234346 [details] [review]
app-system: Remove unused get_settings_tree method

The last use for this is long-gone.
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-01-24 22:57:55 UTC
Created attachment 234347 [details] [review]
Use the standard apps tree for gnome-control-center panels desktop files

gnome-control-center is planning on removing its own tree in the
future. Since it already installs these applications into
/usr/share/applications, just use this for now.
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-01-24 22:57:58 UTC
Created attachment 234348 [details] [review]
appDisplay: Remove settings provider

gnome-control-center now ships its own settings provider.
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-01-24 22:58:00 UTC
Created attachment 234349 [details] [review]
app-system: Remove settings tree and the rest of the settings support
Comment 5 Colin Walters 2013-01-24 23:18:33 UTC
Review of attachment 234346 [details] [review]:

Right.
Comment 6 Colin Walters 2013-01-24 23:19:33 UTC
Review of attachment 234348 [details] [review]:

Looks right to me.
Comment 7 Colin Walters 2013-01-24 23:20:07 UTC
Review of attachment 234349 [details] [review]:

A lot of code deleted, nice.
Comment 8 Colin Walters 2013-01-24 23:21:12 UTC
Review of attachment 234347 [details] [review]:

Looks right.
Comment 9 Jasper St. Pierre (not reading bugmail) 2013-01-27 00:56:37 UTC
Attachment 234346 [details] pushed as f2ba49f - app-system: Remove unused get_settings_tree method
Attachment 234347 [details] pushed as 5d1de33 - Use the standard apps tree for gnome-control-center panels desktop files


I can't push the settings provider removal as the gnome-control-center provider hasn't been added yet.
Comment 10 Giovanni Campagna 2013-01-27 14:56:46 UTC
(In reply to comment #9)
> Attachment 234346 [details] pushed as f2ba49f - app-system: Remove unused
> get_settings_tree method
> Attachment 234347 [details] pushed as 5d1de33 - Use the standard apps tree for
> gnome-control-center panels desktop files
> 
> 
> I can't push the settings provider removal as the gnome-control-center provider
> hasn't been added yet.

And there is a good chance it will not be added (see bug 690577 and 690824 - indeed, you were the one saying that settings needs special casing...)
Comment 11 Jasper St. Pierre (not reading bugmail) 2013-01-27 16:44:59 UTC
We've decided that the only special casing that should happen is that it should always be applied first, and that it won't appear in the control center. That is:

    let providers = settings.get_strv('remote-providers');
    providers.unshift('gnome-control-center-search-provider');
    RemoteSearch.loadProviders(...);
Comment 12 Giovanni Campagna 2013-02-09 07:40:53 UTC
*** Bug 693429 has been marked as a duplicate of this bug. ***
Comment 13 Giovanni Campagna 2013-02-18 15:59:09 UTC
Is there anything left here?
Comment 14 Jasper St. Pierre (not reading bugmail) 2013-02-18 18:17:10 UTC
Fixed by Giovanni.