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-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
* 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-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-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 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-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-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-03-19 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c: Updated to use GtkDialog instead of
GnomeDialog. Also fixed bug #39550 while I was at it.
svn path=/trunk/; revision=20375
2003-03-10 Rodney Dawes <dobey@ximian.com>
* e-calendar.c: Use GtkArrow instead of pixmaps
* e-combo-button.c: Use GtkArrow instead of pixmaps
* e-filter-bar.c: gtk_window_set_policy () is deprecated
* e-url-entry.c: Load the icon in a pixbuf instead of GdkPixmap
svn path=/trunk/; revision=20254
2003-02-27 Chris Toshok <toshok@ximian.com>
* e-url-entry.c (destroy): guard this so we don't try to free priv
multiple times.
svn path=/trunk/; revision=20089
* e-map.c (e_map_destroy): Use
g_signal_handlers_disconnect_by_func since
gtk_signal_disconnect_by_data doesn't seem to work right.
(e_map_set_scroll_adjustments): Likewise.
svn path=/trunk/; revision=20052
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* e-dateedit.c (on_date_popup_date_selected): Same as below.
* e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also
updated to use the new GDate API from glib 2.0
* test-calendar.c (on_selection_changed): Fixed to use glib 2.0's
GDate API.
* e-calendar-item.c (e_calendar_item_get_week_number): Port to
glib 2.0's GDate API.
(e_calendar_item_set_selection): Same.
* e-search-bar.c (append_xml_menu_item): Use
g_string_append_printf instead of g_string_sprintfa since the
latter is now deprecated.
(setup_bonobo_menus): Same.
* e-filter-bar.c (do_advanced): Use gtk_window_set_resizable()
* e-charset-picker.c: Fixes to make it build cleanly with
-DG_DISABLE_DEPRECATED
(add_charset): Escape _'s so we don't get underline weirdness due
to GtkLabel thinking the _ means to underline the next char.
(e_charset_picker_bonobo_ui_populate): Same here.
svn path=/trunk/; revision=20048
* Makefile.am (INCLUDES): Define MAP_DIR in terms of $(imagesdir).
(widgetsincludedir): Define in terms of $(privincludedir)
svn path=/trunk/; revision=19772
2003-02-02 Hans Petter Jansson <hpj@ximian.com>
* e-calendar-item.[ch]: Use Pango to draw.
(e_calendar_item_class_init): Add font_desc and week_number_font_desc
args.
(e_calendar_item_get_arg): Ditto.
(e_calendar_item_set_arg): Ditto.
(e_calendar_item_draw_month): Use Pango.
(e_calendar_item_draw_day_numbers): Ditto.
* e-calendar.c: Use Pango to draw. Specify just the size of the small
font to use, instead of all aspects of it.
(e_calendar_init): Produce the small font description and pass it to
the ECalendarItem.
svn path=/trunk/; revision=19705
2003-02-01 Hans Petter Jansson <hpj@ximian.com>
* e-dateedit.c (create_children): Don't request combo boxes that are
0 pixels tall.
(position_date_popup): Make this work when the button doesn't have
its own window.
svn path=/trunk/; revision=19704
* e-title-bar.c (e_title_bar_construct): Make the label bold using
the new args to e_clipped_label_new().
* e-clipped-label.c (build_layout): Honor ->font_size and ->layout
in the newly created PangoLayout.
(e_clipped_label_new): New args font_weight, font_size.
(e_clipped_label_size_request): Removed unused variables.
(e_clipped_label_expose): Likewise.
(e_clipped_label_expose): Likewise.
(e_clipped_label_set_text): Likewise.
(e_clipped_label_recalc_chars_displayed): Likewise.
* e-clipped-label.h (struct _EClippedLabel): Add font_size, layout
members.
svn path=/trunk/; revision=19591
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-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-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-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-15 Chris Toshok <toshok@ximian.com>
* e-clipped-label.c (build_layout): new function, build pango
layout for string.
(e_clipped_label_size_request): pango-ize this, make the size
requested dependent on the label.
(e_clipped_label_expose): pango-ize this.
(e_clipped_label_recalc_chars_displayed): pango-ize this.
svn path=/trunk/; revision=18784