No clock in gnome flashback

Bug #1197957 reported by Alberts Muktupāvels
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Indicator Applet
Fix Released
Undecided
Unassigned
indicator-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

No clock in indicator applet complete running gnome flashback session.

Last working version - 12.10.3daily13.06.19-0ubuntu1. Starting from 12.10.3+13.10.20130628-0ubuntu1 clock donst work in gnome flashback session.

description: updated
Revision history for this message
Lars Karlitski (larsu) wrote :

We've changed the indicator-architecture a bit to make it independent of gtk. Every component that shows indicators needs to be updated. I already did unity-panel-service and unity-greeter, but probably won't have time to fix up indicator-applet as well.

It's not a big change: instead of creating IndicatorObjects from .so files, you need to create IndicatorNg objects from keyfiles in /usr/share/unity/indicators. Also, custom menu items now live in ido, to get them you need to link against ido and call ido_init() right after gtk_init().

If someone wants to work on this, I'd be happy to provide more detail. Ping me on irc.

no longer affects: indicator-datetime
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Created indicator loading from keyfiles. With this fix clock is back, but...

1. Didn't find gtk_init() in indicator-applet. Where to add ido_init()? Do i need to edit other package?
2. There is no calendar. Is this because of ido? Or now there is another problem?
3. How to get clock in its old position?

Revision history for this message
Lars Karlitski (larsu) wrote :

Alberts, thanks for working on this! Please also see my comments on the merge proposal

> 1. Didn't find gtk_init() in indicator-applet. Where to add ido_init()? Do i need to edit other package?

Sorry, I was a bit imprecise: ido_init() needs to be called after gtk_init() and before you create the first IndicatorNg.

> 2. There is no calendar. Is this because of ido? Or now there is another problem?

It's because of ido (the calendar widget is in there now).

> 3. How to get clock in its old position?

Sort the indicators by the value you get from indicator_object_get_position().

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Updated branch, but now there is one problem. :( Need help to fix it, please see my comment on the merge proposal.

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Bug fixed! How long it take to merge fix?

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:indicator-applet at revision 409, scheduled for release in indicator-applet, milestone Unknown

Changed in indicator-applet:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-applet - 12.10.2+13.10.20130716-0ubuntu1

---------------
indicator-applet (12.10.2+13.10.20130716-0ubuntu1) saucy; urgency=low

  [ Alberts Muktupavels ]
  * Load indicator objects from keyfiles in /usr/share/unity/indicators. (LP: #1197957)
  * Added ido_init() and restored datetime and power indicators position.
  * Added libido3-0.1 to configure.ac.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 409
 -- Ubuntu daily release <email address hidden> Tue, 16 Jul 2013 02:01:57 +0000

Changed in indicator-applet (Ubuntu):
status: New → Fix Released
Changed in indicator-applet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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