* e-shell-startup-wizard.c: (prepare_importer_page):
don't call gtk_dialog_set_has_separator
on Message Dialog on GTK+ >= 2.4.0 (output warning)
* e-shell-importer.c: (e_shell_importer_start_import):
Initialize data->finish before using it
(prepare_intelligent_page): don't call gtk_dialog_set_has_separator
on Message Dialog on GTK+ >= 2.4.0 (output warning)
(start_import) (next_file_page): convert filename from UTF-8 to
local encoding.
svn path=/trunk/; revision=27020
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* e-shell-importer.c: added the "use_filechooser" property to the
GnomeFileEntry
svn path=/trunk/; revision=26894
* apps_evolution_shell.schemas.in.in: added last_version item.
* shell-errors.xml: added upgrade-remove-1-4 and
upgrade-remove-1-4-confirm dialogues.
* e-shell.c (remove_dir): utility to recursively delete a tree of
files and folders.
(e_shell_attempt_upgrade): keep track of the last upgraded
version, if != current version, and < 1.5, and it exists, offer to
remove ~/evolution. Confirm the offer before actually doing it.
* e-shell-window-commands.c: include gnome-about.
(command_help_faq): fix comment structure
* e-shell.c (attempt_upgrade): moved most of this into
e_shell_attempt_upgrade.
(e_shell_attempt_upgrade): moved most of this into
attempt_upgrade, removed rev args. It makes sense, really!
(e_shell_construct): call e_shell_attempt_upgrade instead.
svn path=/trunk/; revision=26788
2004-07-22 Not Zed <NotZed@Ximian.com>
* e-shell.c (create_window): merged this into
e_shell_create_window, all it was doing was adding a stack frame.
(e_shell_create_window): setup the e error default window.
svn path=/trunk/; revision=26729
2004-06-24 Not Zed <NotZed@Ximian.com>
** See bug #57367.
* e-shell-window.c (e_shell_window_new): fix gconf client leak and
clean up some logic.
* e-shell.c (e_shell_construct): dont activate the components
individually, component registry does that implictly.
* e-component-registry.c (init): dont call query_components here.
(query_components): setup a run-once guard. before adding a
component info to the list, make sure we can activate it.
(component_info_new): take the interface as a construct argument
now.
(e_component_registry_peek_list): perform the component list query
if we haven't already.
(e_component_registry_peek_info): same.
(e_component_registry_activate): just always return
the reffed component, it isn't added unless it was already activated.
svn path=/trunk/; revision=26490
2004-06-18 Radek Doulik <rodo@ximian.com>
* main.c (main): test for skip_warning_dialog value in gconf here
and not in show_development_warning, otherwise we don't add or
call idle_cb and evo will not run
(show_development_warning): do not read skip_warning_dialog here
svn path=/trunk/; revision=26423
2004-06-18 Not Zed <NotZed@Ximian.com>
** See bug #54498.
* main.c (idle_cb): don't do dev warning stuff here anymore.
* main.c (main): show the dev warning before doing anything else
if we are going to.
(warning_dialog_response_callback): kick off the actual
application once we're finished.
(window_map_callback, new_window_created_callback): removed, not
needed anymore.
svn path=/trunk/; revision=26412
2004-06-01 William Jon McCann <mccann@jhu.edu>
* e-shell-window-commands.c (e_shell_window_commands_setup):
Add listener for the ViewToolbar command.
(view_toolbar_item_toggled_handler):
New function to handle toggling toolbar visibility and saving state.
* e-shell-window.c (e_shell_window_save_defaults):
Save the status of the toolbar visibility.
(setup_widgets): Set initial state of toolbar visibility.
* apps_evolution_shell.schemas.in.in: Added schema for toolbar_visible.
svn path=/trunk/; revision=26157
2004-06-01 Christophe Fergeau <teuf@gnome.org>
* e-shell-importer.c: sort the various available importer plugins by
name in the importer druid combo box so that the list doesn't change
from one evolution run to another.
svn path=/trunk/; revision=26148
2004-05-27 Not Zed <NotZed@Ximian.com>
** See #58827.
* e-shell-window.c (switch_view): api change
* e-shell.c (impl_Shell_handleURI): Fixed for api change.
(impl_Shell_handleURI): check the component alias for an alternate
uri schema path. 'quick hack' for activating components from
command line. This may, or may not, continue to function.
* e-component-registry.c (e_component_registry_peek_info): added
an id for search type.
(e_component_registry_peek_info_for_uri_schema): ^ makes this
redundant, removed.
(e_component_registry_activate): fixed for api change.
svn path=/trunk/; revision=26137
2004-05-28 Rodney Dawes <dobey@novell.com>
* e-shell-importer.c (e_shell_importer_start_import):
Set the default window size for the druid to 480x320
svn path=/trunk/; revision=26127
2004-05-27 Rodney Dawes <dobey@novell.com>
* Makefile.am (EXTRA_DIST): Don't dist $(error_i18n) as it requires
e-error-tool to be built
* shell-errors.xml.(h|in): Remove these from CVS, the .in is not used
any more, and the .h is generated from the .xml
svn path=/trunk/; revision=26111
2004-05-26 Sarfraaz Ahmed <asarfraaz@novell.com>
* e-shell.c (set_interactive): Implemented. Sends the "interactive"
message when the first window is created to all the components.
svn path=/trunk/; revision=26098
2004-05-26 Not Zed <NotZed@Ximian.com>
* importer/evolution-importer.c
(impl_GNOME_Evolution_Importer_createControl): set exception if not
implemented.
* e-shell-importer.c (importer_file_page_new): set the entry to
activate default, and fixed the _Filename and _Forward shortcut
clash. #58081.
(prepare_dest_page): pack the widget without expand/fill.
svn path=/trunk/; revision=26088
2004-05-19 Not Zed <NotZed@Ximian.com>
* e-shell-window.c (setup_widgets): use the menu icon not the
button icon for the menus.
(setup_widgets): fixed some i18n stuff with the menu xml. no use
putting _x stuff here, it also needs a source. And a memleak.
Yucko.
* e-component-registry.c (component_info_new): take menu icon.
(query_components): setup the menu icon, not a large toolbar sized
icon.
* e-shell-window.c (menu_component_selected): just use '-' as
ascii, its always going to be hte same in utf8. simplifies the
code somewhat.
2004-05-05 William Jon McCann <mccann@jhu.edu>
* e-shell-window.c (menu_component_selected, setup_widgets):
Add components to View menu.
* e-component-registry.[ch] (component_info_new)
(component_info_free, query_components): Add menu_label and
menu_accelerator fields.
svn path=/trunk/; revision=25972
2004-05-18 Not Zed <NotZed@Ximian.com>
* shell-errors.xml: added noshell and noshell-reason error
strings. the latter seems a waste, but ...
* main.c (idle_cb): use e_error for the new no shell errors.
svn path=/trunk/; revision=25946
2004-05-12 Not Zed <NotZed@Ximian.com>
* shell-errors.xml.h: add for translators.
2004-05-11 Not Zed <NotZed@Ximian.com>
* shell-errors.xml: Shell errors.
* e-shell.c (e_shell_attempt_upgrade): handle exceptions better.
allow the user to keep going or abort. stop as soon as something
fails. Related to #53083.
(attempt_upgrade): abort and quit if the subcall failed. it will
display an appropriate error box.
(attempt_upgrade): abort if we don't have enough space. #57290.
* Evolution-Component.idl (upgradeFromVersion): remove the return
code, use exceptions to indicate failure.
svn path=/trunk/; revision=25869
2004-05-10 JP Rosevear <jpr@ximian.com>
* main.c (show_development_warning): set title to just Evolution
(show_development_warning): ditto for warning
(idle_cb): ditto for title
* e-shell-window.c (update_offline_toggle_status): set tooltip to
just Evolution
(e_shell_window_new): ditto for window title
* e-shell-window-commands.c (command_about_box): set title to
just Evolution
svn path=/trunk/; revision=25835
* e-sidebar.c (layout_buttons): Change the algorithm so that if
the buttons can't be laid out perfectly rectangularly, then the
extra space is given to the first button (ie, Mail), rather than
the last button (eg, Connector). Also, merge the icons-only and
icons-plus-text layout code together since they were nearly
identical.
(e_sidebar_add_button, e_sidebar_set_mode): Tweak things a bit so
that in icons-only mode, the icons are centered in the buttons.
svn path=/trunk/; revision=25807
* e-shell-window-commands.c (command_quit): Don't save window
state here.
* e-shell.c (e_shell_quit): Do it here, so it gets called if you
quit by closing the last window via its close button too. #57529
svn path=/trunk/; revision=25723
2004-04-30 Not Zed <NotZed@Ximian.com>
* e-component-registry.c (query_components): do the same as below.
* e-shell-settings-dialog.c (load_pages): use
gnome_i18n_get_language_list instead of e_get_language_list(), and
use the right locale option. Fixes#53398.
svn path=/trunk/; revision=25700
2004-04-28 Rodney Dawes <dobey@ximian.com>
* main.c (main): Call gnome_program_init with PACKAGE "-" BASE_VERSION
so that we start up the right version of evolution when we get killed
by logout or whatever
Fixes#54087
svn path=/trunk/; revision=25673