New button style more closely follows GNOME HIG
This commit is contained in:
@@ -27,12 +27,12 @@ public class MainWindow
|
||||
}
|
||||
shortcutsGroup = group;
|
||||
|
||||
var addButton = builder.GetObject("add_shortcut_button") as ButtonRow;
|
||||
var addButton = builder.GetObject("add_shortcut_button") as Gtk.Button;
|
||||
if (addButton == null)
|
||||
{
|
||||
throw new Exception("Failed to load UI element with ID: add_shortcut_button");
|
||||
}
|
||||
addButton.OnActivated += OnAddShortcutClicked;
|
||||
addButton.OnClicked += OnAddShortcutClicked;
|
||||
|
||||
// Initialize the observable collection with property binding
|
||||
shortcuts = new PasswordStoreShortcutCollection(shortcutsGroup);
|
||||
|
||||
Reference in New Issue
Block a user