dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #21459
[Bug 1364070] [NEW] utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
Public bug reported:
As discussed on IRC, I tried to change the favorites key, and 3 trials
on 10 didn't make any change in what the launcher displays. seb128
reproduced it as well. (just be aware that we just create the .desktop
file just before).
The exact same code seems to work 100% of the time on trusty.
So, we:
1. create the desktop file
2. from gi.repository import GLib, Gio
gsettings = Gio.Settings(schema_id="com.canonical.Unity.Launcher", path="/com/canonical/unity/launcher/")
then, get the favorites list and add the desktop file.
3. gsettings.set_strv("favorites", new_launcher_list)
-> No launcher icon added from new launcher list.
However, a "$ gsettings get" shows that desktop file (which is present.
Note that changing the list and changing it back works.
** Affects: unity
Importance: Undecided
Status: Confirmed
** Affects: unity (Ubuntu)
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1364070
Title:
utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through
gsettings isn't picked up
Status in Unity:
Confirmed
Status in “unity” package in Ubuntu:
Confirmed
Bug description:
As discussed on IRC, I tried to change the favorites key, and 3 trials
on 10 didn't make any change in what the launcher displays. seb128
reproduced it as well. (just be aware that we just create the .desktop
file just before).
The exact same code seems to work 100% of the time on trusty.
So, we:
1. create the desktop file
2. from gi.repository import GLib, Gio
gsettings = Gio.Settings(schema_id="com.canonical.Unity.Launcher", path="/com/canonical/unity/launcher/")
then, get the favorites list and add the desktop file.
3. gsettings.set_strv("favorites", new_launcher_list)
-> No launcher icon added from new launcher list.
However, a "$ gsettings get" shows that desktop file (which is present.
Note that changing the list and changing it back works.
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1364070/+subscriptions
Follow ups
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Andrea Azzarone, 2015-02-05
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Bug Watch Updater, 2015-02-05
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2015-02-05
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Ryan Lortie, 2015-02-05
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Andrea Azzarone, 2015-02-05
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Andrea Azzarone, 2015-02-04
-
[Bug 1364070] Re: vivid, utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2015-02-04
-
[Bug 1364070] Re: utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Andrea Azzarone, 2014-12-09
-
[Bug 1364070] Re: utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2014-10-21
-
[Bug 1364070] Re: utopic and trusty unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2014-10-21
-
[Bug 1364070] Re: utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Stephen M. Webb, 2014-09-18
-
[Bug 1364070] Re: utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2014-09-18
-
[Bug 1364070] Re: utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2014-09-18
-
[Bug 1364070] Re: utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Treviño, 2014-09-01
-
[Bug 1364070] Re: utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Sebastien Bacher, 2014-09-01
-
[Bug 1364070] [NEW] utopic unity (7.3.1+14.10.20140811-0ubuntu1) launcher addition through gsettings isn't picked up
From: Didier Roche, 2014-09-01
References