forked from AuroraMiddleware/gtk
Push GdkRGB's visual and colormap around the color selection dialog so
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push GdkRGB's visual and colormap around the color selection dialog so that the window and the previews have the same colormap. If an app adds things to the colorsel dialog, it will have to take care of them itself.
This commit is contained in:
parent
5126b13c0a
commit
0a411980ef
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
|
||||
GdkRGB's visual and colormap around the color selection
|
||||
dialog so that the window and the previews have the
|
||||
same colormap. If an app adds things to the colorsel
|
||||
dialog, it will have to take care of them itself.
|
||||
|
||||
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_propagate_event): Make
|
||||
|
@ -734,8 +734,9 @@ typedef enum {
|
||||
typedef enum {
|
||||
GDK_DRAG_PROTO_MOTIF,
|
||||
GDK_DRAG_PROTO_XDND,
|
||||
GDK_DRAG_PROTO_ROOTWIN /* A root window with nobody claiming
|
||||
GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
|
||||
* drags */
|
||||
GDK_DRAG_PROTO_NONE /* Not a valid drag window */
|
||||
} GdkDragProtocol;
|
||||
|
||||
/* The color type.
|
||||
|
@ -1614,6 +1614,9 @@ gtk_color_selection_dialog_init (GtkColorSelectionDialog *colorseldiag)
|
||||
{
|
||||
GtkWidget *action_area, *frame;
|
||||
|
||||
gtk_widget_push_visual (gdk_rgb_get_visual ());
|
||||
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
|
||||
|
||||
colorseldiag->main_vbox = gtk_vbox_new (FALSE, 10);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (colorseldiag), 10);
|
||||
gtk_container_add (GTK_CONTAINER (colorseldiag), colorseldiag->main_vbox);
|
||||
@ -1649,6 +1652,9 @@ gtk_color_selection_dialog_init (GtkColorSelectionDialog *colorseldiag)
|
||||
GTK_WIDGET_SET_FLAGS (colorseldiag->help_button, GTK_CAN_DEFAULT);
|
||||
gtk_box_pack_start (GTK_BOX (action_area), colorseldiag->help_button, TRUE, TRUE, 0);
|
||||
gtk_widget_show (colorseldiag->help_button);
|
||||
|
||||
gtk_widget_pop_colormap ();
|
||||
gtk_widget_pop_visual ();
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
|
Loading…
Reference in New Issue
Block a user