bump version, requires

2005-02-28  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requires

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* configure.in: add startup wizard plugin

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* plugins/Makefile.am: dist standard and experimental plugins

  	* configure.in: move "all" plugins to standard and experimental
  	and default to building the standard set

svn path=/trunk/; revision=28927
This commit is contained in:
JP Rosevear
2005-03-01 06:17:20 +00:00
committed by JP Rosevear
parent 7cb4234412
commit fc1558ac98
14 changed files with 114 additions and 37 deletions

View File

@ -1335,7 +1335,7 @@ AC_SUBST_FILE(EVO_PLUGIN_RULE)
AC_ARG_ENABLE(plugins, [ --enable-plugins=[no/base/all/experimental/list] Enable plugins.],enable_plugins="$enableval",enable_plugins=all)
dnl Add any new plugins here
plugins_base="calendar-file calendar-http calendar-weather groupwise-account-setup itip-formatter plugin-manager send-options shared-folder groupwise-send-options exchange-account-setup groupwise-status-tracking default-source addressbook-file addressbook-groupwise"
plugins_base="calendar-file calendar-http calendar-weather groupwise-account-setup itip-formatter plugin-manager send-options shared-folder groupwise-send-options exchange-account-setup groupwise-status-tracking default-source addressbook-file addressbook-groupwise startup-wizard"
plugins_standard="bbdb subject-thread save-attachments prefer-plain save-calendar select-one-source copy-tool mail-to-task folder-unsubscribe mark-calendar-offline audio-inline mailing-list-actions new-mail-notify"
@ -1589,6 +1589,7 @@ plugins/groupwise-status-tracking/Makefile
plugins/default-source/Makefile
plugins/addressbook-file/Makefile
plugins/addressbook-groupwise/Makefile
plugins/startup-wizard/Makefile
smime/Makefile
smime/lib/Makefile
smime/gui/Makefile

View File

@ -1,3 +1,20 @@
2005-02-28 JP Rosevear <jpr@novell.com>
* em-utils.c (em_utils_configure_account): pass in accountDruid
config id
* em-account-prefs.c (account_add_clicked): pass in accountDruid
config id
(account_edit_clicked): pass in accountWizard config id
* em-account-editor.h: update protos
* em-account-editor.c (em_account_editor_new_with_config_id):
create a new account editor with a specific config id
(em_account_editor_new): pass
(em_account_editor_construct): make this static and take the
config id as an arg
2005-02-24 Not Zed <NotZed@Ximian.com>
** See bug #72609

View File

@ -202,6 +202,7 @@ typedef struct _EMAccountEditorPrivate {
} EMAccountEditorPrivate;
static void emae_refresh_authtype(EMAccountEditor *emae, EMAccountEditorService *service);
static void em_account_editor_construct(EMAccountEditor *emae, EAccount *account, em_account_editor_t type, char *id);
static GtkVBoxClass *emae_parent;
@ -281,11 +282,11 @@ em_account_editor_get_type(void)
*
* Return value:
**/
EMAccountEditor *em_account_editor_new(EAccount *account, em_account_editor_t type)
EMAccountEditor *em_account_editor_new(EAccount *account, em_account_editor_t type, char *id)
{
EMAccountEditor *emae = g_object_new(em_account_editor_get_type(), 0);
em_account_editor_construct(emae, account, type);
em_account_editor_construct(emae, account, type, id);
return emae;
}
@ -2483,8 +2484,8 @@ emae_editor_destroyed(GtkWidget *dialog, EMAccountEditor *emae)
g_object_unref(emae);
}
void
em_account_editor_construct(EMAccountEditor *emae, EAccount *account, em_account_editor_t type)
static void
em_account_editor_construct(EMAccountEditor *emae, EAccount *account, em_account_editor_t type, char *id)
{
EMAccountEditorPrivate *gui = emae->priv;
int i, index;
@ -2520,26 +2521,10 @@ em_account_editor_construct(EMAccountEditor *emae, EAccount *account, em_account
gui->providers = g_list_sort(camel_provider_list(TRUE), (GCompareFunc)provider_compare);
if (type == EMAE_NOTEBOOK) {
/** @HookPoint-EMConfig: Mail Account Editor
* @Id: org.gnome.evolution.mail.config.accountEditor
* @Type: E_CONFIG_BOOK
* @Class: org.gnome.evolution.mail.config:1.0
* @Target: EMConfigTargetAccount
*
* The account editor window.
*/
ec = em_config_new(E_CONFIG_BOOK, "org.gnome.evolution.mail.config.accountEditor");
ec = em_config_new(E_CONFIG_BOOK, id);
items = emae_editor_items;
} else {
/** @HookPoint-EMConfig: New Mail Account Druid
* @Id: org.gnome.evolution.mail.config.accountDruid
* @Type: E_CONFIG_DRUID
* @Class: org.gnome.evolution.mail.config:1.0
* @Target: EMConfigTargetAccount
*
* The new mail account druid.
*/
ec = em_config_new(E_CONFIG_DRUID, "org.gnome.evolution.mail.config.accountDruid");
ec = em_config_new(E_CONFIG_DRUID, id);
items = emae_druid_items;
}

View File

@ -64,8 +64,7 @@ struct _EMAccountEditorClass {
GType em_account_editor_get_type(void);
void em_account_editor_construct(EMAccountEditor *emae, struct _EAccount *account, em_account_editor_t type);
EMAccountEditor *em_account_editor_new(struct _EAccount *account, em_account_editor_t type);
EMAccountEditor *em_account_editor_new(struct _EAccount *account, em_account_editor_t type, char *id);
gboolean em_account_editor_save (EMAccountEditor *gui);
void em_account_editor_destroy (EMAccountEditor *gui);

View File

@ -145,7 +145,15 @@ account_add_clicked (GtkButton *button, gpointer user_data)
if (prefs->druid == NULL) {
EMAccountEditor *emae;
emae = em_account_editor_new(NULL, EMAE_DRUID);
/** @HookPoint-EMConfig: New Mail Account Druid
* @Id: org.gnome.evolution.mail.config.accountDruid
* @Type: E_CONFIG_DRUID
* @Class: org.gnome.evolution.mail.config:1.0
* @Target: EMConfigTargetAccount
*
* The new mail account druid.
*/
emae = em_account_editor_new(NULL, EMAE_DRUID, "org.gnome.evolution.mail.config.accountDruid");
prefs->druid = emae->editor;
gtk_window_set_transient_for((GtkWindow *)prefs->druid, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)prefs));
@ -187,7 +195,15 @@ account_edit_clicked (GtkButton *button, gpointer user_data)
if (account) {
EMAccountEditor *emae;
emae = em_account_editor_new(account, EMAE_NOTEBOOK);
/** @HookPoint-EMConfig: Mail Account Editor
* @Id: org.gnome.evolution.mail.config.accountEditor
* @Type: E_CONFIG_BOOK
* @Class: org.gnome.evolution.mail.config:1.0
* @Target: EMConfigTargetAccount
*
* The account editor window.
*/
emae = em_account_editor_new(account, EMAE_NOTEBOOK, "org.gnome.evolution.mail.config.accountEditor");
prefs->editor = emae->editor;
gtk_window_set_transient_for((GtkWindow *)prefs->editor, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)prefs));

View File

@ -181,7 +181,7 @@ em_utils_configure_account (GtkWidget *parent)
{
EMAccountEditor *emae;
emae = em_account_editor_new(NULL, EMAE_DRUID);
emae = em_account_editor_new(NULL, EMAE_DRUID, "org.gnome.evolution.mail.config.accountDruid");
if (parent != NULL)
e_dialog_set_transient_for((GtkWindow *)emae->editor, parent);

View File

@ -1,3 +1,7 @@
2005-02-28 JP Rosevear <jpr@novell.com>
* org-gnome-exchange-account-setup.eplug.in: add account wizard item
2005-02-27 Sushma Rai <rsushma@novell.com>
* exchange-account-setup.c (org_gnome_exchange_settings): Storing the

View File

@ -34,6 +34,24 @@
path="10.receive/10.config/20.owa"
factory="org_gnome_exchange_owa_url"/>
</group>
<group
target="account"
id="org.gnome.evolution.mail.config.accountWizard"
check="org_gnome_exchange_check_options">
<item type="item_table"
path="10.receive/10.config/20.owa"
factory="org_gnome_exchange_owa_url"/>
</group>
<group
target="account"
id="org.gnome.evolution.mail.config.accountWizard"
check="org_gnome_exchange_check_options">
<item type="item_table"
path="10.receive/10.config/20.owa"
factory="org_gnome_exchange_owa_url"/>
</group>
</hook>
</e-plugin>

View File

@ -1,3 +1,7 @@
2005-02-23 JP Rosevear <jpr@novell.com>
* org-gnome-gw-account-setup.eplug.in: add account wizard item
2005-02-24 Björn Torkelsson <torkel@acc.umu.se>
* org-gnome-gw-account-setup.eplug.in: Added author and fixed

View File

@ -20,7 +20,12 @@
<item type="item_table" path="20.receive_options/30.soapport/50.dummy" factory="org_gnome_gw_account_setup"/>
</group>
</hook>
<hook class="org.gnome.evolution.mail.config:1.0">
<group target="account" id="org.gnome.evolution.mail.config.accountWizard">
<item type="item_table" path="20.receive_options/30.soapport/50.dummy" factory="org_gnome_gw_account_setup"/>
</group>
</hook>
</e-plugin>
</e-plugin-list>

View File

@ -1,7 +1,7 @@
2005-02-28 JP Rosevear <jpr@novell.com>
* e-shell-window-commands.c (command_submit_bug): update authors
list for about dialogs
list for about dialog
2005-02-21 JP Rosevear <jpr@novell.com>

View File

@ -652,13 +652,6 @@ e_shell_construct (EShell *shell,
e_shell_attempt_upgrade(shell);
#if 0
if (e_shell_startup_wizard_create () == FALSE) {
bonobo_object_unref (BONOBO_OBJECT (shell));
exit (0);
}
#endif
priv->is_initialized = TRUE;
switch (startup_line_mode) {
@ -781,6 +774,7 @@ e_shell_attempt_upgrade (EShell *shell)
int done_upgrade = FALSE;
char *oldpath;
struct stat st;
ESEvent *ese;
gconf_client = gconf_client_get_default();
@ -871,6 +865,16 @@ check_old:
g_free(oldpath);
g_object_unref (gconf_client);
/** @Event: Shell attempted upgrade
* @Id: upgrade.done
* @Target: ESMenuTargetState
*
* This event is emitted whenever the shell successfully attempts an upgrade.
*
*/
ese = es_event_peek();
e_event_emit((EEvent *)ese, "upgrade.done", (EEventTarget *)es_event_target_new_upgrade(ese, cmajor, cminor, crevision));
return TRUE;
}

View File

@ -129,6 +129,18 @@ es_event_target_new_state(ESEvent *eme, int state)
return t;
}
ESEventTargetUpgrade *
es_event_target_new_upgrade(ESEvent *eme, int major, int minor, int revision)
{
ESEventTargetUpgrade *t = e_event_target_new(&eme->event, ES_EVENT_TARGET_UPGRADE, sizeof(*t));
t->major = major;
t->minor = minor;
t->revision = revision;
return t;
}
/* ********************************************************************** */
static void *emeh_parent_class;
@ -142,6 +154,7 @@ static const EEventHookTargetMask emeh_state_masks[] = {
static const EEventHookTargetMap emeh_targets[] = {
{ "state", ES_EVENT_TARGET_STATE, emeh_state_masks },
{ "upgrade", ES_EVENT_TARGET_UPGRADE, NULL },
{ 0 }
};

View File

@ -38,6 +38,7 @@ typedef struct _ESEventClass ESEventClass;
/* Current target description */
enum _es_event_target_t {
ES_EVENT_TARGET_STATE,
ES_EVENT_TARGET_UPGRADE
};
/* Flags that qualify TARGET_STATE */
@ -47,6 +48,7 @@ enum {
};
typedef struct _ESEventTargetState ESEventTargetState;
typedef struct _ESEventTargetUpgrade ESEventTargetUpgrade;
struct _ESEventTargetState {
EEventTarget target;
@ -54,6 +56,14 @@ struct _ESEventTargetState {
int state;
};
struct _ESEventTargetUpgrade {
EEventTarget target;
int major;
int minor;
int revision;
};
typedef struct _EEventItem ESEventItem;
/* The object */
@ -72,6 +82,7 @@ GType es_event_get_type(void);
ESEvent *es_event_peek(void);
ESEventTargetState *es_event_target_new_state(ESEvent *emp, int state);
ESEventTargetUpgrade *es_event_target_new_upgrade(ESEvent *emp, int major, int minor, int revision);
/* ********************************************************************** */