aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-12 00:58:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-12 00:58:03 +0800
commitb32f025e59170847dbfa42238aa7d2c10983dc6a (patch)
tree4d47a33c94170728531b5c1bc9d4b56ab87a0c49
parent49b857afdc3fc45b8f2572c653f5d8a0edb6804e (diff)
downloadgsoc2013-evolution-b32f025e59170847dbfa42238aa7d2c10983dc6a.tar.gz
gsoc2013-evolution-b32f025e59170847dbfa42238aa7d2c10983dc6a.tar.zst
gsoc2013-evolution-b32f025e59170847dbfa42238aa7d2c10983dc6a.zip
Allow the window to be growable
2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (source_dialog): Allow the window to be growable * mail-config.c: use void in empty declarations svn path=/trunk/; revision=4742
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/mail-config-gui.c8
-rw-r--r--mail/mail-config.h2
3 files changed, 14 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 94939c2c05..417e0dd6b3 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2000-08-11 JP Rosevear <jpr@helixcode.com>
+
+ * mail-config-gui.c (source_dialog): Allow the window
+ to be growable
+
+ * mail-config.c: use void in empty declarations
+
2000-08-11 Peter Williams <peterw@helixcode.com>
* mail-config.c (mail_config_get_news): Change () to (void)
@@ -7,7 +14,8 @@
2000-08-11 JP Rosevear <jpr@helixcode.com>
- * mail-config-gui.c (identity_dialog): sdialog, not iddialog
+ * mail-config-gui.c (identity_dialog): iddialog, not sdialog
+ (news_edit_clicked): Kill leftover c-p crud
2000-08-11 JP Rosevear <jpr@helixcode.com>
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index b13a266f0b..fa29bde7e8 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -1313,7 +1313,7 @@ source_dialog (MailConfigService *source, GtkWidget *parent)
gtk_window_set_modal (GTK_WINDOW (sdialog->dialog), TRUE);
gtk_window_set_policy (GTK_WINDOW (sdialog->dialog),
- FALSE, FALSE, FALSE);
+ FALSE, TRUE, FALSE);
gtk_window_set_default_size (GTK_WINDOW (sdialog->dialog), 380, 450);
gnome_dialog_set_parent (GNOME_DIALOG (sdialog->dialog),
GTK_WINDOW (parent));
@@ -1412,7 +1412,7 @@ news_dialog (MailConfigService *source, GtkWidget *parent)
gtk_window_set_modal (GTK_WINDOW (ndialog->dialog), TRUE);
gtk_window_set_policy (GTK_WINDOW (ndialog->dialog),
- TRUE, TRUE, FALSE);
+ FALSE, TRUE, FALSE);
gtk_window_set_default_size (GTK_WINDOW (ndialog->dialog), 380, 450);
gnome_dialog_set_parent (GNOME_DIALOG (ndialog->dialog),
GTK_WINDOW (parent));
@@ -1878,9 +1878,9 @@ news_edit_clicked (GtkWidget *widget, MailDialog *dialog)
return;
news = gtk_clist_get_row_data (GTK_CLIST (dialog->clistNews),
- dialog->srow);
+ dialog->nrow);
- news2 = source_dialog (news, dialog->dialog);
+ news2 = news_dialog (news, dialog->dialog);
if (news2) {
GtkCList *clist = GTK_CLIST (dialog->clistNews);
diff --git a/mail/mail-config.h b/mail/mail-config.h
index a529164400..8e5be8c42d 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -76,10 +76,10 @@ GSList *mail_config_get_sources (void);
void mail_config_add_source (MailConfigService *source);
MailConfigService *mail_config_get_transport (void);
-GSList *mail_config_get_news (void);
void mail_config_set_transport (MailConfigService *transport);
MailConfigService *mail_config_get_default_news (void);
+GSList *mail_config_get_news (void);
void mail_config_add_news (MailConfigService *source);
#endif