2003-01-17 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (show_pango_rectangle): reverse part of the
patch from 1/15.
svn path=/trunk/; revision=19510
2003-01-15 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (show_pango_rectangle): apply the patch
NotZed and I came up with to fix the height of the evolution
composer entries.
svn path=/trunk/; revision=19486
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): Same here.
* e-table-state.c (e_table_state_save_to_file): Same as below.
* e-table-specification.c (e_table_specification_save_to_file):
Back to using e_xml_save_file(). Not sure we can really trust
xmlSaveFile (sure as hell couldn't in the libxml-1.x days),
besides, e_xml_save_file protects against corruption due to not
enough disk space.
svn path=/trunk/; revision=19481
2003-01-14 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (canvas_size_request): use PangoFontMetrics
here instead of using the ascent/descent of the GtkStyle's font.
svn path=/trunk/; revision=19468
2003-01-15 Not Zed <NotZed@Ximian.com>
* e-cell-tree.c (ect_draw): If we set a clip rectangle, clear it
after we've finished.
svn path=/trunk/; revision=19467
2002-12-18 Chris Toshok <toshok@ximian.com>
* e-table-group-container.c (etgc_dispose): free the children
before we free and dispose of our ecol, since
e_table_group_container_child_node_free depends on it. Fixes a
crash.
svn path=/trunk/; revision=19166
2002-12-18 Chris Toshok <toshok@ximian.com>
* e-table-header-item.c (ethi_popup_customize_view): pass NULL for
parent_window for e_table_config_new.
* e-table-config.glade, e-table-config-no-group.glade: switch from
GnomePropertyBox to GtkDialog, remove the extra notebook widget
from the heirarchy, and set all the subdialogs modal.
* e-table-config.h: add parent_window arg to
e_table_config_{new,construct}.
* e-table-config.c (config_dialog_changed): new function, not
really needed yet since the apply/ok buttons are never
insensitive.
(config_get_property): handle the "state" read-only property.
(config_class_init): put back in the "state" property that was
deleted during the merge from the gal-2 branch (it looks like).
(do_sort_and_group_config_dialog): set the sort/group dialog
transient for the e-table-config dialog, and
gnome_property_box_changed -> config_dialog_changed.
(do_fields_config_dialog): same, but with the fields dialog.
(dialog_response): response handler for the e-table-config dialog.
(setup_gui): remote the hide button/notebook code, since neither
of those widgets exist anymore in this dialog, and remove the
"apply" signal and connect to "response", since we're a GtkDialog
dialog instead of a GnomePropertyBox.
(e_table_config_construct): take a parent_window arg, and
set_transient_for if it's non-NULL.
(e_table_config_new): take parent_window arg and pass to
construct.
svn path=/trunk/; revision=19165
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
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-table-header-utils.c (e_table_draw_elided_string): pass in the
pango layout so we don't have to create another one here. Also,
elide the string properly (same method that e-clipped-label uses)
and simplify the extent operations.
(e_table_header_compute_height): just use
pango_layout_get_pixel_size here.
(e_table_header_draw_button): make sure the clip rectangle is
NULL'ed on our gc, since random gtk calls seem to install one,
which sucks. Also, simplify the pango layout stuff a little.
svn path=/trunk/; revision=19142
2002-12-10 Not Zed <NotZed@Ximian.com>
* e-multi-config-dialog.c (impl_response): Removed the
g_assert_not_reached(). If you hit the close button on your
window it would abort, treat same as close.
svn path=/trunk/; revision=19083
2002-12-09 Chris Toshok <toshok@ximian.com>
* e-clipped-label.[ch]: rework this to be faster and deal more
correctly with the ellipsis.
svn path=/trunk/; revision=19076
2002-12-08 Chris Toshok <toshok@ximian.com>
* tests/test-text.c: lots of stuff, add 2 e-text widgets, 1
readonly, the other writable (that uses the uri model..)
* gal/e-text/e-text.[ch]: lots of pango changes. we don't do
*anything* with gdk/e fonts now. everything is pango. There are
still some issues while editting but display should more or less
work properly now, and without all the performance problems.
* gal/e-text/e-completion-view.c (e_completion_view_expose_event):
use gtk_widget_send_expose instead of gtk_widget_event so we don't
get the annoying gtk warning.
* gal/e-text/e-entry.c (e_entry_dispose): make sure both the gdk
and gtk grabs are removed.
(e_entry_class_init): fill_color_gdk is a boxed type, not pointer.
* gal/e-text/e-text-model-uri.h (E_TYPE_TEXT_MODEL_URI): oops,
this should be e_text_model_uri_get_type, not
e_text_model_get_type.
svn path=/trunk/; revision=19054
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* e-table-extras.c (ete_init): Add a "collate" sort callback that
uses the new g_collate_compare().
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-util.c (g_str_compare): Revert back to using just
strcmp - this fixes bug #33933 but reopens bug #26355.
(g_collate_compare): New function meant to address the sorting
required by bug #26335.
svn path=/trunk/; revision=19014
2002-12-03 Not Zed <NotZed@Ximian.com>
* e-search-bar.c (impl_dispose): dispose can be run multiple times
too ... bloody gobject crap.
svn path=/trunk/; revision=18992
2002-12-03 Not Zed <NotZed@Ximian.com>
* e-tree-memory.c (etmm_dispose): make this a dispose rather than
finalise. Crashes on finalise otherwise.
svn path=/trunk/; revision=18990
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-charset-picker.c: Add include of gnome-dialog.h
* *.[ch]: ran fix.sh script over everything.
svn path=/trunk/; revision=18979
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-charset-picker.c: Add include of gnome-dialog.h
* *.[ch]: ran fix.sh script over everything.
svn path=/trunk/; revision=18978
2002-11-29 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c: rework this from the gal-2 branch, clahey's
patch, and the stuff i'd done since. it's working *MUCH* better
now.
svn path=/trunk/; revision=18957
2002-11-26 Not Zed <NotZed@Ximian.com>
* e-combo-button.c (impl_button_press_event): Dont grab_add
anymore on the button, gtk_button is changed in gtk2 not to do
this anymore.
svn path=/trunk/; revision=18921
2002-11-18 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_set_property): column_width =
double.
(e_reflow_realize): no need to cast to double, column_width is
already a double.
svn path=/trunk/; revision=18833
2002-11-18 Chris Toshok <toshok@ximian.com>
* e-table-config.c (connect_button): take GCallback, not
GtkSignalFunc.
(configure_sort_dialog): show the custom widget.
(configure_group_dialog): same.
(configure_fields_dialog): same, also pass G_CALLBACK (func),
instead of GTK_SIGNAL_FUNC (func), to connect_button.
(setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC
(func), to connect_button.
* Makefile.am (glade_DATA): remove e-table-group.glade, since we
don't use it anyplace.
svn path=/trunk/; revision=18832
2002-11-18 Not Zed <NotZed@Ximian.com>
* gal/widgets/e-gui-utils.c (e_notice): we need to destroy the
dialog after we've run it, because run doesn't do it for us like
gnome-dialog did.
svn path=/trunk/; revision=18816