diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-27 13:51:58 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-27 13:51:58 +0300 |
commit | a50e235a03884ff2aef9d40bd67e2398b65eddf1 (patch) | |
tree | c8c7ace3eaec6cc1d09ed8878bdf0883f8330d35 /src/ui/util.c | |
parent | 18dcb69f7a225a9d175c00a956fa132299689a6e (diff) |
SidebarWidget: Editing folder names
Use the regular bookmark editor but hide the Special Tags section,
and disable all but the Title for now.
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index adee2ee5..80bd5d44 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2655,7 +2655,9 @@ iWidget *makeBookmarkEditor_Widget(void) { | |||
2655 | addDialogInputWithHeading_(headings, values, "${dlg.bookmark.icon}", "bmed.icon", iClob(inputs[3] = new_InputWidget(1))); | 2655 | addDialogInputWithHeading_(headings, values, "${dlg.bookmark.icon}", "bmed.icon", iClob(inputs[3] = new_InputWidget(1))); |
2656 | /* Buttons for special tags. */ | 2656 | /* Buttons for special tags. */ |
2657 | addChild_Widget(dlg, iClob(makePadding_Widget(gap_UI))); | 2657 | addChild_Widget(dlg, iClob(makePadding_Widget(gap_UI))); |
2658 | addChild_Widget(dlg, iClob(makeTwoColumns_Widget(&headings, &values))); | 2658 | iWidget *special = addChild_Widget(dlg, iClob(makeTwoColumns_Widget(&headings, &values))); |
2659 | setFlags_Widget(special, collapse_WidgetFlag, iTrue); | ||
2660 | setId_Widget(special, "bmed.special"); | ||
2659 | makeTwoColumnHeading_("${heading.bookmark.tags}", headings, values); | 2661 | makeTwoColumnHeading_("${heading.bookmark.tags}", headings, values); |
2660 | addDialogToggle_(headings, values, "${bookmark.tag.home}", "bmed.tag.home"); | 2662 | addDialogToggle_(headings, values, "${bookmark.tag.home}", "bmed.tag.home"); |
2661 | addDialogToggle_(headings, values, "${bookmark.tag.remote}", "bmed.tag.remote"); | 2663 | addDialogToggle_(headings, values, "${bookmark.tag.remote}", "bmed.tag.remote"); |