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 610836 - Support for application-indicators
Support for application-indicators
Status: RESOLVED FIXED
Product: libgnomekbd
Classification: Core
Component: Indicator
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
Depends on:
Blocks: 610867
 
 
Reported: 2010-02-23 15:48 UTC by Jan Arne Petersen
Modified: 2010-12-31 03:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch which implements GkbdConfiguration which is used to support application indicators (13.92 KB, patch)
2010-02-23 15:48 UTC, Jan Arne Petersen
none Details | Review

Description Jan Arne Petersen 2010-02-23 15:48:08 UTC
Created attachment 154508 [details] [review]
Patch which implements GkbdConfiguration which is used to support application indicators

We would like to support application-indicators for gnome-power-manager as
proposed at this page:

https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators

To support application-indicators with the keyboard plugin in gnome-settings-dameon, some support in libgnomekbd would be required.

I did not want to copy the code from gkbd-indicator.[ch] and gkbd-status.[ch] again to create an application-indicator depended class but created a more general gkbd-configuration.[ch] class, which can than be used in gnome-settings-dameon to create the application-indicator.

One could basically refactor gkbd-indicator.c and gkbd-status.c to be based on gkbd-configuration.[ch] (instead of the globals global variable in both implementations). I could provide a patch for that also.
Comment 1 Sergey V. Udaltsov 2010-02-23 21:28:00 UTC
Jan, could you please give a bit of background?

Is AI approach formally blessed by GNOME over status icons? I did not get that impression (probably I overlooked something)

I do not actually insist on keeping the status icon version at all (if gnome goes AI way). The only place it is used is g-s-d anyway.

What I am looking for is:
- Something that would be compatible with gnome-3.0
- As little copypasted code as possible (it that aspect I would be very interested in your idea to base gkbd-indicator on gkbd-configuration).

Thanks!
Comment 2 Murray Cumming 2010-05-18 07:08:14 UTC
I think this new GObject should have some documentation. At the moment there are no comments that say what it is or what it's for.
Comment 3 Tobias Mueller 2010-10-17 13:07:54 UTC
Jan Arne, can you address the issues addressed in comment #1 and comment #2?

Sergey, is patch 154508 rejected for now?
Comment 4 Sergey V. Udaltsov 2010-11-12 23:31:34 UTC
Yes, for a moment I do not see the need for the patch 154508.
Comment 5 Sergey V. Udaltsov 2010-12-31 03:00:06 UTC
I committed GkbdConfiguration, refactored indicator and status icon. Please check.