aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-define-views-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-2/+2
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-11/+11
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-1/+0
|
* Bug #604971 - Evolution allows deletion of default viewsMilan Crha2010-05-141-16/+24
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-2/+9
|
* Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-021-2/+2
|
* Bug #488979 - Disable Edit for card views in contactsMilan Crha2010-04-011-1/+6
|
* Clean up GalView and related classes.Matthew Barnes2010-03-111-1/+1
|
* Kill ETableScrolled.Matthew Barnes2009-12-081-23/+0
| | | | | ETableScrolled is nothing but a GtkScrolledWindow containing an ETable. It adds nothing of value and actually makes customizing ETable harder.
* BugĀ 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-19/+13
|
* More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
|
* Whitespace cleanup.Matthew Barnes2009-05-291-1/+1
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-9/+9
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Fix compiler warnings in widgets.Matthew Barnes2009-05-261-3/+1
|
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-271-16/+16
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-2/+0
| | | | | | | | | | 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-041-8/+8
| | | | | | | | | | 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
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-9/+9
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Remove E_MAKE_TYPE macro.Hiroyuki Ikezoe2007-07-281-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-110/+152
| | | | svn path=/trunk/; revision=33701
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+2
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes 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
* 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
* 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
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-291-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* remove defunct Revert button and replace OK/Cancel buttons with a CloseJon Oberheide2004-06-101-2/+1
| | | | | | | | | | 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
* shared object looks for wrong mo file"Suresh Chandrasekharan2003-11-031-1/+1
| | | | | | | | | 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-241-5/+5
| | | | | | | | | | | | | | 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
* 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-111-0/+2
| | | | | | | | | | | 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
* fix button order fix button order fix button orderMike Kestner2003-04-081-1/+1
| | | | | | | | | | 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
* Instead of using gtk_widget_unparent(), remove the widget from theHans Petter Jansson2003-03-181-1/+1
| | | | | | | | | | | | | | | | 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
* add the parent arg.Chris Toshok2002-12-191-2/+4
| | | | | | | | | | | | | | | | | | | | 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
* 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
* 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-141-93/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-011-5/+8
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* 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 set the user visible name of this collection.Christopher James Lahey2002-06-041-2/+17
| | | | | | | | | | | | | 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
* Set the gettext-domain here.Christopher James Lahey2002-05-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-1/+1
| | | | | | | | | 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
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-271-13/+15
| | | | | | | | | | | | | | | 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
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-091-1/+5
| | | | | | | | | | | | | | | | | | | | 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
* No one responds on IRC, explained everything in bugzilla and these changelogs.Gediminas Paulauskas2001-04-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* Have the argument system do type checking on our "collection" argument.Christopher James Lahey2001-01-251-11/+16
| | | | | | | | | | | | | | | 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
* Initialize collection field to NULL. Set the collection on the model asChristopher James Lahey2001-01-221-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added a collection argument to this to set the GalViewCollection.Christopher James Lahey2001-01-181-7/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,Christopher James Lahey2000-12-071-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed some typos to get the table to display properly.Christopher James Lahey2000-11-221-2/+2
| | | | | | | | | | | | 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
* 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-121-6/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* New files for the new define views dialog.Christopher James Lahey2000-11-061-0/+150
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