diff options
author | Richard Hestilow <hestilow@ximian.com> | 2001-12-08 20:07:30 +0000 |
---|---|---|
committer | Rachel Hestilow <hestgray@src.gnome.org> | 2001-12-08 20:07:30 +0000 |
commit | 9ea850c68dae7e3adb16ed7aee89b1e9e288d1fe (patch) | |
tree | 31fc4166456cd733fd25f4a10741d8b763548950 /control-center | |
parent | a9a9c6691626978d5f1b9f9e13072fe0a9aec746 (diff) | |
download | gnome-control-center-9ea850c68dae7e3adb16ed7aee89b1e9e288d1fe.tar.gz |
Fix call to gnome_icon_list_insert. (list_create): Update call to
2001-12-08 Richard Hestilow <hestilow@ximian.com>
* capplet-dir-view-list.c (list_populate): Fix call to
gnome_icon_list_insert.
(list_create): Update call to gnome_icon_list_new, and use
a GtkHPaned instead of a GtkHBox.
Diffstat (limited to 'control-center')
-rw-r--r-- | control-center/ChangeLog | 7 | ||||
-rw-r--r-- | control-center/capplet-dir-view-list.c | 11 |
2 files changed, 12 insertions, 6 deletions
diff --git a/control-center/ChangeLog b/control-center/ChangeLog index b8a87e83f..13ba64dfd 100644 --- a/control-center/ChangeLog +++ b/control-center/ChangeLog @@ -1,3 +1,10 @@ +2001-12-08 Richard Hestilow <hestilow@ximian.com> + + * capplet-dir-view-list.c (list_populate): Fix call to + gnome_icon_list_insert. + (list_create): Update call to gnome_icon_list_new, and use + a GtkHPaned instead of a GtkHBox. + 2001-11-28 Richard Hestilow <hestilow@ximian.com> * capplet-dir-view.c (help_cb): Update call to gnome_help_display. diff --git a/control-center/capplet-dir-view-list.c b/control-center/capplet-dir-view-list.c index d60bcff6b..3574c1587 100644 --- a/control-center/capplet-dir-view-list.c +++ b/control-center/capplet-dir-view-list.c @@ -318,8 +318,7 @@ list_populate (CappletDirView *view) CAPPLET_DIR_ENTRY (list->data)->label); gnome_icon_list_insert (data->gil, i++, CAPPLET_DIR_ENTRY (list->data)->icon, - "Hi"); -// CAPPLET_DIR_ENTRY (list->data)->label); + CAPPLET_DIR_ENTRY (list->data)->label); #endif } gnome_icon_list_thaw (data->gil); @@ -450,7 +449,7 @@ list_create (CappletDirView *view) gtk_box_pack_start (GTK_BOX (vbox), darea, FALSE, FALSE, 0); - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_hpaned_new (); data->sidebar_model = gtk_list_store_new (4, GDK_TYPE_PIXBUF, G_TYPE_STRING, GDK_TYPE_PIXBUF, @@ -478,7 +477,7 @@ list_create (CappletDirView *view) GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_container_add (GTK_CONTAINER (sw), w); - gtk_box_pack_start (GTK_BOX (hbox), sw, FALSE, FALSE, 0); + gtk_paned_add1 (GTK_PANED (hbox), sw); sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), @@ -487,7 +486,7 @@ list_create (CappletDirView *view) adjustment = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (sw)); - data->gil = w = gnome_icon_list_new (72, 0); + data->gil = w = gnome_icon_list_new (72, NULL, 0); title = g_concat_dir_and_file (ART_DIR, "title.png"); data->header_logo = gdk_pixbuf_new_from_file (title, NULL); @@ -514,7 +513,7 @@ list_create (CappletDirView *view) view); gtk_container_add (GTK_CONTAINER (sw), w); - gtk_box_pack_start (GTK_BOX (hbox), sw, TRUE, TRUE, 0); + gtk_paned_add2 (GTK_PANED (hbox), sw); gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0); gtk_widget_show_all (vbox); |