GNOME Bugzilla – Bug 573639
Remove deprecated libgnomeui dependency
Last modified: 2009-07-13 17:33:00 UTC
$:andre\> grep -r gnome.ui .
./README: * gnome-python-2.10 (modules: gconf, gnome, gnome.ui, gnomevfs)
./deskbar/core/Utils.py: import gnome.ui
./deskbar/core/Utils.py: factory = gnome.ui.ThumbnailFactory(deskbar.ICON_HEIGHT)
./deskbar/core/Utils.py: icon, flags = gnome.ui.icon_lookup(ICON_THEME, factory,
./deskbar/handlers/gdmactions.py: import gnome.ui
./deskbar/handlers/gdmactions.py: client = gnome.ui.master_client()
gnomeui is used in Utils.py to retrieve thumbnails of files. Afaik, there's no replacement for it, yet.
In gdmactions.py it's used to logout/restart/shutdown/switch user. I'm not sure how to replace this one. Maybe with the new gnome session D-Bus API?
Note: When there's a fix - bug 574174 is very similar for gnome-mag.
(In reply to comment #1)
> gnomeui is used in Utils.py to retrieve thumbnails of files. Afaik, there's no
> replacement for it, yet.
Forwarding comment by mclasen on d-d-l today:
"Retrieving of thumbnails is covered in gio/gvfs with the file attributes
What is not covered is creation of thumbnails, for which we probably
have to wait for the outcome of the 'thumbnailing service' ideas that
are being floated..."
> In gdmactions.py it's used to logout/restart/shutdown/switch user. I'm not sure
> how to replace this one. Maybe with the new gnome session D-Bus API?
Is bug 580423 comment 2 and the follow-ups helpful here?
I fixed both issues in master. gnomeui is now gone in deskbar-applet.
What about the usage of gnome-open in deskbar/handlers/templates.py ? Isn't that also libgnome-usage?
Fixed now as well.