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 586489 - Drop deprecated libgnome usage
Drop deprecated libgnome usage
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: gnome-about
2.27.x
Other All
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-20 20:33 UTC by Andreas Proschofsky
Modified: 2009-07-27 11:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Remove libgnome usage (GNOME bug 586489) (5.38 KB, patch)
2009-07-18 17:26 UTC, Frederic Peters
none Details | Review
Updated patch to remove libgnome usage in gnome-about (5.41 KB, patch)
2009-07-19 11:51 UTC, Andreas Proschofsky
committed Details | Review

Description Andreas Proschofsky 2009-06-20 20:33:21 UTC
Please describe the problem:
http://live.gnome.org/LibgnomeMustDie

Although it is not listed in configure, gnome-desktop still uses deprecated libgnome-stuff through python for the gnome-about-dialog.

See: http://git.gnome.org/cgit/gnome-desktop/tree/gnome-about/gnome-about.in

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2009-07-07 22:32:34 UTC
Confirming:

"import gnome"
Comment 2 Frederic Peters 2009-07-18 17:26:25 UTC
Created attachment 138686 [details] [review]
Remove libgnome usage (GNOME bug 586489)
Comment 3 Andreas Proschofsky 2009-07-19 11:45:40 UTC
Tried the patch, not working correctly unfortunately, clicking the links doesn't work, and spews something like

Warning: could not open "http://news.gnome.org/": show_uri() argument 1 must be gtk.gdk.Screen, not None

to the command line.
Comment 4 Andreas Proschofsky 2009-07-19 11:51:54 UTC
Created attachment 138734 [details] [review]
Updated patch to remove libgnome usage in gnome-about

Fixes the aforementioned problem
Comment 5 Vincent Untz 2009-07-27 11:25:21 UTC
Changed the code again to self.get_screen() ;-)

Thanks!