aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* fix some warnings.Jacob Leach2001-07-251-3/+3
| | | | svn path=/trunk/; revision=11371
* Add the "/My Evolution" path to the path_to_etree_node hash so thatJason Leach2001-07-252-4/+19
| | | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (e_storage_set_view_construct): Add the "/My Evolution" path to the path_to_etree_node hash so that storage_set_view_set_current_folder() can select the My Evolution node when it's the current one. Fixes #5114 and #3956. svn path=/trunk/; revision=11348
* Only show the warning dialog instead of using `gnome_dialog_run()' so itEttore Perazzoli2001-07-241-2/+10
| | | | | | | | | | * main.c (development_warning): Only show the warning dialog instead of using `gnome_dialog_run()' so it is not modal. Modal would be nice, but unfortunately it works bad with Bonobo. Plus Sawfish doesn't like to keep the modal dialog on top, so it gets very confusing for users. svn path=/trunk/; revision=11334
* Only show the warning dialog instead of using `gnome_dialog_run()' so itEttore Perazzoli2001-07-242-7/+13
| | | | | | | | | | * main.c (development_warning): Only show the warning dialog instead of using `gnome_dialog_run()' so it is not modal. Modal would be nice, but unfortunately it works bad with Bonobo. Plus Sawfish doesn't like to keep the modal dialog on top, so it gets very confusing for users. svn path=/trunk/; revision=11331
* Uhm, set the usize to `1, -1' instead.Ettore Perazzoli2001-07-242-1/+6
| | | | | | | * e-task-widget.c (e_task_widget_construct): Uhm, set the usize to `1, -1' instead. svn path=/trunk/; revision=11318
* Set the usize for the contained hbox to 0x0.Ettore Perazzoli2001-07-242-0/+7
| | | | | | | * e-task-widget.c (e_task_widget_construct): Set the usize for the contained hbox to 0x0. svn path=/trunk/; revision=11311
* Get the manuals from the `evolution-guide' dir as that's where they getEttore Perazzoli2001-07-242-5/+10
| | | | | | | * e-shell-view-menu.c: Get the manuals from the `evolution-guide' dir as that's where they get installed. svn path=/trunk/; revision=11309
* Don't handle button events whose button number is not 1.Ettore Perazzoli2001-07-242-1/+7
| | | | | | | * e-shell-view.c (storage_set_view_box_button_release_event_cb): Don't handle button events whose button number is not 1. svn path=/trunk/; revision=11305
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-237-2/+42
| | | | | | | | the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-228-8/+71
| | | | | | | use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298
* Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we areEttore Perazzoli2001-07-222-1/+13
| | | | | | | | | | | | * evolution-activity-client.c (impl_destroy): Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we are using `g_timeout_add()' and not `gtk_timeout_add()' to set up the timeout callback. (update_timeout_callback): Reset `have_pending_update' when returning %TRUE. Set the timeout id to zero when returning %FALSE. svn path=/trunk/; revision=11295
* [Fix a crash if you start evolution with a bad URI.]Jason Leach2001-07-213-2/+16
| | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [Fix a crash if you start evolution with a bad URI.] * e-shell.c (e_shell_create_view): If we can't display the URI, display the default uri. This is because it's necessary for e_shell_view_display_uri() to run all the way through so corba interfaces get setup. * e-shell-view.c (e_shell_view_display_uri): If we fail to create a new view for a URI (happens if you pass in an invalid URI), be sure to return FALSE. svn path=/trunk/; revision=11290
* [This is a better way to have "Local Folders" be shown as the localJason Leach2001-07-219-8/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [This is a better way to have "Local Folders" be shown as the local storage name without breaking current user's shortcuts.] * e-corba-storage.c (get_display_name): Implement this, but it's only returning the real name now. Need to change the IDL soon to let corba storages have separated display names. * e-shortcuts.c (e_shortcuts_add_default_group): Set these default shortcut URI's back to evolution:/local/ * e-shell-view.h (DEFAULT_URI): Set this back to "evolution:/local/Inbox" * e-storage-set-view.c (etree_value_at): Get the display name for a storage rather than it's true name. * e-local-storage.c (impl_get_display_name): Implemented for the local folder (to return a translated "Local Folders"). * e-storage.c (e_storage_get_display_name): New virtual function for retrieving the display name. svn path=/trunk/; revision=11274
* Make the local storage name "Local Folders" instead of "local", looksJason Leach2001-07-207-12/+27
| | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * e-local-storage.h: Make the local storage name "Local Folders" instead of "local", looks better with "My Evolution", "VFolders", and "Other Contacts". * e-shell-view.h: Put the #define DEFAULT_URI here instead of in e-shell-view.c. * main.c: Remove the duplicated #define STARTUP_URI, actually make use of the nice defines. * e-shell-folder-commands.c (e_shell_command_delete_folder): Use the DEFAULT_URI here instead of a hard coded string. * e-shortcuts.c (e_shortcuts_add_default_group): Fix the URI's here to use "Local Folder". svn path=/trunk/; revision=11241
* Line up the padding for the folder title bar labels when you have theJason Leach2001-07-203-3/+15
| | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Line up the padding for the folder title bar labels when you have the folder bar enabled or disabled (previously when disabled it was padding ~8 pixels to the right while the other had 0). * e-shell-view.c (setup_widgets): Take out a 2 pixel padding around the vbox containing the title bar, folder bar, message list and mail display. Also remove 2 more extra pixels of padding on the bottom. svn path=/trunk/; revision=11238
* Removed. (load_shortcuts): Don't call it.Ettore Perazzoli2001-07-162-29/+6
| | | | | | | | * e-shortcuts.c (override_shortcut_name_and_type_from_storage_set): Removed. (load_shortcuts): Don't call it. svn path=/trunk/; revision=11120
* [Fix #4387, Shortcut bar items don't keep the name after rename.]Ettore Perazzoli2001-07-152-1/+8
| | | | | | | * e-shortcuts.c (update_shortcuts_by_path): Do not change the name of the shortcut if the folder's name changes. svn path=/trunk/; revision=11115
* Display an icon for nodes at depth greater than 2 in the tree view asEttore Perazzoli2001-07-152-11/+10
| | | | | | well. svn path=/trunk/; revision=11113
* Fix a crash that could happen by closing one or more views, and thenEttore Perazzoli2001-07-153-4/+14
| | | | | | clicking on the off-line button. svn path=/trunk/; revision=11107
* Because bugzilla.ximian does have a mail gateway now, we can haveJason Leach2001-07-132-22/+13
| | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_submit_bug): Because bugzilla.ximian does have a mail gateway now, we can have Help->Submit Bug Report open up bug-buddy. svn path=/trunk/; revision=11075
* Remove warningIain Holmes2001-07-132-1/+4
| | | | svn path=/trunk/; revision=11072
* Initialize priv->db and priv->iid so that destroy() won't crash ifDan Winship2001-07-132-0/+8
| | | | | | | | * e-shell.c (init): Initialize priv->db and priv->iid so that destroy() won't crash if e_shell_construct bails out before setting them. Reduces bug #4173 to #4169. svn path=/trunk/; revision=11044
* DONT ASK ME AGAIN!Iain Holmes2001-07-122-0/+7
| | | | svn path=/trunk/; revision=11012
* Mark a string for translation.Kjartan Maraas2001-07-112-1/+5
| | | | | | | | 2001-07-11 Kjartan Maraas <kmaraas@gnome.org> * importers/intelligent.c: Mark a string for translation. svn path=/trunk/; revision=11001
* Make sure to create ~/evolution/config/ if it doesn't exist. (ShellViewJason Leach2001-07-112-2/+19
| | | | | | | | | | | 2001-07-11 Jason Leach <jleach@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Make sure to create ~/evolution/config/ if it doesn't exist. (ShellView settings get saved before component settings, so when the mailer comes around to saving ETree stuff, this dir will be there). Fixes bug #4279. svn path=/trunk/; revision=10991
* Add a temporary block of code to not use theJason Leach2001-07-112-0/+16
| | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> * e-setup.c (copy_default_stuff): Add a temporary block of code to not use the $GNOME/share/evolution/default_user/shortcuts.xml for users who might be upgrading, so they'll get the shell-generated default set of shortcuts. See notes on #4394. svn path=/trunk/; revision=10981
* convert the folder name from utf8 before displaying them in the dialog andLarry Ewing2001-07-102-3/+14
| | | | | | | | | | 2001-07-09 Larry Ewing <lewing@ximian.com> * e-shell-folder-commands.c (delete_dialog): convert the folder name from utf8 before displaying them in the dialog and set the dialog parent. svn path=/trunk/; revision=10943
* Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have aFederico Mena Quintero2001-07-102-7/+15
| | | | | | | | | | | | 2001-07-09 Federico Mena Quintero <federico@ximian.com> * e-shortcuts-view.c: Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise for the "Open in New Window". This gets rid of warnings from gnome-libs. Use a better stock icon for the "Remove" command, and add a stock icon to the "Open" command. svn path=/trunk/; revision=10938
* It's very possible that get_storage_set_path_from_uri() returns NULL (5 ofJason Leach2001-07-102-1/+8
| | | | | | | | | | | 2001-07-09 Jason Leach <jleach@ximian.com> * e-shell-view.c (updated_folder_cb): It's very possible that get_storage_set_path_from_uri() returns NULL (5 of the 6 return cases), so check that it's not NULL before trying to strcmp() it. Fixes a startup crash. svn path=/trunk/; revision=10935
* Return a gboolean saying whether or not the shortcut changed. Use strcmpDan Winship2001-07-093-17/+52
| | | | | | | | | | | | | | | | | | | * e-shortcuts.c (shortcut_item_update): Return a gboolean saying whether or not the shortcut changed. Use strcmp rather than pointer comparisons to determine this. (update_shortcut_and_emit_signal): propagate the gboolean from shortcut_item_update (and only emit the signal if it's TRUE). (update_shortcuts_by_path): Only call make_dirty if something changed. (storage_set_new_folder_callback, storage_set_updated_folder_callback): Don't call make_dirty: update_shortcuts_by_path will have called it if necessary. * e-shell-view.c (updated_folder_cb): Don't call update_for_current_uri if the folder that was updated isn't the one being displayed. svn path=/trunk/; revision=10912
* Little UI tweak for right click menu, pronouns shouldn't be capitalizedJason Leach2001-07-072-2/+5
| | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> * e-shortcuts-view.c: Little UI tweak for right click menu, pronouns shouldn't be capitalized ("This" in this case). svn path=/trunk/; revision=10871
* [Misc fixes and part of #2228, There should be no dialog boxes duringJason Leach2001-07-072-7/+17
| | | | | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> [Misc fixes and part of #2228, There should be no dialog boxes during startup.] * e-setup.c (e_setup): Check for searches.xml instead of shortcuts.xml, since shortcuts.xml doesn't really need to exist (and thus wouldn't be a necessary test whether ~/evolution was invalid) because shell can generate shortcuts. (copy_default_stuff): For first time users, only present a dialog if a problem occurred. We've already clicked "Ok" on a dialog about copying files. (check_evolution_directory): Take out the "successfully installed" dialog on updates too. svn path=/trunk/; revision=10864
* [This should fix #3873, Bizzarre crash after deleting a fewEttore Perazzoli2001-07-062-5/+9
| | | | | | | | | | folders.] * e-local-storage.c (remove_folder): Don't free the `physical_path' on error, as it gets freed when freeing the callback data. svn path=/trunk/; revision=10842
* Added error dialogs for when the user tries to copy/move a folder overEttore Perazzoli2001-07-062-0/+36
| | | | | | | itself, or move it under one of its descendants. [Fixes #3959, copying a folder over itself crashes Evolution.] svn path=/trunk/; revision=10841
* Special case the My Evolution uri so that the correct icon appears in theIain Holmes2001-07-062-9/+19
| | | | | | shortcut bar. svn path=/trunk/; revision=10822
* Get the File -> Folder -> Properties menu item work again for theEttore Perazzoli2001-07-054-28/+15
| | | | | | mailer. svn path=/trunk/; revision=10793
* set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-052-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-shell-component-utils.c (e_pixmaps_update): set "pixname" value only if pixbuf was loaded successfully. Otherwise component crashes if image is not found. Should be checked for sanity in bonobo_ui_component_set_prop IMHO. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * Makefile.am: install apply-filters-16.xpm 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail-message.xml: MessageApplyFilters now has an icon. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters command. svn path=/trunk/; revision=10783
* Revised to make it less scary.Aaron Weber2001-07-042-10/+10
| | | | | | | | 2001-07-03 Aaron Weber <aaron@ximian.com> * main.c (development_warning): Revised to make it less scary. svn path=/trunk/; revision=10775
* [Fix a problem with not being able to save a newly createdEttore Perazzoli2001-07-042-1/+15
| | | | | | | | | | | | `shortcuts.xml' file, and another bug that caused the default group to be added at every start-up, even there were groups already.] * e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails, set the file_name. (load_shortcuts): Update `num_groups'. svn path=/trunk/; revision=10763
* use bonobo-conf everywhereDietmar Maurer2001-07-044-109/+135
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* More BonoboConf workIain Holmes2001-07-042-0/+5
| | | | svn path=/trunk/; revision=10752
* [The following makes the shell able to create the `shortcuts.xml'Ettore Perazzoli2001-07-034-21/+72
| | | | | | | | | | | | | | | | | | | | | file by itself when the file is not present or corrupted. Fixes #3668, failure to handle malformed shortcuts.xml file.] * e-shell.c (e_shell_construct): If the `e_shortcuts_new()' returns an object with no shortcuts in it, fill it in with `e_shortcuts_add_default_group()'. * e-shortcuts.c: New member `num_groups' in EShortcutsPrivate. (init): Init to zero. (e_shortcuts_add_group): Increment. (e_shortcuts_remove_group): Decrement. (e_shortcuts_get_num_groups): New. (e_shortcuts_add_default_group): New function to set up the default shortcuts. (e_shortcuts_new): Return an empty EShortcuts object if loading the file files, instead of returning NULL. svn path=/trunk/; revision=10744
* Ref/unref the handler so the signal handlers can unref it safely. Also, ifEttore Perazzoli2001-07-033-2/+25
| | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Ref/unref the handler so the signal handlers can unref it safely. Also, if `prepare_for_offline()' fails, don't say that there was an internal error, as that's confusing. Just say we couldn't put the components off-line. [Fix #3758, clicking on the online/offline button crashed Evolution.] * Evolution-Offline.idl: Don't derive OfflineProgressListener from Bonobo::Unknown. svn path=/trunk/; revision=10742
* [Fixed #3643, Shell crash when component crashed]Ettore Perazzoli2001-07-032-1/+19
| | | | | | | | | * e-shell-view.c (socket_destroy_cb): Fix Jason's broken fix for #3205 that was causing #3643. It is not safe to strcmp() the return value from `e_shell_view_get_current_uri()' as it might be NULL already. svn path=/trunk/; revision=10739
* Made evolution depend on bonobo-conf 0.2.Christopher James Lahey2001-07-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Made evolution depend on bonobo-conf 0.2. From calendar/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS). From composer/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). From shell/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_LDADD): Added $(BONOBO_CONF_LIBS). svn path=/trunk/; revision=10718
* Don't assert that there is a handler, so we don't crash if user clicks onEttore Perazzoli2001-07-038-44/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Don't assert that there is a handler, so we don't crash if user clicks on a folder whose type we cannot handle for some reason [such as an uninstalled component]. * evolution-test-component.c (activity_client_cancel_callback): New callback for the "cancel" signal on the EvolutionActivityClient object. (activity_client_show_details_callback): New callback for the "show_details" signal. (timeout_callback_1): Connect these two signal handlers. * e-activity-handler.c (task_widget_button_press_event_callback): Ahem, right-click is button 3, not button 2. (show_cancellation_popup): Actually pop up the menu. (get_corba_null_value): New helper function to create a CORBA_any null value. (report_task_event): New helper function to report events to the listener. (task_widget_cancel_callback): Use it. Report "Cancel" instead of "Cancelled". (task_widget_show_details_callback): New, callback for the "Show Details" right-click menu item. * evolution-activity-client.c: Updated to dispatch the "Cancel" and "ShowDetails" events as "cancel" and "show_details" signals. (class_init): Install the signals. (listener_callback): Updated to update the signals corresponding to the "ShowDetails" and "Cancel" events. * Evolution-Activity.idl: Changed the docs about the events sent to the Bonobo::Listener. We now only have "ShowDetails" and "Cancelled". * evolution-test-component.c (timeout_callback_1): Make the activity cancellable so we can test the right-click cancel menu too. * main.c (idle_cb): Actually exit if we cannot reach to the shell. svn path=/trunk/; revision=10684
* Make the EUriSchemaRegistry object non-floating at construction time.Ettore Perazzoli2001-07-023-1/+8
| | | | svn path=/trunk/; revision=10658
* Get the "Open in a New Window" shortcut right-click menu to actuallyEttore Perazzoli2001-07-023-12/+49
| | | | | | | | work (I had removed a line by mistake), and fix a crash that would happen if user opened a new view, closed it and then created a new folder. svn path=/trunk/; revision=10657
* Fix a crash that happened when dragging a folder that didn't have aEttore Perazzoli2001-07-012-1/+8
| | | | | | component associated with it. svn path=/trunk/; revision=10656
* Implemented the `File -> New -> Shortcut' command.Ettore Perazzoli2001-07-014-14/+150
| | | | | | | I have also implemented a "no-new-button" mode for the folder selection dialog widget. svn path=/trunk/; revision=10655
* Missing ChangeLog entries for the previous commit.Ettore Perazzoli2001-07-011-1/+14
| | | | svn path=/trunk/; revision=10654
* Implemented a "Rename Group" command. Unfortunately, it doesn't workEttore Perazzoli2001-07-015-1/+97
| | | | | | very well due to EShortcutBar breakage. But we'll fix that later. svn path=/trunk/; revision=10653
* Change EShortcuts to not use group titles to access specific groups.Ettore Perazzoli2001-07-014-32/+33
| | | | | | Also, allow more than one group with the same title. svn path=/trunk/; revision=10652
* Implemented a "Rename Shortcut" command.Ettore Perazzoli2001-07-013-31/+88
| | | | svn path=/trunk/; revision=10651
* Change the internal structure for shortucts, so that it contains aEttore Perazzoli2001-07-015-36/+242
| | | | | | | | | | | | | | | | | | | type and a name too. The name will allow renaming shortcuts (thus decoupling the name of the folder the shortcuts points to from the name of the shortcut); the type member is used to cache the type of the folder we point to so that we can still display the right icon even if the folder is currently not in the storage (e.g. this happens for IMAP folders when you haven't opened the corresponding IMAP node yet). I don't like the way this is designed at all (mainly, the responsibility for saving the values should be moved elsewhere), but I'll fix it later. Also, I added an "Open in New Window" right-click menu item for shortcuts. svn path=/trunk/; revision=10649
* Pass the event time to gtk_menu_popup() so that we can release the buttonFederico Mena Quintero2001-07-012-1/+7
| | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> * e-storage-set-view.c (popup_folder_menu): Pass the event time to gtk_menu_popup() so that we can release the button and have the menu stay up. svn path=/trunk/; revision=10633
* This is a first shoot at making shortcuts renameable [#3719];Ettore Perazzoli2001-06-307-297/+263
| | | | | | | | unfinished. Also, it causes the shortcut bar to stop displaying message unread count, but this is unfixable until we get rid of the ::LocalStorage interface, which should hopefully happen soon. svn path=/trunk/; revision=10621
* Replaced GList with GSList here to fix a type mismatch.Christopher James Lahey2001-06-302-1/+6
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * e-shortcuts-view-model.c (load_all_shortcuts_into_model): Replaced GList with GSList here to fix a type mismatch. svn path=/trunk/; revision=10619
* Changed $(datadir)/evolution/etspec to "$(etspecdir)" here.Christopher James Lahey2001-06-302-2/+7
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Changed $(datadir)/evolution/etspec to "$(etspecdir)" here. svn path=/trunk/; revision=10618
* Replaced GList with GSList here to fix a type mismatch.Christopher James Lahey2001-06-302-1/+6
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * e-shortcuts-view-model.c (load_group_into_model): Replaced GList with GSList here to fix a type mismatch. svn path=/trunk/; revision=10617
* Change EShortcuts to use GSLists instead of GLists.Ettore Perazzoli2001-06-304-60/+75
| | | | svn path=/trunk/; revision=10615
* Fix the fix.Ettore Perazzoli2001-06-291-1/+1
| | | | svn path=/trunk/; revision=10589
* Ooops. Update ChangeLog entry correctly.Ettore Perazzoli2001-06-291-1/+2
| | | | svn path=/trunk/; revision=10588
* Fix #3756, `--debug' option not working anymore.Ettore Perazzoli2001-06-292-5/+18
| | | | svn path=/trunk/; revision=10586
* Fix #3382, shortcut bar crashes when checking mail, and all theEttore Perazzoli2001-06-292-6/+22
| | | | | | | | | | different incarnations involving updates to an shortcut bar having shortcuts to non-existent folders. Also, this fixes #1643, shortcuts not visible until you enable an IMAP account, and #2436, i.e. misbehavior of shortcut groups when IMAP or invalid shortcuts are involved. svn path=/trunk/; revision=10583
* (e_storage_new_folder): Move the folder_changed_cb() call to avoidDan Winship2001-06-292-1/+4
| | | | | | a g_warning. svn path=/trunk/; revision=10570
* Call folder_changed_cb after adding the new folder so that if it was addedDan Winship2001-06-292-0/+7
| | | | | | | | * e-storage.c (e_storage_new_folder): Call folder_changed_cb after adding the new folder so that if it was added highlighted, its parent will get its child_highlight set. svn path=/trunk/; revision=10569
* Rename `e_shell_new_view()' into `e_shell_create_view()' to avoidEttore Perazzoli2001-06-286-11/+16
| | | | | | confusion with `e_shell_view_new()'. svn path=/trunk/; revision=10556
* Make the shell to be able to display URIs that the user specified onEttore Perazzoli2001-06-289-47/+159
| | | | | | the command-line. svn path=/trunk/; revision=10554
* Added a URI schema registry to the shell, and changed the bootstrapEttore Perazzoli2001-06-289-5/+440
| | | | | | | sequence to get the schema lists from the components and register them into it. svn path=/trunk/; revision=10553
* Remove redundant declaration for `free_ShellComponentListener_servant()'.Ettore Perazzoli2001-06-282-3/+5
| | | | svn path=/trunk/; revision=10551
* Get EvolutionShellComponent to emit a "handle_external_uri" when itEttore Perazzoli2001-06-282-0/+20
| | | | | | gets an handleExternalURI CORBA invokation. svn path=/trunk/; revision=10550
* Rename the method implementation functions to match the CORBA names.Ettore Perazzoli2001-06-282-41/+58
| | | | svn path=/trunk/; revision=10549
* Add method `ShellComponent::handleExternalURI' and anEttore Perazzoli2001-06-285-2/+108
| | | | | | | | | `external_uri_schemas' attribute. Update the EvolutionShellComponent GTK+ wrapper accordingly. Update all the components to pass a NULL `external_uri_schemas' list when initializing themselves as EvolutionShellComponents. svn path=/trunk/; revision=10548
* Remove a ChangeLog entry that referred to code that I haven'tEttore Perazzoli2001-06-271-11/+0
| | | | | | committed yet. Ooops. :-) svn path=/trunk/; revision=10528
* Plug a leak. Every time the ETable would query the model for theEttore Perazzoli2001-06-272-1/+7
| | | | | | | string at the top of the tree, a "My Evolution" string would be leaked. svn path=/trunk/; revision=10523
* Avoid calling the listener directly in `e-local-folder.c'; instead,Ettore Perazzoli2001-06-272-67/+38
| | | | | | | just return appropriate values from the signal handlers, as expected by the API. svn path=/trunk/; revision=10522
* display a selected uri in a timeout rather than right away, so the UIjacob berkman2001-06-262-3/+68
| | | | | | | | | | | | | | | 2001-06-25 jacob berkman <jacob@ximian.com> * e-shell-view.c: (set_folder_timeout): display a selected uri in a timeout rather than right away, so the UI feels a bit more responsive, and the tree is more navigable via keyboard (switch_on_folder_tree_click): use the timeout rather than setting the URI right away (destroy): remove the timeout if it still exists (update_for_current_uri): if there is a timeout set, don't update (e_shell_view_display_uri): remove the timeout if it exists svn path=/trunk/; revision=10490
* Get the shell to unregister the components on exit again.Ettore Perazzoli2001-06-254-1/+25
| | | | svn path=/trunk/; revision=10475
* Break the build so the current shell breakage doesn't get into theEttore Perazzoli2001-06-251-0/+13
| | | | | | builds. svn path=/trunk/; revision=10474
* Remove some spurious "\n"s from g_warnings.Ettore Perazzoli2001-06-253-6/+16
| | | | svn path=/trunk/; revision=10472
* Ooops. I missed one ChangeLog entry in the previous commit.Ettore Perazzoli2001-06-251-0/+2
| | | | svn path=/trunk/; revision=10471
* Fixed a nasty chain of broken fixes to broken fixes to broken fixes,Ettore Perazzoli2001-06-255-21/+28
| | | | | | | | | | thus getting the shell refcounting in better shape. The quit sequence is still not quite right, but we are getting there. Also fixed a nasty bug in destroying the EStorageSet due to a very old commit by the Meekster. svn path=/trunk/; revision=10470
* Remove the ugliness that was `e_shell_quit()'; implement anEttore Perazzoli2001-06-255-44/+25
| | | | | | | `e_shell_destroy_all_views()' function instead, and get the "Exit" menu item to use that instead. svn path=/trunk/; revision=10467
* Rename `GNOME_Evolution_TestComponent.oafinfo' intoEttore Perazzoli2001-06-253-2/+9
| | | | | | `GNOME_Evolution_TestComponent.oaf'. svn path=/trunk/; revision=10466
* Change EShell to derive from BonoboXObject for sake of simplicity.Ettore Perazzoli2001-06-253-100/+55
| | | | | | Also change it so that it cleanly unregisters from OAF on ::destroy. svn path=/trunk/; revision=10465
* Actually implement the "clicked" signal for the EActivityHandler, andEttore Perazzoli2001-06-253-12/+41
| | | | | | add some small testing code for it in the test component. svn path=/trunk/; revision=10464
* Fix a gazillion warnings.Ettore Perazzoli2001-06-242-4/+14
| | | | svn path=/trunk/; revision=10451
* Derive ETaskWidget from GtkEventBox instead of GtkFrame so that we canEttore Perazzoli2001-06-244-7/+57
| | | | | | | | get button_press events from it. Also, get the EActivtyHandler to properly dispatch "Clicked" events when the user clicks on an ETaskWidget. svn path=/trunk/; revision=10450
* Added an EvolutionActivityClient object to libeshell, to handleEttore Perazzoli2001-06-247-158/+628
| | | | | | | | | | | | updating of progress information from the component's side. This object allows to automatically set a lower limit to the delay between CORBA calls towards the shell, so that the component isn't slowed down too much by doing too frequent updates. Also changed the test component to use this instead of doing CORBA calls directly. svn path=/trunk/; revision=10449
* Add code to query the ::Activity interface in theEttore Perazzoli2001-06-244-25/+88
| | | | | | EvolutionShellComponent class and get the test component to use it. svn path=/trunk/; revision=10448
* (Implemented deleting folders in the shell. Files changed that aren'tJason Leach2001-06-2414-51/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Implemented deleting folders in the shell. Files changed that aren't noted below were simply small indentation/space changes. To play with deleting folders, right click on a selected folder in the folder tree, then choose Delete.) 2001-06-23 Jason Leach <jleach@ximian.com> * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make the folder tree have a similar expanded state as the shell's folder tree. * e-local-storage.c (remove_folder): New function that does the meat of actual deletion stuff. (remove_folder_directory): A helper function that remove_folder() uses. (component_async_remove_folder_callback): A new callback to do the removing stuff from shell (if there weren't errors from the component). (impl_async_remove_folder): Implemented this. * evolution-shell-component-client.c (evolution_shell_component_client_async_remove_folder): Implemented this. * e-shell-view.c (e_shell_view_remove_control_for_uri): New function. svn path=/trunk/; revision=10446
* Stylistical changes: moveEttore Perazzoli2001-06-243-33/+46
| | | | | | | | e_shell_view_{get,set}_current_shortcuts_group_num() at the bottom of the file, add pre-conditions to them, and reindent the header file slightly. svn path=/trunk/; revision=10444
* Remove some useless `#if 0'ed code.Ettore Perazzoli2001-06-232-68/+4
| | | | svn path=/trunk/; revision=10442
* Get rid of the tons of ugly Bonobo Warnings by removing the code thatEttore Perazzoli2001-06-232-40/+12
| | | | | | tried to put messages in the status bar which doesn't exist anymore. svn path=/trunk/; revision=10441
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-2356-64/+64
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Fix a bunch of stupid warnings caused by missing includes. AlsoEttore Perazzoli2001-06-235-3/+25
| | | | | | placate GCC on a bogus "uninitialized variable" error. svn path=/trunk/; revision=10438
* Get the menu hints to work with the new status bar.Ettore Perazzoli2001-06-232-6/+56
| | | | svn path=/trunk/; revision=10437
* Add `evolution-test-component'.Ettore Perazzoli2001-06-231-0/+1
| | | | svn path=/trunk/; revision=10436
* Fix the "Quit" command so that the shell actually exits properly.Ettore Perazzoli2001-06-232-0/+7
| | | | svn path=/trunk/; revision=10435
* Implemented an Evolution::Activity interface for keeping track ofEttore Perazzoli2001-06-2319-85/+2131
| | | | | | | | | | background tasks. The Activity interface is added to the shell, and the status of the various tasks is now displayed in a task bar widget at the bottom of the EShellView. I also implemented a simple test component to test all this stuff. svn path=/trunk/; revision=10434
* Oops, small fix.Jacob Leach2001-06-221-1/+1
| | | | svn path=/trunk/; revision=10371
* Fix bug #3409: Removing an EvolutionStorage from the shell's folderJacob Leach2001-06-223-3/+65
| | | | | | tree. svn path=/trunk/; revision=10362
* Remove DB3_LDADDDan Winship2001-06-192-1/+2
| | | | | | * Makefile.am (evolution_LDADD): Remove DB3_LDADD svn path=/trunk/; revision=10275
* Fix the help URLsDan Winship2001-06-192-6/+9
| | | | | | * e-shell-view-menu.c: Fix the help URLs svn path=/trunk/; revision=10265
* Check priv->uri isn't null before strcmp'ing it here too.Not Zed2001-06-132-1/+6
| | | | | | | | | 2001-06-13 Not Zed <NotZed@Ximian.com> * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri isn't null before strcmp'ing it here too. svn path=/trunk/; revision=10206
* Don't destroy the offline_toggle_pixmap: the offline_toggle 0wnz it.Dan Winship2001-06-122-2/+8
| | | | | | | | | * e-shell-view.c (destroy): Don't destroy the offline_toggle_pixmap: the offline_toggle 0wnz it. (update_for_current_uri): Check priv->uri isn't NULL before strcmp()ing it. svn path=/trunk/; revision=10187
* Fixed folder creation on IMAP storages (by notifying bonobo listener withJason Leach2001-06-123-44/+46
| | | | | | | | | | | | 2001-06-11 Jason Leach <jleach@ximian.com> * evolution-storage.c (impl_Storage_async_create_folder): Fixed folder creation on IMAP storages (by notifying bonobo listener with the result). * evolution-storage-listener.c: Some cleaning. svn path=/trunk/; revision=10186
* Committing the new My Evolution.Iain Holmes2001-06-096-48/+201
| | | | svn path=/trunk/; revision=10163
* Allow a NULL @shell_view arg inEttore Perazzoli2001-06-092-2/+6
| | | | | | `e_shell_command_add_to_shortcut_bar()'. svn path=/trunk/; revision=10160
* Fix splash setup to keep it from giving two Gtk-CRITICAL assertions whenJason Leach2001-06-092-14/+14
| | | | | | | | | 2001-06-08 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Fix splash setup to keep it from giving two Gtk-CRITICAL assertions when you do --no-splash. svn path=/trunk/; revision=10158
* Removed some left-over conflict indicators.Jon Trowbridge2001-06-071-2/+1
| | | | svn path=/trunk/; revision=10140
* Changed purely informational debug spew from a g_warning to a g_message.Jon Trowbridge2001-06-073-4/+22
| | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jon Trowbridge <trow@gnu.org> * evolution-storage.c (impl_Storage_async_create_folder): Changed purely informational debug spew from a g_warning to a g_message. * e-shell-importer.c (show_import_wizard): The import wizard defined in import.glade only has three pages... yet we were trying to manipulate "page4" as the finish page, with the expected bad results. My guess is that the .glade file got changed, but the code didn't get updated. (start_import): We were trying to bonobo_object_unref (BONOBO_OBJECT (icd->client)), which is fine except for the fact that icd->client is just a GtkObject, not a BonoboObject. Changed to a gtk_object_unref. (start_import): Changed a purely informational bit of debug spew from a g_warning to a g_message. svn path=/trunk/; revision=10139
* Changed the dialog box and added a Don't Ask Me Again button. Oh yeah!Iain Holmes2001-06-072-8/+73
| | | | svn path=/trunk/; revision=10138
* (Fix bug #3205: Component crash causes folder switch even when not needed)Jason Leach2001-06-072-4/+20
| | | | | | | | | | | | | 2001-06-06 Jason Leach <jleach@ximian.com> (Fix bug #3205: Component crash causes folder switch even when not needed) * e-shell-view.c (socket_destroy_cb): Only flip around the ShellView to different folders when we're currently viewing the URI that's being closed/crashed. svn path=/trunk/; revision=10137
* (Fix bug #418: Save state of folder tree view)Jason Leach2001-06-075-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jason Leach <jleach@ximian.com> (Fix bug #418: Save state of folder tree view) * e-shell-view.c (e_shell_view_save_settings): Changed the char * @prefix argument to an int @view_num. (e_shell_view_load_settings): Ditto. (get_local_prefix_for_view): New function that gets us a prefix from a view_num. * e-shell-view.c (e_shell_view_save_settings): Save the expanded/collapsed information for each storage-set-view here. (e_shell_view_load_settings): Load it here. * e-storage-set-view.c (e_storage_set_view_construct): Make it so new storage set views have their storages expanded by default, but will respsect the expanded state information that we load into it. (insert_storages): Minor change here too. (new_folder_cb): Ditto. svn path=/trunk/; revision=10135
* Plug in all the folder tree right click menu verbs so bonobo-warningsJason Leach2001-06-064-1/+65
| | | | | | | | | | | | | | | | 2001-06-05 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Plug in all the folder tree right click menu verbs so bonobo-warnings aren't emitted (even though the respective implementation functions are currently unimplemented). (command_delete_folder): New function, see above. (command_rename_folder): Ditto. (command_folder_properties): Ditto. * e-shell-folder-commands.c (e_shell_command_delete_folder): New function, currently unimplemented. svn path=/trunk/; revision=10128
* (Fixing bug #1299: Shell saves shortcuts when display name changes)Jason Leach2001-06-065-12/+70
| | | | | | | | | | | | | | | | | | | | 2001-06-04 Jason Leach <jleach@ximian.com> (Fixing bug #1299: Shell saves shortcuts when display name changes) * e-shortcuts.c (class_init): New signal: "update_shortcut". * e-shortcuts-view-model.c (e_shortcuts_view_model_construct): Connect thew new signal here. * e-shortcuts-view-model.c (shortcuts_update_shortcut_cb): New function, uses the new e_shortcut_model_update_item(). * e-shell-view.c (corba_interface_set_folder_bar_label): Fix a warning here. svn path=/trunk/; revision=10116
* Fix linking order for `$(DB3_LDADD)'s so that we avoid pullingEttore Perazzoli2001-06-032-2/+7
| | | | | | | functions from a different Berkeley DB library when we really don't mean to. svn path=/trunk/; revision=10105
* Add some missing `$(DB3_LDADD)'s to get it to compile.Ettore Perazzoli2001-06-012-1/+6
| | | | svn path=/trunk/; revision=10078
* New function (probably should just be static).Jason Leach2001-05-3111-13/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view.c (e_shell_view_set_current_shortcuts_group_num): New function (probably should just be static). (e_shell_view_load_settings): Load the current shortcut group here using the above new function. (e_shell_view_save_settings): Save current shortcut group in here. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c: New 'folder_bar_label' member for EShellFolderTitleBar, it's for information that's shown to the left of the icon like the dates in the calendar (or, potentially total and unread numbers for mailer). (e_shell_folder_title_bar_set_folder_bar_label): New function, lets others set the title bar extra label. * Evolution-ShellView.idl: New method 'setFolderBarLabel' for our exposed ShellView interface. * evolution-shell-view.c (class_init): New signal "set_folder_bar_label" for EvolutionShellViewClass. * evolution-shell-view.c (impl_ShellView_set_folder_bar_label): Emit the new signal here. * e-shell-view.c (setup_corba_interface): Connect the signal here. * e-shell-view.c (corba_interface_set_folder_bar_label): New function, callback for the above signals, does the actual extra label setting for the folder title bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Fix a warning here. svn path=/trunk/; revision=10059
* Removed an unecessary sleep(2) call, so evolution will start up 2 secondsJason Leach2001-05-316-3/+58
| | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Removed an unecessary sleep(2) call, so evolution will start up 2 seconds faster now. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to their implementation functions. * e-shell-view.c (e_shell_view_get_current_shortcuts_group_num): New function, use it to find out which shourtcut group is currently open on the shortcut bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Implement this using new function described above. svn path=/trunk/; revision=10052
* Added missing castt. (setup_offline_toggle): Likewise.Federico Mena Quintero2001-05-302-3/+8
| | | | | | | | | 2001-05-29 Federico Mena Quintero <federico@ximian.com> * e-shell-view.c (setup_progress_bar): Added missing castt. (setup_offline_toggle): Likewise. svn path=/trunk/; revision=10048
* unref the control when finished with it (setup_offline_toggle): dittoJP Rosevear2001-05-302-3/+16
| | | | | | | | | | | 2001-05-29 JP Rosevear <jpr@ximian.com> * e-shell-view.c (setup_progress_bar): unref the control when finished with it (setup_offline_toggle): ditto (destroy): destroy offline and progress widgets svn path=/trunk/; revision=10043
* Call e_tree_node_set_expanded on the storage_set_view, not the storage_setDan Winship2001-05-292-1/+7
| | | | | | | | * e-storage-set-view.c (new_storage_cb): Call e_tree_node_set_expanded on the storage_set_view, not the storage_set (which is not an ETree). svn path=/trunk/; revision=10033
* add *.lo, libeshell.laDan Winship2001-05-291-0/+2
| | | | svn path=/trunk/; revision=10028
* New file. (e_pixmaps_update): Moved here from e-util to break e-utilDan Winship2001-05-285-1/+150
| | | | | | | | | | | | | | * evolution-shell-component-utils.c: New file. (e_pixmaps_update): Moved here from e-util to break e-util bonobo dependency. * e-shell-view-menu.c: #include "evolution-shell-component-utils.h" instead of "e-gui-utils.h" * Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add evolution-shell-component-utils.[ch] svn path=/trunk/; revision=10018
* Don't free the hash keys in priv->path_to_etree_node, because they'reDan Winship2001-05-272-10/+7
| | | | | | | | * e-storage-set-view.c (destroy): Don't free the hash keys in priv->path_to_etree_node, because they're owned by the ETree now. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=10012
* Reference libeshell.la instead of libeshell.a.Peter Williams2001-05-263-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Peter Williams <peterw@ximian.com> * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * gui/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Change libeshell from a noinst_LIBRARIES to a lib_LTLIBRARIES. Install its headers in $includedir/evolution/shell. * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string in libeutil. This way libeshell doesn't have a missing symbol when programs that don't have libeutil link to it. (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g. svn path=/trunk/; revision=10007
* place the shortcut bar in a framejacob berkman2001-05-262-6/+17
| | | | | | | | | 2001-05-25 jacob berkman <jacob@ximian.com> * e-shell-view.c (setup_widgets): place the shortcut bar in a frame svn path=/trunk/; revision=10006
* Added ETSPECDIR. Added e-storage-set-view.etspec to get installed.Christopher James Lahey2001-05-2610-39/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-21 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added ETSPECDIR. Added e-storage-set-view.etspec to get installed. * e-local-storage.c (remove_folder_directory): Commented out this function since it is unused. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback), e-shell-view.c (update_offline_toggle_status): Fixed warnings here by adding a return; after the g_assert_not_reached();. * e-shell-importer.c (start_import): Got rid of real_folderpath here and just reused folderpath (It was causing uninitialized variable warnings.) * e-shell.c (impl_Shell_getLocalStorage): Use bonobo_object_dup_ref here. It makes things simpler. * e-storage-set-view.c: Removed ETREE_SPEC since it's no longer needed. (convert_corba_drag_action_set_to_gdk, folder_context_menu_activate_cb, remove_cb, folder_context_menu_remove_cb): Commented out these functions since they're unused. (new_storage_cb, new_folder_cb, insert_folders, insert_storages): Don't bother using insert_id here since it no longer does anything. (new_storage_cb, removed_storage_cb, removed_folder_cb): Don't free the data returned from e_tree_memory_node_remove. (e_storage_set_view_construct): Set the destroy func here so that memory will automatically get freed when nodes are destroyed. g_strdup the root node string here. Use e_tree_construct_from_spec_file here to use an external file. (e_storage_set_view_set_show_folders): g_strdup the root node string here. * e-storage-set-view.etspec: New etspec file. * evolution-shell-component-client.c (free_ShellComponentListener_servant): Added a prototype here. svn path=/trunk/; revision=9989
* track change to the path to the ComponentPlaceholder.Chris Toshok2001-05-232-1/+7
| | | | | | | | | | 2001-05-23 Chris Toshok <toshok@ximian.com> * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): track change to the path to the ComponentPlaceholder. svn path=/trunk/; revision=9942
* Add a button and an icon to toggle between online and offlineEttore Perazzoli2001-05-212-23/+201
| | | | | | operation. svn path=/trunk/; revision=9900
* Implemented the "Copy Folder" and "Move Folder" menu items. Untested.Ettore Perazzoli2001-05-205-12/+302
| | | | svn path=/trunk/; revision=9899
* Add a caption to the folder selection dialog widget, and get theEttore Perazzoli2001-05-206-10/+67
| | | | | | existing dialogs in the shell to use it. svn path=/trunk/; revision=9894
* Renamed the "NewWindow" verb into "OpenFolderInNewWindow". Got theEttore Perazzoli2001-05-194-68/+97
| | | | | | `File -> Folder -> Open in New Window' menu item to work. svn path=/trunk/; revision=9893
* Create new files for the folder commands, and move the "Create newEttore Perazzoli2001-05-195-12/+181
| | | | | | folder" implementation into them. svn path=/trunk/; revision=9889
* Change the code to pop-up the folder context menu to use the stuffEttore Perazzoli2001-05-173-42/+17
| | | | | | already defined in the UI xml file for the shell views. svn path=/trunk/; revision=9867
* Make the "Submit Bug Report" menu item fire up a browser withEttore Perazzoli2001-05-162-1/+27
| | | | | | | | http://bugzilla.ximian.com in it, rather than Bug Buddy (which will not work with our bug tracker, as the latter doesn't have an email interface yet). svn path=/trunk/; revision=9836
* Add an "Evolution FAQ" entry to the Help menu, and update the existingEttore Perazzoli2001-05-162-5/+10
| | | | | | entries for the guide's chapters to match the new paths. svn path=/trunk/; revision=9835
* Update the file name in the top comment.Ettore Perazzoli2001-05-161-1/+1
| | | | svn path=/trunk/; revision=9833
* Some demeeksifying indentation changes.Ettore Perazzoli2001-05-161-25/+16
| | | | svn path=/trunk/; revision=9832
* set the subfolder's parent to NULL so the subfolder list doesn't changejacob berkman2001-05-152-1/+10
| | | | | | | | | | | 2001-05-14 jacob berkman <jacob@ximian.com> * e-folder-tree.c (remove_folder): set the subfolder's parent to NULL so the subfolder list doesn't change whilst we are using it (folder_remove_subfolder): this function didn't used to work at all svn path=/trunk/; revision=9795
* implement the CORBA side of dragging.Chris Toshok2001-05-122-6/+94
| | | | | | | | | | | | | | | | | 2001-05-12 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (tree_drag_data_received): implement the CORBA side of dragging. (convert_gdk_drag_action_set_to_corba): rename convert_gdk_drag_action_to_corba to this. (convert_corba_drag_action_set_to_gdk): rename convert_corba_drag_action_to_gdk to this. (convert_gdk_drag_action_to_corba): new function that doesn't build a bitmask, useful for the Action types, instead of ActionSet. (convert_corba_drag_action_to_gdk): same. svn path=/trunk/; revision=9780
* add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): newChris Toshok2001-05-124-8/+51
| | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new function, call e_storage_set_async_remove_folder. (remove_cb): callack for e_storage_set_async_remove_folder. * evolution-shell-component-client.c (evolution_shell_component_client_populate_folder_context_menu): fix prototype to reflect Component -> Container. * evolution-shell-component-client.h: same. svn path=/trunk/; revision=9778
* add this define for the xml path to use when adding menu items to theChris Toshok2001-05-123-5/+26
| | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for the xml path to use when adding menu items to the folder popup. * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add (#ifdef DEBUG_XML) a menu item to dump the bonobo xml. (popup_folder_menu): pass the BonoboUIContainer to the populate_folder_context_menu CORBA call, instead of the component. Also, reorder things a bit so the component doesn't get an error when setting xml the first time. svn path=/trunk/; revision=9777
* Ask for a folder to import into.Iain Holmes2001-05-127-20/+75
| | | | svn path=/trunk/; revision=9775
* component_new refs the object itself, so unref ours when we finish with itJP Rosevear2001-05-123-6/+11
| | | | | | | | | | | | | 2001-05-11 JP Rosevear <jpr@ximian.com> * e-component-registry.c (register_component): component_new refs the object itself, so unref ours when we finish with it * e-shell.c (e_shell_construct): There is no need to explicitly ref the folder type registry, storage set and shortcuts because we are the creator and hold the initial ref count of 1. svn path=/trunk/; revision=9766
* Lots of people seem to have "broken" local storage hierarchies. So ignoreDan Winship2001-05-122-2/+10
| | | | | | | | * e-local-storage.c (load_folder): Lots of people seem to have "broken" local storage hierarchies. So ignore errors (like the old code did) and just print a warning. svn path=/trunk/; revision=9758
* the only problematic area - pass NULL for now in as the BonoboUIContainer.Chris Toshok2001-05-1110-34/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): the only problematic area - pass NULL for now in as the BonoboUIContainer. how do we pass this container to the control? * e-storage-set-view.c (folder_context_menu_activate): un-#if 0 this function. (populate_folder_context_menu_with_common_items): build our popup using the new xml bonobo stuffs. (popup_folder_menu): convert to using the new xml bonobo stuffs. (right_click): only do the popup menu if we have a BonoboUIContainer. (e_storage_set_view_new): add BonoboUIContainer* arg. (e_storage_set_view_construct): same. * e-storage-set-view.h: add BonoboUIContainer* args to e_storage_set_view_new and e_storage_set_view_construct. * e-shell-folder-creation-dialog.c (add_storage_set_view): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-storage-set.h: add BonoboUIContainer* arg to e_storage_set_new_view. * e-storage-set.c (e_storage_set_new_view): add arg, and track change to e_storage_set_view_new. * e-shell-view.h: add prototype for e_shell_view_get_bonobo_ui_container. * e-shell-view.c (setup_storage_set_subwindow): track change to e_storage_set_view_new. (e_shell_view_construct): the BonoboUIContainer is now part of our private structure. (e_shell_view_get_bonobo_ui_container): new function. svn path=/trunk/; revision=9756
* Made this function static. Removed the unused variable placeholder.Christopher James Lahey2001-05-102-3/+10
| | | | | | | | | | | 2001-05-09 Christopher James Lahey <clahey@ximian.com> * importer/intelligent.c (create_gui): Made this function static. Removed the unused variable placeholder. (intelligent_importer_init): Cast from gpointer to int here properly using GPOINTER_TO_INT. svn path=/trunk/; revision=9730
* Remove get_physical_path and load_folders, and replace the calls to themDan Winship2001-05-102-178/+34
| | | | | | | | * e-local-storage.c: Remove get_physical_path and load_folders, and replace the calls to them with calls to the e_path_* functions they inspired. svn path=/trunk/; revision=9726
* Rename "port" to "type" here too.Dan Winship2001-05-102-1/+6
| | | | | | | * glade/e-active-connection-dialog.glade: Rename "port" to "type" here too. svn path=/trunk/; revision=9725
* Importer changesIain Holmes2001-05-098-153/+363
| | | | svn path=/trunk/; revision=9722
* Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. SoGediminas Paulauskas2001-05-081-1/+0
| | | | | | | | you must include <config.h>, heh. and a stil-not-working "fix" for galview menus. svn path=/trunk/; revision=9707
* Fix a free of non-malloc'ed memory introduced by my last change.Dan Winship2001-05-082-2/+5
| | | | | | | * e-shell-offline-handler.c (update_dialog_clist_hash_foreach): Fix a free of non-malloc'ed memory introduced by my last change. svn path=/trunk/; revision=9702
* Added command entry for 'ToggleOffline'.Jon Trowbridge2001-05-082-2/+7
| | | | | | | | | | | | | 2001-05-07 Jon Trowbridge <trow@ximian.com> * evolution.xml: Added command entry for 'ToggleOffline'. 2001-05-07 Jon Trowbridge <trow@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Changed some references to /commands/WorkOffline to /commands/ToggleOffline. svn path=/trunk/; revision=9699
* take a physical_uri and pass it to the callback.Chris Toshok2001-05-055-4/+31
| | | | | | | | | | | | | | | | | | | | | 2001-05-04 Chris Toshok <toshok@ximian.com> * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): take a physical_uri and pass it to the callback. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): same. * evolution-shell-component-dnd.h: add physical_uri args to the destination folder HandleMotion and HandleDrop types. * Evolution-ShellComponentDnd.idl: add "in string physical_uri" to DestinationFolder::handleMotion and DestinationFolder::handleDrop. * e-storage-set-view.c (tree_drag_motion): pass the physical uri of the folder to handleMotion. svn path=/trunk/; revision=9678
* Use type instead of portNumber.Dan Winship2001-05-053-5/+16
| | | | | | | | | | | | | * e-shell-offline-handler.c (update_dialog_clist_hash_foreach, (duplicate_connection_list): Use type instead of portNumber. (e_shell_offline_handler_put_components_offline): Fix the logic of when to show the connection dialog here. (Show it when there *are* connections, not when there aren't.) * Evolution-Offline.idl: Have a "string type" instead of "short portNumber" in Connection. svn path=/trunk/; revision=9676
* Remove a line of code that caused the offline confirmation dialog toEttore Perazzoli2001-05-052-3/+7
| | | | | | | be popped up even if no connections were active (it was there for testing purposes only). svn path=/trunk/; revision=9675
* Undo a broken leak fix.Ettore Perazzoli2001-05-052-2/+5
| | | | svn path=/trunk/; revision=9674
* Plug more leaks.Ettore Perazzoli2001-05-044-2/+24
| | | | svn path=/trunk/; revision=9671
* Plug a leak in the folder creation dialog (a string was beingEttore Perazzoli2001-05-042-1/+6
| | | | | | unnecessarily duplicated twice). svn path=/trunk/; revision=9669
* Plug a leak (the return value from `oaf_query()' must be freed!).Ettore Perazzoli2001-05-042-0/+7
| | | | svn path=/trunk/; revision=9668
* Change `e_shell_get_icon_path()' to only look up the Evolution imageEttore Perazzoli2001-05-042-8/+10
| | | | | | | directory instead of using `gnome_pixmap_file()' which is broken and looks in the current working directory first. (Why?!) svn path=/trunk/; revision=9666
* Change the mode for the GtkCList in the active connection dialog to beEttore Perazzoli2001-05-042-1/+6
| | | | | | `GTK_BROWSE_SINGLE' to at least avoid some GtkCList ugliness. svn path=/trunk/; revision=9663
* Complete the shell side for supporting off-line operations, gettingEttore Perazzoli2001-05-044-21/+120
| | | | | | | the dialog to fully work and the menu item to change its label according to the current status of the line. svn path=/trunk/; revision=9662
* Initial implementation for the "warning, some connections are stillEttore Perazzoli2001-05-048-22/+537
| | | | | | active" dialog. svn path=/trunk/; revision=9661
* Make the `EShellOfflineHandler' object non-floating in the constructEttore Perazzoli2001-05-032-0/+7
| | | | | | method. svn path=/trunk/; revision=9655
* Add interfaces to the shell to handle off-line operation, as well as aEttore Perazzoli2001-05-0310-1/+955
| | | | | | first (unfinished/untested) implementation for them. svn path=/trunk/; revision=9653
* new file.Chris Toshok2001-05-034-0/+581
| | | | | | | | | | | | | 2001-05-02 Chris Toshok <toshok@ximian.com> * evolution-shell-component-dnd.c: new file. * evolution-shell-component-dnd.h: new file. * Makefile.am (libeshell_a_SOURCES): add evolution-shell-component-dnd.[ch]. svn path=/trunk/; revision=9652
* Remove $(UNICODE_LIBS).Dan Winship2001-04-263-3/+6
| | | | | | | | * Makefile.am (evolution_LDADD): Remove $(UNICODE_LIBS). * main.c (main): Remove call to unicode_init. svn path=/trunk/; revision=9567
* free the private memberJP Rosevear2001-04-262-1/+5
| | | | | | | | 2001-04-25 JP Rosevear <jpr@ximian.com> * evolution-shell-client.c (destroy): free the private member svn path=/trunk/; revision=9565
* #include <glib.h> and move corresponding local includes to the top.Kjartan Maraas2001-04-2527-25/+62
| | | | | | | | | | | | | | | | | 2001-04-25 Kjartan Maraas <kmaraas@gnome.org> * e-component-register.c, e-corba-storage.c, e-folder-tree.c, e-folder-tree.h, e-folder.c, e-local-folder.c, e-shell.c, e-shortcuts-view-model.c, e-shortcuts.c, e-splash.c, e-storage-set-view.c, e-storage-set.c, evolution-local-storage.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-storage.[ch], importer/evolution-importer-client.[ch], importer/evolution-importer-listener.[ch], importer/evolution-importer.[ch], importer/evolution-intelligent-importer.[ch], importer/intelligent.c: #include <glib.h> and move corresponding local includes to the top. svn path=/trunk/; revision=9556
* #include gnome-window-icon.hJeffrey Stedfast2001-04-242-0/+5
| | | | | | | | 2001-04-23 Jeffrey Stedfast <fejj@ximian.com> * e-splash.c: #include gnome-window-icon.h svn path=/trunk/; revision=9527
* Set window_icon of the splash screen to "evolution.png"Duncan Mak2001-04-222-0/+6
| | | | svn path=/trunk/; revision=9488
* #include <unistd.h>Ettore Perazzoli2001-04-182-0/+6
| | | | svn path=/trunk/; revision=9439
* Proxy events to the tooltip object properly.Christopher James Lahey2001-04-182-0/+55
| | | | | | | | | 2001-04-17 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (storage_set_view_box_event_cb): Proxy events to the tooltip object properly. svn path=/trunk/; revision=9428
* Pull up fix from the branch:Ettore Perazzoli2001-04-153-11/+49
| | | | | | | | | | | Make sure the OK button in the folder creation dialog is not sensitive if no parent folder is selected. Fix a Gtk-Warning that would happen if you selected "New" in the folder selection dialog and then "Cancel" in the folder creation dialog. svn path=/trunk/; revision=9325
* Do this everywhere, also fixup CLEANFILESMichael Meeks2001-04-143-2/+17
| | | | | | | | | | Do this everywhere, also fixup CLEANFILES 2001-04-14 Michael Meeks <michael@ximian.com> * Makefile.am (dist-hook): remove built sources from dist. svn path=/trunk/; revision=9309
* Pull up fix from the 0-10 branch (chain the ::destroy handler forEttore Perazzoli2001-04-142-0/+7
| | | | | | | ESplash to the parent class' ::destroy handler, thus fixing an extremely stupid memory leak). svn path=/trunk/; revision=9308
* Implemented these.Christopher James Lahey2001-04-132-0/+23
| | | | | | | | | 2001-04-12 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_has_get_node_by_id, etree_get_node_by_id): Implemented these. svn path=/trunk/; revision=9291
* Don't get into an infinite loop when clicking on an IMAP storage. MightDan Winship2001-04-122-0/+11
| | | | | | | | * e-shell-view.c (switch_on_folder_tree_click): Don't get into an infinite loop when clicking on an IMAP storage. Might not be the best fix? svn path=/trunk/; revision=9258
* fix type. we want the destination interface, not source.Chris Toshok2001-04-082-1/+6
| | | | | | | | | 2001-04-08 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (tree_drag_motion): fix type. we want the destination interface, not source. svn path=/trunk/; revision=9204
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-053-1/+6
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here.Kjartan Maraas2001-04-056-0/+32
| | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-local-folder.c: Fix headers. * e-shell-view.c: Same here. * e-shortcuts-view.c: Same here. * e-shortcuts.c: Same here. * e-storage-set-view.c: Same here. svn path=/trunk/; revision=9184
* set content type to utf8. fix warning. just call on_link_clicked().Gediminas Paulauskas2001-04-043-63/+61
| | | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * mail-config-druid.c (create_html): set content type to utf8. * mail-config.c (mail_config_check_service): fix warning. * mail-display.c (link_open_in_browser): just call on_link_clicked(). (link_menu): Open link works. (link_copy_location): claim selection. (on_selection_get): new function, selection handler. (mail_display_new): connect to selection_get. FIXME: does not work. 2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * importer/importer.c (create_html): copied newer and fixed function from mail/mail-config-druid.c. (html_new, put_html): removed. (show_import_wizard): use create_html instead of html_new/put_html pair. * importer/importer.glade: a try to set logo. removed source generation options. svn path=/trunk/; revision=9161
* Don't declare debug_log as extern in evolution-shell-component-client.c,Dan Winship2001-04-043-7/+16
| | | | | | | | | | | * main.c: * evolution-shell-component-client.c: Don't declare debug_log as extern in evolution-shell-component-client.c, because that's part of libeshell and so gets linked into the other components. Instead, declare it there and extern it from main.c. (Noticed by Peter Williams) svn path=/trunk/; revision=9136
* Merge fix for #1117 (g-warning being emitted when clicking on storageEttore Perazzoli2001-04-043-1/+15
| | | | | | nodes) from evolution-0-10-branch. svn path=/trunk/; revision=9135
* Pulled up fixes from evolution-0-10-branch.Ettore Perazzoli2001-04-043-3/+50
| | | | svn path=/trunk/; revision=9133
* Iain's fix did not help, fixing myself. closes #1914Gediminas Paulauskas2001-04-032-3/+8
| | | | svn path=/trunk/; revision=9112
* Blessed by Ettore.Gediminas Paulauskas2001-04-022-0/+17
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Include <gal/util/e-util.h> here.Christopher James Lahey2001-04-012-0/+5
| | | | | | | | 2001-03-31 Christopher James Lahey <clahey@ximian.com> * evolution-storage-set-view.c: Include <gal/util/e-util.h> here. svn path=/trunk/; revision=9077
* If the importer can't be started, don't continueIain Holmes2001-03-312-0/+17
| | | | svn path=/trunk/; revision=9064
* Fix a crash when the evolution-importer-client tries to pass NULL for the ↵Iain Holmes2001-03-312-0/+7
| | | | | | folderpath. svn path=/trunk/; revision=9055
* Since this is an ETree now, the signature of the double click callback hasChristopher James Lahey2001-03-312-0/+7
| | | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * e-shell-folder-selection-dialog.c (dbl_click_cb): Since this is an ETree now, the signature of the double click callback has changed. svn path=/trunk/; revision=9052
* add a "debug" method to tell a component to output debugging messages to aDan Winship2001-03-316-1/+77
| | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: add a "debug" method to tell a component to output debugging messages to a given file. * main.c (main): Add a "--debug filename" argument, to direct debugging output for all components to a file. Redirect the shell's stdout/stderr to that file if this argument is used. * evolution-shell-component-client.c (evolution_shell_component_client_set_owner): If debug_log is set, call the component's debug method as well. * evolution-shell-component.c (impl_ShellComponent_debug): redirect stdout/stderr to the named file and emit a "debug" signal. svn path=/trunk/; revision=9046
* Remove/replace unneeded includes and move around stuff so that systemKjartan Maraas2001-03-3040-87/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: Remove/replace unneeded includes and move around stuff so that system headers are included first. * e-corba-storage.c: Replace #include <bonobo.h> * e-folder-tree.c: Shuffle. * e-folder.c: Remove #include <gtk/gtkobject.h> * e-local-storage.c: Replace #include <gnome.h> and <bonobo.h> * e-setup.c: Replace #include <glib.h> and <gnome.h> * e-shell-folder-creation-dialog.c: Replace #include <gnome.h> * e-shell-folder-title-bar.c: Replace <gnome.h> * e-shell-utils.c: Same here. * e-shell-view-menu.c: Same here (and <bonobo.h>) * e-shell-view.c: Replace <gnome.h> and <bonobo.h> * e-shell.c: Replace <gnome.h> * e-shell.h: Shuffle. * e-shortcuts-view-model.c: Replace <gnome.h> * e-shortcuts-view.c: Remove #include <gnome.h> * e-shortcuts.c: Move <string.h> up. * e-splash.c: Replace <gnome.h> * e-storage-set-view.c: Replace <gnome.h> * e-storage-set.c: Shuffle * e-storage.c: Replace <gnome.h> * evolution-local-storage.c: Same here * evolution-local-storage.h: And here. * evolution-session.c: Same here too. * evolution-session.h: Replace <bonobo.h> * evolution-shell-client.c: Here too. * evolution-shell-component-client.c: Shuffle. * evolution-shell-component.c: Replace <bonobo.h> * evolution-shell-view.c: Remove #include <bonobo.h> * evolution-shell-view.h: Replace <gnome.h> * evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-listener.h: Replace <gnome.h> * evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-set-view.c: Remove <gnome.h> * evolution-storage.c: Replace <bonobo.h> * main.c: Replace <gnome.h> and <bonobo.h> * importer/importer.c: Replace <gnome.h> * importer/intelligent.c: Replace <gnome.h>. Add prototype for svn path=/trunk/; revision=9019
* Use `g_strcasecmp()' instead of `strcasecmp()', just to be anal aboutEttore Perazzoli2001-03-292-2/+7
| | | | | | portability. svn path=/trunk/; revision=9005
* Use strcasecmp instead of strcmp.Christopher James Lahey2001-03-292-4/+9
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (storage_sort_callback, folder_sort_callback): Use strcasecmp instead of strcmp. svn path=/trunk/; revision=9002
* Sigh. Use the right variable, idiot. And fix a crash bug thatEttore Perazzoli2001-03-292-1/+6
| | | | | | happened when doing dnd in the folder tree. svn path=/trunk/; revision=8998
* In a fit of egomania, added myself to the authors array.Jon Trowbridge2001-03-282-0/+6
| | | | | | | | | 2001-03-28 Jon Trowbridge <trow@gnu.org> * e-shell-view-menu.c: In a fit of egomania, added myself to the authors array. svn path=/trunk/; revision=8989
* Get the shell to compile by implementing a missing function.Ettore Perazzoli2001-03-272-2/+17
| | | | svn path=/trunk/; revision=8959
* Finish the DnD stuff by implementing move/copy on the shell side asEttore Perazzoli2001-03-2710-26/+423
| | | | | | | well. Now we should just need to implement the corresponding bits in the components... svn path=/trunk/; revision=8949
* Refactor ELocalStorage a bit so that it's easier to implement theEttore Perazzoli2001-03-232-192/+206
| | | | | | missing operations. svn path=/trunk/; revision=8913
* Fix some warnings, Allow the importers to import into any folder. UpdateIain Holmes2001-03-2310-37/+110
| | | | | | | | | | Fix some warnings, Allow the importers to import into any folder. Update all importers for this change. Don't emit the create_folder callback if the folder to be created already exists. This should fix the libibex crash when importing. svn path=/trunk/; revision=8912
* Leak plug: free the target list after starting the drag.Ettore Perazzoli2001-03-232-2/+7
| | | | svn path=/trunk/; revision=8904
* Fix the signature of a callback for the `e_storage_set_async_create()'Ettore Perazzoli2001-03-232-1/+8
| | | | | | call to match the changes in the API. svn path=/trunk/; revision=8903
* Changed the EStorageSet API to have a single `xfer()' method insteadEttore Perazzoli2001-03-225-98/+164
| | | | | | | | | | | | of separate copy/move (as in the IDL). Actually implement the `xfer()' operation for the case when source and destination are in the same storage. Fix the `EStorageSet' API by having a special `EStorageSetResultCallback' callback type for it (instead of using `EStorageResultCallback', which would never work). Also, removed some unused variables in `e-storage-set-view.c'. svn path=/trunk/; revision=8895
* Added an xfer method to `EStorage' and `GNOME::Evolution::Storage'.Ettore Perazzoli2001-03-225-17/+99
| | | | svn path=/trunk/; revision=8894
* More DnD work. Now we handle copying and moving of folders, althoughEttore Perazzoli2001-03-224-59/+228
| | | | | | | | | the hooks to actually make the physical operation happen are missing. Also, fix a stupid cut & paste error in Chris' commit (and re-indent the code a bit to make it match the surrounding style). svn path=/trunk/; revision=8890
* renaming icons to make Miguel's speedups possibleJakub Steiner2001-03-221-0/+1
| | | | svn path=/trunk/; revision=8884
* Changed get_save_id to just return a strdup of the path. (new_storage_cb,Christopher James Lahey2001-03-222-23/+40
| | | | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Changed get_save_id to just return a strdup of the path. (new_storage_cb, new_folder_cb, insert_folders, insert_storages): Call e_tree_memory_sort_node. svn path=/trunk/; revision=8883
* Fix a stupid g_warning caused by calling EStorageSet functions on aEttore Perazzoli2001-03-212-8/+16
| | | | | | NULL pointer. svn path=/trunk/; revision=8865
* s/helixcode\.com/ximian.com/ and update all the copyrights in the IDLEttore Perazzoli2001-03-218-16/+16
| | | | | | files. svn path=/trunk/; revision=8864
* Update description of the file and my email address in it.Ettore Perazzoli2001-03-211-2/+3
| | | | svn path=/trunk/; revision=8863
* StudlyCapsify struct members to match the new IDL naming standards.Ettore Perazzoli2001-03-213-14/+20
| | | | svn path=/trunk/; revision=8862
* Handle the destination side of drag and drop too.Ettore Perazzoli2001-03-213-18/+165
| | | | svn path=/trunk/; revision=8861
* make sure intelligent.h gets distedJP Rosevear2001-03-202-0/+5
| | | | | | | | 2001-03-20 JP Rosevear <jpr@ximian.com> * importer/Makefile.am: make sure intelligent.h gets disted svn path=/trunk/; revision=8845
* Bumped gal requirement to 0.5.99.8.Christopher James Lahey2001-03-204-244/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped gal requirement to 0.5.99.8. From addressbook/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged branch: 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c: Call e_selection_model_simple_insert_rows and e_selection_model_simple_delete_rows instead of e_selection_model_simple_insert_row and e_selection_model_simple_delete_row. End of branch From mail/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added has_save_id and get_save_id methods. * subscribe-dialog.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added a call to e_tree_memory_set_expanded_default to TRUE. Removed all calls to set_expanded on nodes while the tree is frozen since this fails miserably now. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_get_layout): Turned off draw-grid. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * folder-browser-factory.c, folder-browser.c, message-list.c, message-list.h, subscribe-dialog.c, subscribe-dialog.h, mail-callbacks.c: Converted these all to use ETree instead of ETable. End of branch From shell/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Made "root" detection deal properly with removed nodes. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Added some unused code to implement saving of the expanded state. * e-storage-set-view.c: Added has_save_id and get_save_id methods. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c, e-storage-set-view.h: Chaned this to use ETree instead of ETable. End of branch svn path=/trunk/; revision=8839
* Added a simple FIXME comment about possibly using theEttore Perazzoli2001-03-201-0/+3
| | | | | | | EvolutionShellComponentShell API for querying the SourceFolder DnD interface. svn path=/trunk/; revision=8836
* Added calls to the `EvolutionShellComponentClient' API to query theEttore Perazzoli2001-03-203-4/+109
| | | | | | DnD interfaces with caching. svn path=/trunk/; revision=8835
* Sigh. Fix a few really stupid crashes in EStorageSetView.Ettore Perazzoli2001-03-202-17/+26
| | | | svn path=/trunk/; revision=8826
* Use the new DnD interfaces on the source side of DnD actions.Ettore Perazzoli2001-03-203-37/+249
| | | | svn path=/trunk/; revision=8825
* Initial step for refactoring of the DnD API for ShellComponents.Ettore Perazzoli2001-03-199-115/+114
| | | | svn path=/trunk/; revision=8820
* Added Azeri language filePablo Saratxaga2001-03-152-3/+6
| | | | | | | fixed various po files fixed a no-c-format tag svn path=/trunk/; revision=8733
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-151-15/+0
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* builddir != srcdir fixes. Yay!Ettore Perazzoli2001-03-142-4/+13
| | | | svn path=/trunk/; revision=8706
* Have a "Do not ask me again" box for the importers.Iain Holmes2001-03-142-12/+55
| | | | svn path=/trunk/; revision=8676
* All my changes to get the folder creation working, and the magic NetscapeIain Holmes2001-03-1315-164/+669
| | | | | | importer. svn path=/trunk/; revision=8661
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-087-61/+276
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Added the ability for components to specify drag/drop types, andEttore Perazzoli2001-03-088-14/+425
| | | | | | | started some work to get the EStorageSetView to use them. Still in progress, nothing really happens for the user yet. svn path=/trunk/; revision=8589
* Don't try to generate a Makefile in camel/providers/vee as it's empty.Kjartan Maraas2001-03-081-1/+1
| | | | | | | | | 2001-03-07 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Don't try to generate a Makefile in camel/providers/vee as it's empty. svn path=/trunk/; revision=8583
* Override cursor_activated signal instead of cursor_changed signal.Christopher James Lahey2001-03-052-4/+9
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c: Override cursor_activated signal instead of cursor_changed signal. svn path=/trunk/; revision=8554
* Update this again.Dan Winship2001-02-282-14/+16
| | | | | | * main.c (development_warning): Update this again. svn path=/trunk/; revision=8417
* Added `accepted_dnd_mime_types' and `exported_dnd_mime_types' membersEttore Perazzoli2001-02-275-14/+26
| | | | | | | to the `FolderType' struct and renamed `Evolution::Shell::FolderTypeList' to `Evolution::Shell::FolderTypeNameList' to avoid confusion. svn path=/trunk/; revision=8400
* Don't free a const pointer.Jeffrey Stedfast2001-02-252-3/+9
| | | | | | | | 2001-02-24 Jeffrey Stedfast <fejj@ximian.com> * e-storage.c (folder_changed_cb): Don't free a const pointer. svn path=/trunk/; revision=8380
* Remove a warning....DOH!Iain Holmes2001-02-241-1/+0
| | | | svn path=/trunk/; revision=8372
* Changes to allow folders to be created from a callback.Iain Holmes2001-02-243-36/+87
| | | | svn path=/trunk/; revision=8371
* add include. (show_import_wizard): update signature to that of a verb.Michael Meeks2001-02-235-76/+41
| | | | | | | | | | | | | | | 2001-02-21 Michael Meeks <michael@ximian.com> * importer/importer.c: add include. (show_import_wizard): update signature to that of a verb. * evolution-shell-component.c (corba_class_init): move into (class_init): here & upd. (evolution_shell_component_construct): upd. (create_servant): kill. (E_MAKE_TYPE) -> E_MAKE_X_TYPE. svn path=/trunk/; revision=8359
* split "highlighted" into self_highlight and child_highligh.Dan Winship2001-02-214-14/+61
| | | | | | | | | | | | | | | * e-folder.c (_EFolderPrivate): split "highlighted" into self_highlight and child_highligh. (e_folder_get_highlighted): Return TRUE if either self_highlight is true or any child is highlighted. (e_folder_set_child_highlight): New function to tell the folder about a child highlight change. * e-storage.c (folder_changed_cb): Update child highlights correctly on folders so that folders will be highlighted whenever their children are. svn path=/trunk/; revision=8311
* Cast this fucntion pointer.Christopher James Lahey2001-02-176-4/+21
| | | | | | | | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> * e-shell-view-menu.c (file_verbs): Cast this fucntion pointer. * e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling here. * evolution-shell-component.c (impl_ShellComponent_async_copy_folder): Commented out this unused function. * evolution-storage.c (storage_gtk_to_corba_result): Removed an unused variable here. * importer/importer.c: Include gal/widets/e-gui-utils.h. svn path=/trunk/; revision=8269
* Ignore generated .oaf filesDan Winship2001-02-151-0/+1
| | | | | | * various .cvsignore files: Ignore generated .oaf files svn path=/trunk/; revision=8237
* add asyncCreateFolder and asyncRemoveFolder interfaces. (UseDan Winship2001-02-158-41/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl: add asyncCreateFolder and asyncRemoveFolder interfaces. (Use Bonobo::Listener rather than creating a new listener interface.) * Evolution-LocalStorage.idl: Remove the Evolution::LocalStorageOpsListener interface, which wasn't being used. * evolution-storage.c (impl_Storage_async_create_folder, impl_Storage_async_remove_folder): implement by emitting signals on the EvolutionStorage object. Convert from EvolutionStorageResult to GNOME_Evolution_Storage_Result (blah!) (class_init): Set up the new "create_folder" and "remove_folder" signals. * e-corba-storage.c (async_create_folder, async_remove_folder): Implement, using the new Evolution::Storage IDL. Convert from GNOME_Evolution_Storage_Result to EStorageResult (blah!) * e-storage-set.c (e_storage_set_async_create_folder): Don't allow a NULL description (since it doesn't allow a NULL anythign else). * e-shell-folder-creation-dialog.c (dialog_clicked_cb): Pass "" rather than NULL for the description. svn path=/trunk/; revision=8230
* Forgot thisKjartan Maraas2001-02-131-1/+1
| | | | svn path=/trunk/; revision=8189
* xml-i18n-tools setup. Mark strings for translation.Kjartan Maraas2001-02-132-2/+10
| | | | | | | | | 2001-02-12 Kjartan Maraas <kmaraas@gnome.org> * Makefile.am: xml-i18n-tools setup. * GNOME_Evolution_Shell.oaf.in: Mark strings for translation. svn path=/trunk/; revision=8188
* Merge from the stable branch: display the `SUB_VERSION' in the aboutEttore Perazzoli2001-02-102-32/+49
| | | | | | box as well. svn path=/trunk/; revision=8159
* Change the folder selection dialog so that, when you click on "New"Ettore Perazzoli2001-02-096-23/+116
| | | | | | | and create a folder, that folder becomes the default folder when you go back to the selection dialog. svn path=/trunk/; revision=8119
* Fix broken English.Ettore Perazzoli2001-02-062-1/+6
| | | | svn path=/trunk/; revision=8000
* Remove <config.h> #includes from the `.h' files, which is known to be,Ettore Perazzoli2001-02-0624-92/+26
| | | | | | um, a wrong thing to do. svn path=/trunk/; revision=7983