2006-09-28 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #343331
* e-shell-window.c: (impl_dispose): Remove the timer which seem to get
activated after we destroy.
svn path=/trunk/; revision=32817
2006-08-23 Daniel Gryniewicz <dang@gentoo.org>
* e-shell-window.c:
Make sure default window sizes are positive numbers.
Fixes bug 349967. Committed by Andre Klapper.
svn path=/trunk/; revision=32640
2006-07-27 Bastien Nocera <hadess@hadess.net>
* e-shell-nm-glib.c: (e_shell_glib_network_monitor),
(e_shell_nm_glib_initialise), (e_shell_nm_glib_dispose):
* e-shell-nm.c: (e_shell_dbus_dispose):
* e-shell-window.c: (impl_dispose): Fix warnings at build-time, and
clean up the connections to the D-Bus on exit (Closes: #332387)
svn path=/trunk/; revision=32425
2006-07-07 Li Yuan <li.yuan@sun.com>
* e-shell-window.c: (setup_widgets):
Fix for #346613.
Fix the problem pointed out by Johnny <jjohnny@novell.com>.
When maximize Evolution, close and start Evolution sometimes,
the sidebar grows towards right. Set the view_notebook can be expanded
when the paned widget is resized.
svn path=/trunk/; revision=32246
2006-07-05 Li Yuan <li.yuan@sun.com>
* e-shell-window.c: (setup_widgets):
Fix for #346613.
Make the view_notebook cannot be resized shorter than its need.
svn path=/trunk/; revision=32237
2006-04-28 Sven Herzberg <herzi@gnome-de.org>
reviewed by: Srinivasa Ragavan
* shell/apps_evolution_shell.schemas.in.in: added boolean key for the
maximized state of the window
* shell/e-shell-window.c: added window state saving and updated window
size saving to work as expected (fixes bug 243962)
svn path=/trunk/; revision=31926
2005-12-22 Shreyas Srinivasan <sshreyas@novell.com>
* Evolution is now Network Aware, the day of complete
awareness beckons, The machines are taking over...
* Network Manager support for evolution
svn path=/trunk/; revision=30926
2005-12-17 Tor Lillqvist <tml@novell.com>
* e-config-upgrade.c: Use libedataserver's e_xml_parse_file()
instead of xmlParseFile() directly.
* e-shell.c
* e-shell-importer.c: Use GLib API when applicable.
* e-shell-importer.c
* e-shell-window.c: Construct pathname of glade file at run-time.
* e-shell-window-commands.c: Include e-util-private.h for Win32
redefinition of EVOLUTION_DATADIR.
* main.c: No SIGSEGV handling on Win32.
(main): Drop unused evolution_directory variable.
svn path=/trunk/; revision=30849
2005-12-12 David Malcolm <dmalcolm@redhat.com>
* e-shell-window.c (setup_widgets): escape the string when generating
XML UI description of component switcher menu item, to avoid it being
non-well-formed when a translation contains a quote character. Fixes
#322001
svn path=/trunk/; revision=30760
2005-09-23 S.Antony Vincent Pandian <santony@gmail.com>
* Have added the "View Status Bar" under the "View" menu
This is a toggle button to hide/show the status bar
svn path=/trunk/; revision=30371
2005-08-10 Tor Lillqvist <tml@novell.com>
* Makefile.am: Use privsolib instead of privlib. Link with
SHELL_LIBS. Use NO_UNDEFINED. Use EXEEXT. Use hack to workaround
MSYS feature on Win32 when installing the schemas.
(INCLUDES): Define EVOLUTION_IMAGESDIR like in
../e-util/e-util-private.h, not EVOLUTION_IMAGES.
(idl_defines): Pass marker macro to IDL compiler, see below.
* Evolution-Component.idl: Don't generate duplicate code in skels
and stubs when including this file from other idl files (in
particular, ../mail/Evolution-Mail.idl). Use the include_defs and
inhibit pragmas unless IDL-compiling in this directory. See
lists.ximian.com/pipermail/evolution-patches/2005-June/010899.html
* e-shell-utils.c
* e-shell-windows.c: Ue EVOLUTION_IMAGESDIR in such a way that it
works even when it is a function call.
svn path=/trunk/; revision=30075
2005-07-21 Sarfraaz Ahmed <asarfraaz@novell.com>
* e-component-registry.c (query_components): Dont enter default values
for button label and menu label
* e-shell-window.c (setup_widgets): Dont add the sidebar button when
there is no label.
svn path=/trunk/; revision=29883
2005-07-21 Not Zed <NotZed@Ximian.com>
* e-shell-window-commands.c: fix the pixmap location for the
settings menu.
* e-shell-window.c (setup_widgets): reverted dobey's patch to put
the components in the useless tools window.
svn path=/trunk/; revision=29827
2005-05-13 Rodney Dawes <dobey@novell.com>
* plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets
disted properly
2005-05-13 Rodney Dawes <dobey@novell.com>
* Makefile.am: Add new em-folder-utils.[ch] abstraction
* em-folder-browser.c: Update for new menu layout
Add new methods to handle the actions that were previously only
available from the context menu when right-clicking on a folder
* em-folder-selector.c (emfs_response): Just call emfu_folder_create
if the user wants to create a new folder in the selector dialog
(em_folder_selector_get_selected_path): Clean up the code to fix a
couple potential crashes
* em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or
CamelFolderInfo object for the selected item in the tree
Add a method to get a pointer to an EMFolderTreeModelStoreInfo object
for the selected store in the tree
Move folder operations out into em-folder-utils.[ch] so that they
are abstracted from the tree and can be used by methods other than
the internal context menu
* em-folder-utils.[ch]: Move the folder operations code to here
* em-folder-view.c: Update for the new menu layout
Fix Mark as Read/Unread in the context menu to only show up in the list
* mail-component.c (create_item): Just call emfu_folder_create here
when the user requests to create a new folder from the New toolbar item
2005-05-13 Rodney Dawes <dobey@novell.com>
* org-gnome-mailing-list-actions.xml: Update for the new menu layout
2005-05-13 Rodney Dawes <dobey@novell.com>
* org-gnome-plugin-manager.xml: Update for new menu layout
2005-05-13 Rodney Dawes <dobey@novell.com>
* org-gnome-save-attachments.xml: Update for new menu layout
2005-05-13 Rodney Dawes <dobey@novell.com>
* e-shell-window.c (setup_widgets): Update for the new menu layout by
putting the "component" switching items under the "Tools" menu
2005-05-13 Rodney Dawes <dobey@novell.com>
* *.xml: Update to the new menu layout
2005-05-13 Rodney Dawes <dobey@novell.com>
* e-filter-bar.[ch]: Update for the new menu layout
svn path=/trunk/; revision=29354
2005-02-23 JP Rosevear <jpr@novell.com>
Fixes#33287
* e-shell-window.c (e_shell_window_new): set the send/receive
sensitivity when we first start up
svn path=/trunk/; revision=28877
2005-02-22 William Jon McCann <mccann@jhu.edu>
* e-shell-window.c (setup_offline_toggle): Make offline button scale
with font size. Fixes#48868.
svn path=/trunk/; revision=28849
2005-01-04 JP Rosevear <jpr@novell.com>
* e-sidebar.h: new protos, modes
* e-sidebar.c: handle 2 more modes, text only and toolbar style;
allow visibility to be set for the buttons
* e-shell-window.h: new proto
* e-shell-window.c (setup_widgets): set the sidebar setting and
visibility based on stored gconf settings
(e_shell_window_save_defaults): save the current sidebar setting
visibility
(e_shell_window_peek_sidebar): return the sidebar
* e-shell-window-commands.c (e_shell_window_commands_setup): add
listeners for each of the component button radio items and for the
hide toggle
(view_buttons_icontext_item_toggled_handler): listener callback,
set mode
(view_buttons_icon_item_toggled_handler): ditto
(view_buttons_text_item_toggled_handler): ditto
(view_buttons_toolbar_item_toggled_handler): ditto
(view_buttons_hide_item_toggled_handler): listener callback, set
visibility
* apps_evolution_shell.schemas.in.in: add component button style
and visibility defaults
svn path=/trunk/; revision=28239
2004-10-25 Not Zed <NotZed@Ximian.com>
* main.c (main): register event hook.
* e-shell.c (offline_procedure_finished_cb, e_shell_go_online):
emit new state changed event.
* main.c (main): register the menu hook.
(): only define DEVELOPMENT if not already.
* e-shell-window.c (init): setup menu manager.
(e_shell_window_new): activate menu manager.
(update_offline_toggle_status): update the menu manager when the
offline state changes (currently only state which requires it)
* es-menu.[ch]: Shell plugin menu manager.
svn path=/trunk/; revision=27712
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-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-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-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-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
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
* 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-01-26 Rodney Dawes <dobey@ximian.com>
* e-shell-window.c (setup_widgets): Add panded widget to
EShellWindowPrivate and handle state saving of position (#52049)
* e-task-bar.c (init): Switch to EClippedLabel instead of GtkLabel
for the status bar text (#52937)
Fixes#52049 and #52937
svn path=/trunk/; revision=24448
* mail-component.c (struct _MailComponentPrivate): New member
activity_handler.
(mail_component_init): Initialize.
(impl_dispose): Unref.
(mail_component_peek_activity_handler): New.
(impl_createControls): Create an ETaskBar, attach it to the
ActivityHandler, and return it to the caller as the statusbar
control.
* e-activity-handler.c (e_activity_handler_operation_finished):
Argh, renamed from e_activity_client_operation_finished().
(e_activity_handler_operation_started): Don't unref the pixbuf.
* e-shell-window.c (setup_widgets): Hide the menu hint label.
* e-activity-handler.c (init): Init to next_activity_id to 1 so
callers can rely on it being nonzero.
svn path=/trunk/; revision=23556
* gui/component/addressbook-component.c (impl_createControls):
Pass a label for the status bar control for now.
* gui/calendar-component.c (impl_createControls): Pass a label for
the status bar control for now.
* gui/tasks-component.c (impl_createControls): Pass a label for
the status bar control for now.
* mail-component.c (impl_createControls): Pass a label for the
status bar control for now.
* e-shell.c (struct _EShellPrivate): Remove member
activity_handler.
(setup_activity_interface): Remove.
(e_shell_init): Don't call.
(create_window): Don't attach the task bar to the activity
handler.
* e-shell-window.c (struct _ComponentView): New member
statusbar_widget.
(struct _EShellWindowPrivate): Remove member task_bar.
(init_view): Get the status bar control from createControls and
put it in the ComponentView struct.
(setup_task_bar): New.
(setup_statusbar_notebook): New.
(switch_view): Switch the statusbar notebook too.
(impl_dispose): Add missing GTK_OBJECT() cast.
(e_shell_window_peek_task_bar): Remove.
* Evolution-Component.idl (Component::createControls): New out arg
"statusbar_control"; this way components can provide their own
status bar.
* e-activity-handler.c, e-activity-handler.h: Turn into a plain
GObject; translate all the CORBA methods into plain C methods.
* Makefile.am: Move e-activity-handler to libeshell instead of it
being in the shell.
svn path=/trunk/; revision=23555