Commit Graph

1990 Commits

Author SHA1 Message Date
488d80e2ce Really dist the pilot sources this time
2004-08-03  JP Rosevear  <jpr@novell.com>

	* Makefile.am: Really dist the pilot sources this time

svn path=/trunk/; revision=26902
2004-08-13 02:40:48 +00:00
89203ea5f6 include scrollbar offset in vertical calculation. don't ask me i just work
2004-08-09  Not Zed  <NotZed@Ximian.com>

        * e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar
        offset in vertical calculation.  don't ask me i just work here.
        see #61932.

svn path=/trunk/; revision=26873
2004-08-12 05:10:42 +00:00
04de004511 nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE.
2004-08-04  Chris Toshok  <toshok@ximian.com>

        * gal/e-text/e-entry.c (e_entry_refresh_popup): nuke, unnecessary.
        (e_entry_start_completion): set item_chosen to FALSE.
        (added_cb): nuke, unnecessary.
        (full_cb): only show the popup if the user hasn't chosen an entry.
        (activate_cb): set item_chosen to TRUE.

svn path=/trunk/; revision=26832
2004-08-05 18:26:55 +00:00
0b342f2c84 do not set position, it's already done in .glade, call set_transient_for
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
2004-08-04 09:16:19 +00:00
3014d0ac20 accessor (e_pilot_settings_set_source): ditto (build_ui): show the source
2004-08-01  JP Rosevear  <jpr@novell.com>

	* e-pilot-settings.c (e_pilot_settings_get_source): accessor
	(e_pilot_settings_set_source): ditto
	(build_ui): show the source option menu
	(e_pilot_settings_new): use above

	* e-pilot-settings.h: add prototypes

svn path=/trunk/; revision=26797
2004-08-02 18:32:14 +00:00
ef076f8049 use ctrl-shift-q to clear search bar
2004-07-26  JP Rosevear  <jpr@novell.com>

 	* e-search-bar.c (setup_bonobo_menus): use ctrl-shift-q to clear
 	search bar

svn path=/trunk/; revision=26734
2004-07-26 15:30:14 +00:00
1b01e8ccc0 watch for selection changes and set Delete button sensitivity according to
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
2004-07-23 16:58:02 +00:00
905f20b895 include config.h. See #61395.
2004-07-20  Not Zed  <NotZed@Ximian.com>

        * e-error.c: include config.h.  See #61395.

svn path=/trunk/; revision=26696
2004-07-22 03:34:47 +00:00
19e6ef7b32 remove proto
2004-07-20  JP Rosevear  <jpr@novell.com>

	* e-source-selector.h: remove proto

	* e-source-selector.c (selection_func): don't force the item to be
	checked
	(cell_toggled_callback): allow the cell to be untoggled even if
	its primary
	(init): set the pixbuf renderable
	(e_source_selector_set_toggle_selection): no longer necessary

svn path=/trunk/; revision=26682
2004-07-20 16:36:43 +00:00
6b532af3e9 remove debug spew and fix the display when pango_layout_line_x_to_index
2004-07-16  Chris Toshok  <toshok@ximian.com>

	* e-clipped-label.c (e_clipped_label_recalc_chars_displayed):
	remove debug spew and fix the display when
	pango_layout_line_x_to_index returns FALSE (before we were drawing
	both the ellipses and the text).

svn path=/trunk/; revision=26660
2004-07-16 08:11:59 +00:00
a04942f15a s/GB-2312/GB2312/ - fixes bug #61385.
2004-07-12  Jeffrey Stedfast  <fejj@novell.com>

	* e-charset-picker.c: s/GB-2312/GB2312/ - fixes bug #61385.

svn path=/trunk/; revision=26641
2004-07-13 15:59:33 +00:00
201b027d54 added e_table_model_pre_change because we call e_table_model_row_inserted
2004-07-07  Radek Doulik  <rodo@ximian.com>

	* e-table-sorted-variable.c (etsv_add): added
	e_table_model_pre_change because we call
	e_table_model_row_inserted later. It fixes freeze/unfreeze for
	ETableItem assert warning which I run into when fixing #56271

svn path=/trunk/; revision=26632
2004-07-13 10:31:22 +00:00
f5e31a648e fixed the ChangeLog
svn path=/trunk/; revision=26556
2004-07-01 14:51:57 +00:00
4110b183b7 Fix alignment of the icon to be 0x0
2004-06-24  Rodney Dawes  <dobey@novell.com>

	* e-error.c (e_error_newv): Fix alignment of the icon to be 0x0

	Fixes #60493

svn path=/trunk/; revision=26503
2004-06-24 21:40:58 +00:00
38f4f2cd20 Add a call to e_source_selector_set_select_new here so that we can select
2004-06-24  Rodney Dawes  <dobey@novell.com>

	* gui/calendar-component.c (create_component_view):
	* gui/tasks-component.c (create_component_view):
	Add a call to e_source_selector_set_select_new here so that we can
	select new sources when we create them

2004-06-24  Rodney Dawes  <dobey@novell.com>

	* e-source-selector.[ch]: Add new "select_new" property to
	private structure of the ESourceSelector
	(rebuild_cb): Add code to select the new source, and cause the
	selection_changed signal to get emitted, if we select new sources
	(init): Don't select new sources by default
	(e_source_selector_set_select_new): Add function to set whether or not
	we want to select new sources when we add them

svn path=/trunk/; revision=26498
2004-06-24 17:22:40 +00:00
cc7c47284a Fix some spacing and border width properties on the dialog's widgets to
2004-06-22  Rodney Dawes  <dobey@novell.com>

	* e-table-config.c (do_fields_config_dialog, e_table_config_new):
	Fix some spacing and border width properties on the dialog's widgets
	to make the dialog compliant with the HIG

2004-06-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw

	* e-table-config.c (setup_fields): Use e_table_model_freeze and
	e_table_model_thaw

	Fixes #54785

svn path=/trunk/; revision=26460
2004-06-22 21:25:59 +00:00
aee2630d06 Add preconditions. Make sure garbage or NULL data doesn't get used.
2004-06-22  Hans Petter Jansson  <hpj@ximian.com>

	* misc/e-source-selector.c (e_source_selector_peek_primary_selection):
	Add preconditions. Make sure garbage or NULL data doesn't get used.

svn path=/trunk/; revision=26454
2004-06-22 19:12:13 +00:00
cf6965aac2 clone view before saving it to avoid problems with setting current_view_id
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
2004-06-21 13:55:38 +00:00
8bf6b27754 fix a path leak and maek the code more structured.
2004-06-16  Not Zed  <NotZed@Ximian.com>

        * e-source-selector.c (cell_toggled_callback): fix a path leak and
        maek the code more structured.
        (e_source_selector_set_toggle_selection): set the mode on whether
        you can toggle the currnet selection or not.
        (cell_toggled_callback): implement set_toggle_selection behaviour.

svn path=/trunk/; revision=26361
2004-06-16 06:58:21 +00:00
617cf62b8b prepend label " " before the ETable
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
2004-06-14 17:43:12 +00:00
229b9765d3 (pixbuf_cell_data_func): fix the appearance a little.
svn path=/trunk/; revision=26316
2004-06-11 18:20:45 +00:00
a27609a6b3 (pixbuf_cell_data_func): clean up warnings. (double bad larry).
svn path=/trunk/; revision=26315
2004-06-11 18:07:54 +00:00
a5cbaf1e09 (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).
svn path=/trunk/; revision=26314
2004-06-11 18:06:25 +00:00
ef03909b15 make the source selector use a colock block instead of setting the
2004-06-11  Larry Ewing  <lewing@ximian.com>

	* misc/e-source-selector.c: make the source selector use a colock
	block instead of setting the foreground to indicate the source
	color.

svn path=/trunk/; revision=26313
2004-06-11 18:01:25 +00:00
31e744476c set dialog window position, glade doesn't do that for us anymore as the
2004-06-11  Radek Doulik  <rodo@ximian.com>

	* e-table-config.c (e_table_config_construct): set dialog window
	position, glade doesn't do that for us anymore as the window is
	first hidden, extended and later shown

	* e-table-config-no-group.glade: as below

	* e-table-config.glade: set visibility to false, it will keep the
	dialog hidden until we call gtk_widget_show and thus no resizing
	is visible while we are extending the dialog content

	Fixes #57825

svn path=/trunk/; revision=26311
2004-06-11 15:51:44 +00:00
ff2a5e2ebf hardcode the border size. it is hardcoded in e-text as well. Even using
2004-06-11  Radek Doulik  <rodo@ximian.com>

	* gal/e-text/e-entry.c (canvas_size_request): hardcode the border
	size. it is hardcoded in e-text as well. Even using style values
	in e-text will not help as style values might differ between EText
	and EEntry. I think it will be best to rewrite EEntry for evo 2.1
	so that it derives from GtkEntry and only adds the auto completion
	feature

	Fixes part of #42864

svn path=/trunk/; revision=26309
2004-06-11 14:05:01 +00:00
8cdc82ce8c HIGified, updated as suggested in #46236
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
2004-06-10 20:10:13 +00:00
8db565271c added cast
2004-06-10  Radek Doulik  <rodo@ximian.com>

	* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
	(idle_do_action): added cast

	* gal/a11y/e-table/gal-a11y-e-cell-tree.c
	(gal_a11y_e_cell_tree_new): added cast

	* gal/a11y/e-table/gal-a11y-e-cell.c: added #include
<gtk/gtkwindow.h>

	* gal/e-text/e-text.c (_get_position): removed unused variable

	* gal/e-text/e-completion.c: #if 0'ed e_completion_sort

	* tests/test-text.c (create_entry): removed unused variables
	added #include "gal/widgets/e-canvas-utils.h"
	added #include "gal/e-text/e-text-model.h"
	(create_text): removed unused variables
	(create_ro_text): ditto

	* tests/test-table-1.c (create_table): added cast

	* tests/test-completion.c (main): added cast

	* gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if
	check fails
	added #include <string.h> for strlen
	(et_get_text_after_offset): fixed typo defalut --> default
	(et_get_text_at_offset): ditto
	(et_get_character_extents): removed unused variables
	(et_set_selection): ditto
	(_et_command_cb): added default: label to quiet compiler

	* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c
	(gal_a11y_e_table_click_to_add_factory_create_accessible): return
	NULL if check fails

	* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
	(idle_do_action): fixed wrong cast
	(idle_do_action): removed unused variables
	(etcta_ref_child): return NULL if check fails
	(gal_a11y_e_table_click_to_add_new): ditto
	(gal_a11y_e_table_click_to_add_new): removed unused variable

	* gal/a11y/e-table/gal-a11y-e-table-item-factory.c
	(gal_a11y_e_table_item_factory_create_accessible): return NULL if
	fails
	(gal_a11y_e_table_item_factory_create_accessible): added cast
	(gal_a11y_e_table_item_factory_create_accessible): removed unused
	variable

	* gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed
	unused variable
	(eti_get_parent): ditto
	(eti_get_n_children): ditto
	(eti_ref_child): ditto
	(eti_get_index_in_parent): ditto
	(eti_ref_accessible_at_point): return value (NULL)
	(cell_destroyed): removed unused variable
	(cell_destroyed): ditto
	(table_add_row_selection): ditto
	added #inclued <string.h> for memset, memmove
	(eti_rows_inserted): removed unused variable
	(eti_rows_deleted): ditto
	(eti_header_structure_changed): ditto

	* gal/a11y/e-table/gal-a11y-e-cell-popup.c
	(gal_a11y_e_cell_popup_class_init): removed unused variable
	added #include "gal-a11y-e-cell-registry.h"
	(popup_cell_action): removed unused variable

	* gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action):
	removed unused variable

	* gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include
	"gal-a11y-e-cell-registry.h"
	(gal_a11y_e_cell_tree_new): add cast
	(gal_a11y_e_cell_tree_new): removed unused variable

	* gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include
	<string.h>
	(ect_remove_selection): removed unused variable
	(ect_copy_text): added cast
	(ect_delete_text): ditto
	(ect_paste_text): ditto
	(ect_init): ditto

	* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast
	(eti_grab_focus): ditto
	(eti_grab_focus): return TRUE (grab was successful)
	added #include <atk/atkstateset.h>

	* gal/a11y/e-table/gal-a11y-e-tree.c: added #include
	"gal-a11y-e-table-item.h"
	(gal_a11y_e_tree_new): removed unused variable

	* gal/e-text/e-text.c (_do_tooltip): removed unused variable
	(e_text_event): added cast
	(primary_clear_cb): removed unused variable
	(_get_position): ditto
	(_get_position): ditto
	#if 0'ed unused prototypes

	* gal/e-text/e-text-model.c (e_text_model_real_insert_length):
	removed unused variables

	* gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's
	not used anywhere

	* gal/widgets/e-reflow.c (items_inserted): remove unused variables

	* gal/widgets/e-categories.c (e_categories_get_property): remove
	unused variable

	* gal/widgets/e-categories-master-list-dialog.c
	(dialog_destroyed): added cast

	* gal/widgets/e-categories-master-list-combo.c
	(ecmlc_ecml_changed): remove unused variable

	* gal/widgets/color-palette.c: include string.h for memset
	prototype

svn path=/trunk/; revision=26289
2004-06-10 17:01:14 +00:00
97adccec5d fixes for compiler warnings
2004-06-10  Radek Doulik  <rodo@ximian.com>

	* e-cell-text.c (layout_with_preedit): removed unused variable

	* e-tree.c (e_tree_get_item): added cast
	added #include <atk/atkregistry.h>

	* e-table-one.c (one_finalize): removed unused variable

	* e-table-item.c: added #include
	"gal/a11y/e-table/gal-a11y-e-table-item.h" for
	gal_a11y_e_table_item_factory_get_type prototype

	* e-table-header-utils.c (e_table_header_draw_button): removed
	unused variable

	* e-table-config.c (get_source_model_col_index): removed unused
	variable

	* e-table-click-to-add.c (finish_editing): added cast
	(etcta_event): ditto

	* e-cell-toggle.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

	* e-cell-text.c (layout_with_preedit): removed unused variable
	(build_layout): ditto
	(ect_event): ditto
	(e_cell_text_commit_cb): ditto

	* e-cell-popup.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

svn path=/trunk/; revision=26284
2004-06-10 15:29:15 +00:00
2463928c90 remove defunct Revert button and replace OK/Cancel buttons with a Close
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
2004-06-10 11:11:12 +00:00
df7a1be485 add new api for setting the whole selection in one go. See #59546.
2004-06-10  Not Zed  <NotZed@Ximian.com>

        * e-tree-selection-model.c (e_tree_selection_model_select_paths):
        add new api for setting the whole selection in one go.  See
        #59546.

svn path=/trunk/; revision=26277
2004-06-10 04:42:22 +00:00
1189f447dd process only if len > 0
2004-06-09  Radek Doulik  <rodo@ximian.com>

	* gal/e-text/e-text.c (capitalize): process only if len > 0

	Fixes #51078

svn path=/trunk/; revision=26270
2004-06-09 15:25:03 +00:00
964fb4ac7a (ensure_nonzero_step_increments): set step increments always to 16
svn path=/trunk/; revision=26269
2004-06-09 15:05:16 +00:00
40256a9748 new helper function to set step_increments (allocate_callback): call
2004-06-09  Radek Doulik  <rodo@ximian.com>

	* e-table-field-chooser.c (ensure_nonzero_step_increments): new
	helper function to set step_increments
	(allocate_callback): call ensure_nonzero_step_increments
	(resize): ditto

	Fixes #48275

svn path=/trunk/; revision=26268
2004-06-09 15:03:56 +00:00
a791a98b05 Add HIG border width for dialog window.
2004-06-03  William Jon McCann  <mccann@jhu.edu>

	* e-error.c (e_error_newv): Add HIG border width for dialog window.

svn path=/trunk/; revision=26205
2004-06-04 02:10:24 +00:00
df3e72dce3 Link test-error against libeutil.
2004-06-01  Christian Neumair  <chris@gnome-de.org>

	* Makefile.am (test_error_LDADD): Link test-error against libeutil.

svn path=/trunk/; revision=26147
2004-06-01 17:14:48 +00:00
e44d368043 Don't propagate the expose to the label widget, the parent expose handler
2004-06-01  Anders Carlsson  <andersca@gnome.org>

	* e-expander.c (e_expander_expose): Don't propagate the expose
	to the label widget, the parent expose handler does that.

svn path=/trunk/; revision=26144
2004-06-01 16:11:36 +00:00
18117c5aef Use the constructed title string.
2004-05-28  Anders Carlsson  <andersca@gnome.org>

	* e-error.c (e_error_newv): Use the constructed title string.

svn path=/trunk/; revision=26132
2004-05-31 08:54:39 +00:00
59751421bd Require e-error-tool
2004-05-27  Rodney Dawes  <dobey@novell.com>

	* e-util/Makefile.am (dist-hook): Require e-error-tool

2004-05-27  Rodney Dawes  <dobey@novell.com>

	* */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist"

svn path=/trunk/; revision=26114
2004-05-27 18:23:57 +00:00
5a17239841 ugh, too drunk to remember to commit this last night
2004-05-21  Not Zed  <NotZed@Ximian.com>

        * e-error.c
        (e_error_default_parent): uh, fix the sense of the
        if-we-dont-have-it test.

svn path=/trunk/; revision=26039
2004-05-22 00:15:05 +00:00
323689b658 set a default error parent fallback. (e_error_newv): if parent is null,
2004-05-21  Not Zed  <NotZed@Ximian.com>

        * e-error.c (e_error_default_parent): set a default error parent
        fallback.
        (e_error_newv): if parent is null, see if we have a default still
        alive, and use that.  warn if not.

svn path=/trunk/; revision=26031
2004-05-21 09:12:15 +00:00
cbe504718b Use the activate signal, instead of changed, for the combo box
2004-05-20  Rodney Dawes  <dobey@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct):
	Use the activate signal, instead of changed, for the combo box
	(on_map_motion): Set the text in the combo's entry when we mouse over
	one of the points on the map, as a preview for the timezone
	(on_map_leave): Reset the combo's entry to the timezone we started with
	when we leave the map

	Fixes #57122

svn path=/trunk/; revision=26020
2004-05-20 20:13:12 +00:00
0a8f9771f5 only unref the mask if there is one
2004-05-20  JP Rosevear  <jpr@novell.com>

	* e-task-widget.c (e_task_widget_construct): only unref the mask
	if there is one

svn path=/trunk/; revision=26016
2004-05-20 18:38:52 +00:00
67d0c16f4e don't dist the error .h file
2004-05-19  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't dist the error .h file

svn path=/trunk/; revision=25979
2004-05-19 16:56:13 +00:00
d1551390ff load the <help> tag if present. (ee_response): handle the help response
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * e-error.c (ee_load): load the <help> tag if present.
        (ee_response): handle the help response and swallow the signal.
        (e_error_newv): setup help button if we have a help uri.

svn path=/trunk/; revision=25945
2004-05-18 04:44:13 +00:00
a6d439b765 Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()
2004-05-17  Jeffrey Stedfast  <fejj@novell.com>

	* e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size
	in the e_icon_factory_get_icon() call.

	* e-combo-button.c (create_empty_image_widget): Don't hard-code
	the size of the icon in pixels, instead use the appropriate
	E_ICON_SIZE_ enum.

svn path=/trunk/; revision=25930
2004-05-17 17:10:39 +00:00
0c702517b6 Add bug number
svn path=/trunk/; revision=25922
2004-05-17 13:31:07 +00:00
2832094215 bitmap_unref the mask, don't object_unref it
2004-05-17  JP Rosevear  <jpr@novell.com>

	* e-task-widget.c (e_task_widget_construct): bitmap_unref the
	mask, don't object_unref it

svn path=/trunk/; revision=25921
2004-05-17 13:27:48 +00:00
0f8af52d9c added fixme for stock+label case, which doesn't work.
svn path=/trunk/; revision=25875
2004-05-12 03:58:08 +00:00
2e3c52fbef duh, use the right node pointer for title and secondary text.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * e-error.c (ee_load): duh, use the right node pointer for title
        and secondary text.

svn path=/trunk/; revision=25873
2004-05-12 03:50:33 +00:00