summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-01-29 22:14:19 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-01-29 22:14:19 +0000
commitc12b1607a4560b18aecaffbb29dfcf7734ee899e (patch)
treee0944412d493d4986e6045f94edd2ee1068356e2
parent6284428f646d6950de81f3f555e9342e384a360d (diff)
downloadgtk+-c12b1607a4560b18aecaffbb29dfcf7734ee899e.tar.gz
Small fix to size of torn off window (#60271, Detlef Reichl)
Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small fix to size of torn off window (#60271, Detlef Reichl) * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out by Ross Burton)
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-08
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-28
-rw-r--r--ChangeLog.pre-2-48
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gtk/Makefile.am2
-rw-r--r--gtk/gtkhandlebox.c6
9 files changed, 63 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index b1bbdad984..03a1761a47 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
+ fix to size of torn off window (#60271, Detlef Reichl)
+
+ * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
+ by Ross Burton)
+
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index a1a5985957..bcdcb3d41c 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -136,7 +136,6 @@ gtk_public_h_sources = @STRIP_BEGIN@ \
gtkhscale.h \
gtkhscrollbar.h \
gtkhseparator.h \
- gtkhsv.h \
gtkiconfactory.h \
gtkimage.h \
gtkimagemenuitem.h \
@@ -296,6 +295,7 @@ gtk_c_sources = @STRIP_BEGIN@ \
gtkhscrollbar.c \
gtkhseparator.c \
gtkhsv.c \
+ gtkhsv.h \
gtkiconfactory.c \
gtkimage.c \
gtkimagemenuitem.c \
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index 33d48a2ad6..d4d0125654 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -1207,6 +1207,12 @@ gtk_handle_box_motion (GtkWidget *widget,
width = child_requisition.width + 2 * GTK_CONTAINER (hb)->border_width;
height = child_requisition.height + 2 * GTK_CONTAINER (hb)->border_width;
+
+ if (hb->handle_position == GTK_POS_LEFT || hb->handle_position == GTK_POS_RIGHT)
+ width += DRAG_HANDLE_SIZE;
+ else
+ height += DRAG_HANDLE_SIZE;
+
gdk_window_move_resize (hb->float_window, new_x, new_y, width, height);
gdk_window_reparent (hb->bin_window, hb->float_window, 0, 0);
gdk_window_set_hints (hb->float_window, new_x, new_y, 0, 0, 0, 0, GDK_HINT_POS);