aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@helixcode.com>2000-10-19 01:55:24 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-19 01:55:24 +0800
commita701db610809a653c1cfdd5a18d6d976c51e14fc (patch)
treea79e7a437b598c63ae790b905a867086fa9d8e75
parentb8cf5fe57c659a2cf8e9b204c0856235bdc9d5ed (diff)
downloadgsoc2013-evolution-a701db610809a653c1cfdd5a18d6d976c51e14fc.tar.gz
gsoc2013-evolution-a701db610809a653c1cfdd5a18d6d976c51e14fc.tar.zst
gsoc2013-evolution-a701db610809a653c1cfdd5a18d6d976c51e14fc.zip
Make all the CLists have passive titles. (identity_dialog): Make the
2000-10-18 Iain Holmes <iain@helixcode.com> * 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
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-config-gui.c13
-rw-r--r--mail/mail-display.c1
3 files changed, 18 insertions, 3 deletions
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 <iain@helixcode.com>
+
+ * 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 <iain@helixcode.com>
* 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,