mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
[project @ 2006-01-25 13:38:55 by rjw]
Correctly display toolbar separator when editing toolbars. svn path=/import/netsurf/; revision=2042
This commit is contained in:
parent
45b78bc199
commit
9af4220992
@ -268,7 +268,6 @@ bool ro_gui_theme_add_descriptor(const char *folder, const char *leafname) {
|
||||
return false;
|
||||
}
|
||||
sprintf(filename, "%s.%s", folder, leafname);
|
||||
LOG(("Filename: %s", filename));
|
||||
|
||||
/* get the header */
|
||||
error = xosfind_openinw(osfind_NO_PATH, filename, 0,
|
||||
@ -636,6 +635,8 @@ void ro_gui_theme_redraw(wimp_draw *redraw) {
|
||||
perform_redraw = true;
|
||||
}
|
||||
perform_redraw &= toolbar->display_buttons || toolbar->editor;
|
||||
if ((toolbar->editor) && (toolbar->editor->toolbar_handle == redraw->w))
|
||||
toolbar = toolbar->editor;
|
||||
|
||||
error = xwimp_redraw_window(redraw, &more);
|
||||
if (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user