Revision: 5117 http://geany.svn.sourceforge.net/geany/?rev=5117&view=rev Author: eht16 Date: 2010-08-05 21:45:58 +0000 (Thu, 05 Aug 2010)
Log Message: ----------- Inherit 'beep on errors' preference for the audible bell preference for the VTE (closes #3038215).
Modified Paths: -------------- trunk/ChangeLog trunk/src/vte.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-08-05 21:13:47 UTC (rev 5116) +++ trunk/ChangeLog 2010-08-05 21:45:58 UTC (rev 5117) @@ -4,6 +4,9 @@ Make ui_label_new_bold() a function. Escape the name of the current document for markup when using document name for menu items (closes #3038844). + * src/vte.c: + Inherit 'beep on errors' preference for the audible bell preference + for the VTE (closes #3038215).
2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2010-08-05 21:13:47 UTC (rev 5116) +++ trunk/src/vte.c 2010-08-05 21:45:58 UTC (rev 5117) @@ -115,6 +115,7 @@ VteTerminalCursorBlinkMode mode); void (*vte_terminal_set_cursor_blinks) (VteTerminal *terminal, gboolean blink); void (*vte_terminal_select_all) (VteTerminal *terminal); + void (*vte_terminal_set_audible_bell) (VteTerminal *terminal, gboolean is_audible); };
@@ -432,6 +433,7 @@ * this symbol, we are probably on an older version and use the old API instead */ g_module_symbol(mod, "vte_terminal_set_cursor_blinks", (void*)&vf->vte_terminal_set_cursor_blinks); g_module_symbol(mod, "vte_terminal_select_all", (void*)&vf->vte_terminal_select_all); + g_module_symbol(mod, "vte_terminal_set_audible_bell", (void*)&vf->vte_terminal_set_audible_bell); }
@@ -448,6 +450,7 @@ vf->vte_terminal_set_color_foreground(VTE_TERMINAL(vc->vte), vc->colour_fore); vf->vte_terminal_set_color_bold(VTE_TERMINAL(vc->vte), vc->colour_fore); vf->vte_terminal_set_color_background(VTE_TERMINAL(vc->vte), vc->colour_back); + vf->vte_terminal_set_audible_bell(VTE_TERMINAL(vc->vte), prefs.beep_on_errors); vte_set_cursor_blink_mode();
override_menu_key();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.