mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
1998-12-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_new): Use imlib's visual and colormap.
This commit is contained in:
parent
1df4f2d736
commit
2f018f6938
@ -1,3 +1,10 @@
|
||||
1998-12-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* 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 <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdesktop.c (icon_drag_data_received): Doh. Use the correct
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "gpopup.h"
|
||||
#include "gcliplabel.h"
|
||||
#include "gblist.h"
|
||||
#include "gicon.h"
|
||||
#include "../vfs/vfs.h"
|
||||
#include <gdk/gdkprivate.h>
|
||||
|
||||
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user