Add logging

svn path=/trunk/netsurf/; revision=3251
This commit is contained in:
John Mark Bell 2007-04-07 23:44:15 +00:00
parent 0619d34bc3
commit c010f30e09
2 changed files with 2 additions and 0 deletions

View File

@ -299,6 +299,7 @@ void ro_gui_options_theme_load(void) {
if (link->next) extent.y0 -= 16;
if (extent.y0 > min_extent) extent.y0 = min_extent;
xwimp_set_extent(theme_pane, &extent);
LOG(("%08x (%s)", link->toolbar->toolbar_handle, link->descriptor->filename));
ro_gui_set_icon_button_type(link->toolbar->toolbar_handle,
ICON_TOOLBAR_URL, wimp_BUTTON_NEVER);

View File

@ -909,6 +909,7 @@ bool ro_gui_theme_update_toolbar(struct theme_descriptor *descriptor,
warn_user("WimpError", error->errmess);
return false;
}
LOG(("%08x (%s)", toolbar->toolbar_handle, descriptor->filename));
ro_gui_wimp_event_register_redraw_window(toolbar->toolbar_handle,
ro_gui_theme_redraw);
ro_gui_wimp_event_set_user_data(toolbar->toolbar_handle, toolbar);