Commit Graph

1575 Commits

Author SHA1 Message Date
b7c86285a3 (esma_dispose): g_object_unref() instead of gtk_object_unref().
(esma_dispose):
g_object_unref() instead of gtk_object_unref().

svn path=/trunk/; revision=18779
2002-11-15 16:36:30 +00:00
868a2d664a fix typo.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* e-table-header-item.c (ethi_popup_customize_view): fix typo.

svn path=/trunk/; revision=18777
2002-11-15 03:06:29 +00:00
f60cb1f537 ETableConfig derives from GObject (fix warnings).
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* e-table-header-item.c (ethi_popup_customize_view): ETableConfig
	derives from GObject (fix warnings).

	* e-table.c: deal with ESorter deriving from GObject.

	* e-table-sorter.[ch]: this derives from GObject now.

svn path=/trunk/; revision=18775
2002-11-15 02:49:15 +00:00
b39be53775 deal with EBitArray/ESorter being a GObject now.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-selection-model-array.c: deal with
	EBitArray/ESorter being a GObject now.

	* gal/widgets/e-selection-model-simple.c: same.

	* gal/util/e-bit-array.[ch]: this derives from GObject now.

	* gal/util/e-sorter.[ch]: same.

	* gal/util/e-sorter-array.[ch]: same.

svn path=/trunk/; revision=18774
2002-11-15 02:47:18 +00:00
b9b2089527 deal with ESelectionModel no longer deriving from GtkObject.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* e-table-item.c: deal with ESelectionModel no longer deriving
	from GtkObject.

	* e-table.c: same.

	* e-tree.c: same.

	* e-table-config.c (do_fields_config_dialog): use GtkDialog's
	reponse instead of GnomeDialog's button.

	* e-table-click-to-add.[ch]: GObjectify this.

	* e-table-selection-model.[ch]: this derives from GObject now.

	* e-tree-selection-model.[ch]: same.

svn path=/trunk/; revision=18773
2002-11-15 02:22:00 +00:00
555aa35da2 this derives from GObject now.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-selection-model.[ch]: this derives from GObject now.

	* gal/widgets/e-selection-model-simple.[ch]: same.

	* gal/widgets/e-selection-model-array.[ch]: same.

	* gal/widgets/e-reflow-model.[ch]: same.

	* gal/widgets/e-reflow.c: fix all references to EReflowModel such
	that it's a GObject, not a GtkObject.

svn path=/trunk/; revision=18772
2002-11-15 02:18:33 +00:00
b75c80d63f use GtkDialog's ::response instead of GnomeDialog's ::clicked.
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
2002-11-15 00:26:42 +00:00
8539e8dd1a hrm, we shouldn't need to do this, but gtk_widget_show_all the custom
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
2002-11-15 00:26:02 +00:00
27fbc0098c this subclasses from GObject now, not GtkObject. don't use GtkObject
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* e-table-without.[ch]: this subclasses from GObject now, not
	GtkObject.  don't use GtkObject (especially casts to it) inside
	the code.

	* e-table-config-no-group.glade: libglade-convert.

	* e-table-config.glade: same.

	* e-table-field-chooser.glade: same.

	* e-table-group.glade: same.

svn path=/trunk/; revision=18766
2002-11-15 00:23:44 +00:00
e69c2b94c2 New. (e_clipped_label_destroy): Removed.
* e-clipped-label.c (e_clipped_label_finalize): New.
(e_clipped_label_destroy): Removed.

* e-title-bar.c (destroy): Removed.
(impl_finalize): New.
(class_init): Install GObject::finalize handler instead of
GtkObject::destroy handler.

svn path=/trunk/; revision=18761
2002-11-14 21:49:19 +00:00
792733a3c6 Changed to use g_object_*() and g_signal_*()
functions instead of gtk_object_*() and gtk_signal_*().
(destroy): Removed.
(dispose): New.
(class_init): Install GObject::dispose handler instead of
GtkObject::destroy handler.

svn path=/trunk/; revision=18753
2002-11-14 17:46:44 +00:00
d020bcad5c add more marshallers for e-table.
2002-11-13  Chris Toshok  <toshok@ximian.com>

	* gal/util/e-marshal.list: add more marshallers for e-table.

svn path=/trunk/; revision=18750
2002-11-14 01:56:40 +00:00
6c2f176cb6 more porting work.
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
2002-11-13 23:34:40 +00:00
d023f5d548 menus/gal-view-menus.h GObjectified.
* 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
2002-11-13 22:53:58 +00:00
cd31ceb85f start porting to GObject.
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
2002-11-13 20:20:01 +00:00
b8ecec622d Converted to Glade 2.
svn path=/trunk/; revision=18740
2002-11-13 18:50:31 +00:00
d9b4457fa6 gnome-xml->libxml
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
2002-11-13 09:42:55 +00:00
b5d027f428 only clear choices if cv->choices != NULL. (e_completion_view_disconnect):
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-completion-view.c (e_completion_view_destroy): only
	clear choices if cv->choices != NULL.
	(e_completion_view_disconnect): zero out cancel_signal_id.

svn path=/trunk/; revision=18718
2002-11-12 03:28:38 +00:00
f9ea4ba866 port to GObject.
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* e-dateedit.[ch]: port to GObject.

svn path=/trunk/; revision=18717
2002-11-12 03:26:44 +00:00
07d5771f17 (init): Use GObject functions instead of
GtkObject throughout.

svn path=/trunk/; revision=18706
2002-11-11 19:50:22 +00:00
18fc8bd2e8 Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with
g_object_(un)?ref().
* gal/widgets/e-canvas-utils.c: Likewise.
* gal/widgets/e-canvas.c: Likewise.
* gal/widgets/e-categories-master-list-combo.c: Likewise.
* gal/widgets/e-categories-master-list-dialog-model.c: Likewise.
* gal/widgets/e-categories-master-list-dialog.c: Likewise.
* gal/widgets/e-categories-master-list-option-menu.c: Likewise.
* gal/widgets/e-categories.c: Likewise.
* gal/widgets/e-gui-utils.c: Likewise.
* gal/widgets/e-popup-menu.c: Likewise.
* gal/widgets/e-reflow-sorted.c: Likewise.
* gal/widgets/e-reflow.c: Likewise.
* gal/widgets/e-selection-model.c: Likewise.
* gal/widgets/gtk-combo-box.c: Likewise.
* gal/widgets/widget-pixmap-combo.c: Likewise.

svn path=/trunk/; revision=18705
2002-11-11 19:21:17 +00:00
2deb6421f8 Forgot two more gtk_object_(un)?ref()s.
svn path=/trunk/; revision=18703
2002-11-11 19:20:18 +00:00
33d137c42e Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* gal/e-table/e-cell-popup.c: Replace gtk_object_(un)?ref() with
g_object_(un)?ref().
* gal/e-table/e-cell-text.c: Likewise.
* gal/e-table/e-cell-tree.c: Likewise.
* gal/e-table/e-cell-vbox.c: Likewise.
* gal/e-table/e-table-click-to-add.c: Likewise.
* gal/e-table/e-table-config-field.c: Likewise.
* gal/e-table/e-table-field-chooser-dialog.c: Likewise.
* gal/e-table/e-table-field-chooser-item.c: Likewise.
* gal/e-table/e-table-field-chooser.c: Likewise.
* gal/e-table/e-table-group-container.c: Likewise.
* gal/e-table/e-table-item.c: Likewise.
* gal/e-table/e-table-without.c: Likewise.

svn path=/trunk/; revision=18702
2002-11-11 19:09:23 +00:00
f2b2d6abb5 Removed. (impl_finalize): New. (class_init): Override GObject::finalize,
* e-multi-config-dialog.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.

* e-config-page.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.

* e-multi-config-dialog.c: Converted to a GtkDialog subclass
[instead of GnomeDialog].

svn path=/trunk/; revision=18696
2002-11-11 17:23:00 +00:00
2fb9565ed5 correct the GET_CLASS macro.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* e-table-memory-store.h: correct the GET_CLASS macro.

	* e-table-one.h: same.

	* e-table-sorted.h: same.

	* e-table-subset.h: same.

	* e-tree-sorted-variable.h: same.

	* e-tree-table-adapter.h: same.

svn path=/trunk/; revision=18680
2002-11-09 02:19:32 +00:00
ce98870b71 include gnome-dialog
2002-11-07  JP Rosevear  <jpr@ximian.com>

	* e-filter-bar.c: include gnome-dialog

svn path=/trunk/; revision=18649
2002-11-07 23:01:25 +00:00
b59fb51176 ignore the generated marshal source.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* .cvsignore: ignore the generated marshal source.

	* Makefile.am: add marshal stuff.

	* e-util-marshal.list: marshaller list.

	* e-search-bar.[ch]: gobjectify this.

svn path=/trunk/; revision=18627
2002-11-07 04:52:05 +00:00
1bc3152fa0 remove duplicate g_signal_new for column_width_changed.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-reflow.c (e_reflow_class_init): remove duplicate
	g_signal_new for column_width_changed.

svn path=/trunk/; revision=18621
2002-11-07 01:08:26 +00:00
75f89dc869 GObjectify GObjectify
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-table-sorted-variable.[ch] : GObjectify
	* e-tree-sorted-variable.[ch] : GObjectify

svn path=/trunk/; revision=18573
2002-11-06 00:07:08 +00:00
4256558b9c remove ref/unref G_OBJECT masks ditto ditto ditto ditto ditto ditto ditto
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c : remove ref/unref G_OBJECT masks
	* e-table-extras.c : ditto
	* e-table-header-item.c : ditto
	* e-table-item.c : ditto
	* e-table-memory-store.c : ditto
	* e-table-one.c : ditto
	* e-tree-sorted.c : ditto
	* e-tree-table-adapter.c : ditto
	* e-tree.c : ditto

svn path=/trunk/; revision=18572
2002-11-05 23:34:32 +00:00
9b97a17eb7 GObjectify GObjectify GObjectify use GObject api for models use GObject
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-table-col.[ch] : GObjectify
	* e-table-column-specification.[ch] : GObjectify
	* e-table-config.[ch] : GObjectify
	* e-table-group-leaf.c : use GObject api for models
	* e-table-group.c : use GObject api for models
	* e-table-header-item.c : use GObject api for models
	* e-table-header.c : use GObject api for models
	* e-table-selection-model.c : use GObject api for models
	* e-table-sort-info.[ch] : GObjectify
	* e-table-sorted.[ch] : GObjectify
	* e-table-sorter.c : use GObject api for models
	* e-table-specification.c : use GObject api for models
	* e-table-state.[ch] : GObjectify
	* e-table-subset-variable.[ch] : GObjectify
	* e-table-subset.[ch] : GObjectify
	* e-table.c : use GObject api for models

svn path=/trunk/; revision=18571
2002-11-05 22:53:40 +00:00
f8172191ad use GObject api for models GObjectify GObjectify GObjectify GObjectify
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c : use GObject api for models
	* e-table-memory-callbacks.[ch] : GObjectify
	* e-table-memory-store.[ch] : GObjectify
	* e-table-memory.[ch] : GObjectify
	* e-table-model.[ch] : GObjectify
	* e-table-one.[ch] : GObjectify
	* e-table-simple.[ch] : GObjectify
	* e-tree-memory.[ch] : GObjectify
	* e-tree-model.[ch] : GObjectify
	* e-tree-selection-model.c : use GObject api for models
	* e-tree-simple.[ch] : GObjectify
	* e-tree-sorted.[ch] : GObjectify
	* e-tree-table-adapter.[ch] : GObjectify
	* e-tree.c : use GObject api for models

svn path=/trunk/; revision=18553
2002-11-05 15:05:25 +00:00
65269c6882 use GObject api for ETableHeader use GObject api on ETableHeader
2002-11-04  Mike Kestner  <mkestner@ximian.com>

	* e-table-group.c : use GObject api for ETableHeader
	* e-table-header-item.c : use GObject api on ETableHeader
	* e-table-header.[ch] : GObjectify
	* e-table-item.c : use GObject api on ETableHeader
	* e-table-search.[ch] : GObjectify
	* e-table-sorted.c : use GObject api for ETableHeader
	* e-table-sorter.c : use GObject api for ETableHeader
	* e-table-specification.[ch] : GObjectify
	* e-table-utils.c : use GObject api for ETableHeader
	* e-tree-sorted.c : use GObject api for ETableHeader
	* e-tree.c : use GObject api on Header, Spec, and Search

svn path=/trunk/; revision=18531
2002-11-04 16:18:45 +00:00
f26171af1e (impl_expose_event): Use
gtk_container_propagate_expose().

svn path=/trunk/; revision=18526
2002-11-04 15:20:53 +00:00
6f1ef0ffdd (e_timezone_dialog_get_builtin_timezone): Constify arg
display_name.

svn path=/trunk/; revision=18508
2002-11-03 16:16:31 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
a611e132e9 gobjectify ETableExtras is now a GObject (e_tree_class_init): remove
2002-11-01  Mike Kestner  <mkestner@ximian.com>

	* e-table-extras : gobjectify
	* e-tree.c (et_real_construct): ETableExtras is now a GObject
	(e_tree_class_init): remove duplicated signals

svn path=/trunk/; revision=18490
2002-11-01 21:47:34 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
3a11574695 Emit a search_activated signal. (e_search_bar_set_item_id): Revert to
2002-10-28  Jeffrey Stedfast  <fejj@ximian.com>

	* e-search-bar.c (clear_search): Emit a search_activated signal.
	(e_search_bar_set_item_id): Revert to original implementation.

svn path=/trunk/; revision=18464
2002-10-28 22:37:53 +00:00
b1555639d8 add prototypes for the _change* functions.
2002-10-24  Chris Toshok  <toshok@ximian.com>

	* e-table-memory-store.h: add prototypes for the _change*
	functions.

	* e-table-memory-store.c (e_table_memory_store_change_array): new
	function, mostly c&p from _insert_array.
	(e_table_memory_store_change): new function, mostly c&p from
	_insert.
	(e_table_memory_store_change_adopt_array): new function, mostly
	c&p from _insert_adopt_array.
	(e_table_memory_store_change_adopt): new function, mostly c&p from
	_insert_adopt.

svn path=/trunk/; revision=18432
2002-10-25 06:26:20 +00:00
c83476952d call e_tree_state_change
2002-10-24  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_set_state_object): call e_tree_state_change

svn path=/trunk/; revision=18428
2002-10-24 19:50:53 +00:00
4b68843dfa If the clear button was pressed, we want the entry to be sensitive (not
2002-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (option_changed): If the clear button was
	pressed, we want the entry to be sensitive (not insensitive).

	* e-search-bar.c (e_search_bar_set_item_id): If the item id is
	CLEAR_ID, we want to select the first item (0) but still set the
	esb->item_id to CLEAR_ID.
	(set_find_now_sensitive): Don't bother getting the GtkEntry text,
	we don't even use it?
	(clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather
	than 0 so that it can be checked for.

svn path=/trunk/; revision=18421
2002-10-24 01:48:20 +00:00
eac24fd792 (activate_by_subitems): gtk_widget_grab_focus()
on the entry when adding it in.

svn path=/trunk/; revision=18418
2002-10-23 17:39:09 +00:00
ef12fcd08f don't emit a signal if we couldn't find the view row
2002-10-18  JP Rosevear  <jpr@ximian.com>

	* e-table-item.c (eti_cursor_activated): don't emit a signal if we
	couldn't find the view row

svn path=/trunk/; revision=18405
2002-10-22 05:49:55 +00:00
19ebd1a847 Don't include the byte reserved for the nul in the outleft size.
2002-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't
	include the byte reserved for the nul in the outleft size.
	(e_utf8_from_iconv_string_sized): Same.
	(e_utf8_to_iconv_string_sized): Here too, but also make sure we
	pad the end of the resulting string with enough nul bytes (4) so
	that even multi-byte charsets are terminated correctly.
	(e_utf8_to_gtk_string_sized): Again here.

svn path=/trunk/; revision=18377
2002-10-16 21:39:27 +00:00
4665c04ce8 check if the selection fits in the leftover days
2002-10-11  JP Rosevear  <jpr@ximian.com>

	* e-calendar-item.c (e_calendar_item_ensure_days_visible): check
	if the selection fits in the leftover days

svn path=/trunk/; revision=18368
2002-10-15 16:45:21 +00:00
9420fa7f82 call drop_timeout
2002-10-02  Mike Kestner  <mkestner@ximian.com>

	* e-table-search.c (e_table_search_destroy): call drop_timeout

svn path=/trunk/; revision=18319
2002-10-03 20:16:49 +00:00
44a1f8aeec [Add a small delay to the switching of pages in the multi-config
dialog.  This makes keyboard navigation slightly nicer, and also
happens to fix mysterious bug #28931.]

New constant SWITCH_PAGE_INTERVAL.  New
members set_page_timeout_id and set_page_timeout_page in
EMultiConfigDialogPrivate.
(init): Initialize new member variables.
(table_cursor_change_callback): Set up a timeout instead of
switching right away.
(set_page_timeout_callback): Timeout function to switch page after
a small delay.
(impl_destroy): Remove a pending timeout.

svn path=/trunk/; revision=18267
2002-09-30 20:02:36 +00:00
6ae54a6e1f use the fg color array in style, not text color. Change requested by Chris
2002-09-27  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_get_cell_foreground_color): use the fg color
	array in style, not text color. Change requested by Chris Lahey.

svn path=/trunk/; revision=18256
2002-09-27 22:30:49 +00:00
9443d16f7a Ooops.
svn path=/trunk/; revision=18247
2002-09-27 19:10:47 +00:00