Re: [evolution-patches] Bugfix: 57298



Rodney Dawes <dobey ximian com> writes:

> This isn't the right fix. We should just pick a reasonable size and set
> the default size of the dialog to that. The appropriate call to use here
> is gtk_window_set_default_size ().
Ok, then this is the new patch, and here is an screenshot with how I
looks here:
http://linuxuanl.org/~eald/images/evo-bugfix.png

Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2281
diff -u -r1.2281 ChangeLog
--- a/calendar/ChangeLog	28 Apr 2004 01:51:40 -0000	1.2281
+++ b/calendar/ChangeLog	3 May 2004 04:09:53 -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
--- a/calendar/gui/dialogs/select-source-dialog.c	15 Apr 2004 11:24:25 -0000	1.3
+++ b/calendar/gui/dialogs/select-source-dialog.c	3 May 2004 04:09:53 -0000
@@ -90,6 +90,7 @@
 	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_window_set_default_size (GTK_WINDOW (dialog), 250, 270);
 
 	if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK) {
 		if (selected_source)
-- 
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]