aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-26 21:43:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-26 21:49:02 +0800
commit72341218cf303a7bb1151804d26e56d6b7f1e403 (patch)
treed5932e45e1fe306e76411dcdf134c2451a0c80a5
parentcc16cf2f4389cc9d6d6ffbc37a31389dc9b567f3 (diff)
downloadgsoc2013-evolution-72341218cf303a7bb1151804d26e56d6b7f1e403.tar.gz
gsoc2013-evolution-72341218cf303a7bb1151804d26e56d6b7f1e403.tar.zst
gsoc2013-evolution-72341218cf303a7bb1151804d26e56d6b7f1e403.zip
Bug #640526 - Default column width in address card view is small
-rw-r--r--addressbook/gui/widgets/e-minicard-view-widget.c4
-rw-r--r--addressbook/gui/widgets/gal-view-minicard.c4
-rw-r--r--views/addressbook/Address_Cards.galview2
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 @@
<?xml version="1.0"?>
-<EMinicardViewState column_width="150.0"/>
+<EMinicardViewState column_width="225.0"/>