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 580186 - drop libglade dependency; use GtkBuilder
drop libglade dependency; use GtkBuilder
Status: RESOLVED FIXED
Product: gnome-mag
Classification: Deprecated
Component: colorblind-applet
unspecified
Other Linux
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks: 572883
 
 
Reported: 2009-04-24 23:40 UTC by Pedro Fragoso
Modified: 2009-07-13 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (70.40 KB, patch)
2009-04-24 23:43 UTC, Pedro Fragoso
needs-work Details | Review
Use gtkbuilder (70.68 KB, patch)
2009-07-13 06:54 UTC, Jaap A. Haitsma
committed Details | Review

Description Pedro Fragoso 2009-04-24 23:40:40 UTC
patch in next comment
Comment 1 Pedro Fragoso 2009-04-24 23:43:16 UTC
Created attachment 133279 [details] [review]
proposed patch
Comment 2 André Klapper 2009-05-05 12:15:52 UTC
Bill: Can this be reviewed?
Comment 3 Ray Wang 2009-06-23 04:08:27 UTC
g@gnome.org  	2009-06-23 02:30:12 UTC  	CC  	  	raywang@gnome.org 
Comment 4 Ray Wang 2009-06-23 04:10:20 UTC
Hoops, sorry. I mis-copy the comments and submit too quickly

> Hey, how to verify this bug? I find no way to find out glade dependency in
> configure.in before I apply the patch?
Comment 5 André Klapper 2009-06-23 11:16:23 UTC
(In reply to comment #4)
> Hey, how to verify this bug? I find no way to find out glade dependency in
> configure.in before I apply the patch? 

Verify by checking how the dialogs look like?
Comment 6 Ray Wang 2009-06-25 06:39:46 UTC
You can not distinguish the UI is made by GtkBuilder or glade. 
If yes, How? I don't know. :(
Comment 7 André Klapper 2009-06-25 11:36:20 UTC
That's what people call "testing". If you cannot distinguish: Fine.
Comment 8 Ray Wang 2009-06-26 08:03:22 UTC
After I configure with prefix=/usr, build up, and run /usr/bin/magnifer, I get:

(magnifier:1171): Bonobo-WARNING **: Assigning a default value to a non readable property 'source-display-screen'

(magnifier:1171): Bonobo-WARNING **: Assigning a default value to a non readable property 'target-display-screen'
** Message: added event source to xfixes cursor-notify connection
** Message: added event source to composite connection
** Message: set source bounds to 0,0; 1280,800
initial viewport 1280 800

That's all, the program is not launched?
Comment 9 André Klapper 2009-06-26 08:56:37 UTC
(In reply to comment #8)
> That's all, the program is not launched?

Is that a question?
A program is launched when it can be seen on screen.
Comment 10 Ray Wang 2009-06-26 09:56:59 UTC
(In reply to comment #9)
> Is that a question?
> A program is launched when it can be seen on screen.
> 

heh, sorry, the program won't launch.
So do you think it is a bug? Or have you run into that problem?
I can't run it which is built from the latest commit.
Comment 11 André Klapper 2009-06-26 10:45:35 UTC
(In reply to comment #10)
> heh, sorry, the program won't launch.

Ah. Now that does not have a question mark at the end of the sentence. :-)

Well, you could check whether it runs without the latest commit?
Comment 12 Ray Wang 2009-06-28 09:53:14 UTC
I've tried to rewind several commits, but with no luck. :(
I think it's better to have someone else verify this bug then.
I'll try it again sometime.
Comment 13 Jaap A. Haitsma 2009-07-13 06:48:03 UTC
Current patch contains an error

ui.get.object("radio_filter_red_saturate")
should be
ui.get_object("radio_filter_red_saturate")

Please check your patch before submitting it. It now cost me several hours to find out that his was the error, because applets do not spit out anything in a terminal window :-(
Comment 14 Jaap A. Haitsma 2009-07-13 06:54:02 UTC
Created attachment 138309 [details] [review]
Use gtkbuilder

This one works.

Can I commit?
Comment 15 Jaap A. Haitsma 2009-07-13 19:19:46 UTC
commit ab5229314b642d3ec45237ae84f9c5798352f180
Author: Jaap A. Haitsma <jaap@haitsma.org>
Date:   Mon Jul 13 08:50:27 2009 +0200

    Use gtkbuilder instead of glade
    
    Fixes bug 580186
    Patch by Pedro Fragoso <ember@ubuntu.com>
Comment 16 André Klapper 2009-07-13 20:18:52 UTC
So I assume that this is FIXED by the last comment.

At least grepping for "glade" only brings up po files.

Closing.