diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 43a472f78..f5cddd575 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,10 @@ +1998-12-08 Miguel de Icaza + + * gtkdtree.c (gtk_dtree_new): Use imlib's visual and colormap. + + * gscreen.c (panel_create_tree_view): Use the colormap and visual + from imlib when creating the DTree, + 1998-12-08 Federico Mena Quintero * gdesktop.c (icon_drag_data_received): Doh. Use the correct diff --git a/gnome/gscreen.c b/gnome/gscreen.c index 7201e8496..a4db1278c 100644 --- a/gnome/gscreen.c +++ b/gnome/gscreen.c @@ -34,6 +34,7 @@ #include "gpopup.h" #include "gcliplabel.h" #include "gblist.h" +#include "gicon.h" #include "../vfs/vfs.h" #include @@ -1656,6 +1657,7 @@ panel_create_tree_view (WPanel *panel) GtkWidget *tree; tree = gtk_dtree_new (); + gtk_signal_connect (GTK_OBJECT (tree), "directory_changed", GTK_SIGNAL_FUNC (panel_chdir), panel); diff --git a/gnome/gtkdtree.c b/gnome/gtkdtree.c index eea97bee8..b588d84be 100644 --- a/gnome/gtkdtree.c +++ b/gnome/gtkdtree.c @@ -521,8 +521,12 @@ gtk_dtree_new (void) { GtkWidget *widget; + gtk_widget_push_visual (gdk_imlib_get_visual ()); + gtk_widget_push_colormap (gdk_imlib_get_colormap ()); widget = gtk_type_new (GTK_TYPE_DTREE); gtk_dtree_construct (GTK_DTREE (widget)); + gtk_widget_pop_colormap (); + gtk_widget_pop_visual (); return widget; }