summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-08-30 20:27:36 +0000
committerpnfisher <pnfisher>1999-08-30 20:27:36 +0000
commit2881c79bcfcc5abdab3ab23a8ba0b3bb59f62efa (patch)
tree6c2309194414fde5bd5b9f6ca8f70ff644a64219
parent00fce7182b84028d29082eadbdf2c2edfe0d5bb2 (diff)
downloadanaconda-2881c79bcfcc5abdab3ab23a8ba0b3bb59f62efa.tar.gz
anaconda-2881c79bcfcc5abdab3ab23a8ba0b3bb59f62efa.tar.xz
anaconda-2881c79bcfcc5abdab3ab23a8ba0b3bb59f62efa.zip
Clean up for Installer inclusion.
-rw-r--r--gnome-map/timezonemapmodule.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnome-map/timezonemapmodule.c b/gnome-map/timezonemapmodule.c
index dc8dd3627..997e7b49d 100644
--- a/gnome-map/timezonemapmodule.c
+++ b/gnome-map/timezonemapmodule.c
@@ -595,7 +595,7 @@ create_location_list (MapData *mapdata)
{
TimeZoneLocation *loc;
GtkWidget *scrolledwin;
- gchar *titles[] = { "Location", NULL };
+ /* gchar *titles[] = { "Current Selection", NULL }; */
gchar *row[1];
gint i;
@@ -605,11 +605,11 @@ create_location_list (MapData *mapdata)
scrolledwin = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwin),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_widget_show (scrolledwin);
- mapdata->locationlist = gtk_clist_new_with_titles (1, titles);
+ mapdata->locationlist = gtk_clist_new (1);
gtk_clist_set_selection_mode (GTK_CLIST(mapdata->locationlist),
GTK_SELECTION_BROWSE);
@@ -636,6 +636,7 @@ create_location_list (MapData *mapdata)
gtk_clist_set_row_data (GTK_CLIST (mapdata->locationlist), newrow,
GINT_TO_POINTER (i));
}
+ gtk_clist_columns_autosize (GTK_CLIST (mapdata->locationlist));
/* restore selection of location in list now we've recreated it */
list_mark_location_selected(WorldMap, mapdata->curselection, TRUE);