From 1257b0d78251d35c907932d30c2eb8ae3e2e3eb0 Mon Sep 17 00:00:00 2001 From: Jesse Pavel Date: Tue, 21 Nov 2000 19:40:14 +0000 Subject: Fixed size allocation bug. svn path=/trunk/; revision=6634 --- calendar/ChangeLog | 8 ++++++ calendar/gui/e-itip-control.c | 12 --------- calendar/gui/e-itip-control.glade | 55 +++++++++------------------------------ 3 files changed, 21 insertions(+), 54 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e5bdf9696c..b0c8420f5d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2000-11-21 Jesse Pavel + + * gui/e-itip-control.c: fixed the stupid Bonobo widget size + allocation bug that had been vexing me. + + * gui/e-itip-control.glade: I removed some hacks that were + necessary for said size bug. + 2000-11-16 Jesse Pavel * gui/e-itip-control.c, gui/e-meeting-edit.c: added cancellation diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index fc93489618..e545f326be 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -123,16 +123,6 @@ itip_control_destroy_cb (GtkObject *object, g_free (priv); } -static void -itip_control_size_request_cb (GtkWidget *widget, GtkRequisition *requisition) -{ - - /* gtk_widget_set (GTK_WIDGET (widget), "width", DEFAULT_WIDTH, NULL); */ - /* gtk_widget_set (GTK_WIDGET (widget), "height", DEFAULT_HEIGHT, NULL); */ - requisition->width = DEFAULT_WIDTH; - requisition->height = DEFAULT_HEIGHT; -} - static void cal_loaded_cb (GtkObject *object, CalClientGetStatus status, gpointer data) @@ -1010,8 +1000,6 @@ e_itip_control_factory (BonoboGenericFactory *Factory, void *closure) gtk_signal_connect (GTK_OBJECT (priv->main_frame), "destroy", GTK_SIGNAL_FUNC (itip_control_destroy_cb), priv); - gtk_signal_connect (GTK_OBJECT (priv->main_frame), "size_request", - GTK_SIGNAL_FUNC (itip_control_size_request_cb), priv); gtk_widget_show (priv->main_frame); diff --git a/calendar/gui/e-itip-control.glade b/calendar/gui/e-itip-control.glade index 481874368a..eb950139a1 100644 --- a/calendar/gui/e-itip-control.glade +++ b/calendar/gui/e-itip-control.glade @@ -381,10 +381,14 @@ - GtkHBox - hbox3 - False - 0 + GtkScrolledWindow + scrolledwindow3 + 3 + 365 + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS 0 True @@ -392,44 +396,11 @@ - GtkScrolledWindow - scrolledwindow3 - 3 - 365 - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS - - 0 - False - False - - - - GtkText - message_text - True - False - - - - - - GtkLabel - label12 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - 0 - True - False - + GtkText + message_text + True + False + -- cgit v1.2.3