summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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--TODO8
-rw-r--r--gtk/gtkcontainer.c4
-rw-r--r--gtk/gtkwindow.c5
10 files changed, 66 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index cb7ceec33..d45939a99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index cb7ceec33..d45939a99 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
+
+ * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
+ setting certain arguments, so they actually take affect.
+ (gtk_window_set_policy): likewise.
+
Tue Mar 17 15:51:30 PST 1998 Manish Singh <yosh@gimp.org>
* glib.h: gboolean type changed to int
diff --git a/TODO b/TODO
index 8c9e8af2d..5239095fb 100644
--- a/TODO
+++ b/TODO
@@ -5,10 +5,8 @@ Bugs:
* pasting into a GtkEntry that already has a very long string,
causes the app to hang.
- * signal parameters don't seem to get refreshed on recursive invokations
- of GTK_NO_RECURSE signals, which causes the restarted emissions to loose
- their actual point, i.e. parameter changes on the restarted emission,
- needs further investigation.
+ * scrolled windows get cought in an endless reallocation loop under
+ certain (rare) circumstances.
* Widget redrawing when the window resizes sometimes messes up.
GtkLabels sometimes redraw without clearing up the underlying background on
@@ -223,4 +221,4 @@ TODO AFTER GTK 1.0
* Try to rationally deal with someone else deleting one of our
windows??? This would mean keeping track of our window heirarchy
ourselves, for one thing, and will never be safe, because of
- race conditions. \ No newline at end of file
+ race conditions.
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index af6f96cac..5cf5238e2 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -299,8 +299,8 @@ gtk_container_border_width (GtkContainer *container,
{
container->border_width = border_width;
- if (container->widget.parent && GTK_WIDGET_VISIBLE (container))
- gtk_container_need_resize (GTK_CONTAINER (container->widget.parent));
+ if (GTK_WIDGET_REALIZED (container))
+ gtk_widget_queue_resize (GTK_WIDGET (container));
}
}
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 585af9480..b839c580c 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -245,12 +245,15 @@ gtk_window_set_arg (GtkWindow *window,
break;
case ARG_AUTO_SHRINK:
window->auto_shrink = (GTK_VALUE_BOOL (*arg) != FALSE);
+ gtk_window_set_hints (GTK_WIDGET (window), &GTK_WIDGET (window)->requisition);
break;
case ARG_ALLOW_SHRINK:
window->allow_shrink = (GTK_VALUE_BOOL (*arg) != FALSE);
+ gtk_window_set_hints (GTK_WIDGET (window), &GTK_WIDGET (window)->requisition);
break;
case ARG_ALLOW_GROW:
window->allow_grow = (GTK_VALUE_BOOL (*arg) != FALSE);
+ gtk_window_set_hints (GTK_WIDGET (window), &GTK_WIDGET (window)->requisition);
break;
case ARG_WIN_POS:
gtk_window_position (window, GTK_VALUE_ENUM (*arg));
@@ -382,6 +385,8 @@ gtk_window_set_policy (GtkWindow *window,
window->allow_shrink = (allow_shrink != FALSE);
window->allow_grow = (allow_grow != FALSE);
window->auto_shrink = (auto_shrink != FALSE);
+
+ gtk_window_set_hints (GTK_WIDGET (window), &GTK_WIDGET (window)->requisition);
}
void