Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow special characters in bottle names #3140

Merged
merged 6 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bottles/frontend/ui/details-bottle.blp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ template DetailsBottle : .AdwPreferencesPage {
max-width-chars: 30;
label: _("My bottle");
wrap-mode: word_char;
use-markup: false;

styles [
"title-1",
Expand Down
1 change: 1 addition & 0 deletions bottles/frontend/ui/list-entry.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Gtk 4.0;
template BottleViewEntry : .AdwActionRow {
activatable: true;
title: _("Bottle name");
use-markup: false;

Box list_labels {
spacing: 1;
Expand Down
3 changes: 2 additions & 1 deletion bottles/frontend/ui/new.blp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ template NewView : .AdwWindow {

.AdwPreferencesGroup {
.AdwEntryRow entry_name {
use-markup: false;
title: _("Name");

[suffix]
Expand Down Expand Up @@ -280,4 +281,4 @@ Popover popover_duplicate {
max-width-chars: 40;
label: _("This name is unavailable, please try another.");
}
}
}