Merge lp://staging/~ballogy/gdesklets/optional-use-gconf-appindicator into lp://staging/gdesklets

Proposed by Balló György
Status: Needs review
Proposed branch: lp://staging/~ballogy/gdesklets/optional-use-gconf-appindicator
Merge into: lp://staging/gdesklets
Diff against target: 98 lines (+24/-22)
3 files modified
configure.ac (+0/-7)
main/TrayIcon.py (+8/-5)
shell/plugins/PackageInstaller/Downloader.py (+16/-10)
To merge this branch: bzr merge lp://staging/~ballogy/gdesklets/optional-use-gconf-appindicator
Reviewer Review Type Date Requested Status
gDesklets Core Team Pending
Review via email: mp+95809@code.staging.launchpad.net

Commit message

Use gconf and appindicator optionally

Description of the change

This change:

1. Makes it possible to use gdesklets without gconf. If gconf-python present on runtime, then gdekslets try to load proxy setting, otherwise not.

2. Instead of checking the availability of python-appindicator on build time, do it on runtime. In this case if python-appindicator installed later, then it's automatically used, otherwise the status icon shown. This patch is useful for distributions other than Ubuntu, where python-appindicator is not installed by default, but the user may installs it later.

To post a comment you must log in.
Revision history for this message
Bjoern Koch (h.humpel) wrote :

First if all: sorry for the late reply... :/.

Anyway... to me this looks pretty good and (IMHO) we could merge these changes.
But I guess we will first have to discuss this on the ML.

Revision history for this message
Ronny Lorenz (raumzeit) wrote :

I dont mind merging those changes into gdesklets. The gconf modification
seems reasonable to me but maybe we should make the optional
appindicator stuff behave differently. With the currently proposed
changes the drawback will be that during compile time one can not decide
to never ever use appindicator at all. It will be loaded and used as
soon as its modules are available during runtime...
I dont know if this is what we intend to do? It would be nice to still
be able to deactivate appindicator by all means.

Just my 2cents

Ronny

On 03/11/2012 11:09 AM, Bjoern Koch wrote:
> First if all: sorry for the late reply... :/.
>
> Anyway... to me this looks pretty good and (IMHO) we could merge these changes.
> But I guess we will first have to discuss this on the ML.

189. By Balló György

Allow disable appindicator

Revision history for this message
Balló György (ballogy) wrote :

Now I modified my patch to allow disable appindicator again, but do not fail if appindicator enabled but not installed.

Revision history for this message
Balló György (ballogy) wrote :

Any decision?

Revision history for this message
sergiomb (sergio-sergiomb) wrote :

Hi, I will apply it on Fedora package . gconf it not used anymore ...

Unmerged revisions

189. By Balló György

Allow disable appindicator

188. By Balló György

Use gconf and appindicator optionally

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches