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
2004-04-23 JP Rosevear <jpr@ximian.com>
* e-shell-window.c (e_shell_window_show_settings): if there is a
current view, use the component alias to select a sensible default
config control
svn path=/trunk/; revision=25600
2004-04-22 Trent Lloyd <lathiat@bur.st>
* e-sidebar.c (do_layout_text_buttons): take into account the position
of the sidebar which isnt on the very left in right to left languages,
otherwise the buttons are drawn in the wrong place.
svn path=/trunk/; revision=25582
2004-04-21 Not Zed <NotZed@Ximian.com>
* e-user-creatable-items-handler.c (execute_verb): if we're
running a local create, invoke that directly via the callback.
(e_user_creatable_items_handler_new): add a callback for creating
local items.
svn path=/trunk/; revision=25544
2004-04-19 Michael Terry <mike@mterry.name>
* GNOME_Evolution_Test.server.in.in: Change component icons to use the
icon theme names for icons
* Makefile.am: Remove e-icon-factory.[ch]
* e-component-registry.c: Use the icon theme for component icons
* e-icon-factory.[ch]: Removed these files
* e-shell-importer.c:
* e-shell-settings-dialog.c:
* e-shell-startup-wizard.c:
* e-shell-window-commands.c:
* e-user-creatable-items-handler.c:
* evolution-shell-component-utils.[ch]:
* main.c:
* glade/evolution-startup-wizard.glade:
* importer/import.glade: Use the icon theme via EIconFactory for all
of the icons in the shell, and the window icons
svn path=/trunk/; revision=25512
2004-04-14 JP Rosevear <jpr@ximian.com>
* e-shell-importer.c (get_iid_for_filetype): differentiate between
user cancellation and no importer
(next_file_page): don't throw up a dialog if the user cancelled
the selection process
svn path=/trunk/; revision=25461
2004-04-13 Not Zed <NotZed@Ximian.com>
* e-user-creatable-items-handler.c (create_verb): add a component
name argument, so we don't use 'this_component', and everything
comes from tasks! Fix callers to pass the component alias.
(struct _EUserCreatableItemsHandlerPrivate): change
default_menu_item to be fallback_menu_item for the mail message
new fallback. Make default_menu_item be the default for the view
(which some code seems to think it should be). Fixes#56866.
(ensure_menu_items): setup the fallback_menu_item here.
(get_default_action_for_view): use the fallback as the fallback,
not default.
(setup_toolbar_button): set the default menu item here for the
current view.
svn path=/trunk/; revision=25429
2004-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-shell.c (e_shell_attempt_upgrade): Don't activate the
components here.
(e_shell_construct): Activate them all here instead (before we
attempt to upgrade). Fixes a bug where the shell would start up in
online mode but never notify the components to go online.
* main.c (idle_cb): s/Cannot access/Cannot register/
svn path=/trunk/; revision=25405
2004-04-09 Chris Toshok <toshok@ximian.com>
* e-shell.c (e_shell_attempt_upgrade): make sure the component is
activated before calling upgradeFromVersion.
svn path=/trunk/; revision=25400
2004-04-09 Chris Toshok <toshok@ximian.com>
* e-shell.c (e_shell_attempt_upgrade): use BASE_VERSION to supply
the major/minor version, and use UPGRADE_REVISION for the
revision.
(attempt_upgrade): store the key based on BASE_VERSION and
UPGRADE_REVISION.
svn path=/trunk/; revision=25386