Using prettier button
This commit is contained in:
@@ -27,7 +27,7 @@ public class MainWindow
|
|||||||
}
|
}
|
||||||
shortcutsGroup = group;
|
shortcutsGroup = group;
|
||||||
|
|
||||||
var addButton = builder.GetObject("add_shortcut_button") as ActionRow;
|
var addButton = builder.GetObject("add_shortcut_button") as ButtonRow;
|
||||||
if (addButton == null)
|
if (addButton == null)
|
||||||
{
|
{
|
||||||
throw new Exception("Failed to load UI element with ID: add_shortcut_button");
|
throw new Exception("Failed to load UI element with ID: add_shortcut_button");
|
||||||
|
|||||||
@@ -39,14 +39,9 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="AdwPreferencesGroup">
|
<object class="AdwPreferencesGroup">
|
||||||
<child>
|
<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="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>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
@@ -85,4 +80,4 @@
|
|||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
Reference in New Issue
Block a user