Commit Graph

527 Commits

Author SHA1 Message Date
5e343da080 fill_popup_menu signal has 2 arguments.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* e-source-selector.c (class_init): fill_popup_menu signal has
	2 arguments.

svn path=/trunk/; revision=23109
2003-10-28 18:56:34 +00:00
66318ca6b0 added "fill_popup_menu" signal, to allow the addition of new items to the
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* e-source-selector.[ch]: added "fill_popup_menu" signal, to
	allow the addition of new items to the popup menu.
	(class_init): create new signal.
	(init): connect to "button_press_event" for the tree view.
	(selector_button_press_event): callback for "button_press_event".
	(e_source_selector_selection_shown): use g_return_val_if_fail.

svn path=/trunk/; revision=23106
2003-10-28 18:15:37 +00:00
d3c6998fb8 Remove these (unused since 1.2)
* e-bonobo-widget.[ch]: Remove these (unused since 1.2)

svn path=/trunk/; revision=22978
2003-10-22 14:24:03 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00
642e0e5abd new, treeview renderer for combo cells new, GtkCellEditable for combo
2003-09-30  Mike Kestner  <mkestner@ximian.com>

	* e-cell-renderer-combo.* : new, treeview renderer for combo cells
	* e-combo-cell-editable.* : new, GtkCellEditable for combo cells
	* Makefile.am : build the new files

svn path=/trunk/; revision=22773
2003-09-30 22:35:10 +00:00
88d4fd5eac Fixes #1245. ECalendar should be usable with the keyboard
2003-09-19  Bolian Yin <bolian.yin@sun.com>

        Fixes #1245. ECalendar should be usable with the keyboard

        *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler.
        (e_calendar_item_key_press_event): new func, key press event handler
        (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers.
        (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission):
         add the flag to control if we should emit e-calendar signals.
        (e_calendar_item_class_init): register focus handler.
        (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS.

        *misc/e-calendar.c (e_calendar_focus): new func, focus handler
        (e_calendar_button_has_focus): new func, if prev/next button has focus.
        (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler
         for prev/next buttons.
        (e_calendar_set_focusable): set if the e-calendar is focusable

        *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard.

svn path=/trunk/; revision=22632
2003-09-22 03:19:00 +00:00
15c8a15ba1 Fixes #15638.
2003-08-27  Hans Petter Jansson  <hpj@ximian.com>

	Fixes #15638.

	* misc/e-dateedit.c (rebuild_time_popup): Make 12-hour time format
	not be zero-padded. Right-align time labels so digits line up.

svn path=/trunk/; revision=22394
2003-08-28 14:27:46 +00:00
52454e6b7c add dependency on a11y/widgets. a11y init. (e_calendar_item_bounds): new
2003-08-27  Bolian Yin <bolian.yin@sun.com>

        * misc/Makefile.am: add dependency on a11y/widgets.
        * misc/e-calendar-item.c (e_calendar_item_class_init): a11y init.
          (e_calendar_item_bounds): new func, impl the bounds virtual func.

svn path=/trunk/; revision=22386
2003-08-27 03:38:14 +00:00
8290ca8849 use EVO_MARSHAL_RULE
* Makefile.am: use EVO_MARSHAL_RULE

svn path=/trunk/; revision=21916
2003-07-23 16:43:24 +00:00
c4e2afa4a0 Remove this, since it claims to be deprecated, and nothing is actually
* e-messagebox.c: Remove this, since it claims to be deprecated,
        and nothing is actually using it any more.

        * Makefile.am: Remove e-messagebox.[ch]

svn path=/trunk/; revision=21900
2003-07-23 14:54:16 +00:00
a1e92e17fa Create the pixbuf from empty.xpm rather than just calling
* e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf
	from empty.xpm rather than just calling gdk_pixbuf_new(), which
	doesn't actually initialize the pixel data.

svn path=/trunk/; revision=21898
2003-07-23 13:49:30 +00:00
9cafe346c6 Added a handler for GtkWidget::mnemonic_activate().
2003-07-11  Federico Mena Quintero  <federico@ximian.com>

	* e-dateedit.c (e_date_edit_mnemonic_activate): Added a handler
	for GtkWidget::mnemonic_activate().

	* e-url-entry.c (mnemonic_activate): Likewise.

svn path=/trunk/; revision=21804
2003-07-13 19:29:03 +00:00
632b2e339f Chain to the parent handler. Fixes #45236.
2003-07-09  Federico Mena Quintero  <federico@ximian.com>

	* e-url-entry.c (destroy): Chain to the parent handler.  Fixes #45236.

svn path=/trunk/; revision=21782
2003-07-09 19:49:43 +00:00
aecbd37011 make sure we don't unref the sorter more than once.
2003-07-04  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't
	unref the sorter more than once.

svn path=/trunk/; revision=21741
2003-07-05 06:20:13 +00:00
e38e234f3e unref the sorter
* gal/widgets/e-reflow.c (e_reflow_dispose): unref the sorter

svn path=/trunk/; revision=21707
2003-07-01 13:17:01 +00:00
0853c68484 (set_menu): Translate the text. [#45112]
svn path=/trunk/; revision=21506
2003-06-23 14:03:54 +00:00
0eb6a97f87 set iso-2022-cn string to Simplified
svn path=/trunk/; revision=21485
2003-06-19 20:05:57 +00:00
6f7f415822 Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported in
2003-06-18  Suresh Chandrasekharan  <suresh.chandrasekharan@sun.com>

	* e-charset-picker.c: Fix for #45082: GB18030 BIG5HKSCS and EUC-TW
	charsets not supported in evolution mail

2003-06-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Don't
	use the charset class in the menu label if it is 'Unknown'.
	(e_charset_picker_bonobo_ui_populate): For user-defined charsets,
	just use the name of the charset rather than "Unknown".
	(add_charset): Don't escape _'s anymore, this seems to not be
	needed int gtk2.
	(add_other_charset): g_strdup() the charset name. Fixes bug
	#43917.

svn path=/trunk/; revision=21484
2003-06-19 17:42:26 +00:00
243441287f accept event arg to be NULL.
2003-06-19  Bolian Yin <bolian.yin@sun.com>

        * e-gui-utils.c (e_popup_menu): accept event arg to be NULL.

svn path=/trunk/; revision=21472
2003-06-19 02:27:12 +00:00
fd2b10f13c missed the changelog entry last time.
svn path=/trunk/; revision=21432
2003-06-13 15:44:33 +00:00
1377ba2908 i2003-06-13 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_dispose): unref the im_context.

svn path=/trunk/; revision=21430
2003-06-13 15:13:05 +00:00
51ca9977c7 Put the ChangeLog.pre-1-4 in the Makefiles.
svn path=/trunk/; revision=21426
2003-06-12 21:13:59 +00:00
62a2b36c72 take ownership of the duplicate string.
2003-06-11  Larry Ewing  <lewing@ximian.com>

	* e-search-bar.c (impl_get_property): take ownership of the
	duplicate string.

svn path=/trunk/; revision=21417
2003-06-11 21:32:40 +00:00
fd2f3a6d7a Roll over ChangeLogs.
svn path=/trunk/; revision=21387
2003-06-09 17:31:26 +00:00
79f2149fd1 Fixes #43775
2003-05-29  JP Rosevear  <jpr@ximian.com>

	Fixes #43775

	* e-calendar-item.c (layout_set_day_text): calculate the day
	character correctly
	(e_calendar_item_draw_month): use it

	* e-dateedit.c (rebuild_time_popup): use e_utf8_strftime
	(e_date_edit_update_date_entry): ditto
	(e_date_edit_update_time_entry): ditto

	* e-calendar-item.c (layout_set_day_text): calculate the day
	character correctly
	(e_calendar_item_draw_month): use e_utf8_strftime and above
	(e_calendar_item_show_popup_menu): use e_utf8_strftime
	(e_calendar_item_recalc_sizes): use layout_set_day_text

svn path=/trunk/; revision=21352
2003-05-30 17:32:31 +00:00
f6f73451c5 Added HIG-appropriate spacing/ padding to the main hbox into which the
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* e-multi-config-dialog.c (init): Added HIG-appropriate spacing/
	padding to the main hbox into which the icons and page widgets
	are packed.

svn path=/trunk/; revision=21265
2003-05-19 18:51:06 +00:00
41dba7ad48 port to GtkDialog.
2003-05-19  Larry Ewing  <lewing@ximian.com>

	* e-charset-picker.c: port to GtkDialog.

svn path=/trunk/; revision=21244
2003-05-19 13:54:21 +00:00
2d6fce0574 Added appropriate padding/spacing to the categories list dialog. Fixes the
2003-05-16  Anna Marie Dirks  <anna@ximian.com>

	* gal/widgets/e-categories.c: Added appropriate padding/spacing
	to the categories list dialog. Fixes the rest of #41217.

	* gal/widgets/e-categories-master-list-dialog.glade: HIG-ified
	this dialog.

	* gal/widgets/gal-categories.glade: HIG-ified this dialog
	(in terms of spacing/padding). Fixes most of bug #41217

svn path=/trunk/; revision=21228
2003-05-16 20:16:42 +00:00
d49d8a2f15 guard against multiple destroys
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-combo-button.c (impl_destroy): guard against multiple destroys

2003-05-14  JP Rosevear  <jpr@ximian.com>

	* menus/gal-view-menus.c (gvm_finalize): unref the component

svn path=/trunk/; revision=21178
2003-05-14 18:42:38 +00:00
65fee07a39 [#42628] Call emit_search_activated() instead of emit_query_changed().
[#42628]
* e-search-bar.c (search_now_verb_cb): Call
emit_search_activated() instead of emit_query_changed().

svn path=/trunk/; revision=21154
2003-05-13 16:04:01 +00:00
a972ac3590 [ fixes bug #42177 ] remove the CAN_FOCUS flag.
2003-05-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #42177 ]
	* e-dateedit.c (e_date_edit_init): remove the CAN_FOCUS flag.

svn path=/trunk/; revision=21146
2003-05-11 21:57:25 +00:00
2b99ba904b Fix date in ChangeLog.
svn path=/trunk/; revision=21140
2003-05-09 16:34:22 +00:00
bcbf0b3fb2 *** empty log message ***
svn path=/trunk/; revision=21139
2003-05-09 16:34:04 +00:00
692862c505 trash e_utf8_gtk function (e_search_bar_get_text): ditto
2003-05-07  JP Rosevear  <jpr@ximian.com>

	* e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk
function
	(e_search_bar_get_text): ditto

svn path=/trunk/; revision=21129
2003-05-08 14:02:52 +00:00
fa9dddd005 Remove this so that GtkContainer's destroy method will destroy all of the
* e-dateedit.c (e_date_edit_forall): Remove this so that
        GtkContainer's destroy method will destroy all of the internal
        widgets. (This is how other compound-widgets-that-aren't-
        meant-to-be-used-as-containers behave.) #41458

svn path=/trunk/; revision=21003
2003-04-29 16:59:12 +00:00
fd2a3bcf17 *misc/e-multi-config-dialog.c : add appropriate padding and spacing to the
2003-04-22  Anna Dirks  <anna@ximian.com>

	*misc/e-multi-config-dialog.c : add appropriate padding
	and spacing to the settings dialog. Fixes #41392.

svn path=/trunk/; revision=20942
2003-04-23 19:17:54 +00:00
d4b1e549f6 (remove_bonobo_menus): Only do the actual remove
if the ui component actually has a container; this suppresses a
BonoboUI warning at each folder view switch.

svn path=/trunk/; revision=20861
2003-04-16 14:47:06 +00:00
db8f0cbfbc Unref the metrics. (e_calendar_item_draw): Re-use the widget's context
2003-04-15  Hans Petter Jansson  <hpj@ximian.com>

	* e-calendar-item.c (e_calendar_item_update): Unref the metrics.
	(e_calendar_item_draw): Re-use the widget's context instead of
	creating a new one. Unref the metrics.
	(e_calendar_item_draw_month): Unref the metrics. Don't create the
	layout where it might be leaked by an early return. Unref the layout
	before returning if we're outside the clip area.
	(e_calendar_item_draw_day_numbers): Unref the metrics.
	(e_calendar_item_recalc_sizes): Unref the metrics.
	(e_calendar_item_convert_position_to_day): Unref the metrics.

	* e-calendar.c (e_calendar_size_allocate): Unref the metrics.

svn path=/trunk/; revision=20855
2003-04-15 21:43:05 +00:00
359f89f8bf Change the border width and padding to comply with the HIG. Fixes bug
2003-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (do_advanced): Change the border width and
	padding to comply with the HIG. Fixes bug #41202.
	(do_advanced): Changed the button ordering from Cancel/Save/OK to
	Save/Cancel/OK to comply with the HIG. Fixes bug #41207.

svn path=/trunk/; revision=20829
2003-04-11 20:08:05 +00:00
dc0aeb63bb Change the border width and padding to comply with the HIG. Fixes bug
2003-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (do_advanced): Change the border width and
	padding to comply with the HIG. Fixes bug #41202.

svn path=/trunk/; revision=20828
2003-04-11 20:04:58 +00:00
0cdafe3604 kill an old e_utf8_gtk usage
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-search-bar.c (set_option): kill an old e_utf8_gtk usage

and remove some straggling e-font.h includes.

svn path=/trunk/; revision=20769
2003-04-08 20:44:58 +00:00
122470e9be remove e-font.[ch], test-e-font, and test-font-loading. kill
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* gal/widgets/Makefile.am : remove e-font.[ch], test-e-font,
	and test-font-loading.
	* gal/widgets/e-unicode.[ch] (e_utf8_from_gtk_string): kill
	(e_utf8_from_gtk_string_sized): kill
	(e_utf8_to_gtk_string): kill
	(e_utf8_to_gtk_string_sized): kill
	(e_utf8_gtk_menu_item_new_with_label): kill
	(e_utf8_gtk_clist_set_text): kill
	(e_utf8_gtk_clist_append): kill
	* e-categories-master-list-option-menu.c (ecmlom_ecml_changed):
	don't use e_utf8_to_gtk_string.
	* e-categories-master-list-combo (ecmlc_ecml_changed):
	don't use e_utf8_to_gtk_string.

2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c : break e-font dependency

svn path=/trunk/; revision=20766
2003-04-08 19:48:41 +00:00
fc5fc4dcf0 fill_color_gdk is a boxed GdkColor, not a pointer. (ecb_set_property):
2003-04-07  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas-background.c (ecb_class_init):
	fill_color_gdk is a boxed GdkColor, not a pointer.
	(ecb_set_property): same.
	(ecb_get_property): same.

svn path=/trunk/; revision=20741
2003-04-08 04:34:34 +00:00
ea6d89e804 e_cell_percent_get_type returns GType, not GtkType.
2003-04-06  Chris Toshok  <toshok@ximian.com>

	* e-cell-percent.h: e_cell_percent_get_type returns GType, not
	GtkType.

	* e-cell-percent.c (e_cell_percent_new): use g_object_new, not
	gtk_object_new.

svn path=/trunk/; revision=20692
2003-04-07 02:09:59 +00:00
7143de721b For example; a selection ending 2003-apr-02 does not fit into the
2003-04-02  Hans Petter Jansson  <hpj@ximian.com>

	* e-calendar-item.c (e_calendar_item_set_selection): For example;
	a selection ending 2003-apr-02 does not fit into the remaining
	shown days after 1969-dec. Stop assuming that it does.

svn path=/trunk/; revision=20652
2003-04-03 04:00:19 +00:00
2c96683a37 move to using gtk_im_context.
2003-04-01  Larry Ewing  <lewing@ximian.com>

	* gal/widgets/e-canvas.c: move to using gtk_im_context.

	* gal/widgets/e-canvas.c: add im_context member.

svn path=/trunk/; revision=20634
2003-04-02 05:46:33 +00:00
c3efd8d943 Nuke GdkFont and use Pango's font measuring for everything.
2003-04-01  Hans Petter Jansson  <hpj@ximian.com>

	* e-calendar-item.c (e_calendar_item_class_init)
	(e_calendar_item_destroy)
	(e_calendar_item_get_arg)
	(e_calendar_item_set_arg)
	(e_calendar_item_update)
	(e_calendar_item_draw)
	(e_calendar_item_draw_month)
	(e_calendar_item_draw_day_numbers)
	(e_calendar_item_recalc_sizes)
	(e_calendar_item_convert_position_to_day): Nuke GdkFont and use
	Pango's font measuring for everything.

	* e-calendar-item.h: Ditto.

	* e-calendar.c (e_calendar_init)
	(e_calendar_size_allocate): Ditto.

svn path=/trunk/; revision=20633
2003-04-02 05:38:19 +00:00
86c77578a1 Handle multiple destroys.
2003-03-30  Hans Petter Jansson  <hpj@ximian.com>

	* e-calendar-item.c (e_calendar_item_destroy): Handle multiple
	destroys.

svn path=/trunk/; revision=20588
2003-03-31 05:15:38 +00:00
7e0741f407 set the sub item to the default as well
2003-03-28  JP Rosevear  <jpr@ximian.com>

	* e-search-bar.c (clear_search): set the sub item to the default
	as well

svn path=/trunk/; revision=20572
2003-03-29 02:16:56 +00:00
cb46b4039b #include gtkarrow.h Likewise
* e-calendar.c: #include gtkarrow.h
	* e-combo-button.c: Likewise

	* e-charset-picker.c: Update for e_notice move

svn path=/trunk/; revision=20499
2003-03-25 15:48:09 +00:00