diff options
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 918a0671..cb6b61ba 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -733,9 +733,11 @@ iWidget *makePreferences_Widget(void) { | |||
733 | 733 | ||
734 | iWidget *makeBookmarkEditor_Widget(void) { | 734 | iWidget *makeBookmarkEditor_Widget(void) { |
735 | iWidget *dlg = makeSheet_Widget("bmed"); | 735 | iWidget *dlg = makeSheet_Widget("bmed"); |
736 | addChildFlags_Widget(dlg, | 736 | setId_Widget(addChildFlags_Widget( |
737 | iClob(new_LabelWidget(uiHeading_ColorEscape "EDIT BOOKMARK", 0, 0, NULL)), | 737 | dlg, |
738 | frameless_WidgetFlag); | 738 | iClob(new_LabelWidget(uiHeading_ColorEscape "EDIT BOOKMARK", 0, 0, NULL)), |
739 | frameless_WidgetFlag), | ||
740 | "bmed.heading"); | ||
739 | iWidget *page = new_Widget(); | 741 | iWidget *page = new_Widget(); |
740 | addChild_Widget(dlg, iClob(page)); | 742 | addChild_Widget(dlg, iClob(page)); |
741 | setFlags_Widget(page, arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag, iTrue); | 743 | setFlags_Widget(page, arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag, iTrue); |
@@ -744,8 +746,7 @@ iWidget *makeBookmarkEditor_Widget(void) { | |||
744 | iWidget *values = addChildFlags_Widget( | 746 | iWidget *values = addChildFlags_Widget( |
745 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); | 747 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); |
746 | iInputWidget *inputs[4]; | 748 | iInputWidget *inputs[4]; |
747 | iWidget *hd; | 749 | addChild_Widget(headings, iClob(makeHeading_Widget("Title:"))); |
748 | addChild_Widget(headings, iClob(hd = makeHeading_Widget("Title:"))); | ||
749 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "bmed.title"); | 750 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "bmed.title"); |
750 | addChild_Widget(headings, iClob(makeHeading_Widget("URL:"))); | 751 | addChild_Widget(headings, iClob(makeHeading_Widget("URL:"))); |
751 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = new_InputWidget(0))), "bmed.url"); | 752 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = new_InputWidget(0))), "bmed.url"); |