[Commits] contactwindow.c 1.15 1.16 mainwindow.c 1.9 1.10

ticho at claws-mail.org ticho at claws-mail.org
Fri Jun 15 22:25:36 CEST 2012


Update of /home/claws-mail/contacts/src
In directory srv:/tmp/cvs-serv16792/src

Modified Files:
	contactwindow.c mainwindow.c 
Log Message:
2012-06-15 [ticho]	0.6.0cvs85

	* src/contactwindow.c
	* src/mainwindow.c
		Allow resizing of columns in both mainwindow and contact
		window.

Index: contactwindow.c
===================================================================
RCS file: /home/claws-mail/contacts/src/contactwindow.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- contactwindow.c	25 Mar 2012 22:52:38 -0000	1.15
+++ contactwindow.c	15 Jun 2012 20:25:34 -0000	1.16
@@ -933,6 +933,7 @@
             _("Alias"), renderer, "text", WINDOW_ALIAS, NULL);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(cw->email_list), column);
 
     renderer = gtk_cell_renderer_text_new();
@@ -944,6 +945,7 @@
     //gtk_tree_view_column_set_sort_column_id(column, 0);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(cw->email_list), column);
 
     renderer = gtk_cell_renderer_text_new();
@@ -954,6 +956,7 @@
             _("Remarks"), renderer, "text", WINDOW_REMARKS, NULL);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(cw->email_list), column);
 	email_list_add(GTK_TREE_VIEW(cw->email_list), cw);
 	

Index: mainwindow.c
===================================================================
RCS file: /home/claws-mail/contacts/src/mainwindow.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mainwindow.c	31 Dec 2011 10:56:05 -0000	1.9
+++ mainwindow.c	15 Jun 2012 20:25:34 -0000	1.10
@@ -436,6 +436,7 @@
     gtk_tree_view_column_set_sort_column_id(column, CONTACT_DISPLAYNAME_COLUMN);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_column_set_sort_indicator(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(
                 mainwindow->contact_list), column);
@@ -448,6 +449,7 @@
     gtk_tree_view_column_set_sort_column_id(column, CONTACT_FIRSTNAME_COLUMN);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_column_set_sort_indicator(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(
                 mainwindow->contact_list), column);
@@ -460,6 +462,7 @@
     gtk_tree_view_column_set_sort_column_id(column, CONTACT_LASTNAME_COLUMN);
     gtk_tree_view_column_set_alignment(column, 0.5);
     gtk_tree_view_column_set_min_width(column, 100);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_column_set_sort_indicator(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(
                 mainwindow->contact_list), column);
@@ -471,6 +474,7 @@
             _("Email"), renderer, "text", CONTACT_EMAIL_COLUMN, NULL);
     gtk_tree_view_column_set_sort_column_id(column, CONTACT_EMAIL_COLUMN);
     gtk_tree_view_column_set_alignment(column, 0.5);
+    gtk_tree_view_column_set_resizable(column, TRUE);
     gtk_tree_view_column_set_sort_indicator(column, TRUE);
     gtk_tree_view_append_column(GTK_TREE_VIEW(
                 mainwindow->contact_list), column);



More information about the Commits mailing list