changeset 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 f3ef96e8428f
children 2ec879353592
files console/libgnt/gntbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;