[evolution/webkit] Bug #640526 - Default column width in address card view is small



commit 945b2b1b73b2094395371fe3c1318aac301a44cc
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jan 26 08:43:26 2011 -0500

    Bug #640526 - Default column width in address card view is small

 addressbook/gui/widgets/e-minicard-view-widget.c |    4 ++--
 addressbook/gui/widgets/gal-view-minicard.c      |    4 ++--
 views/addressbook/Address_Cards.galview          |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c
index 6751fc9..855b5c2 100644
--- a/addressbook/gui/widgets/e-minicard-view-widget.c
+++ b/addressbook/gui/widgets/e-minicard-view-widget.c
@@ -139,7 +139,7 @@ e_minicard_view_widget_class_init (EMinicardViewWidgetClass *class)
 					 g_param_spec_double ("column_width",
 							      "Column Width",
 							      NULL,
-							      0.0, G_MAXDOUBLE, 150.0,
+							      0.0, G_MAXDOUBLE, 225.0,
 							      G_PARAM_READWRITE));
 
 	signals[CREATE_CONTACT] =
@@ -196,7 +196,7 @@ e_minicard_view_widget_init (EMinicardViewWidget *view)
 	view->book = NULL;
 	view->query = NULL;
 	view->editable = FALSE;
-	view->column_width = 150;
+	view->column_width = 225;
 }
 
 GtkWidget *
diff --git a/addressbook/gui/widgets/gal-view-minicard.c b/addressbook/gui/widgets/gal-view-minicard.c
index baf62ec..383a562 100644
--- a/addressbook/gui/widgets/gal-view-minicard.c
+++ b/addressbook/gui/widgets/gal-view-minicard.c
@@ -82,7 +82,7 @@ view_minicard_load (GalView *view,
 	root = xmlDocGetRootElement (doc);
 	view_minicard->column_width =
 		e_xml_get_double_prop_by_name_with_default (
-		root, (guchar *) "column_width", 150);
+		root, (guchar *) "column_width", 225);
 	xmlFreeDoc (doc);
 }
 
@@ -175,7 +175,7 @@ static void
 gal_view_minicard_init (GalViewMinicard *gvm)
 {
 	gvm->title = NULL;
-	gvm->column_width = 150.0;
+	gvm->column_width = 225.0;
 
 	gvm->emvw = NULL;
 	gvm->emvw_column_width_changed_id = 0;
diff --git a/views/addressbook/Address_Cards.galview b/views/addressbook/Address_Cards.galview
index 4f6a865..70466da 100644
--- a/views/addressbook/Address_Cards.galview
+++ b/views/addressbook/Address_Cards.galview
@@ -1,2 +1,2 @@
 <?xml version="1.0"?>
-<EMinicardViewState column_width="150.0"/>
+<EMinicardViewState column_width="225.0"/>



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