2003-03-04 Mike Kestner <mkestner@ximian.com>
* e-shell-view.c (update_for_current_uri): only set current
folder when the folder_path is different from the current folder.
svn path=/trunk/; revision=20152
* e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
Handle p->data as a GdkAtom instead of a GdkAtom *.
(handle_data_received_non_path): Set the target member of the
corba_data struct to be the name of the atom.
* e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of
the atom instead of the atom itself.
* Evolution-ShellComponentDnd.idl: Changed the type of Data.target
to string.
svn path=/trunk/; revision=20150
2003-02-26 Chris Toshok <toshok@ximian.com>
* e-folder-list.c (e_folder_list_parse_xml): make this more robust
- only assume it's a folderlistitem node if the name of the node
is "folder".
svn path=/trunk/; revision=20079
2003-02-26 Jeffrey Stedfast <fejj@ximian.com>
* e-config-upgrade.c: Change the type of load_http_images to INT
rather than BOOL. Fixes bug #38767.
svn path=/trunk/; revision=20073
* e-shell-startup-wizard.c (start_wizard): New routine to attempt
to start each available startup wizard in priority order, and
return once it has successfully started one. (Allows Connector,
etc, to override the mailer startup wizard.)
(make_corba_dialog_pages): Use it.
svn path=/trunk/; revision=20072
2003-02-26 Not Zed <NotZed@Ximian.com>
* apps_evolution_shell.schemas: Added a key for
/apps/evolution/version - seems the best place to put it. This
should not return any value if unset, so i'm not sure if this is
the right mechanism ...
* e-config-upgrade.c: Upgrade settings from earlier versions of evolution.
* main.c (upgrade_from_1_0_if_needed): Removed.
(main): Call e_config_upgrade before going into gmainloop.
(main): Turn off the --force-upgrade option, since it doesn't work
yet ...
svn path=/trunk/; revision=20068
* Evolution-Wizard.idl: Change this to let the Wizard provide an
array of title/icon/control triplets, instead of just controls, so
the shell doesn't need to know the name of each page a priori.
* glade/evolution-startup-wizard.glade: Remove the mailer-specific
pages, which are now inserted at run time based on info from the
mailer.
* evolution-wizard.c: Update for new idl.
(evolution_wizard_new): Now takes no arguments.
(evolution_wizard_add_page): New function to add page info to the
wizard.
* e-shell-startup-wizard.c: Various renamings to make this
slightly less mailer-centric, though it still explicitly launches
the mailer startup wizard.
(make_corba_page): Replaces make_identity_page, make_receive_page,
etc. Uses the new Wizard idl to generically create a page and
insert it into the druid.
(e_shell_startup_wizard_create): Update
svn path=/trunk/; revision=20053
* e-shell-startup-wizard.c (connect_page, make_importer_page): Use
g_signal_connect_after to connect to the "prepare" signal to work
around a GnomeDruidPageStandard bug (b.g.o 81869)
(e_shell_startup_wizard_create): Remove the "return TRUE" that was
added here a while back to disable the startup wizard.
* glade/evolution-startup-wizard.glade: Change "Next" and "Finish"
in the text to "Forward" and "Apply" to match the gnome 2 druid
buttons.
svn path=/trunk/; revision=20049
2003-02-24 Rodney Dawes <dobey@ximian.com>
* Makefile.am: We don't need e-gray-bar.[ch] anymore
* e-gray-bar.[ch]: Remove these unused files now
* e-shell-folder-title-bar.c: We are themeable now!!!!
Use GtkArrows now instead of pixmaps
Get rid of the hardcoded colors
Add an expose_event to paint a flat box for the background
* e-shell-view.c: Don't need e-gray-bar anymore
svn path=/trunk/; revision=20036
Don't release_unref the corba_uih since
bonobo_ui_component_set_container() takes ownership of the object
without reffing it.
svn path=/trunk/; revision=20032
2003-02-07 Larry Ewing <lewing@ximian.com>
* e-shell-folder-creation-dialog.c
(folder_name_entry_activate_cb): add an activate handler that
returns a response OK if the OK response would be active.
svn path=/trunk/; revision=19852
* e-shortcuts-view.c (class_init): use POINTER_STRING_BOOL for
activate_shortcut.
* e-shell-marshal.list: Added NONE,STRING,BOOL, and
POINTER,STRING,BOOL, removed POINTER,STRING,INT
* evolution-shell-view.c (evolution_shell_view_class_init): Use
STRING_BOOL for the set_message signal to match rest of command.
svn path=/trunk/; revision=19801
2003-02-06 Not Zed <NotZed@Ximian.com>
* e-shell-marshal.list: Added NONE,STRING,STRING,STRING
* evolution-shell-component.c
(evolution_shell_component_class_init): Change the
user_create_new_item marshaller to STRING_STRING_STRING to match
the rest of the call. The 'new' button should work now.
svn path=/trunk/; revision=19799
2003-02-06 Not Zed <NotZed@Ximian.com>
* e-setup.c (copy_default_stuff): We want to copy whats in the
default user dir, not the default user dir.
svn path=/trunk/; revision=19798
2003-02-05 Not Zed <NotZed@Ximian.com>
* e-shell-startup-wizard.c (start_importers): re-enable.
(prepare_importer_page): re-enable importer code.
* e-shell-importer.c (druid_finish_button_change): removed, since
its not such a hack to change anymore. Dunno how to get an icon
on it tho, without a stock button.
(show_import_wizard): Change the apply button to "Import" here.
2003-01-28 Not Zed <NotZed@Ximian.com>
* e-local-storage.c (create_folder_directory): We can't use
pointer arithmetic with g_path_get_*, so adjust code accordingly.
2003-01-16 Not Zed <NotZed@Ximian.com>
* e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook
onto finish instead of next on the last page.
svn path=/trunk/; revision=19753
* Makefile.am ($(SELECT_NAMES_IDL_GENERATED_C)): No need for the
@true command.
($(IDL_GENERATED_C)): Likewise.
(e-shell-marshal.h, e-shell-marshal.c): Use different names for
the .tmp files so these can be generated in parallel.
* importer/Makefile.am (GNOME_Evolution_Importer-impl.o): Remove
unused rule.
($(IDL_GENERATED_C)): Remove useless @true command.
(BUILT_SOURCES): Put the .h generated files in here as well.
svn path=/trunk/; revision=19674
bonobo_activation_server_register() instead of
bonobo_activation_register_active_server() again, since we want to
be able to build against bonobo-activation 2.0 and the latter is
2.2-specific.
(impl_finalize): Likewise, use
bonobo_activation_active_server_unregister() instead of
bonobo_activation_unregister_active_server().
svn path=/trunk/; revision=19668
* e-shell-importer.c (choose_importer_from_list): Set
GTK_RESPONSE_OK as the default response.
* Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED,
-DBONOBO_DISABLE_DEPRECATED.
* e-shortcuts.c (update_shortcut_and_emit_signal): Use
g_signal_emit() instead of gtk_signal_emit().
* e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox
to GtkMessageDialog.
* e-shell.c (get_icon_path_for_component_info): Use
gnome_program_locate_file() instead of gnome_pixmap_file().
(impl_finalize): Use bonobo_activation_unregister_active_server()
instead of bonobo_activation_active_server_register().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().
* e-shell-view-menu.c (command_submit_bug): Use e_notice().
(launch_pilot_settings): Use g_find_program_in_path() instead of
gnome_is_program_in_path().
(command_submit_bug): Likewise.
* e-shell-utils.c (get_icon_path): Use g_file_test() instead of
g_file_exists().
* e-shell-startup-wizard.c (prepare_importer_page): Port from
GnomeMessageBox to GtkMessageDialog.
* e-shell-shared-folder-picker-dialog.c (show_dialog): Update for
GtkDialog.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(create_progress_dialog): Ported to GnomeDialog.
* e-shell-offline-sync.c: Add member parent_window to struct
SyncData.
(e_shell_offline_sync_all_folders): Set it from the parent_window
arg.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(setup_dialog): Create a GtkDialog instead of a GnomeDialog.
(sync_folder): Updated for GtkDialog.
* e-shell-offline-handler.c (dialog_handle_ok): Make it get a
GtkDialog instead of a GnomeDialog.
(dialog_handle_cancel): Likewise.
(dialog_clicked_cb): Removed.
(dialog_response_cb): New.
(pop_up_confirmation_dialog): Connect the new dialog_response_cb()
instead of the old dialog_clicked_cb(). Removed
gnome_dialog_set_default() call.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Make
first arg a GtkDialog, not a GnomeDialog.
* e-shell-folder-commands.c (e_shell_command_delete_folder):
Expect delete_dialog() to return a GtkResponseType.
(delete_dialog): Ported to GtkMessageDialog; Return a
GtkResponseType.
* e-shell-config-default-folders.c
(e_shell_config_default_folders_create_widget): Removed unused
variable.
* e-setup.c (check_evolution_directory): Remove Evolution
directory installation message.
(e_setup): Remove check for the Executive-Summary directory.
* e-local-storage.c (create_folder_directory): Use g_file_test()
instead of g_file_exists().
* evolution-shell-component-utils.c (e_pixmaps_update): Use
g_build_filename() of g_concat_dir_and_file().
* e-folder-dnd-bridge.c (handle_data_received_path): Likewise.
* e-local-folder.c (construct_loading_metadata): Likewise.
(save_metadata): Likewise.
* e-local-storage.c (remove_folder_directory): Likewise.
(append_xfer_item_list): Likewise.
* e-setup.c (check_dir_recur): Likewise.
(e_shell_rm_dir): Likewise.
(setup_bonobo_conf_private_directory): Likewise.
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Likewise.
(e_shell_command_rename_folder): Likewise.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise.
* e-shell-settings-dialog.c (load_pages): Likewise.
* e-shell-utils.c (get_icon_path): Likewise.
* e-shell.c (setup_local_storage): Likewise.
(get_icon_path_for_component_info): Likewise.
(e_shell_construct): Likewise.
* main.c (main): Likewise.
svn path=/trunk/; revision=19658
* evolution-shell-component.c (owner_ping_callback): #if 0'ed out
for now, since it seems to cause trouble for local components.
(setup_owner_pinging): Likewise.
* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Return default_menu_item [instead
of NULL] if there is no view displayed. [#32736]
svn path=/trunk/; revision=19650
* e-shell-view.c (create_label_for_empty_page): Update for new
args to e_clipped_label_new().
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Make the title label bold and larger using the new args to
e_clipped_label_new().
svn path=/trunk/; revision=19592
shortcut bar doesn't update properly.]
* e-shortcuts.c (update_shortcuts_by_path): Use
e_shell_parse_uri() so we handle default shortcuts properly as
well.
(update_shortcut_and_emit_signal): Use shortcut_item_update()
once, and use the return value from it. [Thanks to Leon Zhang
<leon.zhang@sun.com> for pointing out the brokenness of this
code.]
svn path=/trunk/; revision=19585
* Makefile.am: Install the shell executable as
evolution-$(BASE_VERSION) using an install-exec-local hack. Also
put libeshell in $(privlibdir) instead of $(libdir).
(eshellincludedir): Version using $(BASE_VERSION).
(INCLUDES): Update for the new locations of things.
(etspecdir): Likewise.
* e-shell-view.c (e_shell_view_construct): Get evolution.xml from
EVOLUTION_UIDIR.
* importer/Makefile.am: Install libevolution-importer in
$(privlibdir) instead of $(libdir).
(INCLUDES): Updated for the new versioned paths. Define
EVOLUTION_UIDIR.
(libevolution_importerincludedir): Version using $(BASE_VERSION).
(gladedir): Likewise.
* glade/Makefile.am (gladedir): Version using $(BASE_VERSION).
* e-setup.c (DEFAULT_USER_PATH): New #define.
(check_evolution_directory): Use it.
(copy_default_stuff): Likewise. Also, remove old shortcuts.xml
removal cruft.
svn path=/trunk/; revision=19565
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog
New/Cancel/OK to match HIG.
* glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK
buttons to match HIG.
* e-shell-importer.c (choose_importer_from_list): Make dialog
Cancel/OK to match HIG.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK
to match HIG.
svn path=/trunk/; revision=19465