[murrine] Added GtkInfoBar theming



commit a11a6027ded0b090a5f73cb33a473556c6856668
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Sat Feb 6 22:14:59 2010 +0100

    Added GtkInfoBar theming

 src/murrine_style.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 47b9796..ceca5e4 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -1435,6 +1435,19 @@ murrine_style_draw_box (DRAW_ARGS)
 
 		STYLE_FUNCTION(draw_menu_frame) (cr, colors, &params, x, y, width, height, murrine_style->menustyle);
 	}
+	else if (DETAIL ("infobar") ||
+	         DETAIL ("infobar-error") ||
+	         DETAIL ("infobar-info") || 
+	         DETAIL ("infobar-warning"))
+	{
+		WidgetParameters params;
+
+		murrine_set_widget_parameters (widget, style, state_type, &params);
+
+		params.corners = MRN_CORNER_NONE;
+
+		STYLE_FUNCTION(draw_tooltip) (cr, colors, &params, x, y, width, height);
+	}
 	else if (DETAIL ("hseparator") || DETAIL ("vseparator"))
 	{
 		gchar *new_detail = (gchar*) detail;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]