[evolution-patches] Bugfix: 57298



This patch gets the width and height of the vbox of the dialog and add
it 100 to each one.

If is not what you want, please tell me.
? depcomp
? composer/mail-composer-errors.xml
? filter/filter-errors.xml
? mail/mail-errors.xml
? widgets/misc/e-system-errors.xml
? widgets/misc/test-error
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2281
diff -u -r1.2281 ChangeLog
--- calendar/ChangeLog	28 Apr 2004 01:51:40 -0000	1.2281
+++ calendar/ChangeLog	2 May 2004 04:36:09 -0000
@@ -1,3 +1,8 @@
+2004-05-01  Edgar Luna Díaz  <eald linuxuanl org>
+
+	* gui/dialogs/select-source-dialog.c (select_source_dialog):
+	Fix #57298
+
 2004-04-27  JP Rosevear  <jpr ximian com>
 
 	* gui/cal-search-bar.c: disable comment searching which is
Index: calendar/gui/dialogs/select-source-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/select-source-dialog.c,v
retrieving revision 1.3
diff -u -r1.3 select-source-dialog.c
--- calendar/gui/dialogs/select-source-dialog.c	15 Apr 2004 11:24:25 -0000	1.3
+++ calendar/gui/dialogs/select-source-dialog.c	2 May 2004 04:36:10 -0000
@@ -51,6 +51,7 @@
 	const char *gconf_key;
 	char *label_text;
 	GConfClient *conf_client;
+	GtkRequisition vbox_size;
 
 	if (obj_type == E_CAL_SOURCE_TYPE_EVENT)
 		gconf_key = "/apps/evolution/calendar/sources";
@@ -90,6 +91,11 @@
 	gtk_widget_show (source_selector);
 	gtk_container_add (GTK_CONTAINER (scroll), source_selector);
 	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), scroll, TRUE, TRUE, 12);
+	
+	gtk_widget_size_request (GTK_WIDGET (GTK_DIALOG (dialog)->vbox), &vbox_size);
+	vbox_size.width  += 100;
+	vbox_size.height += 100;
+	gtk_widget_set_size_request (dialog, vbox_size.width, vbox_size.height);
 
 	if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK) {
 		if (selected_source)
Regards
-- 
Edgar A. Luna Díaz - http://linuxuanl.org
Fingerprint: C008 5EAC 5272 AC8C 7589  4821 8B34 6166 8733 8310 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]