aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
Commit message (Collapse)AuthorAgeFilesLines
* Coding style and whitespace cleanup.Matthew Barnes2010-02-081-1/+2
|
* Fix include paths for some files to also work when installedGustavo Noronha Silva2010-01-272-2/+2
| | | | Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
* Coding style and whitespace cleanup.Matthew Barnes2010-01-041-1/+5
|
* Kill ETableScrolled.Matthew Barnes2009-12-082-24/+0
| | | | | ETableScrolled is nothing but a GtkScrolledWindow containing an ETable. It adds nothing of value and actually makes customizing ETable harder.
* Bug 360461 - Do not hardcode invisible_char in ui filesClaude Paroz2009-11-171-1/+0
|
* BugĀ 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-1713-462/+443
|
* Bug 596848 - Use per-target CPPFLAGS in automake filesH.Habighorst2009-10-011-1/+2
|
* Goodbye libgnome and libgnomeui!!Matthew Barnes2009-09-191-0/+2
|
* Fix widget include paths in public header files.Matthew Barnes2009-08-313-3/+3
|
* More whitespace cleanup.Matthew Barnes2009-07-193-3/+3
|
* Fix excessive whitespace.Matthew Barnes2009-07-1413-17/+0
|
* Fix "make distcheck" errors and other build cleanups.Matthew Barnes2009-07-011-1/+1
|
* Use G_BEGIN_DECLS / G_END_DECLS macros.Matthew Barnes2009-06-187-45/+14
|
* More code cleanup.Matthew Barnes2009-06-023-10/+10
|
* Whitespace cleanup.Matthew Barnes2009-05-291-1/+1
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-2716-188/+188
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-2720-25/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-2722-22/+22
| |
| * Fix compiler warnings in widgets.Matthew Barnes2009-05-264-8/+4
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
| * Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-021-0/+2
| |
| * Remove unneeded #include <libgnome/gnome-util.h>.Matthew Barnes2009-01-112-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/e-contact-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/e-cal-list-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-itip-control.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-meeting-store.c: * calendar/gui/e-week-view.c: * calendar/gui/gnome-cal.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-control.c: * e-util/e-dialog-utils.c: * mail/em-folder-view.c: * mail/importers/mail-importer.c: * shell/e-shell.c: * shell/evolution-shell-component-utils.c: * shell/importer/intelligent.c: * shell/main.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-instance.c: Remove unneeded #include <libgnome/gnome-util.h>. svn path=/trunk/; revision=37036
| * ** Fixes bug #567276Matthew Barnes2009-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #567276 * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/test-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/control-factory.c: * calendar/gui/e-itip-control.c: * calendar/gui/gnome-cal.c: * calendar/gui/goto.c: * calendar/gui/memos-control.c: * calendar/gui/print.c: * calendar/gui/tasks-control.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/schedule-page.c: * widgets/menus/gal-view-menus.c: Remove unneeded #include <libgnomeui/gnome-dialog-util.h>. * calendar/gui/calendar-config.c: * calendar/gui/calendar-config.h: Removed unused function calendar_config_check_timezone_set(). * widgets/misc/test-color.c: We don't ship this. Remove it. svn path=/trunk/; revision=37030
| * Only include the toplevel GTK+ header.Matthew Barnes2008-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-30 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/test-editor.c: * addressbook/gui/widgets/e-minicard-label.c: * addressbook/gui/widgets/e-minicard-view-widget.c: * addressbook/gui/widgets/test-reflow.c: * calendar/gui/control-factory.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-week-view-event-item.c: * calendar/gui/weekday-picker.c: * e-util/e-icon-factory.c: * shell/importer/evolution-importer-client.h: * shell/importer/intelligent.c: * shell/test/evolution-test-component.c: * widgets/menus/gal-view-menus.c: * widgets/misc/e-activity-handler.c: * widgets/table/e-table-config-field.h: Only include the toplevel GTK+ header. svn path=/trunk/; revision=36699
| * License Changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-132-32/+30
| | | | | | | | svn path=/trunk/; revision=36313
| * Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-038-116/+123
| | | | | | | | | | | | More changes to come. svn path=/trunk/; revision=36247
| * License ChangesSankarasivasubramanian Pasupathilingam2008-08-2712-177/+196
| | | | | | | | svn path=/trunk/; revision=36116
* | Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-211-1/+1
| |
* | Use -no-undefined on Linux tooMilan Crha2009-05-203-3/+3
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-041-0/+2
| |
* | Redesign EPluginUI to accommodate merging and unmerging shell views.Matthew Barnes2009-01-242-146/+0
| | | | | | | | | | | | Get the "mark-all-read" and "plugin-manager" plugins working. svn path=/branches/kill-bonobo/; revision=37125
* | Merge revisions 36866:37046 from trunk.Matthew Barnes2009-01-122-2/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37050
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-022-32/+30
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-1118-288/+281
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Saving progress. Lots of changes. Things are a bit broken at the moment.Matthew Barnes2008-09-053-578/+1
|/ | | | svn path=/branches/kill-bonobo/; revision=36260
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2120-20/+20
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-0612-20/+9
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* gtk_window_set_policy -> gtk_window_set_resizable.Kjartan Maraas2008-06-042-13/+13
| | | | | | | | | | 2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * menus/gal-define-views-dialog.c: (gal_define_views_dialog_init): * menus/gal-view-new-dialog.c: (gal_view_new_dialog_init): gtk_window_set_policy -> gtk_window_set_resizable. svn path=/trunk/; revision=35586
* ** Fixes bug #534360Matthew Barnes2008-05-232-6/+6
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC.Matthew Barnes2008-01-293-5/+5
| | | | | | | | | | | | | | | | 2008-01-29 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/widgets/e-minicard.c: * addressbook/gui/widgets/gal-view-minicard.c: * mail/mail-send-recv.c: * shell/e-component-registry.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-instance.c: * widgets/menus/gal-view-menus.c: Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC. svn path=/trunk/; revision=34931
* ** Fixes bug #495951 Use GtkTreeView in place of ETableGilles Dartiguelongue2007-11-273-276/+242
| | | | | | | | | | 2007-11-26 Gilles Dartiguelongue <gdartigu@svn.gnome.org> ** Fixes bug #495951 Use GtkTreeView in place of ETable svn path=/trunk/; revision=34590
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1520-58/+58
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]Kjartan Maraas2007-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_local_offset), (get_local_timezone), (on_map_visibility_changed), (on_map_button_pressed), (get_zone_from_point), (e_timezone_dialog_set_timezone), (on_combo_changed): * menus/gal-view-factory.c: (gal_view_factory_get_title): * text/Makefile.am: * text/e-text.c: (e_text_event), (popup_targets_received), (next_word), (find_offset_into_line), (_get_position), (e_text_class_init): * text/e.entry.[ch] * text/e-completion.[ch] * text/e-text-model-uri.[ch] * text/e-completion-view.[ch] * text/e-completion-callbacks.[ch] * text/e-completion-match.[ch] * text/e-table-text-model.[ch]: Remove all of these. They are now unused. Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function declarations svn path=/trunk/; revision=34468
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0220-40/+40
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-8/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* Remove E_MAKE_TYPE macro.Hiroyuki Ikezoe2007-07-2810-97/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-util/e-util.h: Remove E_MAKE_TYPE macro. * e-util/e-bit-array.c: * e-util/e-sorter-array.c: * e-util/e-sorter.c: * e-util/e-text-event-processor-emacs-like.c: * e-util/e-text-event-processor.c: * widgets/menus/gal-define-views-dialog.c: * widgets/menus/gal-define-views-model.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-etable.c: * widgets/menus/gal-view-factory-etable.c: * widgets/menus/gal-view-factory.c: * widgets/menus/gal-view-instance-save-as-dialog.c: * widgets/menus/gal-view-instance.c: * widgets/menus/gal-view-new-dialog.c: * widgets/menus/gal-view.c: * widgets/misc/e-canvas-background.c: * widgets/misc/e-canvas-vbox.c: * widgets/misc/e-canvas.c: * widgets/misc/e-printable.c: * widgets/misc/e-reflow-model.c: * widgets/misc/e-reflow.c: * widgets/misc/e-selection-model-array.c: * widgets/misc/e-selection-model-simple.c: * widgets/misc/e-selection-model.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-cell-combo.c: * widgets/table/e-cell-date.c: * widgets/table/e-cell-float.c: * widgets/table/e-cell-hbox.c: * widgets/table/e-cell-number.c: * widgets/table/e-cell-pixbuf.c: * widgets/table/e-cell-popup.c: * widgets/table/e-cell-progress.c: * widgets/table/e-cell-size.c: * widgets/table/e-cell-spin-button.c: * widgets/table/e-cell-text.c: * widgets/table/e-cell-toggle.c: * widgets/table/e-cell-tree.c: * widgets/table/e-cell-vbox.c: * widgets/table/e-cell.c: * widgets/table/e-table-click-to-add.c: * widgets/table/e-table-col.c: * widgets/table/e-table-column-specification.c: * widgets/table/e-table-column.c: * widgets/table/e-table-config-field.c: * widgets/table/e-table-config.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-field-chooser-dialog.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-field-chooser.c: * widgets/table/e-table-group-container.c: * widgets/table/e-table-group-leaf.c: * widgets/table/e-table-group.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header.c: * widgets/table/e-table-item.c: * widgets/table/e-table-memory-callbacks.c: * widgets/table/e-table-memory-store.c: * widgets/table/e-table-memory.c: * widgets/table/e-table-model.c: * widgets/table/e-table-one.c: * widgets/table/e-table-scrolled.c: * widgets/table/e-table-search.c: * widgets/table/e-table-selection-model.c: * widgets/table/e-table-simple.c: * widgets/table/e-table-sort-info.c: * widgets/table/e-table-sorted-variable.c: * widgets/table/e-table-sorted.c: * widgets/table/e-table-sorter.c: * widgets/table/e-table-specification.c: * widgets/table/e-table-state.c: * widgets/table/e-table-subset-variable.c: * widgets/table/e-table-subset.c: * widgets/table/e-table-without.c: * widgets/table/e-table.c: * widgets/table/e-tree-memory-callbacks.c: * widgets/table/e-tree-memory.c: * widgets/table/e-tree-model.c: * widgets/table/e-tree-scrolled.c: * widgets/table/e-tree-selection-model.c: * widgets/table/e-tree-simple.c: * widgets/table/e-tree-sorted-variable.c: * widgets/table/e-tree-sorted.c: * widgets/table/e-tree-table-adapter.c: * widgets/table/e-tree.c: * widgets/text/e-completion-callbacks.c: * widgets/text/e-completion-view.c: * widgets/text/e-completion.c: * widgets/text/e-entry.c: * widgets/text/e-table-text-model.c: * widgets/text/e-text-model-uri.c: * widgets/text/e-text-model.c: * widgets/text/e-text.c: Use G_DEFINE_TYPE instead of E_MAKE_TYPE. svn path=/trunk/; revision=33864
* Remove a warningSrinivasa Ragavan2007-06-181-1/+0
| | | | svn path=/trunk/; revision=33702
* ** Fix for bug #446015 from Gilles Dartiguelongue Srinivasa Ragavan2007-06-183-303/+332
| | | | svn path=/trunk/; revision=33701
* ** Fix for bug #325882Srinivasa Ragavan2007-06-181-1/+1
| | | | svn path=/trunk/; revision=33694
* Fix compilation warnings in widgets folder (#441014).Matthew Barnes2007-06-032-25/+25
| | | | svn path=/trunk/; revision=33626
* Add tooltips for Views menu.Srinivasa Ragavan2007-05-111-0/+7
| | | | svn path=/trunk/; revision=33511
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-205-14/+17
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-218-13/+13
| | | | | | | | | | | | | | | | | | | | | | | 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
* remove "*" from translation. Fixes bug #331147.Andre Klapper2006-07-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-07-18 Andre Klapper <a9016009@gmx.de> * addressbook/gui/contact-editor/contact-editor.glade: * addressbook/gui/contact-editor/fullname.glade: * addressbook/gui/contact-editor/fulladdr.glade: * addressbook/gui/contact-editor/im.glade: * addressbook/gui/contact-list-editor/contact-list-editor.glade: * calendar/gui/dialogs/calendar-setup.glade: * calendar/gui/dialogs/new-calendar.glade: * calendar/gui/dialogs/new-task-list.glade: * calendar/gui/dialogs/url-editor-dialog.glade: * mail/message-tags.glade: * plugins/exchange-operations/exchange-change-password.glade: * plugins/groupwise-features/properties.glade: * widgets/e-timezone-dialog/e-timezone-dialog.glade: * widgets/menus/gal-view-instance-save-as-dialog.glade: * widgets/menus/gal-view-new-dialog.glade: * widgets/misc/e-attachment.glade: * widgets/misc/gal-categories.glade: remove "*" from translation. Fixes bug #331147. svn path=/trunk/; revision=32340
* remove empty strings from translationAndre Klapper2006-07-131-2/+2
| | | | | | | | | | | 2006-07-13 Andre Klapper <a9016009@gmx.de> * mail/mail-config.glade: * plugins/exchange-operations/exchange-permissions-dialog.glade: * widgets/menus/gal-view-instance-save-as-dialog.glade: remove empty strings from translation svn path=/trunk/; revision=32300
* Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point): * menus/gal-view-menus.c: * misc/e-attachment-bar.c: (calculate_height_width), (update_remote_file), (e_attachment_bar_get_attachment), (class_init): * misc/e-attachment.c: (async_progress_update_cb), (download_to_local_path): * misc/e-calendar-item.c: (e_calendar_item_get_arg), (e_calendar_item_realize), (e_calendar_item_ensure_days_visible): * misc/e-calendar.c: (e_calendar_drag_motion), (e_calendar_drag_leave), (e_calendar_focus): * misc/e-canvas-background.c: (ecb_get_property): * misc/e-canvas.c: (e_canvas_class_init), (pick_current_item): * misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup), (e_cell_date_edit_show_popup): * misc/e-cell-percent.c: * misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate): * misc/e-config-page.c: (e_config_page_class_init): * misc/e-dateedit.c: (e_date_edit_set_date), (e_date_edit_set_date_and_time_of_day), (on_date_popup_date_selected): * misc/e-dropdown-button.c: (e_dropdown_button_class_init): * misc/e-expander.c: (get_expander_bounds), (e_expander_expose), (is_in_expander_panel): * misc/e-filter-bar.c: (option_changed), (build_items): * misc/e-image-chooser.c: (e_image_chooser_init), (image_drag_data_received_cb): * misc/e-map.c: (e_map_size_allocate), (e_map_button_press), (e_map_button_release), (e_map_motion), (e_map_zoom_to_location), (e_map_zoom_out), (update_render_point), (repaint_point), (zoom_in_smooth): * misc/e-multi-config-dialog.c: (impl_response): * misc/e-reflow.c: (e_reflow_realize), (e_reflow_event): * misc/e-search-bar.c: (clear_search), (search_now_verb_cb), (entry_activated_cb), (activate_button_clicked_cb), (clear_button_clicked_cb): * misc/e-selection-model.c: (e_selection_model_key_press): * misc/e-send-options.c: (delay_until_date_changed_cb), (e_sendoptions_get_need_general_options): * misc/e-unicode.c: (e_stripped_char): * table/e-cell-progress.c: (eprog_draw_border), (eprog_draw), (eprog_event): * table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus), (ecsb_unfocus), (ecsb_dispose): * table/e-cell-text.c: (ect_draw), (ect_show_tooltip): * table/e-cell-toggle.c: (etog_draw), (etog_event): * table/e-cell-tree.c: (ect_max_width): * table/e-cell-vbox.c: * table/e-table-click-to-add.c: (etcta_event): * table/e-table-config.c: (create_global_store): * table/e-table-field-chooser-dialog.c: * table/e-table-field-chooser-item.c: (etfci_find_button), (etfci_reflow), (etfci_get_property), (etfci_realize): * table/e-table-field-chooser.c: (e_table_field_chooser_class_init): * table/e-table-group-container.c: (etgc_unrealize): * table/e-table-group.c: (e_table_group_new): * table/e-table-header-item.c: (e_table_header_item_get_height), (ethi_realize), (ethi_event): * table/e-table-header-utils.c: (e_table_draw_elided_string), (e_table_header_draw_button): * table/e-table-item.c: (eti_set_property), (eti_get_property), (eti_draw), (eti_event), (eti_cursor_change): * table/e-table-scrolled.c: (e_table_scrolled_class_init): * table/e-table-search.c: * table/e-table-sort-info.c: (e_table_sort_info_save_to_node): * table/e-table.c: (table_canvas_reflow_idle), (table_canvas_size_allocate), (canvas_vbox_event), (click_to_add_event), (do_drag_motion), (e_table_class_init): * table/e-tree-scrolled.c: (e_tree_scrolled_class_init): * table/e-tree.c: (tree_canvas_reflow_idle), (tree_canvas_size_allocate), (e_tree_drag_get_data), (do_drag_motion), (e_tree_class_init): * text/e-text.c: (e_text_set_property), (e_text_draw), (_do_tooltip), (primary_clear_cb), (_get_position), (e_text_command): Tons of cleanups of the following sort: - remove unused vars - remove extraneous semi-colons - add some comments where assignments were done without using the results later - remove break; statements after return foo; - add casts in some places to be more type correct - rename variables with name clashes - s/if/ifdef in some cases - mark some code static - remove some unused functions - use guint for 1-bit bitfields svn path=/trunk/; revision=31371
* ** Fixes bug #326264Srinivasa Ragavan2006-01-141-1/+1
| | | | | | | | | | | 2006-01-13 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #326264 * menus/gal-view-menus.c: (build_menus): Changes mnemonics of Current View menu item, since it collides with Caret Mode. svn path=/trunk/; revision=31176
* Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * menus/gal-view-instance.c: * misc/e-attachment-bar.c: * misc/e-calendar-item.c: * misc/e-dateedit.c: Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strfime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31122
* ** Fixes bug #240762Srinivasa Ragavan2005-12-201-1/+1
| | | | | | | | | | | | 2005-12-20 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #240762 * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb): Made only the user created views to be editable. svn path=/trunk/; revision=30906
* Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype.Tor Lillqvist2005-12-181-0/+1
| | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * menus/gal-view-instance.c: Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype. svn path=/trunk/; revision=30862
* Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype.Tor Lillqvist2005-12-181-1/+1
| | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * menus/gal-view-collection.c (gal_view_collection_save): Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype. svn path=/trunk/; revision=30861
* Patch from Irene Huang <Irene.Huang@sun.com>.Veerapuram Varadhan2005-12-131-1/+1
| | | | | | | | * Remove files that have an identical counterpart in libedataserver. * Replace the use of such files with appropriate counterpart path. svn path=/trunk/; revision=30758
* Load the widget pointer before using it. Fixes a compiler warning as wellVeerapuram Varadhan2005-12-061-1/+1
| | | | | | | | * menus/gal-view-new-dialog.c (gal_view_new_dialog_set_property): Load the widget pointer before using it. Fixes a compiler warning as well as #313219 svn path=/trunk/; revision=30731
* 2005-11-29 Simon Zheng <simon.zheng@sun.comaHarry Lu2005-11-291-3/+5
| | | | | | | | | * menus/gal-view-collection.c: (gal_view_generate_string): Fix #322311. Using g_utf8_next_char() to traverses UTF-8 string and replace characters that are neither a alpha nor a numeral. svn path=/trunk/; revision=30700
* menus/gal-view-collection.c (load_single_dir) UseTor Lillqvist2005-09-302-2/+2
| | | | | | | | | | | | 2005-09-29 Tor Lillqvist <tml@novell.com> * menus/gal-view-collection.c (load_single_dir) * menus/gal-view-instance.c (load_current_view): Use g_win32_locale_filename_from_utf8() from GLib 2.8 instead of gnome_win32_locale_filename_from_utf8() which was temporarily in libgnome. svn path=/trunk/; revision=30420
* Fix #240762. If the galview implement the edit function, enable the editLi Yuan2005-09-291-2/+2
| | | | | | | | | | | 2005-09-29 Li Yuan <li.yuan@sun.com> * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb): Fix #240762. If the galview implement the edit function, enable the edit button. If not, disable it. svn path=/trunk/; revision=30414
* Install in privsolib instead of privlib (no difference on Unix). UseTor Lillqvist2005-09-281-6/+10
| | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * menus/Makefile.am: Install in privsolib instead of privlib (no difference on Unix). Use NO_UNDEFINED. Drop several overlapping CFLAGS, use E_UTIL_CFLAGS instead. Link with necessary libraries. svn path=/trunk/; revision=30405
* Add a11y name to the left table of config dialog. Add name to the leftLi Yuan2005-08-041-0/+10
| | | | | | | | | | | | | | 2005-08-03 Li Yuan <li.yuan@sun.com> * menus/gal-view-new-dialog.glade: Add a11y name to the left table of config dialog. * misc/e-multi-config-dialog.c: Add name to the left table of preference dialog. * table/e-table-config.c: (e_table_proxy_etable_shown_new), (e_table_proxy_etable_available_new): Add a11y name to "Show Fields" table and "Available Fields" table. svn path=/trunk/; revision=29980
* Fixes a bug where it allows just builtin views to be edited and not userSrinivasa Ragavan2005-07-251-2/+2
| | | | | | | | | | 2005-07-21 Srinivasa Ragavan <sragavan@novell.com> * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb) Fixes a bug where it allows just builtin views to be edited and not user added one. It should have been the other way around. svn path=/trunk/; revision=29868
* Added widgets in INCLUDES.Kaushal Kumar2005-06-234-4/+4
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1721-55/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Port to Windows, initial commit:Tor Lillqvist2005-04-2910-45/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-29 Tor Lillqvist <tml@novell.com> Port to Windows, initial commit: * configure.in: Check for Win32, define Automake conditional OS_WIN32. Check for regexec() perhaps in separate -lregex, define REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0 >= 2.6) so that we can use the gstdio wrappers for full support of non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has ne special meaning. * gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency. * gal-zip.in: New file, used to build zipfile format distribution of gal for Win32. * configure.in * Makefile.am: Add gal-zip(.in). * */Makefile.am * */*.c: Harmonize -I and #include conventions. (Of course, this hasn't anything to do with Windows porting as such, I just got carried away...) Use only -I$(top_srcdir). Use paths to gal headers staring with "gal", except for headers from the same directory as the .c file, which are included as such. Include all gal headers using doublequotes. Sort #includes and remove duplicates and obvious redundancies. Include config.h first without any HAVE_CONFIG_H, then system headers, then other GNOME lib headers, than gal's own headers. Just include gtk.h instead of separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h to use e_gettext() consistently. * gal/Makefile.am: Use -no-undefined on Win32 so that libtool agrees to build a shared library. Because of the bidirectional dependency between libgal and libgal-a11y we can build libgal-a11y sanely as a shared library on Win32, so we don't install any separate libgal-a11y at all. So, on Win32, link the stuff that goes into libgal-a11y also into libgal. Link with REGEX_LIBS. * gal/a11y/Makefile.am: See above. Just build a dummy static libgal-a11y on Win32 (can't convince Automake not to build the library at all on one platform using Automake ifdef, apparently). Then (this is a gross hack) explicitly remove the library after installation in the install-data-local rule. * gal/e-table/Makefile.am * gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to GAL_GLADEDIR for consistency. * gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C library, but its localtime() *is* thread-safe. * gal/e-table/e-cell-text.c * gal/e-table/e-cell-tree.c * gal/e-table/e-cell-vbox.c * gal/e-text/e-text.c * gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h. * gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib macro None (whose value is zero), use the corresponding zero-valued enums from the appropriate GDK type. * gal/e-table/e-table-config.c * gal/e-table/e-table-field-chooser.c * gal/menus/gal-define-views-dialog.c * gal/menus/gal-view-instance-save-as-dialog.c * gal/menus/gal-view-new-dialog.c * gal/widgets/e-categories-master-list-array.c * gal/widgets/e-categories-master-list-dialog.c * gal/widgets/e-categories.c: Use g_build_filename() to construct pathnames at run-time instead of compile-time. On Windows the macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in order to support installing in a freely chosen location. * gal/e-table/e-table-item.c * gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use GDK_GRAB_SUCCESS (which has the same value). * gal/e-table/e-table-specification.c (e_table_specification_load_from_file) * gal/e-table/e-table.c (e_table_load_specification) * gal/e-table/e-tree-table-adapter.c (open_file) * gal/menus/gal-view-instance.c (load_current_view) * gal/menus/gal-view-instance.c (load_current_view): On Win32, convert filename to the locale character set before passing to xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio wrappers. * gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for e-win32-reloc.c. Include e-win32-reloc.c on Win32. * gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on Windows. * gal/util/e-util.c * gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable mkstemp(). Use GLib pathname manipulation functions. Use gstdio wrappers. * gal/util/e-util-private.h: New file. Contains just Win32 bits for now that redefine the directory names from the Makefile as functions calls. * gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain() and functions to support freely chosen installation location on Windows. * gal/util/e-xml-utils.c: No fsync() in the Microsoft C library. * gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for consistency with the sibling Makefile.am files. * gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use GDK_GRAB_ALREADY_GRABBED. svn path=/trunk/; revision=29249
* Fixes #40762Li Yuan2005-03-231-1/+8
| | | | | | | | | | 2005-03-16 Li Yuan <li.yuan@sun.com> * gal-define-views-dialog.c: (etable_selection_change_forall_cb): Fixes #40762 svn path=/trunk/; revision=29093
* don't bonobo_ui_free_string from bonobo_ui_node_to_string - it should beNot Zed2005-03-151-4/+1
| | | | | | | | | | 2005-03-14 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c (build_menus): don't bonobo_ui_free_string from bonobo_ui_node_to_string - it should be g_free'd now (api chagne in bonobo). svn path=/trunk/; revision=29020
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-101-1/+1
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* Convert to G_DEFINE_TYPEJP Rosevear2004-11-121-12/+12
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * menus/gal-view-menus.c: Convert to G_DEFINE_TYPE svn path=/trunk/; revision=27904
* do not set position, it's already done in .glade, call set_transient_forRadek Doulik2004-08-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-02 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): do not set position, it's already done in .glade, call set_transient_for always (passing NULL is valid as well) * e-table-config.glade: * e-table-config-no-group.glade: center window on parent, don't let it resize and most importan make it dialog window so that set_transient_for works against define views dialog Fixes #61936 2004-08-02 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: save collection on exit Fixes #61936 svn path=/trunk/; revision=26819
* watch for selection changes and set Delete button sensitivity according toRadek Doulik2004-07-241-0/+21
| | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: watch for selection changes and set Delete button sensitivity according to view collection item built-in flag Fixes #57914 svn path=/trunk/; revision=26717
* clone view before saving it to avoid problems with setting current_view_idRadek Doulik2004-06-211-0/+2
| | | | | | | | | | | | 2004-06-21 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_save): clone view before saving it to avoid problems with setting current_view_id Fixes #57354 svn path=/trunk/; revision=26437
* prepend label " " before the ETableRadek Doulik2004-06-152-14/+57
| | | | | | | | | | | | | 2004-06-14 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: prepend label " " before the ETable * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_set_instance): select first row (gal_view_instance_save_as_dialog_init): show the etable svn path=/trunk/; revision=26338
* HIGified, updated as suggested in #46236Radek Doulik2004-06-112-244/+224
| | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: HIGified, updated as suggested in #46236 * gal-view-instance-save-as-dialog.c (gvisad_setup_radio_buttons): removed notebook with help text switching (gal_view_instance_save_as_dialog_init): set dialog title Fixes #46236 svn path=/trunk/; revision=26292
* remove defunct Revert button and replace OK/Cancel buttons with a CloseJon Oberheide2004-06-102-43/+2
| | | | | | | | | | 2004-06-08 Jon Oberheide <jon@focalhost.com> * gal-define-views-dialog.c (gal_define_views_dialog_init), gal-define-views.glade: remove defunct Revert button and replace OK/Cancel buttons with a Close button. Fixes bug #48131. svn path=/trunk/; revision=26279
* Fixes #48129Jon Oberheide2004-05-101-0/+1
| | | | | | | | | | | 2004-05-10 Jon Oberheide <jon@focalhost.com> Fixes #48129 * gal-view-new-dialog.c (gal_view_new_dialog_init): set dialog title svn path=/trunk/; revision=25837
* don't issue the display view signal a second time, connect_view does thisJP Rosevear2004-04-061-1/+0
| | | | | | | | | | 2004-04-05 JP Rosevear <jpr@ximian.com> * gal-view-instance.c (gal_view_instance_set_current_view_id): don't issue the display view signal a second time, connect_view does this for us svn path=/trunk/; revision=25324
* NULL out priv->instance when we unref it. Bug #51713.Not Zed2003-12-101-1/+3
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c (remove_instance): NULL out priv->instance when we unref it. Bug #51713. svn path=/trunk/; revision=23895
* shared object looks for wrong mo file"Suresh Chandrasekharan2003-11-033-3/+3
| | | | | | | | | 2003-10-28 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Fix for "50258 libgal: shared object looks for wrong mo file" svn path=/trunk/; revision=23163
* fix string duplication and refcounting problems.Larry Ewing2003-06-242-5/+7
| | | | | | | | | | | | | | 2003-06-23 Larry Ewing <lewing@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): fix string duplication and refcounting problems. 2003-06-20 Larry Ewing <lewing@ximian.com> * gal-view-etable.c (config_changed): unref after g_object_get adds a ref. svn path=/trunk/; revision=21516
* block the signal that got us here until we're done to stop an infiniteMike Kestner2003-05-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-16 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (view_changed): block the signal that got us here until we're done to stop an infinite recursion. Fixes 43153. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (invisible_finalize): kill (ect_stop_editing): destroy the invisible, not weak_unref (e_cell_text_view_get_invisible): don't weak_ref the invisible since we own its ref. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_event): fix a couple timer checks * e-tree-table-adapter.c (update_node): Traverse POST order so that the parent nodes are at the head of the prepended list. Don't restore expanded state to nodes that aren't in the tree any longer. Hopefully fixes #42856. svn path=/trunk/; revision=21229
* Make sure the galview.xml file exists before trying to parse it withJeffrey Stedfast2003-05-171-3/+7
| | | | | | | | | | 2003-05-16 Jeffrey Stedfast <fejj@ximian.com> * gal-view-collection.c (load_single_dir): Make sure the galview.xml file exists before trying to parse it with xmlParseFile() to avoid warning spewage from libxml2. svn path=/trunk/; revision=21219
* Disable debugging messages.Ettore Perazzoli2003-05-162-2/+2
| | | | | | | | * gal-view-collection.c (d): Disable debugging messages. * gal-view-instance.c (d): Disable debugging messages. svn path=/trunk/; revision=21198
* guard against multiple destroysJP Rosevear2003-05-151-0/+3
| | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * e-combo-button.c (impl_destroy): guard against multiple destroys 2003-05-14 JP Rosevear <jpr@ximian.com> * menus/gal-view-menus.c (gvm_finalize): unref the component svn path=/trunk/; revision=21178
* (gal_view_menus_unmerge): Guard againstEttore Perazzoli2003-05-141-1/+2
| | | | | | the BonoboUIComponent not having a container to prevent a warning. svn path=/trunk/; revision=21155
* Don't convert the label charset from UTF-8 into the locale charset.Jeffrey Stedfast2003-04-291-8/+4
| | | | | | | | | 2003-04-23 Jeffrey Stedfast <fejj@ximian.com> * menus/gal-view-menus.c (build_menus): Don't convert the label charset from UTF-8 into the locale charset. svn path=/trunk/; revision=20985
* Try stat'ing the file before loading it with xmlParseFile() to avoidJeffrey Stedfast2003-04-251-4/+6
| | | | | | | | | | 2003-04-23 Jeffrey Stedfast <fejj@ximian.com> * gal-view-instance.c (load_current_view): Try stat'ing the file before loading it with xmlParseFile() to avoid warnign spewage from libxml2 saying that the file doesn't exist. svn path=/trunk/; revision=20955
* Free the id when we're done with it.Hans Petter Jansson2003-04-161-0/+3
| | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gal-view-instance.c (gal_view_instance_get_popup_menu): Free the id when we're done with it. svn path=/trunk/; revision=20854
* fix padding and default size. Fixed warnings elsewhere in file.Mike Kestner2003-04-161-1/+7
| | | | | | | | | | 2003-04-15 Mike Kestner <mkestner@ximian.com> * gal-define-views-dialog.c (g_d_v_d_init): fix padding and default size. Fixed warnings elsewhere in file. (g_d_v_d_set_collection): set the dialog title svn path=/trunk/; revision=20851
* use stock buttons, remove desc frame. #if out the copy button. addMike Kestner2003-04-113-282/+229
| | | | | | | | | | | 2003-04-10 Mike Kestner <mkestner@ximian.com> * gal-define-views.glade : use stock buttons, remove desc frame. * gal-define-views-dialog.c (gdvd_init): #if out the copy button. * gal-view-instance.c (g_v_i_get_popup_menu): add ellipsis to Define Views menuitem. svn path=/trunk/; revision=20804
* add ... to "Define Views" and "Save Custom View" menuitem labels.Mike Kestner2003-04-101-2/+2
| | | | | | | | | 2003-04-10 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build menus): add ... to "Define Views" and "Save Custom View" menuitem labels. svn path=/trunk/; revision=20802
* fix button order fix button order fix button orderMike Kestner2003-04-083-3/+3
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * gal-define-views-dialog.c : fix button order * gal-view-instance-save-as-dialog.c : fix button order * gal-view-new-dialog.c : fix button order svn path=/trunk/; revision=20755
* (set_state): Removed debugging message.Ettore Perazzoli2003-03-281-1/+1
| | | | svn path=/trunk/; revision=20548
* Use glib macro G_GNUC_FUNCTION instead of __FUNCTION__. Thank u, Ettore.Sanshao Jiang2003-03-222-6/+7
| | | | | | | | | | | | | | | 2003-03-19 Sanshao Jiang <alex.jiang@sun.com> * gal-view-collection.c (gal_view_collection_append_with_title): (gal_view_collection_set_nth_view): Use glib macro G_GNUC_FUNCTION instead of __FUNCTION__. Thank u, Ettore. * gal-view-instance.c (gal_view_instance_set_current_view_id): same (add_popup_radio_item): Fix to be compilable on other compilers, using gcc extension independent codes.(bug#39176) (add_popup_menu_item): same svn path=/trunk/; revision=20455
* Instead of using gtk_widget_unparent(), remove the widget from theHans Petter Jansson2003-03-183-3/+3
| | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_init): Instead of using gtk_widget_unparent(), remove the widget from the container using gtk_container_remove(). This fixes crashers where the dialog is being used. * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_init): Ditto. * gal-view-new-dialog.c (gal_view_new_dialog_init): Ditto. svn path=/trunk/; revision=20324
* use access() like camelMike Kestner2003-03-152-3/+8
| | | | | | | | | | | | | | | 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal/util/e-util.c (e_mkdir_hier): use access() like camel 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (gal_view_collection_load): check failure on e_create_directory call and warn. * gal-view-instance.c (save_current_view): check for failure and warn. svn path=/trunk/; revision=20291
* Use G_GNUC_FUNCTION instead of __FUNCTION__.Ettore Perazzoli2003-03-071-2/+2
| | | | | | | | | | * menus/gal-view-menus.c (gal_view_menus_unmerge): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-dropdown-button.c (menu_deactivate_cb): Removed debugging spew. svn path=/trunk/; revision=20200
* Remove unneeded MAP_DIR define. (gladedir): Remove. Defined inDan Winship2003-02-061-0/+1
| | | | | | | | | | * e-timezone-dialog/Makefile.am (INCLUDES): Remove unneeded MAP_DIR define. (gladedir): Remove. Defined in configure.in now. * menus/gal-view-menus.c: #include <string.h> svn path=/trunk/; revision=19773
* Here too.Jeffrey Stedfast2003-01-162-2/+2
| | | | | | | | | | | 2003-01-15 Jeffrey Stedfast <fejj@ximian.com> * gal-view-instance.c (save_current_view): Here too. * gal-view-collection.c (gal_view_collection_save): Use e_xml_save_file(). svn path=/trunk/; revision=19479
* add the parent arg.Chris Toshok2002-12-195-10/+18
| | | | | | | | | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gal-view.[ch] (gal_view_edit): add the parent arg. * gal-view-new-dialog.c (gal_view_new_dialog_init): set the dialog modal. * gal-view-etable.c (gal_view_etable_edit): take the parent arg and pass it to e_table_config_new. * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): pass the dialog as the parent to gal_view_edit. (gdvd_button_modify_callback): same. (gdvd_button_new_callback): set view_new_dialog transient for dialog. svn path=/trunk/; revision=19164
* protect against null instance_id's (bug#35540)Mike Kestner2002-12-141-1/+5
| | | | | | | | | 2002-12-13 Mike Kestner <mkestner@ximian.com> * gal-view-instance.c (gal_view_instance_construct): protect against null instance_id's (bug#35540) svn path=/trunk/; revision=19118
* check for null or blank view namesGilbert Fang2002-12-111-5/+9
| | | | | | | | | 2002-12-10 Gilbert Fang <gilbert.fang@sun.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): check for null or blank view names svn path=/trunk/; revision=19096
* convert some GnomeDialog stuff to GtkDialog.Chris Toshok2002-11-173-13/+11
| | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal-view-instance.c: convert some GnomeDialog stuff to GtkDialog. * gal-view-instance-save-as-dialog.c: remove GnomeDialog references. * gal-view-new-dialog.c: same. svn path=/trunk/; revision=18813
* GtkObject->Gobject and GnomeDialog->GtkDialog work.Chris Toshok2002-11-174-208/+252
| | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal-view-instance-save-as-dialog.c: GtkObject->Gobject and GnomeDialog->GtkDialog work. * gal-view-new-dialog.[ch]: same. * gal-view-new-dialog.dialog: same. svn path=/trunk/; revision=18799
* use GtkDialog's ::response instead of GnomeDialog's ::clicked.Chris Toshok2002-11-151-5/+5
| | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * menus/gal-view-menus.c (define_views): use GtkDialog's ::response instead of GnomeDialog's ::clicked. (dialog_response): use response id's. (gvm_finalize): fix warning. svn path=/trunk/; revision=18768
* hrm, we shouldn't need to do this, but gtk_widget_show_all the customChris Toshok2002-11-151-0/+1
| | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_init): hrm, we shouldn't need to do this, but gtk_widget_show_all the custom widget so it actually shows up. svn path=/trunk/; revision=18767
* more porting work.Chris Toshok2002-11-1414-1098/+971
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal-define-views-dialog.[ch]: more porting work. * gal-define-views-model.[ch]: same. * gal-view-etable.c: same. * gal-view-factory-etable.c: same. * gal-view-instance-save-as-dialog.[ch]: same. * gal-view-instance.c: same. * gal-view-new-dialog.[ch]: same. * gal-define-views.glade: convert to glade2. * gal-view-instance-save-as-dialog.glade: same. * gal-view-new-dialog.glade: same. svn path=/trunk/; revision=18749
* menus/gal-view-menus.h GObjectified.Ettore Perazzoli2002-11-142-40/+33
| | | | | | | | | | * menus/gal-view-menus.h * menus/gal-view-menus.c: GObjectified. * e-timezone-dialog/e-timezone-dialog.h * e-timezone-dialog/e-timezone-dialog.c: GObjectified. svn path=/trunk/; revision=18747
* start porting to GObject.Chris Toshok2002-11-1412-375/+235
| | | | | | | | | | | | | | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal-view-collection.[ch]: start porting to GObject. * gal-view-etable.[ch]: same. * gal-view-factory-etable.[ch]: same. * gal-view-factory.[ch]: same. * gal-view-factory.[ch]: same. * gal-view-instance.[ch]: same. * gal-view.[ch]: same. svn path=/trunk/; revision=18745
* gnome-xml->libxmlNot Zed2002-11-132-3/+3
| | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c: gnome-xml->libxml * menus/gal-view-menus.h: gnome-xml->libxml svn path=/trunk/; revision=18734
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-2/+2
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-0114-52/+64
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* ref/unref the gvmMike Kestner2002-08-151-0/+4
| | | | | | | | 2002-08-15 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780
* Edit the view after appending it to the model.Christopher James Lahey2002-06-171-0/+1
| | | | | | | | | 2002-06-16 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): Edit the view after appending it to the model. svn path=/trunk/; revision=17203
* Added this function to let you disable the define views dialog.Christopher James Lahey2002-06-052-41/+67
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_set_show_define_views): Added this function to let you disable the define views dialog. svn path=/trunk/; revision=17111
* Don't show this dialog more than once per collection.Christopher James Lahey2002-06-051-9/+32
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (define_views): Don't show this dialog more than once per collection. svn path=/trunk/; revision=17106
* Added this function to set the user visible name of this collection.Christopher James Lahey2002-06-044-4/+45
| | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_set_title): Added this function to set the user visible name of this collection. * gal-define-views-dialog.c (gal_define_views_dialog_init): Set the Define Views for %s label. Fixes Ximian bug #2100 and #4080. svn path=/trunk/; revision=17100
* Made it so that if the current_id doesn't match any of the given ids, itChristopher James Lahey2002-05-141-4/+10
| | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Made it so that if the current_id doesn't match any of the given ids, it treats it the same as a NULL id. (gal_view_menus_apply): Added a check for gvm->priv == NULL here. (gal_view_menus_apply, collection_changed, instance_changed): Removed calls to set_radio after build_stuff, since the last thing build_stuff does is calls set_radio. svn path=/trunk/; revision=16781
* Set the gettext-domain here.Christopher James Lahey2002-05-022-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
* Ansification patch from danw.Christopher James Lahey2002-04-264-4/+4
| | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c, gal-view-factory.c, gal-view-new-dialog.c, gal-view.c: Ansification patch from danw. svn path=/trunk/; revision=16587
* Bumped version number to 0.19.99.14.Christopher James Lahey2002-04-232-0/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.14. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy, e_popup_menu_free): Added these functions From gal/e-table/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Renamed the insert functions in this class to make a bit more sense. From gal/menus/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gal-view-instance.c, gal-view-instance.h (gal_view_instance_get_popup_menu, gal_view_instance_free_popup_menu): Added these functions. Used to add a current view menu to your popup menus. From gal/shortcut-bar/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused variable. svn path=/trunk/; revision=16559
* New signal for when the width of the column changes.Christopher James Lahey2002-02-131-0/+2
| | | | | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (column_width_changed): New signal for when the width of the column changes. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE): New marshaller. From gal/menus/ChangeLog: 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (detach_table): Set view->table_state_changed_id to 0. (detach_tree): Set view->tree_state_changed_id to 0. svn path=/trunk/; revision=15705
* New function to handle unmerging menus at control deactivation time. (d):Christopher James Lahey2002-02-082-15/+26
| | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_unmerge): New function to handle unmerging menus at control deactivation time. (d): Turned off debugging output here. (build_menus): Gave the separators names and marked them with f="" to make them work better with bonobo 1. svn path=/trunk/; revision=15599
* Bumped the required version of gal.Christopher James Lahey2002-02-072-117/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. From addressbook/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Changed this function to use the new GalViewMenus which takes a GalViewInstance, instead of a GalViewCollection. From calendar/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Made these use the new GalViewMenus stuff. From mail/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c, folder-browser-ui.h (folder_browser_ui_setup_view_menus, folder_browser_ui_discard_view_menus): Changed this to use the new GalViewMenus stuff. Made these exported functions. * mail-callbacks.c, message-browser.c: Changed these to not pass the now removed row parameter to message_list_select. * mail-config.c, mail-config.h (mail_config_folder_to_safe_url): Refactored this out of mail_config_folder_to_cachename. * message-list.c, message-list.h (message_list_select): Removed the row argument. Changed this to use the new function in ETree for finding the next cursor row that matches a test. (message_list_construct): Handle a failed construction of the ETree here. (message_list_setup_etree, save_tree_state): Don't load or save the header state. folder-browser-ui.c deals with this now. From views/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * addressbook/galview.xml, calendar/galview.xml, mail/galview.xml, tasks/galview.xml: Added default-view parameters. * mail/As_Sent_Folder.galview: New galview. * mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder galview. From widgets/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_new): Made this take a GalViewInstance instead of a GalViewCollection. Reworked most of this to utilize the interfaces provided by GalViewInstance. svn path=/trunk/; revision=15592
* Create the local directory when loading instead of when saving. This wayChristopher James Lahey2002-02-071-2/+2
| | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (gal_view_collection_load): Create the local directory when loading instead of when saving. This way instance data will have somewhere to be saved. svn path=/trunk/; revision=15591
* Bumped the version number to 0.19.99.5.Christopher James Lahey2002-02-079-136/+1216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.5. * gal/Makefile.am (libgal_la_LIBADD): Added menus/gal-view-instance-save-as-dialog.lo. * gal/e-text/e-text.c (next_word): Contains refactored code from the E_TEP_FORWARD_WORD case of e_text_command. (e_text_command): Implemented E_TEP_CAPS. From gal/menus/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * Makefile.am (glade_DATA): Added gal-view-instance-save-as-dialog.glade. (libgalmenus_la_SOURCES): Added gal-view-instance-save-as-dialog.c. (libgalmenusinclude_HEADERS): Added gal-view-instance-save-as-dialog.h. * gal-view-collection.c, gal-view-collection.h (gal_view_collection_append_with_title): Added this new version of the append function that sets the title and returns the new id as well. (gal_view_collection_set_nth_view): Added this function to save over another view. (gal_view_collection_get_default_view, gal_view_collection_set_default_view): Added the concept of a default view for GalViewCollections. * gal-view-etable.c, gal-view-etable.h (gal_view_etable_attach_table, gal_view_etable_attach_tree, gal_view_etable_detach): Added functions to set the state of a table or tree and then send GalView "changed" signals whenever that state changes. (gal_view_etable_set_state): New function to set the ETableState of a GalViewETable. * gal-view-instance-save-as-dialog.c, gal-view-instance-save-as-dialog.glade, gal-view-instance-save-as-dialog.h: New dialog to save the current custom view as a named view. * gal-view-instance.c, gal-view-instance.h (gal_view_instance_set_custom_view): New function to set the state of an instance to custom view and set the custom view to a particular GalView. (gal_view_instance_exists): New function to check if this particular instance has ever been opened before. Use before gal_view_instance_load. (gal_view_instance_save_as): New function to open a save as dialog. (gal_view_instance_load): Added this function which used to be part of _construct. This function can be called multiple times, and those extra times will be ignored. This is so you can set a default view before loading. (gal_view_instance_get_default_view, gal_view_instance_set_default_view): Set the default view for this instance. If unset, this falls back to the default view for the corresponding GalViewCollection. svn path=/trunk/; revision=15590
* Added gal-view-instance.c and gal-view-instance.h.Christopher James Lahey2002-02-014-72/+573
| | | | | | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added gal-view-instance.c and gal-view-instance.h. * gal-view-collection.c, gal-view-collection.h (gal_view_collection_load_view_from_file): Factored out this function so that it can be used outside of gal-view-collection.c. (gal_view_collection_get_view_index_by_id, gal_view_collection_get_view_id_by_index, gal_view_collection_loaded): Added these functions. * gal-view-instance.c, gal-view-instance.h: New class representing a single folder of a particular type of folder. svn path=/trunk/; revision=15544
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-281-3/+2
| | | | svn path=/trunk/; revision=15486
* Bumped the version number here to 0.16.Christopher James Lahey2001-10-311-0/+3
| | | | | | | | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number here to 0.16. From gal/menus/ChangeLog: 2001-10-31 Christopher James Lahey <clahey@ximian.com> * gal-define-views-model.c: Made this match pre_changes with changes. svn path=/trunk/; revision=14524
* Check item->type != NULL here. Fixes Ximian bug #4668.Christopher James Lahey2001-10-281-1/+1
| | | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (load_single_file): Check item->type != NULL here. Fixes Ximian bug #4668. svn path=/trunk/; revision=14278
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-2716-76/+302
| | | | | | | | | | | | | | | 2001-10-24 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views-model.c, gal-define-views-model.h, gal-view-collection.c, gal-view-collection.h, gal-view-etable.c, gal-view-etable.h, gal-view-factory-etable.c, gal-view-factory-etable.h, gal-view-factory.c, gal-view-factory.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view.c, gal-view.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14155
* Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref ourJon Trowbridge2001-10-251-0/+12
| | | | | | | | | | 2001-10-24 Jon Trowbridge <trow@ximian.com> * menus/gal-view-menus.c (gal_view_menus_apply): Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref our BonoboUIComponent. svn path=/trunk/; revision=13994
* Make this not be a radio button, but instead just a normal menu.Christopher James Lahey2001-10-211-70/+53
| | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c: Make this not be a radio button, but instead just a normal menu. svn path=/trunk/; revision=13844
* #include bonobo-ui-util.hJeffrey Stedfast2001-10-191-0/+1
| | | | | | | | 2001-10-18 Jeffrey Stedfast <fejj@ximian.com> * menus/gal-view-menus.c: #include bonobo-ui-util.h svn path=/trunk/; revision=13752
* add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migrationMichael Meeks2001-10-052-5/+6
| | | | | | | | | | | | | | | 2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-041-0/+1
| | | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * misc/Makefile.am: * menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13407
* Fixes #2465Chyla Zbigniew2001-09-051-4/+4
| | | | | | | | | | * menus/gal-view-menus.c (build_menus): Encode the label using bonobo_ui_util_encode_str and set "label" attribute, not "_label". I have no idea what the previous code was trying to do but it was definitely wrong. svn path=/trunk/; revision=12601
* Don't display the Define Views dialog.Christopher James Lahey2001-08-111-0/+2
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't display the Define Views dialog. svn path=/trunk/; revision=11899
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-095-2/+19
| | | | | | | | | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_destroy): Chain to the destroy handler in the parent class! * gal-define-views-model.c (gdvm_destroy): Likewise. Sigh. * gal-view-etable.c (gal_view_etable_destroy): Likewise. Double sigh. * gal-view-factory-etable.c (gal_view_factory_etable_destroy): Likewise. Triple sigh. * gal-view-new-dialog.c (gal_view_new_dialog_destroy): Likewise. Quadruple sigh. svn path=/trunk/; revision=11814
* Changed this to match the changed signal on the ETableConfig object. FixesChristopher James Lahey2001-07-071-1/+5
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (config_changed): Changed this to match the changed signal on the ETableConfig object. Fixes bug 4213. svn path=/trunk/; revision=10876
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Store the connection ID of the "changed" signal in the collection.Federico Mena Quintero2001-06-012-9/+21
| | | | | | | | | | | 2001-05-31 Federico Mena Quintero <federico@ximian.com> * menus/gal-view-menus.c (gal_view_menus_construct): Store the connection ID of the "changed" signal in the collection. (gal_view_menus_new): Added preconditions. (gal_view_menus_construct): Added preconditions. svn path=/trunk/; revision=10075
* Document the fact that this function ref()s the factory and that peopleFederico Mena Quintero2001-05-301-7/+55
| | | | | | | | | | | | | | | | | | | | | | 2001-05-28 Federico Mena Quintero <federico@ximian.com> * gal-view-collection.c (gal_view_collection_add_factory): Document the fact that this function ref()s the factory and that people should unref() it after calling the function if they no longer need the factory object. (gal_view_collection_display_view): Added preconditions. (gal_view_collection_set_storage_directories): Likewise. (gal_view_collection_add_factory): Likewise. (gal_view_collection_load): Likewise. (gal_view_collection_save): Likewise. (gal_view_collection_get_count): Likewise. (gal_view_collection_get_view): Likewise. (gal_view_collection_get_view_item): Likewise. (gal_view_collection_append): Likewise. (gal_view_collection_delete_view): Likewise. (gal_view_collection_copy_view): Likewise. svn path=/trunk/; revision=10044
* make the view menuitems radio items of the same group, and allocate theChris Toshok2001-05-221-52/+70
| | | | | | | | | | | | | | | | | | | 2001-05-21 Chris Toshok <toshok@ximian.com> * menus/gal-view-menus.c (build_menus): make the view menuitems radio items of the same group, and allocate the closure here. (free_verbs): only need to free the one DefineViews verb here. (closure_free): new function - EListFreeFunc for our listenerClosure list. (remove_listeners): new function, free our listener list. (gvm_destroy): call remove_listeners. (gvm_init): init listenerClosures list. (toggled_cb): callback for radio items. (build_verbs): strip out almost all the code since there's only 1 verb now. (build_stuff): call remove_listeners. svn path=/trunk/; revision=9916
* Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. SoGediminas Paulauskas2001-05-082-4/+9
| | | | | | | | you must include <config.h>, heh. and a stil-not-working "fix" for galview menus. svn path=/trunk/; revision=9707
* Found out that I forgot to commit this.Gediminas Paulauskas2001-05-031-4/+2
| | | | | | | | | 2001-04-21 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: bonobo_ui_node_set_attr expects unstranslated strings, so change _() to N_(). svn path=/trunk/; revision=9650
* Fix a memory leak.Dan Winship2001-04-131-4/+4
| | | | | | * menus/gal-view-menus.c (build_menus): Fix a memory leak. svn path=/trunk/; revision=9275
* Translate the title as we read it.Christopher James Lahey2001-04-111-1/+5
| | | | | | | | | 2001-04-10 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (load_single_file): Translate the title as we read it. svn path=/trunk/; revision=9217
* i18n fixes, added missing includes.Gediminas Paulauskas2001-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * AUTHORS: /me is a translator. * configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo && exit 1. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * backend/ebook/evolution-gnomecard-importer.c: added missing #include. * contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were not translated after selecting one of them. * gui/widgets/e-addressbook-view.c: mark popup menu items with N_(). Updated list[] for translators. * gui/widgets/e-minicard.c: same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning for "editable" arg. * gui/widgets/e-minicard-view.c: convert "empty_message" to utf8. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * widgets/e-summary-subwindow.c: added some missing includes. * widgets/e-summary-title-button.h: same. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: convert label to utf8. svn path=/trunk/; revision=9215
* make parent_class staticDan Winship2001-04-081-1/+1
| | | | | | * gal-define-views-model.c: make parent_class static svn path=/trunk/; revision=9200
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-2/+4
| | | | svn path=/trunk/; revision=9191
* Some small header cleanups & fixes, and fix to translate all popup menusGediminas Paulauskas2001-04-051-2/+1
| | | | | | | | | | | | (woohoo!): 2001-04-05 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-popup-menu.c: Copied gnome_app_helper_gettext function here, and use it for translating menu names (they are passed from app as well as from gal in arrays with N_(), and domains differ). svn path=/trunk/; revision=9190
* Fix headers.Kjartan Maraas2001-04-051-0/+2
| | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * menus/gal-view-menus.c: Fix headers. svn path=/trunk/; revision=9187
* Fix headers. Ditto. Ditto. Ditto. Ditto.Kjartan Maraas2001-04-045-6/+8
| | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * gal-define-views-dialog.h: Fix headers. * gal-define-views-model.c: Ditto. * gal-view-collection.c: Ditto. * gal-view-etable.c: Ditto. * gal-view-new-dialog.h: Ditto. svn path=/trunk/; revision=9166
* Ahem, free the xmlDoc. (load_single_dir): Free the filename if we returnFederico Mena Quintero2001-04-031-1/+3
| | | | | | | | | | 2001-04-02 Federico Mena Quintero <federico@ximian.com> * gal-view-collection.c (load_single_dir): Ahem, free the xmlDoc. (load_single_dir): Free the filename if we return immediately due to not being able to parse the file. svn path=/trunk/; revision=9121
* Ahem, free the xmlDoc.Federico Mena Quintero2001-04-031-0/+1
| | | | | | | | 2001-04-02 Federico Mena Quintero <federico@ximian.com> * gal-view-collection.c (load_single_dir): Ahem, free the xmlDoc. svn path=/trunk/; revision=9119
* Removed glade.h files -- xml-i18n-tools generates them itself.Gediminas Paulauskas2001-04-022-4/+0
| | | | | | | | | | Updated glade files not to save strings. Updated Makefiles. ...nad my translation svn path=/trunk/; revision=9094
* No one responds on IRC, explained everything in bugzilla and these changelogs.Gediminas Paulauskas2001-04-022-4/+6
| | | | | | | | | | | | | | | | | | | | | | | 2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> * gal-define-views-dialog.c, gal-view-new-dialog.c: replaced glade_xml_new with glade_xml_new_with_domain. fixes #2030 2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> * e-table-config.c, e-table-field-chooser.c: replaced glade_xml_new with glade_xml_new_with_domain. 2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-categories.c: replaced glade_xml_new with glade_xml_new_with_domain. * gal/widgets/e-popup-menu.c: call gettext on every menu item. Works only on popup menus of gal, not evolution (different domain). wrapped every category name in N_() and call _() where appriopriate, fixes #2029, but #2013 appears. svn path=/trunk/; revision=9091
* Don't print the xml tree here.Christopher James Lahey2001-03-291-1/+3
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't print the xml tree here. svn path=/trunk/; revision=9003
* Added accelerator to elements missing accelerators (Reply, Inline, Quoted,Miguel de Icaza2001-03-171-5/+5
| | | | | | | | | | | | | | | | | | 2001-03-16 Miguel de Icaza <miguel@ximian.com> * evolution-mail.xml: Added accelerator to elements missing accelerators (Reply, Inline, Quoted, Attachments, Empty Trash, Full Headers). * evolution.xml: Added a placeholder for the beginning of the view. 2001-03-16 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Hook this up under the "ViewBegin" node. svn path=/trunk/; revision=8772
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* Rebuild when the collection changes.Christopher James Lahey2001-03-061-11/+60
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (collection_changed): Rebuild when the collection changes. svn path=/trunk/; revision=8558
* New changed signal.Christopher James Lahey2001-03-062-12/+47
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_changed): New changed signal. svn path=/trunk/; revision=8555
* From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>Christopher James Lahey2001-02-176-0/+51
| | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com> * gal-define-views-model.h, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, gal-view-factory.h, gal-view.h: Added GNOME_DECLS. svn path=/trunk/; revision=8266
* Create the local directory when saving if it doesn't exist already.Christopher James Lahey2001-02-071-1/+2
| | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (gal_view_collection_save): Create the local directory when saving if it doesn't exist already. svn path=/trunk/; revision=8043
* Removed unnecessary comment about now non-existant virtual column list.Christopher James Lahey2001-02-061-7/+0
| | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@ximian.com> * gal-define-views-model.h: Removed unnecessary comment about now non-existant virtual column list. svn path=/trunk/; revision=7989
* Fixed a number of small bugs in how we were saving and loading viewChristopher James Lahey2001-02-062-7/+46
| | | | | | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.c: Fixed a number of small bugs in how we were saving and loading view collections. * gal-view-etable.c (config_changed): Send the changed signal properly. (gal_view_etable_construct): Duplicate the spec's state here. svn path=/trunk/; revision=7986
* Make this actually deploy the titles from the GalViewCollection and emitChristopher James Lahey2001-01-261-111/+127
| | | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c: Make this actually deploy the titles from the GalViewCollection and emit the display_view signals and such. svn path=/trunk/; revision=7809
* Have the argument system do type checking on our "collection" argument.Christopher James Lahey2001-01-252-12/+17
| | | | | | | | | | | | | | | 2001-01-24 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c (gal_define_views_dialog_class_init): Have the argument system do type checking on our "collection" argument. Refactored the setting of the "collection" argument into a set_argument function. * gal-define-views-model.c (gal_define_views_model_class_init): Have the argument system do type checking on our "collection" argument. svn path=/trunk/; revision=7783
* Actually implement this function.Christopher James Lahey2001-01-241-2/+17
| | | | | | | | | 2001-01-24 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.c (gal_view_collection_get_view_item): Actually implement this function. svn path=/trunk/; revision=7774
* Made GalViewCollectionItem a public type. (load_single_file): Made it soChristopher James Lahey2001-01-242-41/+40
| | | | | | | | | | | | | 2001-01-23 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.c, gal-view-collection.h: Made GalViewCollectionItem a public type. (load_single_file): Made it so that the filename does not get saved with the directory structure. (gal_view_collection_get_view_item): Added this function to return a certain GalViewCollectionItem. svn path=/trunk/; revision=7773
* Fixed gal_define_views_dialog_new to be called with its proper argument.Jon Trowbridge2001-01-231-1/+1
| | | | | | | | | 2001-01-22 Jon Trowbridge <trow@gnu.org> * menus/gal-view-menus.c (define_views): Fixed gal_define_views_dialog_new to be called with its proper argument. svn path=/trunk/; revision=7707
* Initialize collection field to NULL. Set the collection on the model asChristopher James Lahey2001-01-2210-82/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c, gal-define-views-dialog.h (gal_define_views_dialog_init): Initialize collection field to NULL. Set the collection on the model as soon as we create it. (gal_define_views_dialog_new): Add a GalViewCollection argument to this function. This just makes this dialog a bit easier to use through the API. (gal_define_views_dialog_set_arg): When we set the collection, set it on the dialog->model. * gal-define-views-model.c, gal-define-views-model.h: Rewrote this object to use a GalViewCollection to store the information instead of an array of GalViews. * gal-view-collection.c, gal-view-collection.h: Added gal_view_collection_get_count, gal_view_collection_get_view, gal_view_collection_append, gal_view_collection_delete_view, and gal_view_collection_copy_view. (view_changed, load_single_file): Connect to the "changed" signal on the views. (load_single_dir): Survive loading if there's no xml file. * gal-view-etable.c: Implemented get_type_code method. * gal-view-factory-etable.c: Implemented get_type_code method. * gal-view.c, gal-view.h: Added gal_view_get_type_code and "changed" signal. svn path=/trunk/; revision=7699
* Use the new gal_view_set_title function.Christopher James Lahey2001-01-217-56/+311
| | | | | | | | | | | | | | | | | | | | | 2001-01-21 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-model.c (gdvm_set_value_at): Use the new gal_view_set_title function. * gal-view-collection.c, gal-view-collection.h: Implemented this. Added gal_view_collection_save and gal_view_collection_load. * gal-view-etable.c: Implemented save, load, and set_title methods for this class. * gal-view-factory.c: Implemented gal_view_factory_get_type_code. * gal-view.c, gal-view.h: Replaced gal_view_save_to_node with gal_view_save. Replaced gal_view_load_from_node with gal_view_load. Added gal_view_set_title. svn path=/trunk/; revision=7676
* Added a collection argument to this to set the GalViewCollection.Christopher James Lahey2001-01-1811-36/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c, gal-define-views-dialog.h: Added a collection argument to this to set the GalViewCollection. Connected up the modify, delete, and copy buttons. Documented. * gal-define-views-model.c, gal-define-views-model.h: Added gal_define_views_model_get_view, gal_define_views_model_delete_view, and gal_define_views_model_copy_view methods. Documented. * gal-view-collection.c: Documented. * gal-view-etable.c, gal-view-etable.h: Documented. Implemented edit and clone methods of GalView. Initialized state to a non-NULL value. Added a name parameter to gal_view_etable_new. * gal-view-factory-etable.c: Documented. Added the name argument to gal_view_etable_new. * gal-view-factory.c: Fixed the g_return_val_if_fails to check for GalViewFactory as the type instead of GalView. * gal-view.c, gal-view.h: Added the clone method. svn path=/trunk/; revision=7599
* ditto.Miguel de Icaza2000-12-191-2/+2
| | | | | | | | | | | 2000-12-19 Miguel de Icaza <miguel@helixcode.com> * gal/widgets/widget-pixmap-combo.h: ditto. * gal/widgets/widget-color-combo.h: Fix parent class. It should have been GtkComboBoxClass, not GnomeCanvasClass. svn path=/trunk/; revision=7077
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-091-0/+1
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Removed incorrect e-list.h include.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.h: Removed incorrect e-list.h include. svn path=/trunk/; revision=6819
* Added a GalViewCollection argument to the new function here.Christopher James Lahey2000-12-072-27/+43
| | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c, menus/gal-view-menus.h: Added a GalViewCollection argument to the new function here. From meeting-time-sel/ChangeLog: 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-meeting-time-sel.c: Fixed a bunch of warnings. svn path=/trunk/; revision=6816
* Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,Christopher James Lahey2000-12-0717-157/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c, gal-view-factory.c, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, and gal-view-factory.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote this to take a GalViewCollection. This now passes its collection to the new view dialog but still doesn't get its list of views from the collection. * gal-define-views-model.c: Changed this to use the gal_view_get_title function instead of the "title" gtk argument. * gal-define-views.glade, gal-define-views.glade.h: Changed this dialog to be a bit cleaner. * gal-view-collection.c, gal-view-collection.h: A collection of views and view factories. * gal-view-etable.c, gal-view-etable.h: An implementation of the view class. This stores an ETableSpecification and the current ETableState. * gal-view-factory-etable.c, gal-view-factory-etable.h: An implementation of the view factory class. This stores an ETableSpecification and creates GalViewEtables when requested. * gal-view-factory.c, gal-view-factory.h: A new virtual class. Its primary job is to return new GalViews. * gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection argument to the new function here so that it can get a list of factories to choose from. * gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a CList for the list of factories to choose from. * gal-view.c, gal-view.h: Changed this to be a virtual class. svn path=/trunk/; revision=6811
* NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent aDan Winship2000-12-051-0/+1
| | | | | | | | * menus/gal-view-menus.c: NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent a crash. (Why are there gal* things in the evolution sources?) svn path=/trunk/; revision=6777
* ShushJP Rosevear2000-11-291-1/+2
| | | | svn path=/trunk/; revision=6709
* Fixed some typos to get the table to display properly.Christopher James Lahey2000-11-222-3/+3
| | | | | | | | | | | | 2000-11-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c: Fixed some typos to get the table to display properly. * gal-view-new-dialog.c: Fixed the string for loading the glade file for this dialog. svn path=/trunk/; revision=6649
* AdaptMiguel de Icaza2000-11-181-3/+3
| | | | svn path=/trunk/; revision=6610
* Add Makefile.am and .cvsignoreMiguel de Icaza2000-11-182-0/+19
| | | | svn path=/trunk/; revision=6609
* Removed test for Bonobo here.Miguel de Icaza2000-11-181-1/+0
| | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * configure.in (gnomelocaledir): Removed test for Bonobo here. * gal/menus/gal-view-menus.c: Removed this file, and moved into Evolution. svn path=/trunk/; revision=6607
* Updated version number.Christopher James Lahey2000-11-141-2/+1
| | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Updated version number. * gal/e-table/e-tree-model.c, gal/e-table/e-tree-model.h: Added freeze and thaw functions. * gal/menus/gal-define-views-dialog.c: Fixed some warnings. svn path=/trunk/; revision=6563
* Added a bunch of .lo s from the menus directory.Christopher James Lahey2000-11-1211-14/+929
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-102-0/+234
| | | | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528
* New files for the new define views dialog.Christopher James Lahey2000-11-063-0/+573
2000-11-05 Christopher James Lahey <clahey@helixcode.com> * .cvsignore, Makefile.am, gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views.glade, gal-define-views.glade.h: New files for the new define views dialog. svn path=/trunk/; revision=6410