Re: [PATCH] Small Gtk font dialog fix

From: Tim O'Brien <mild7_at_users.sourceforge.net>
Date: Wed Jan 12 2005 - 01:19:29 CET

Hi

It's a definitely a n00b bug (most power users just use Ctrl-u etc...).

The Bug:
Select some text
Open the font dialog
click underline check button
click ok to close the dialog
Open the font dialog again
click underline check button to uncheck
click ok to close the dialog

The problem is that the selected text is still underlined. This is
because of the way gtk_toggle_button_set_active() works. It might behave
differently in different version of libgtk (I am using 2.4.5).

Tim

(I dont think my last email made it to the list.)

J.M. Maurer wrote:
> Hi Tim!
>
>
>>Fixed a small problem in the Font dialog where when a formatting option
>>(strike/underline/overline) is set, and the user tries to unset them
>>using the toggle button, nothing happens. This is due to the "toggled"
>>signal handler being called twice, once as result of
>>gtk_toggle_button_set_active(,true) and second time the user clicks the
>>button.
>
>
> I can't seem to reproduce the bug. Could you give me some n00b-proof
> instructions how to reproduce it?
>
> Thanks!
> Marc
>
>
>
Received on Wed Jan 12 01:23:05 2005

This archive was generated by hypermail 2.1.8 : Wed Jan 12 2005 - 01:23:06 CET