mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-10 11:01:28 +03:00
impl fingerprint ui logic
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="halign">center</property>
|
||||
<child>
|
||||
<object class="GtkButton">
|
||||
<object class="GtkButton" id="confirm_button">
|
||||
<signal name="clicked" handler="handle_confirm" swapped="true"/>
|
||||
<property name="label" translatable="yes">Confirm</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<style>
|
||||
|
||||
17
lan-mouse-gtk/resources/key_row.ui
Normal file
17
lan-mouse-gtk/resources/key_row.ui
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="KeyRow" parent="AdwActionRow">
|
||||
<property name="title">hostname</property>
|
||||
<child type="prefix">
|
||||
<object class="GtkButton" id="delete_button">
|
||||
<property name="valign">center</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="tooltip-text" translatable="yes">enable</property>
|
||||
<property name="icon-name">edit-delete-symbolic</property>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
@@ -4,6 +4,7 @@
|
||||
<file compressed="true" preprocess="xml-stripblanks">window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">fingerprint_window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">client_row.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">key_row.ui</file>
|
||||
</gresource>
|
||||
<gresource prefix="/de/feschber/LanMouse/icons">
|
||||
<file compressed="true" preprocess="xml-stripblanks">de.feschber.LanMouse.svg</file>
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
<signal name="clicked" handler="handle_add_cert_fingerprint" swapped="true"/>
|
||||
<property name="child">
|
||||
<object class="AdwButtonContent">
|
||||
<property name="icon-name">list-add-symbolic</property>
|
||||
<property name="icon-name">auth-fingerprint-symbolic</property>
|
||||
<property name="label" translatable="yes">Add</property>
|
||||
</object>
|
||||
</property>
|
||||
@@ -250,10 +250,10 @@
|
||||
</object>
|
||||
</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="fingerprint_list">
|
||||
<object class="GtkListBox" id="authorized_list">
|
||||
<property name="selection-mode">none</property>
|
||||
<child type="placeholder">
|
||||
<object class="AdwActionRow">
|
||||
<object class="AdwActionRow" id="authorized_placeholder">
|
||||
<property name="title">no fingerprints!</property>
|
||||
<property name="subtitle">add a public key fingerprint via the + button</property>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user