[PATCH] Find the correct applet

Bug #598277 reported by Gabriel de Perthuis
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Redshift
Fix Released
Undecided
Jon Lund Steffensen

Bug Description

The current code to find the clock applet finds an applet that might not be enabled. That can happen when an applet or a panel is deleted; it will still exist in gconf thanks to a schema, but won't be referenced anywhere. The patch enumerates only enabled applets.

Related branches

Revision history for this message
Gabriel de Perthuis (g2p) wrote :
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

I'm seeing this bug too. On my desktop computer, redshift launches fine without any parameters (so it manages to get the info from my clock's timezone/city), but on my laptop it doesn't work:

"No city selected as currenty city.
Initialization of gnome-clock failed."

Both computers have the city/timezone set identically. I saw that the laptop has lots of old applets listed in gconf that aren't actually there.

Jeff Fortin Tam (kiddo)
Changed in redshift:
status: New → Confirmed
Revision history for this message
Jon Lund Steffensen (jonls) wrote :

Thanks for the patch. I'm going to merge this for the next release.

Changed in redshift:
milestone: none → 1.5
assignee: nobody → Jon Lund Steffensen (jonls)
Changed in redshift:
status: Confirmed → Fix Committed
Revision history for this message
Gabriel de Perthuis (g2p) wrote :

Thank you for mergeing!

Revision history for this message
Wolter HV (wolterh) wrote :

I have the same problem so I compiled the branch, but after having to deal with some PYTHONPATH problems, the application ran just as the repository installed one. The gnome-clock module still wasn't working. Am I doing something wrong?

Revision history for this message
Gabriel de Perthuis (g2p) wrote :

@Wolter
Is there a default location in your clock preferences?
Did you uninstall the repository installed redshift?

Changed in redshift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.