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
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=18979
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-18 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_set_property): column_width =
double.
(e_reflow_realize): no need to cast to double, column_width is
already a double.
svn path=/trunk/; revision=18833
2002-11-18 Not Zed <NotZed@Ximian.com>
* gal/widgets/e-gui-utils.c (e_notice): we need to destroy the
dialog after we've run it, because run doesn't do it for us like
gnome-dialog did.
svn path=/trunk/; revision=18816
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