[anjal] Fix sizes on expand
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Fix sizes on expand
- Date: Thu, 21 May 2009 03:40:18 -0400 (EDT)
commit 0d459364064f27b5896aa8cd1b07ee8543568ab7
Author: Srinivasa Ragavan <sragavan novell com>
Date: Thu May 21 13:15:20 2009 +0530
Fix sizes on expand
---
src/mail-folder-view.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mail-folder-view.c b/src/mail-folder-view.c
index caa990b..37b8dd4 100644
--- a/src/mail-folder-view.c
+++ b/src/mail-folder-view.c
@@ -1101,9 +1101,8 @@ static void
mfv_tree_resize (GtkWidget *w, GtkAllocation *req, GtkTreeViewColumn *col)
{
MailFolderView *shell = g_object_get_data(w, "shell");
-
- if (((req->width - (gtk_tree_view_column_get_fixed_width(col)+48) > 100) || (req->width - (gtk_tree_view_column_get_fixed_width(col)+48) < 0)) && GTK_WIDGET_VISIBLE(shell->priv->folder_pane)) {
- gtk_tree_view_column_set_fixed_width (col, req->width - 48);
+ if ((req->width - (gtk_tree_view_column_get_fixed_width(col)+66) > 10) && GTK_WIDGET_VISIBLE(shell->priv->folder_pane)) {
+ gtk_tree_view_column_set_fixed_width (col, req->width - 66);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]