Re-added the config wizard interfaces. Ettore accidently removed them

2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* GNOME_Evolution_Mail.oaf.in: Re-added the config wizard
	interfaces. Ettore accidently removed them thinking they were
	duplicates of the new mail-config interfaces.

	* mail-config.glade: Remove the OK, Apply, Cancel buttons from the
	keyboard shortcut tab in the composer_prefs dialog.

	* mail-account-gui.c: No need to check gui->source before using
	gui->source->url, since gui->source *has* to exist.

svn path=/trunk/; revision=16391
This commit is contained in:
Jeffrey Stedfast
2002-04-08 20:00:46 +00:00
committed by Jeffrey Stedfast
parent 600e799994
commit cc28f482cc
4 changed files with 38 additions and 47 deletions

View File

@ -1,3 +1,15 @@
2002-04-08 Jeffrey Stedfast <fejj@ximian.com>
* GNOME_Evolution_Mail.oaf.in: Re-added the config wizard
interfaces. Ettore accidently removed them thinking they were
duplicates of the new mail-config interfaces.
* mail-config.glade: Remove the OK, Apply, Cancel buttons from the
keyboard shortcut tab in the composer_prefs dialog.
* mail-account-gui.c: No need to check gui->source before using
gui->source->url, since gui->source *has* to exist.
2002-04-06 JP Rosevear <jpr@ximian.com>
* GNOME_Evolution_Mail.oaf.in: add config_item:type

View File

@ -101,6 +101,28 @@
_value="Evolution mail composer."/>
</oaf_server>
<!-- Config Wizard interface -->
<oaf_server iid="OAFIID:GNOME_Evolution_MailConfig_Factory"
type="exe"
location="evolution-mail">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/GenericFactory:1.0"/>
</oaf_attribute>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_Evolution_MailConfig"
type="factory"
location="OAFIID:GNOME_Evolution_MailConfig_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/MailConfig:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
_value="Mail configuration interface"/>
</oaf_server>
<!-- MailConfig interface -->
<!-- (factory) -->

View File

@ -1826,14 +1826,14 @@ mail_account_gui_save (MailAccountGui *gui)
account->id->name = e_utf8_gtk_entry_get_text (gui->full_name);
account->id->address = e_utf8_gtk_entry_get_text (gui->email_address);
account->id->organization = e_utf8_gtk_entry_get_text (gui->organization);
sig_set_and_write (gui);
old_enabled = account->source && account->source->enabled;
service_destroy (account->source);
account->source = g_new0 (MailConfigService, 1);
save_service (&gui->source, gui->extra_config, account->source);
if (account->source && account->source->url) {
if (account->source->url) {
provider = camel_session_get_provider (session, account->source->url, NULL);
source_url = provider ? camel_url_new (account->source->url, NULL) : NULL;

View File

@ -5825,7 +5825,7 @@ Quoted
<widget>
<class>GtkVBox</class>
<name>vbox154</name>
<name>vboxShortcuts</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
@ -6001,49 +6001,6 @@ Microsoft
</widget>
</widget>
</widget>
<widget>
<class>GtkHButtonBox</class>
<name>hbuttonbox22</name>
<layout_style>GTK_BUTTONBOX_END</layout_style>
<spacing>0</spacing>
<child_min_width>85</child_min_width>
<child_min_height>27</child_min_height>
<child_ipad_x>7</child_ipad_x>
<child_ipad_y>0</child_ipad_y>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkButton</class>
<name>button224</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>button225</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_APPLY</stock_button>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>button226</name>
<can_default>True</can_default>
<can_focus>True</can_focus>
<stock_button>GNOME_STOCK_BUTTON_CLOSE</stock_button>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
</widget>
</widget>
<widget>