Skip to content

Commit

Permalink
Merge pull request #1211 from yast/remove-question-icon
Browse files Browse the repository at this point in the history
Remove question mark icon
  • Loading branch information
dgdavid committed Mar 11, 2021
2 parents 3d851b5 + 63d46cc commit 83abaab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
7 changes: 7 additions & 0 deletions package/yast2-storage-ng.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 11 00:01:59 UTC 2021 - David Diaz <dgonzalez@suse.com>

- Stop using the question mark icon in the recursive deletion
confirm dialog (bsc#1183088).
- 4.3.48

-------------------------------------------------------------------
Tue Mar 9 16:40:38 UTC 2021 - José Iván López González <jlopez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-storage-ng.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-storage-ng
Version: 4.3.47
Version: 4.3.48
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
Expand Down
27 changes: 12 additions & 15 deletions src/lib/y2partitioner/confirm_recursive_delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,18 @@ def confirm_recursive_delete(devices, headline, label_before, label_after)
# @param button_term [Yast::UI::Term]
# @return [Boolean]
def fancy_question(headline, label_before, rich_text, label_after, button_term)
layout = VBox(
VSpacing(0.4),
HBox(
Top(Yast::Icon.Simple("question")),
HSpacing(1),
VBox(
Left(Heading(headline)),
VSpacing(0.2),
Left(Label(label_before)),
VSpacing(0.2),
Left(RichText(rich_text)),
VSpacing(0.2),
Left(Label(label_after)),
button_term
)
layout = MarginBox(
1.45,
0.5,
VBox(
Left(Heading(headline)),
VSpacing(0.2),
Left(Label(label_before)),
VSpacing(0.2),
Left(RichText(rich_text)),
VSpacing(0.2),
Left(Label(label_after)),
button_term
)
)

Expand Down

0 comments on commit 83abaab

Please sign in to comment.