* 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-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-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-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-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>
* gal/widgets/e-reflow.c (reflow_columns): init column_count to
column_start + 1.
(item_removed): clean up the setting of
reflow->reflow_from_column.
(items_inserted): same.
svn path=/trunk/; revision=20097
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
2003-02-27 Mike Kestner <mkestner@ximian.com>
* gal/widgets/e-canvas.c (emit_event): use gdk_event_copy
and gdk_event_free to dup the event.
svn path=/trunk/; revision=20088
2003-02-26 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_dispose): remove the
grab_cancelled_check_id if it's still active.
svn path=/trunk/; revision=20083
* 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
2003-02-16 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (item_removed): make this actually work:
destroy the canvas item, memmove stuff around, change
reflow->count, etc, etc.
svn path=/trunk/; revision=19918
2003-02-16 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (reflow_columns): enable this function to
reflow the view from a particular column onward. This is useful
if you have a huge model and the only changes are happening at the
end (as is normally the case if you're appending to a large
model.)
(item_changed): calculate the height of the changed item here, so
we aren't doing it as we reflow the model. For now, reflow the
entire model. Further optimization can be done here.
(item_removed): new function. remove the item and reflow from the
column that contained it.
(items_inserted): calculate the heights of the new items, and
calculate the lowest numbered column containing one of the
inserted items. reflow from there.
(model_changed): calculate the heights of everything here.
(comparison_changed): new function, clear the sorter and reflow.
(disconnect_model): disconnect comparison_changed and
model_item_removed.
(connect_model): connect comparison_changed and
model_item_removed.
(adjustment_changed): use queue_incarnate here, instead of forcing
the reflow model to incarnate as we scroll. Not sure if this is
actually the right solution, but it does make the scrollbar more
responsive at the cost of redraw speed.
* gal/widgets/e-reflow.h (struct _EReflow): add slots for the new
signal ids, as well as "reflow_from_column".
* gal/widgets/e-reflow-model.c (e_reflow_model_class_init): create
the comparison_changed and model_item_removed signals.
(e_reflow_model_comparison_changed): new function, emit the
comparison_changed signal.
(e_reflow_model_item_removed): new function, emit the
model_item_removed signal.
* gal/widgets/e-reflow-model.h: add comparison_changed and
model_item_removed signals.
svn path=/trunk/; revision=19917
e_auto_kill_popup_menu_on_hide(). Connect to "deactivate" instead
of destroy.
(e_popup_menu): Use e_auto_kill_popup_menu_on_selection_done()
instead of e_auto_kill_popup_menu_on_hide().
svn path=/trunk/; revision=19833
* 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
2003-02-01 Jeffrey Stedfast <fejj@ximian.com>
* gal/widgets/e-gui-utils.c (e_auto_kill_popup_menu_on_hide): Just
use gtk_widget_destroy as the G_CALLBACK function.
svn path=/trunk/; revision=19703
2003-01-31 Jeffrey Stedfast <fejj@ximian.com>
* gal/widgets/e-gui-utils.c (kill_popup_menu): gtk_widget_destroy
the menu rather than g_object_unref'ing it.
svn path=/trunk/; revision=19696
* 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