[Geany] Geany: visual beep

Colomban Wendling lists.ban at xxxxx
Fri Jan 13 22:18:09 UTC 2012


Hi,

Le 13/01/2012 22:55, Lex Trotman a écrit :
> On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov
> <dimitar.zhekov at gmail.com>  wrote:
>> Hi,
>>
>> In Geany, we have an option to set "Beep on errors or compilation
>> finished", which results in gdk_beep() or nothing. What do you think
>> about adding a "visual beep" option, which flashes the status bar
>> for a short (250ms default) period of time? Personally I want to
>> receive some signal on errors or end of build commands, but quiet.
>>
>> Writing a visual beep will be easy, and from a few other programs I
>> have used seems noticable enough, without being distracting.

Can't the WM do something with gdk_beep()?  It seems wrong to me to 
implement this manually in the app, and I though the WM already 
supported this.

Regards,
Colomban

>>
>> --
>>
>> unbeep(): gtk_widget_set_state(statusbar, GTK_STATE_NORMAL)
>>
>> gtk_widget_set_state(statusbar, GTK_STATE_SELECTED)
>> g_timeout_add(user preference, unbeep)
>>
>> (an event box may be required if gtk status bar does not support
>> SELECTED state)
>>
>
> So long as it has a preference to turn it firmly O-F-F
>
> Cheers
> Lex
>
>
>> --
>> E-gards: Jimmy
>> _______________________________________________
>> Geany mailing list
>> Geany at uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany




More information about the Users mailing list