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.
--
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)
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@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.
--
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@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Hi,
Le 13/01/2012 22:55, Lex Trotman a écrit :
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@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@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 01/13/2012 01:55 PM, Lex Trotman wrote:
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@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.
--
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
We're going to break some sort of record for the maximum number of preferences ever used in a single program :)
Cheers, Matthew Brush
Nonono... KDE3's konqueror had at least 6523254 configurable options.
----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal On Jan 14, 2012 2:04 AM, "Matthew Brush" mbrush@codebrainz.ca wrote:
On 01/13/2012 01:55 PM, Lex Trotman wrote:
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@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.
--
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
We're going to break some sort of record for the maximum number of preferences ever used in a single program :)
Cheers, Matthew Brush ______________________________**_________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-**bin/mailman/listinfo/geanyhttps://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
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 [...]
--
On Sat, 14 Jan 2012 08:55:26 +1100 Lex Trotman elextr@gmail.com wrote:
So long as it has a preference to turn it firmly O-F-F
It can't be on by default, there's nothing in the current configuration that suggests "I want something different than beep or no beep".
--
On Fri, 13 Jan 2012 23:18:09 +0100 Colomban Wendling lists.ban@herbesfolles.org wrote:
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.
Not AFAIK. Unless the beeping is at X11/ICCCM/xdg level, there's no way KDE can handle a gdk_beep(). WM's may flash or re-color the titles of apps which "require attention", but that's at wm application level.
--
On Fri, 13 Jan 2012 16:41:49 -0800 Matthew Brush mbrush@codebrainz.ca wrote:
Could not just put a message in the status bar? Or pulse the status bar's progress bar during compilation? Probably I don't fully understand, so feel free to ignore.
Actually, we display the progress bar while running a build action, but still beep at the end. In fact, we have 35 (sic!) calls to utils_beep, so there's no wonder I prefer to keep it off...
Some of these calls have status bar messages. How noticable are they, in the bottom of a novadays large monitor, is another question.
On 01/13/2012 10:29 AM, Dimitar Zhekov 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.
Could not just put a message in the status bar? Or pulse the status bar's progress bar during compilation? Probably I don't fully understand, so feel free to ignore.
Cheers, Matthew Brush