aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-factory.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-10 19:09:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-10 19:09:27 +0800
commit0350336ecac7485f1bd8720aa5b196b1c5933ad6 (patch)
treea8ee02cd69fa181ccee3da028a0b18ac578b7e65 /mail/mail-config-factory.c
parent6d87926c243f805696cbf37ec76cdb423a4a1acc (diff)
downloadgsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar.gz
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar.bz2
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar.lz
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar.xz
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.tar.zst
gsoc2013-evolution-0350336ecac7485f1bd8720aa5b196b1c5933ad6.zip
language is a treeview now. Not sure what to do with it yet, but get rid
2002-12-10 Not Zed <NotZed@Ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): language is a treeview now. Not sure what to do with it yet, but get rid of one warning anyway. (mail_composer_prefs_construct): Same for sig_clist, but setup model. (sig_fill_clist): Change to use a gtktreeview instead of a clist. (sig_selection_changed): New method to handle signature selection changes with the new widgets. (sig_delete): clist -> treeview. (mail_composer_prefs_new_signature): Same. (sig_edit): ditto. (sig_current_sig): removed. (sig_row_unselect): Removed. (sig_row_select): Removed, now redundant. (spell_select_lang): Removed, redundant. (spell_set_ui_language): New implementation using list model more effectively. (spell_get_language_str): Same here. (spell_set_ui_language): Removed this too, merged into spell_set_ui, it was just wasting stack space. (spell_language_selection_changed): renemd from spell_language_select_row, converted to gtktreeview, etc. (spell_language_unselect_row): Removed. (spell_language_enable): Redone to use tree model. (spell_language_button_press): Removed, i dont think this is needed anymore. (spell_setup): dont hook onto redundant signals. * mail-config-factory.c (config_control_factory_cb): ignore mail-font-prefs in a different way (so we dont assert) svn path=/trunk/; revision=19084
Diffstat (limited to 'mail/mail-config-factory.c')
-rw-r--r--mail/mail-config-factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c
index f193757fb0..641dced5d1 100644
--- a/mail/mail-config-factory.c
+++ b/mail/mail-config-factory.c
@@ -84,8 +84,9 @@ config_control_factory_cb (BonoboGenericFactory *factory, const char *component_
data->apply = (ApplyFunc) mail_composer_prefs_apply;
#warning "font prefs"
/* & see below */
-#if 0
+#define MAIL_FONT_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_FontPrefs_ConfigControl"
} else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) {
+#if 0
prefs = mail_font_prefs_new ();
data->apply = (ApplyFunc) mail_font_prefs_apply;
#endif
@@ -106,8 +107,8 @@ config_control_factory_cb (BonoboGenericFactory *factory, const char *component_
MAIL_PREFERENCES (prefs)->control = control;
} else if (!strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID)) {
MAIL_COMPOSER_PREFS (prefs)->control = control;
-#if 0
} else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) {
+#if 0
MAIL_FONT_PREFS (prefs)->control = control;
#endif
} else {