aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-26 21:43:26 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:26 +0800
commita19689605aa9ab9fcb1ac59c60e7c2236ea64457 (patch)
treeba378c2b59ab92552f1a33e3938f3bec83e4a2f8
parentbdf6a4e315d60c8eff6cdb0ece3197d28c32b3bc (diff)
downloadgsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar.gz
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar.bz2
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar.lz
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar.xz
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.tar.zst
gsoc2013-evolution-a19689605aa9ab9fcb1ac59c60e7c2236ea64457.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"/>