[vte/vte-next] Add style debug flag
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] Add style debug flag
- Date: Sun, 22 May 2011 22:20:06 +0000 (UTC)
commit bdff0458dafdea4ea56a06a793108df2f5106511
Author: Christian Persch <chpe gnome org>
Date: Sun May 22 22:53:34 2011 +0200
Add style debug flag
src/vte.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 3b578dd..5314863 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -2273,7 +2273,7 @@ _vte_terminal_set_color_bold_rgba(VteTerminal *terminal,
rgba = &mixed;
}
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set bold color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_BOLD_FG, rgba, FALSE);
@@ -2301,7 +2301,7 @@ _vte_terminal_set_color_dim_rgba(VteTerminal *terminal,
rgba = &mixed;
}
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set dim color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_DIM_FG, rgba, FALSE);
@@ -2320,7 +2320,7 @@ _vte_terminal_set_color_foreground_rgba(VteTerminal *terminal,
{
g_return_if_fail(rgba != NULL);
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set foreground color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_DEF_FG, rgba, FALSE);
@@ -2340,7 +2340,7 @@ _vte_terminal_set_color_background_rgba(VteTerminal *terminal,
{
g_return_if_fail(rgba != NULL);
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set background color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_DEF_BG, rgba, FALSE);
@@ -2372,13 +2372,13 @@ _vte_terminal_set_color_cursor_rgba(VteTerminal *terminal,
}
if (rgba != NULL) {
- _vte_debug_print(VTE_DEBUG_STYLE,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set cursor color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_CUR_BG, rgba, override);
terminal->pvt->cursor_color_set = TRUE;
} else {
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Cleared cursor color.\n");
_vte_invalidate_cursor_once(terminal, FALSE);
terminal->pvt->cursor_color_set = FALSE;
@@ -2401,13 +2401,13 @@ _vte_terminal_set_color_highlight_rgba(VteTerminal *terminal,
const GdkRGBA *rgba)
{
if (rgba != NULL) {
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Set highlight color to rgba(%.3f,%.3f,%.3f,%.3f).\n",
rgba->red, rgba->green, rgba->blue, rgba->alpha);
vte_terminal_set_color_internal(terminal, VTE_DEF_HL, rgba, FALSE);
terminal->pvt->highlight_color_set = TRUE;
} else {
- _vte_debug_print(VTE_DEBUG_MISC,
+ _vte_debug_print(VTE_DEBUG_MISC | VTE_DEBUG_STYLE,
"Cleared highlight color.\n");
_vte_invalidate_all(terminal);
terminal->pvt->highlight_color_set = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]