From a701db610809a653c1cfdd5a18d6d976c51e14fc Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 18 Oct 2000 17:55:24 +0000 Subject: Make all the CLists have passive titles. (identity_dialog): Make the 2000-10-18 Iain Holmes * mail-config-gui.c (mail_config): Make all the CLists have passive titles. (identity_dialog): Make the default button the "OK" button, and set the dialog to close on pressing return on the entryboxes. svn path=/trunk/; revision=5996 --- mail/ChangeLog | 7 +++++++ mail/mail-config-gui.c | 13 +++++++++++-- mail/mail-display.c | 1 - 3 files changed, 18 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 151b058e6f..3a64999447 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-10-18 Iain Holmes + + * mail-config-gui.c (mail_config): Make all the CLists have passive + titles. + (identity_dialog): Make the default button the "OK" button, and set + the dialog to close on pressing return on the entryboxes. + 2000-10-17 Iain Holmes * mail-config-gui.c (service_page_item_new): Disable the optionmenu diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c index e096339d15..56a251c58d 100644 --- a/mail/mail-config-gui.c +++ b/mail/mail-config-gui.c @@ -1223,6 +1223,12 @@ identity_dialog (const MailConfigIdentity *id, GtkWidget *parent) /* Get the identity widget */ iddialog->page = identity_page_new (id); + gnome_dialog_editable_enters (GNOME_DIALOG (iddialog->dialog), + GTK_EDITABLE (iddialog->page->name)); + gnome_dialog_editable_enters (GNOME_DIALOG (iddialog->dialog), + GTK_EDITABLE (iddialog->page->address)); + gnome_dialog_editable_enters (GNOME_DIALOG (iddialog->dialog), + GTK_EDITABLE (iddialog->page->org)); gtk_box_pack_start (GTK_BOX (dialog_vbox), iddialog->page->vbox, TRUE, TRUE, 0); @@ -1246,7 +1252,7 @@ identity_dialog (const MailConfigIdentity *id, GtkWidget *parent) GNOME_STOCK_BUTTON_CANCEL); gnome_dialog_set_default (GNOME_DIALOG (iddialog->dialog), 0); - gnome_dialog_set_default (GNOME_DIALOG (iddialog->dialog), 1); +/* gnome_dialog_set_default (GNOME_DIALOG (iddialog->dialog), 1); */ gnome_dialog_set_sensitive (GNOME_DIALOG (iddialog->dialog), 0, FALSE); @@ -2037,6 +2043,7 @@ mail_config (Evolution_Shell shell) dialog->clistIdentities = glade_xml_get_widget (gui, "clistIdentities"); clist = GTK_CLIST (dialog->clistIdentities); + gtk_clist_column_titles_passive (GTK_CLIST (clist)); gtk_clist_set_column_width (clist, 0, 80); l = mail_config_get_identities (); @@ -2080,6 +2087,7 @@ mail_config (Evolution_Shell shell) /* Sources Page */ dialog->clistSources = glade_xml_get_widget (gui, "clistSources"); clist = GTK_CLIST (dialog->clistSources); + gtk_clist_column_titles_passive (GTK_CLIST (clist)); gtk_clist_set_column_width (clist, 0, 80); l = mail_config_get_sources (); @@ -2121,7 +2129,8 @@ mail_config (Evolution_Shell shell) dialog->clistNews = glade_xml_get_widget (gui, "clistNews"); clist = GTK_CLIST (dialog->clistNews); gtk_clist_set_column_width (clist, 0, 80); - + gtk_clist_column_titles_passive (GTK_CLIST (clist)); + l = mail_config_get_news (); dialog->maxnrow = g_slist_length (l) - 1; diff --git a/mail/mail-display.c b/mail/mail-display.c index fbfca48415..6757af1ca5 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -487,7 +487,6 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data) pbl->type = g_strdup (eb->type); pixmap = bonobo_ui_toolbar_icon_new (); - gtk_widget_set_usize (pixmap, 24, 24); pbl->pixmap = pixmap; g_idle_add_full (G_PRIORITY_LOW, (GSourceFunc)pixbuf_gen_idle, -- cgit v1.2.3