Re: [gDesklets] Looking for the path to current display file
- From: Martin Grimme <martin grimme lintegra de>
- Cc: gdesklets-list gnome org
- Subject: Re: [gDesklets] Looking for the path to current display file
- Date: Mon, 30 Apr 2007 15:13:31 +0200
Hi,
Bjoern Koch schrieb:
I playing around a bit in the prefs-core (again :) ) and am implementing
icons on the prefs tabs (working only on config/ConfigDialog.py).
So you can provide an icon to be displayed in front of the tab's
(page's) label, like:
<page label="Test 1" icon="test.png">
It's working pretty good / perfectly right now, including rescaling too
big icons, but I came across the following problem:
Very nice stuff.
So far, I couldn't figure out how to get the path of the Desklet's dir.
There is a self.__path in display/Display.py:
# the path of the .display file
self.__path = os.path.dirname(rep)
self.__display_file = rep
but I have no clue how to access it.
('DisplayConfigger' object has no attribute '_ConfigDialog__path')
Looks like this path should be easily accessible.
Something to fix. :)
Not a big thing. It's just not there yet.
Cheers,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]