summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-16 02:37:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-16 02:37:41 +0000
commit7d7b43c24422da42d6fa52e1f861914e732da892 (patch)
treefde30a3b8fa74a8b8e5890164c74690e64cb1f07
parent8968861d7948601413e077a43613573ff88f05ad (diff)
downloadgdk-pixbuf-7d7b43c24422da42d6fa52e1f861914e732da892.tar.gz
Create buttons, not combos again.
Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com> * gtk/testgtk.c (create_layout): Create buttons, not combos again.
-rw-r--r--ChangeLog76
-rw-r--r--ChangeLog.pre-2-076
-rw-r--r--ChangeLog.pre-2-1076
-rw-r--r--ChangeLog.pre-2-276
-rw-r--r--ChangeLog.pre-2-476
-rw-r--r--ChangeLog.pre-2-676
-rw-r--r--ChangeLog.pre-2-876
-rw-r--r--gtk/testgtk.c3
-rw-r--r--tests/testgtk.c3
9 files changed, 534 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 0589872ff..d0d75a8a9 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,8 +1,84 @@
+Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testgtk.c (create_layout): Create buttons,
+ not combos again.
+
1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
* autogen.sh: reordered gettextize and aclocal, because
gettextize was messing up aclocal.m4.
+Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h :
+ removed clist flag : GTK_CLIST_DRAG_SELECTION
+ added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
+ GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
+ (GtkCListDragPos) : new enum for DND
+ (GtkButtonAction) : new enum of possible mouse button actions
+ (struct _GtkCList): added button_actions array.
+ Added drag_button and click_cell struct, to store cell and
+ mouse button of last button_press_event
+
+ (struct _GtkCListClass): new class method draw_drag_highlight.
+ (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
+ new functions. Moved from gtkctree.h. Now clist is reorderable
+ as well.
+ (gtk_clist_set_button_actions) new function to customize mouse
+ button actions.
+
+ * gtk/gtkclist.c:
+ (gtk_clist_drag_begin)
+ (gtk_clist_drag_motion)
+ (gtk_clist_drag_leave)
+ (gtk_clist_drag_end)
+ (gtk_clist_drag_drop)
+ (gtk_clist_drag_data_get)
+ (gtk_clist_drag_data_received) : new dnd widget methods to
+ implement clists reorderability via DND
+
+ (remove_grab) : new function. remove mouse grab if necessary.
+ (draw_drag_highlight) : new method. Draw dnd highlight depending
+ on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
+
+ (gtk_clist_class_init): added object args "reorderable" and
+ "use_drag_icons"
+
+ (gtk_clist_button_press) (gtk_clist_button_release) :
+ use button_actions array to decide which action to perform.
+ (gtk_clist_motion) : start reorder operation if necessary.
+
+ * gtk/gtkctree.h :
+ (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
+ drag_row, drag_source, drag_target, reorderable, use_icons,
+ in_drag, drag_rect
+ (gtk_ctree_set_reorderable) : deprecated function.
+ use gtk_clist_set_reorderable instead.
+ (gtk_ctree_set_use_drag_icons) : deprecated function.
+ use gtk_clist_set_use_drag_icons instead.
+
+ * gtk/gtkctree.c :
+ (gtk_ctree_class_init): removed object args "reorderable" and
+ and "use_drag_icons"
+
+ (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
+ (tree_toggle_selection) (set_mouse_cursor) : removed
+
+ (draw_drag_highlight) : new clist method. replacement for
+ draw_xor_line and draw_xor_rect functions
+ (check_drag) renamed check_cursor function
+
+ (gtk_ctree_drag_begin)
+ (gtk_ctree_drag_motion)
+ (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
+ reorderability via DND
+
+ (gtk_ctree_button_release)
+ (gtk_ctree_button_motion) : removed.
+
+ * gtk/testgtk.c:
+ (create_clist) : added new reorderable toggle button
+
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
diff --git a/gtk/testgtk.c b/gtk/testgtk.c
index 0cf829b36..d53958a00 100644
--- a/gtk/testgtk.c
+++ b/gtk/testgtk.c
@@ -8296,8 +8296,7 @@ void create_layout (void)
{
sprintf(buf, "Button %d, %d", i, j);
if ((i + j) % 2)
- /* button = gtk_button_new_with_label (buf); */
- button = gtk_combo_new();
+ button = gtk_button_new_with_label (buf);
else
button = gtk_label_new (buf);
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 0cf829b36..d53958a00 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -8296,8 +8296,7 @@ void create_layout (void)
{
sprintf(buf, "Button %d, %d", i, j);
if ((i + j) % 2)
- /* button = gtk_button_new_with_label (buf); */
- button = gtk_combo_new();
+ button = gtk_button_new_with_label (buf);
else
button = gtk_label_new (buf);