aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
Commit message (Collapse)AuthorAgeFilesLines
* ** Fixes bug #492058Damien Carbery2007-11-031-19/+19
| | | | | | | | | | | | | | | | 2007-11-02 Damien Carbery <damien.carbery@sun.com> ** Fixes bug #492058 * shell/e-shell-window.c: * shell/e-shell.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-item.c: * calendar/gui/e-itip-control.c: Name the anonymous unions to build with the Sun Studio compiler. svn path=/trunk/; revision=34485
* Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guintKjartan Maraas2007-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: (query_components): * e-component-view.c: (e_component_view_new), (e_component_view_new_controls), (e_component_view_set_title), (e_component_view_set_button_icon): * e-config-upgrade.c: * e-shell-settings-dialog.c: (e_shell_settings_dialog_new): * e-shell-window.c: (component_view_free): * es-event.c: (es_event_peek): * es-menu.c: (es_menu_new): * importer/evolution-importer-client.c: (evolution_importer_client_create_control): Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guint for 1-bit bitfields svn path=/trunk/; revision=34430
* ** Fix for bug #329823Milan Crha2007-10-111-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #329823 * Evolution-Shell.idl: (setButtonIcon): * e-sidebar.h: (e_sidebar_change_button_icon): * e-sidebar.c: (struct Button), (button_new), (button_free), (e_sidebar_change_button_icon): * e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window): * e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window): * e-component-view.h: (e_component_view_set_button_icon): * e-component-view.c: (e_component_view_set_button_icon): * e-shell-window.h: (e_shell_window_change_component_button_icon): * e-shell-window.c: (e_shell_window_change_component_button_icon): * e-shell-view.c: (struct change_icon_struct), (change_button_icon_func), (impl_ShellView_setButtonIcon), (e_shell_view_class_init): Added support to change component's button icon. * mail-component.h: (mail_indicate_new_mail): * mail-component.c: (mail_indicate_new_mail), (struct _MailComponentPrivate), (impl_dispose), (impl_createView): New function to indicate new mails on sidebar's button and storing component_view in priv struct for later use. * em-folder-view.c: (emfv_list_done_message_selected): * mail-folder-cache.c: (real_flush_updates): Indicate changes like for plugins for new mails. svn path=/trunk/; revision=34374
* ** Fixes bug #437579Matthew Barnes2007-10-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-281-1/+1
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-8/+7
| | | | svn path=/trunk/; revision=34159
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Plugged memory leaks.Hiroyuki Ikezoe2007-07-261-1/+4
| | | | | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-shell-window-command.c: (view_statusbar_item_toggled_handler), (view_sidebar_item_toggled_handler): * e-shell-window.c: (setup_status_bar): * e-user-creatable-items-handler.c: (setup_toolbar_button): Plugged memory leaks. svn path=/trunk/; revision=33851
* ** Fix for bug #386503 from Matthew BarnesSrinivasa Ragavan2007-06-031-1/+1
| | | | svn path=/trunk/; revision=33647
* Fix for bug #259606Srinivasa Ragavan2007-04-201-14/+38
| | | | svn path=/trunk/; revision=33438
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Fixes #360815Chenthill Palanisamy2006-10-161-0/+1
| | | | svn path=/trunk/; revision=32897
* ** Fix for bug #334966Srinivasa Ragavan2006-10-141-1/+8
| | | | svn path=/trunk/; revision=32869
* ** Fix for bug #343331Srinivasa Ragavan2006-09-281-1/+11
| | | | | | | | | | | 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
* ** Fixes #351332Matthew Barnes2006-09-191-0/+7
| | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes #351332 * e-shell-window.c: Fix implicit function declarations. svn path=/trunk/; revision=32792
* Make sure default window sizes are positive numbers. Fixes bug 349967.Daniel Gryniewicz2006-08-231-3/+5
| | | | | | | | | | 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
* Fix warnings at build-time, and clean up the connections to the D-Bus onBastien Nocera2006-07-271-0/+6
| | | | | | | | | | | | 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
* Fix for #346613. Fix the problem pointed out by JohnnyLi Yuan2006-07-071-1/+1
| | | | | | | | | | | | | 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
* Fix for #346613. Make the view_notebook cannot be resized shorter than itsLi Yuan2006-07-061-1/+1
| | | | | | | | | | 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
* reviewed by: Srinivasa RagavanSven Herzberg2006-04-281-6/+74
| | | | | | | | | | | | | 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
* Commiting patch for bug #337258.Srinivasa Ragavan2006-04-241-1/+1
| | | | svn path=/trunk/; revision=31873
* Remove unused code and fix format specifiers in some cases.Kjartan Maraas2006-01-301-2/+0
| | | | | | | | | | | | | | | 2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.c: (e_corba_config_page_class_init): * e-shell-folder-title-bar.c: (e_shell_folder_title_bar_construct): * e-shell-window.c: (init_view): * e-shell.c: (detect_version), (e_shell_construct), (e_shell_new), (e_shell_attempt_upgrade), (e_shell_create_window), (e_shell_save_settings): * main.c: (idle_cb): Remove unused code and fix format specifiers in some cases. svn path=/trunk/; revision=31367
* ** Fixes Bug #257654Rajeev ramanathan2006-01-301-0/+31
| | | | | | | | | | | 2006-01-26 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in> ** Fixes Bug #257654 * e-shell-window.c: * e-shell-window-commands.c: Added code to show/hide sidebar. svn path=/trunk/; revision=31345
* fixing two missing whitespaces. Fixes bug 325568.Andre Klapper2006-01-061-2/+2
| | | | | | | | 2006-01-06 Andre Klapper <a9016009@gmx.de> * shell/e-shell-window.c: fixing two missing whitespaces. Fixes bug 325568. svn path=/trunk/; revision=31087
* String Fixes (Bug #325122)Harish Krishnaswamy2006-01-011-2/+2
| | | | | | | | 2006-01-01 Harish Krishnaswamy <kharish@novell.com> * String Fixes (Bug #325122) svn path=/trunk/; revision=31006
* Evolution is now Network Aware, the day of complete awareness beckons, TheShreyas Srinivasan2005-12-221-2/+15
| | | | | | | | | | | 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
* committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-9/+63
| | | | | | | | | | | | | | ChangeLog addressbook/ChangeLog addressbook/gui/component/addressbook-component.c calendar/ChangeLog calendar/gui/calendar-component.c calendar/gui/memos-component.c calendar/gui/tasks-component.c mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c shell/ChangeLog shell/Evolution-Component.idl shell/Evolution-Shell.idl shell/Evolution.idl shell/Makefile.am shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c svn path=/trunk/; revision=30915
* Use libedataserver's e_xml_parse_file() instead of xmlParseFile()Tor Lillqvist2005-12-181-1/+4
| | | | | | | | | | | | | | | | | | | | | 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
* escape the string when generating XML UI description of component switcherDavid Malcolm2005-12-131-2/+7
| | | | | | | | | | | 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
* Have added the "View Status Bar" under the "View" menu This is a toggleS.Antony Vincent Pandian2005-09-231-1/+18
| | | | | | | | | 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
* Use privsolib instead of privlib. Link with SHELL_LIBS. Use NO_UNDEFINED.Tor Lillqvist2005-08-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | 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
* Dont enter default values for button label and menu label Dont add theSarfraaz Ahmed2005-07-251-0/+3
| | | | | | | | | | | 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
* fix the pixmap location for the settings menu.Not Zed2005-07-211-2/+3
| | | | | | | | | | | | 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
* Free the style here.Kjartan Maraas2005-07-131-0/+1
| | | | | | | | 2005-07-07 Kjartan Maraas <kmaraas@gnome.org> * e-shell-window.c: (setup_widgets): Free the style here. svn path=/trunk/; revision=29758
* shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.hSrinivasa Ragavan2005-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.h shell/e-shell-window.c shell/e-sidebar.h shell/e-sidebar.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in calendar/ChangeLog calendar/gui/GNOME_Evolution_Calendar.server.in.in mail/ChangeLog mail/GNOME_Evolution_Mail.server.in.in Added support for tooltips for component switching buttons. svn path=/trunk/; revision=29358
* Add profiler so that it gets disted properlyRodney Dawes2005-05-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes #33287JP Rosevear2005-02-241-0/+1
| | | | | | | | | | | 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
* Make offline button scale with font size. Fixes #48868.William Jon McCann2005-02-231-3/+8
| | | | | | | | | 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
* new protos, modesJP Rosevear2005-01-051-11/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Convert to G_DEFINE_TYPEJP Rosevear2004-12-211-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * e-corba-config-page.c: Convert to G_DEFINE_TYPE * e-history.c: ditto * e-shell-folder-title-bar.c: ditto * e-shell-offline-handler.c: ditto * e-shell-settings-dialog.c: ditto * e-shell-window.c: ditto * e-sidebar.c: ditto * e-user-creatable-items-handler.c: ditto * e-component-registry.c: ditto * importer/evolution-importer-client.c: ditto svn path=/trunk/; revision=28164
* register event hook.Not Zed2004-10-251-0/+28
| | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #57367.Not Zed2004-06-241-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add listener for the ViewToolbar command.William Jon McCann2004-06-031-0/+30
| | | | | | | | | | | | | | | | | 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
* ** See #58827.Not Zed2004-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* use the menu icon not the button icon for the menus. (setup_widgets):Not Zed2004-05-191-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set title to just Evolution (show_development_warning): ditto for warningJP Rosevear2004-05-101-4/+4
| | | | | | | | | | | | | | | | | 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
* Remove e-lang-utils.h include.Not Zed2004-04-301-2/+0
| | | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * e-component-registry.c: * e-shell-settings-dialog.c: * e-shell-window.c: Remove e-lang-utils.h include. svn path=/trunk/; revision=25701
* init the view to NULLJP Rosevear2004-04-281-1/+12
| | | | | | | | | 2004-04-27 JP Rosevear <jpr@ximian.com> * e-shell-window.c (sidebar_button_selected_callback): init the view to NULL svn path=/trunk/; revision=25649
* if there is a current view, use the component alias to select a sensibleJP Rosevear2004-04-231-1/+1
| | | | | | | | | | 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
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add panded widget to EShellWindowPrivate and handle state saving ofRodney Dawes2004-01-271-6/+14
| | | | | | | | | | | | | 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
* (e_shell_window_save_defaults): Implement.Ettore Perazzoli2003-12-031-4/+15
| | | | | | (e_shell_window_new): Set the width/height from the GConf keys. svn path=/trunk/; revision=23591
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | * 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
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Destroy the tooltips instead of unreffing them.Ettore Perazzoli2003-11-191-1/+9
| | | | | | | | | | | | | | | * e-shell-window.c (impl_dispose): Destroy the tooltips instead of unreffing them. * e-shell.c (struct _EShellPrivate): New member activity_handler. (setup_activity_interface): New. (impl_dispose): Add a comment about why we must not unref activity_handler here. (create_window): Attach the task bar to the new window. * e-shell-window.c (e_shell_window_peek_task_bar): New. svn path=/trunk/; revision=23439
* (struct _EShellWindowPrivate): New membersEttore Perazzoli2003-11-191-3/+253
| | | | | | | | | | | | | | | | | | | | | | | | status_bar, offline_toggle, offline_toggle_image, menu_hint_label, task_bar, tooltips. (init): Initialize ->tooltips. (impl_dispose): Unref ->tooltips. (offline_toggle_clicked_callback): New. (e_shell_window_new): Connect shell_line_status_changed_callback() to the shell's "line_status_changed" signal. (shell_line_status_changed_cb): New. (setup_offline_toggle): New. (setup_menu_hint_label): New. (setup_task_bar): New. (setup_status_bar): New. (setup_widgets): Call setup_status_bar() and add add the status bar to the window. (update_offline_toggle_status): New. (update_send_receive_sensitivity): New. (load_icons): New. (class_init): Call load_icons(). (ui_engine_remove_hint_callback): New. svn path=/trunk/; revision=23438
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c: New signal "component_changed". (class_init): Install. (switch_view): Emit. (e_shell_window_new): Call e_user_creatable_items_handler_attach_menus() to attach the "New..." menus. (e_shell_window_peek_current_component_id): New. (e_shell_window_peek_shell): Add precondition. (e_shell_window_peek_current_component_id): Likewise. (e_shell_window_peek_bonobo_ui_component): Likewise. * e-user-creatable-items-handler.c: New. * e-user-creatable-items-handler.h: New. * e-shell-window.h: #include <bonobo/bonobo-ui-component.h>. * e-shell.c (struct _EShellPrivate): Add member user_creatable_items_handler. (e_shell_get_user_creatable_items_handler): Remove. (e_shell_peek_user_creatable_items_handler): New. * Evolution-Component.idl (GNOME.Evolution.RequestCreateItem): New method. (GNOME.Evolution.creatableItems): New attribute. * e-shell-user-creatable-items-handler.c: Remove. * e-shell-user-creatable-items-handler.h: Remove. svn path=/trunk/; revision=23314
* Call e_sidebar_select_button() instead of switch_view().Ettore Perazzoli2003-11-131-1/+1
| | | | | | | | | | * e-shell-window.c (e_shell_window_switch_to_component): Call e_sidebar_select_button() instead of switch_view(). * e-sidebar.c (update_buttons): New helper function. (e_sidebar_select_button): New. svn path=/trunk/; revision=23299
* Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-13/+19
| | | | | | | | | | | | | | | | | | | * main.c: Added a new "-c" command-line arg. (idle_cb): If the arg is specified, open the component with that id/alias. * e-shell.c (impl_Shell_createNewView): New, implementation for the Shell::createNewView() CORBA method. (e_shell_class_init): Install. (e_shell_create_window): Get a component_id arg. * e-shell-window.c (e_shell_window_new): Get a component_id arg and create the window with that component activated if not NULL. * Evolution-Shell.idl (createNewView): Remove. (createNewWindow): New. svn path=/trunk/; revision=23274
* New member "component_alias". (component_view_new): Get a new "alias" arg,Ettore Perazzoli2003-11-111-17/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c (struct _ComponentView): New member "component_alias". (component_view_new): Get a new "alias" arg, set the member in the struct accordingly. (component_view_free): Free ->component_alias. (setup_widgets): Pass the alias from the ComponentInfo to e_component_view(). (switch_view): New utility function. (sidebar_button_selected_callback): Use it. (e_shell_window_switch_to_component): New public function. (e_shell_window_new): Switch to the component whose id is in the /apps/evolution/shell/view_defaults/component_id GConf key. * apps_evolution_shell.schemas: Removed view_defaults/folder_path. New key view_defaults/component_id. * e-component-registry.c (component_info_free): Free ->alias. (component_info_new): Get an "alias" arg and set the member accordingly. (query_components): Remove debugging messages. Get an "evolution:component_alias" property from the component and set the alias from that. * e-component-registry.h (struct _EComponentInfo): New member "alias". svn path=/trunk/; revision=23265
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-47/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (struct _EShellPrivate): New member "component_registry". (e_shell_construct): Don't call e_shell_unregister_all(). (e_shell_unregister_all): Removed. (e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE assignments. (e_shell_init): Initialize the component_registry. (e_shell_peek_uri_schema_registry): Rename from e_shell_get_uri_schema_registry. (e_shell_peek_component_registry): New. (setup_components): Remove. (e_shell_construct): Don't call. * main.c (no_windows_left_cb): Don't call e_shell_unregister_all(). * e-shell.c (parse_default_uri): Removed. (parse_evolution_uri): Removed. (e_shell_parse_uri): Removed. * e-component-info.c: Remove. * e-component-info.h: Remove. svn path=/trunk/; revision=23017
* Make the scrolled window have a GTK_SHADOW_IN shadow.Ettore Perazzoli2003-10-231-1/+3
| | | | | | | | | | | | * importer/intelligent.c (create_gui): Make the scrolled window have a GTK_SHADOW_IN shadow. * e-shell-window.c (setup_widgets): Make the notebooks not have borders. (setup_widgets): Fix typo: e_get_language_list() returns a GSList, not a GList. svn path=/trunk/; revision=22995
* (PADDING): Increase to 6 pixels.Ettore Perazzoli2003-10-231-2/+2
| | | | | | | | | | | (button_toggled_callback): Add a cast. (e_sidebar_set_selection_widget): Handle the NULL widget case properly. (impl_remove): New, implementation for GtkContainer::remove. (do_layout): Add padding between the selection_widget and the button box. svn path=/trunk/; revision=22989
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-231-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Change to "evolution-1.5" - although, ideally, this should be a config.hJeffrey Stedfast2003-10-221-1/+1
| | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * e-shell-window.c (e_shell_window_new): Change to "evolution-1.5" - although, ideally, this should be a config.h macro or something. svn path=/trunk/; revision=22984
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+481
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-381/+0
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-0/+381
* main.c (idle_cb): Create a new EShellWindow and show it. * e-storage.c: New signal "async_open_folder". (impl_async_open_folder): Removed. (class_init): Declare new signal. * e-shell.c (setup_components): Don't actually activate any components. * e-storage-browser.c, e-storage-browser.h: New. * e-shell-window.c, e-shell-window.h: New. * e-shell-marshal.list: Add an entry for NONE:STRING,POINTER,POINTER. * Evolution.idl: Include Evolution-Component.idl. * Evolution-Component.idl: New interface for Evolution components. svn path=/trunk/; revision=21925