Skip to content

Commit

Permalink
MessageDialog: Make labels not selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Jan 15, 2024
1 parent 978d80f commit 6a3e45e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Widgets/MessageDialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ public class Granite.MessageDialog : Granite.Dialog {

primary_label = new Gtk.Label (null) {
max_width_chars = 0, // Wrap, but secondary label sets the width
selectable = true,
wrap = true,
xalign = 0
};
Expand All @@ -271,7 +270,6 @@ public class Granite.MessageDialog : Granite.Dialog {
secondary_label = new Gtk.Label (null) {
max_width_chars = 50,
width_chars = 50, // Prevents a bug where extra height is preserved
selectable = true,
use_markup = true,
wrap = true,
xalign = 0
Expand Down

0 comments on commit 6a3e45e

Please sign in to comment.