aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-24 10:31:33 -0500
committerMichael Terry <mike@mterry.name>2011-02-24 10:31:33 -0500
commite1ed5129d99c0b7d6f8829a146173b940ce8890d (patch)
tree31d759103bb56805c2dc3f94787a040b76d20a6c
parent7ef186559335f0f82cf2985ada9151f2232d2c90 (diff)
downloadayatana-indicator-datetime-e1ed5129d99c0b7d6f8829a146173b940ce8890d.tar.gz
ayatana-indicator-datetime-e1ed5129d99c0b7d6f8829a146173b940ce8890d.tar.bz2
ayatana-indicator-datetime-e1ed5129d99c0b7d6f8829a146173b940ce8890d.zip
have location column expand
-rw-r--r--src/datetime-prefs-locations.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datetime-prefs-locations.c b/src/datetime-prefs-locations.c
index e29580f..ce3acaa 100644
--- a/src/datetime-prefs-locations.c
+++ b/src/datetime-prefs-locations.c
@@ -297,6 +297,9 @@ datetime_setup_locations_dialog (GtkWindow * parent, CcTimezoneMap * map)
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tree), -1,
_("Location"), cell,
"text", 0, NULL);
+ GtkTreeViewColumn * loc_col = gtk_tree_view_get_column (GTK_TREE_VIEW (tree), 0);
+ gtk_tree_view_column_set_expand (loc_col, TRUE);
+
cell = gtk_cell_renderer_text_new ();
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tree), -1,
_("Time"), cell,