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
* e-user-creatable-items-handler.c: Change this a lot. Now each
component will maintain its own EUserCreatableItemsHandler and
merge the button and menus in and out of the UI as its controls
are activated and deactivated. (This lets the connector component
display the correct default for the New button). Also, update to
the Product Design Team's new organization (separating object
types from folder types)
* e-shell.c: Remove all creatable_items_handler references
* e-shell-window.c (e_shell_window_new): Remove
creatable_items_handler reference
* Makefile.am: Move e-user-creatable-items-handler from evolution
to libeshell, and make libeshell depend on libemiscwidgets (for
the combo button)
* Evolution-Component.idl: add another field to CreatableItemType
so we can distinguish object types from folder types.
svn path=/trunk/; revision=25379
2004-04-07 Jeffrey Stedfast <fejj@ximian.com>
* Evolution-ConfigControl.idl: Removed the "apply" method.
* e-corba-config-page.c: We can probably remove this entire file,
it seems pretty useless. But until I know for sure, I guess I
won't bother.
(impl_apply): Removed, no longer a valid interface.
(listener_event_callback): Huh? calls a non-existant function if
the event name was "changed". Uhm, yea...ok. Removed.
(setup_listener): Removed. Did nothing but to setup the above
listener.
* evolution-config-control.c: No longer needs to keep 'changed'
state.
(evolution_config_control_changed): Removed.
(impl_apply): Removed. No lonegr a valid interface.
svn path=/trunk/; revision=25361
2004-03-31 Rodney Dawes <dobey@ximian.com>
* e-shell-importer.c (choose_importer_from_list):
(start_import):
(prepare_intelligent_page): Remove dialog separators
* e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the
border with of the dialog's vbox and action area to be HIG-compliant
* e-shell-settings-dialog.c (init): Remove the dialog separator
* e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog
separator to be more HIG-compliant
(key_press_event_callback): Fix compile warnings and cast to the
correct widget types for calling various gtk api
Remove the dialog separator to be more HIG-compliant
* main.c (show_development_warning): Make the devel warning dialog
that pops up for unstable versions be HIG-compliant
* glade/e-active-connection-dialog.glade: Make the active connection
dialog for going off-line be HIG-compliant
* importer/intelligent.c (create_gui): Remove the dialog separator
and set the dialog's vbox and action area border widths to be more
compliant with the HIG
svn path=/trunk/; revision=25267
2004-03-26 Rodney Dawes <dobey@ximian.com>
* e-shell-settings-dialog.c (impl_realize): We don't need this really
(class_init): We don't need to have our own realize impl for setting
the default window size of the dialog, especially since we are setting
the size before we actually get realized, anyway
(init): Set the dialog size here, and don't set the border width of the
dialog
2004-03-26 Rodney Dawes <dobey@ximian.com>
* e-multi-config-dialog.c (init): Remove the dialog separator
Set the border widths of the dialog's vbox and action area to be more
HIG-compliant
Set the border width of the dialog's child to 12 for HIG-compliance
svn path=/trunk/; revision=25197
2004-03-18 Not Zed <NotZed@Ximian.com>
* e-shell-about-box.c: added (c) symbol and 2004 and changed to
Novell to the copyright notice in the about box.
svn path=/trunk/; revision=25108
2004-03-12 Not Zed <NotZed@Ximian.com>
* e-shell.c (detect_version): when we check the evolution dir
exists, check the evolution dir exists, not the config.xmldb file.
Move filename building/usage into the else condition so it can't
happen again. Fixes#53277.
svn path=/trunk/; revision=25040
2004-03-10 Bill Zhu <bill.zhu@sun.com>
* e-shell-startup-wizzard.c (key_press_event_callback): Used the
stock
icon in confirm dialog.
Fixes#55063
svn path=/trunk/; revision=25008
2004-03-06 Pratik V. Parikh <pratikvp@despammed.com>
* e-shell-window-commands.c (command_quick_reference): Check that
app is not NULL before trying to open the quickref document.
Fixes#55106
svn path=/trunk/; revision=24989
2004-02-18 Not Zed <NotZed@Ximian.com>
* e-shell-offline-handler.c (prepare_for_offline): remove id, and
use info->id for create_progress_listener. Fixes#53649.
svn path=/trunk/; revision=24766
2004-02-06 JP Rosevear <jpr@ximian.com>
* importer/intelligent.c (get_intelligent_importers): use base
version for importers
svn path=/trunk/; revision=24665
2004-02-06 Rodney Dawes <dobey@ximian.com>
* e-shell-window-commands.c (command_quick_reference): Really make
this work with gnome-vfs 2.2, instead of using gnome-vfs 2.4 api,
fixes#53566 more completely so snapshots can build again (doh)
svn path=/trunk/; revision=24650
2004-02-05 Rodney Dawes <dobey@ximian.com>
* e-shell-window-commands.c (command_quick_reference): Use gnome-vfs
directly, instead of relying on gnome_url_show (), to launch the
application for the quick reference, since we can run on gnome 2.2
mostly, and gnome_url_show () only handles the uri method there
Fixes#53566
svn path=/trunk/; revision=24640
2004-02-04 JP Rosevear <jpr@ximian.com>
* e-shell-importer.c (start_import): pass in a parent for the
dialogs, use e_notice
(import_druid_finish): we carry the filename around with us now
(next_file_page): check the file here and store the name; put up
gui dialogs
(e_shell_importer_start_import): set the druid as a transient for
the shell
svn path=/trunk/; revision=24624
2004-02-04 JP Rosevear <jpr@ximian.com>
* importer/import.glade: add extra page
* importer/evolution-importer.h: update protos
* importer/evolution-importer.c: hold the createControl function
(impl_GNOME_Evolution_Importer_createControl): implement
(impl_GNOME_Evolution_Importer_loadFile): remove dead args
* importer/evolution-importer-client.h: update/add protos
* importer/evolution-importer-client.c
(evolution_importer_client_create_control): wrapper
(evolution_importer_client_load_file): we don't take physical_uri
and folder_type as args any more
* importer/GNOME_Evolution_Importer.idl: add createControl method
and remove extraneous loadFile args
* e-shell-window-commands.c (command_import): uncomment
* e-shell-importer.h: update proto
* e-shell-importer.c: remove DEPRECATED hack and tidy includes
(get_iid_for_filetype): use query define
(start_import): we don't take a file name and client directly now
(create_plugin_menu): user query define
(importer_dest_page_new): create vbox
(import_druid_finish): we no longer do folder selection here
(next_file_page): create the client here
(prepare_dest_page): show the importer control
(next_dest_page): skip to the finish
(back_finish_page): back to the destination page
(e_shell_importer_start_import): set up the destination page
* Makefile.am: build import files again
svn path=/trunk/; revision=24619