Commit Graph

632 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
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
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
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
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
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
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
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
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
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
72dbc81f48 make the Because cases the same.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * e-system-errors.xml: make the Because cases the same.

        * e-system-errors.xml.h: add for translators.

        * e-error.c (ee_load): just use _() to do i18n rather than the
        nasty lang stuff.
        (find_node): no longer needed.

        * Makefile.am (%.xml.h): setup the build rules for the i18n file
        for the errors.

        * e-system-errors.xml.in: Removed, renamed to .xml and removed the
        _ stuff.

svn path=/trunk/; revision=25871
2004-05-12 03:36:37 +00:00
00e4bc50fc Build fixes.
Build fixes.

svn path=/trunk/; revision=25790
2004-05-04 18:46:18 +00:00
8cd76b19d0 update
svn path=/trunk/; revision=25751
2004-05-03 13:59:54 +00:00
57d8da86be blah, need to do entity decoding. #57918.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * e-error.c (ee_build_label): blah, need to do entity decoding.
        #57918.

svn path=/trunk/; revision=25741
2004-05-03 05:59:57 +00:00
2880ebaf5c pass the correct data when weak unreffing
2004-04-29  JP Rosevear  <jpr@ximian.com>

	* e-activity-handler.c (impl_dispose): pass the correct data when
	weak unreffing

svn path=/trunk/; revision=25691
2004-04-29 19:08:42 +00:00
918dd55777 make the label selectable. (e_error_newv): if we have stock and label set,
2004-04-29  Not Zed  <NotZed@Ximian.com>

        * e-error.c (e_error_newv): make the label selectable.
        (e_error_newv): if we have stock and label set, then use a stock
        button with an override label.

svn path=/trunk/; revision=25677
2004-04-29 03:33:03 +00:00
0c606756b7 Update the categories dialog to be more HIG compliant
2004-04-28  Rodney Dawes  <dobey@ximian.com>

	* gal/widgets/e-categories.c (e_categories_construct):
	* gal/widgets/gal-categories.glade:
	Update the categories dialog to be more HIG compliant

svn path=/trunk/; revision=25674
2004-04-28 20:18:34 +00:00
4e99c39bcf holder for system errors.
2004-04-28  Not Zed  <NotZed@Ximian.com>

        * e-system-errors.xml.in: holder for system errors.

        * test-error.c: helper to show an error message/test it.

        * e-error.[ch]: Api for disk-based, hig-compliant error messages
        and query boxes.

svn path=/trunk/; revision=25650
2004-04-28 06:37:26 +00:00
a5ef985c81 Don't destroy item until after we know which column it is in; the sort
2004-04-27  Hans Petter Jansson  <hpj@ximian.com>

	* gal/widgets/e-reflow.c (item_removed): Don't destroy item until after
	we know which column it is in; the sort comparison function might need
	it. Also set the newly vacant memory location at the end of the array
	to NULL. Fixes a crash in evo.

svn path=/trunk/; revision=25646
2004-04-27 22:38:31 +00:00
6a0e6d6c90 #include <e-util/e-icon-factory.h>
svn path=/trunk/; revision=25533
2004-04-19 22:16:23 +00:00
f8909cb685 Updated to sue E_ICON_SIZE enums.
2004-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums.

svn path=/trunk/; revision=25532
2004-04-19 21:59:36 +00:00
f4b4be936e Update to use EIconFactory to get the filename for the component icons
2004-04-19  Rodney Dawes  <dobey@ximian.com>

	* e-info-label.c (e_info_label_new): Update to use EIconFactory to
	get the filename for the component icons using the icon theme

2004-04-19  Michael Terry  <mike@mterry.name>

	* e-combo-buddon.c:
	* e-url-entry.c: Update these to use EIconFactory and GtkImages
	directly instead of GdkPixmaps

svn path=/trunk/; revision=25513
2004-04-19 15:18:37 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
24c56f1757 Set the border widths on the dialog's vbox and action area to be
2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c
	(e_timezone_dialog_construct): Set the border widths on the dialog's
	vbox and action area to be HIG-complaint
	Get rid of the timezone preview widget in here
	Point the internal 'table' to the right widget
	(on_map_motion): Get rid of the extra-hacky code to set the preview
	widget's label to the timezone, now that that widget is gone
	(on_map_leave): Update the comment to not reference the preview
	widget that is now gone
	Get rid of the code to set the preview widget's label to empty string
	* e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance

2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings
	(activate_other):
	(e_charset_picker_dialog): Make these dialogs be more HIG-compliant
	* e-filter-bar.c (do_advanced):
	(menubar_activated): Make these dialogs be more HIG-compliant

svn path=/trunk/; revision=25468
2004-04-14 21:30:54 +00:00
00f84d0c5a ugh, fix some last minute changes which broke shit.
2004-04-08  Not Zed  <NotZed@Ximian.com>

        * e-info-label.c (e_info_label_set_info): ugh, fix some last
        minute changes which broke shit.

svn path=/trunk/; revision=25370
2004-04-08 08:12:28 +00:00
313439d717 A widget to show component info for the current component/view.
2004-04-08  Not Zed  <NotZed@Ximian.com>

        * e-info-label.[ch]: A widget to show component info for the
        current component/view.

svn path=/trunk/; revision=25368
2004-04-08 07:39:51 +00:00
df95d7a64d Updated for changes to e-config-page.c (init): Removed the OK and Apply
2004-04-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-multi-config-dialog.c: Updated for changes to e-config-page.c
	(init): Removed the OK and Apply buttons.

	* e-config-page.c (e_config_page_apply): Removed.
	(e_config_page_is_applied): Removed.
	(e_config_page_changed): Removed.

svn path=/trunk/; revision=25363
2004-04-07 21:07:26 +00:00
8cc048dc72 Make the button initially insensitive. Connect to the entry's "changed"
* e-url-entry.c (init): Make the button initially insensitive.
        Connect to the entry's "changed" signal.
        (entry_changed_cb): sensitize the button iff the entry is
        non-empty
        (button_clicked_cb): simplify a bit by using gtk_entry_get_text
        rather than gtk_editable_get_chars.

svn path=/trunk/; revision=25300
2004-04-02 16:19:52 +00:00