diff console/libgnt/gntbox.c @ 14337:1a500db56415

[gaim-migrate @ 17033] Show titles in windows if it has borders. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 Aug 2006 23:59:23 +0000
parents 27182f83b79b
children 0387a167f342
line wrap: on
line diff
--- a/console/libgnt/gntbox.c	Fri Aug 25 19:04:29 2006 +0000
+++ b/console/libgnt/gntbox.c	Fri Aug 25 23:59:23 2006 +0000
@@ -36,7 +36,7 @@
 
 	gnt_box_sync_children(box);
 
-	if (box->title)
+	if (box->title && !GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_NO_BORDER))
 	{
 		gchar *title = g_strdup(box->title);
 		int pos = g_utf8_strlen(title, -1), right;