Using prettier button
This commit is contained in:
@@ -27,7 +27,7 @@ public class MainWindow
|
||||
}
|
||||
shortcutsGroup = group;
|
||||
|
||||
var addButton = builder.GetObject("add_shortcut_button") as ActionRow;
|
||||
var addButton = builder.GetObject("add_shortcut_button") as ButtonRow;
|
||||
if (addButton == null)
|
||||
{
|
||||
throw new Exception("Failed to load UI element with ID: add_shortcut_button");
|
||||
|
||||
@@ -39,14 +39,9 @@
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="AdwActionRow" id="add_shortcut_button">
|
||||
<object class="AdwButtonRow" id="add_shortcut_button">
|
||||
<property name="start-icon-name">list-add-symbolic</property>
|
||||
<property name="title" translatable="yes" context="button" comments="Verb. This button allows the user to add additional password collections.">Add</property>
|
||||
<property name="activatable">True</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkImage">
|
||||
<property name="icon-name">list-add-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user