From 72341218cf303a7bb1151804d26e56d6b7f1e403 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Jan 2011 08:43:26 -0500 Subject: 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 6751fc99fd..855b5c2058 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 baf62eca4e..383a5620d9 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 4f6a865a1e..70466da8a2 100644 --- a/views/addressbook/Address_Cards.galview +++ b/views/addressbook/Address_Cards.galview @@ -1,2 +1,2 @@ - + -- cgit