* 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
2004-02-04 Not Zed <NotZed@Ximian.com>
** See bug #53683.
* Evolution-Component.idl: added EvolutionComponent::quit() call.
* main.c (quit_box_new): removed, dont show quit box anymore at
the end, we've already shutdown by now with the new shutdown
sequence.
* e-shell-window-commands.c (command_quit): call e_shell_quit to
quit.
* e-shell.c (e_shell_prepare_for_quit): renamed es_run_quit, now
internal, and a gtktimeout function, so return code inverted.
(e_shell_quit): new public entry, find out if we can shutdown, if
so, then trigger a shutdown.
(e_shell_request_close_window): just call e_shell_quit to exit
when we've run out of windows.
(e_shell_quit): desensitise all of the app windows before running
shutdown. looks a bit weird, but not doing so looks worse.
svn path=/trunk/; revision=24609
* e-activity-handler.c:
* e-activity-handler.h:
* e-task-bar.c:
* e-task-bar.h:
* e-task-widget.c:
* e-task-widget.h: Moved to misc/widgets since they depend on
libemiscwidgets now, and aren't actually used by the shell itself.
* Makefile.am (eshell_HEADERS, libeshell_la_SOURCES): Update
svn path=/trunk/; revision=24590
2004-01-28 JP Rosevear <jpr@ximian.com>
* main.c (kill_dataserver): g_message this
(destroy_config): remove the various pieces to create a cleanish
state for re-migrating from 1.4.x
(main): add --force-migrate option when in development mode
svn path=/trunk/; revision=24504
2004-01-28 Rodney Dawes <dobey@ximian.com>
* e-task-bar.c (init): First argument to gtk_hbox_new () is a boolean,
not an int, don't show the hbox for activities by default
(e_task_bar_prepend_task): Show the hbox for activities when we add
tasks to the taskbar
(e_task_bar_remove_task): If we have no tasks left to display, don't
show the empty hbox
svn path=/trunk/; revision=24500
2004-01-27 Rodney Dawes <dobey@ximian.com>
* e-task-bar.c (init): Expand the label, this fixes the problem
that people were having in the shell window with the preview pane
and the weird warning from ECLippedLabel for urls
Fixes#52937 for good
svn path=/trunk/; revision=24484
2004-01-26 David Trowbridge <trowbrds@cs.colorado.edu>
* Makefile.am: add definition for EVOLUTION_HELPDIR
* e-shell-window-commands.c: add handling for new "Quick
Reference" menu
svn path=/trunk/; revision=24472
2004-01-21 Not Zed <NotZed@Ximian.com>
* e-shell.c (attempt_upgrade, detect_version, e_shell_construct):
attempt the upgrade before trying to startup the wizard.
* main.c (detect_version, attempt_upgrade): move to e-shell.c
(idle_cb): remove call to attempt_upgrade.
svn path=/trunk/; revision=24461