2020-10-31 13:43:09 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-12-06 14:50:05 +00:00
|
|
|
<!-- Generated with glade 3.38.1 -->
|
2020-10-31 13:43:09 +00:00
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.22"/>
|
2020-11-29 16:47:23 +00:00
|
|
|
<object class="GtkImage" id="check-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">dialog-ok</property>
|
2020-11-29 16:47:23 +00:00
|
|
|
</object>
|
|
|
|
<object class="GtkImage" id="delete-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">edit-delete</property>
|
2020-11-29 16:47:23 +00:00
|
|
|
</object>
|
2020-11-08 19:16:45 +00:00
|
|
|
<object class="GtkDialog" id="error_dialog">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="title" translatable="yes">Key Mapper</property>
|
|
|
|
<property name="modal">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="window-position">center</property>
|
|
|
|
<property name="icon-name">mouse</property>
|
|
|
|
<property name="type-hint">dialog</property>
|
|
|
|
<property name="urgency-hint">True</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkButtonBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="halign">center</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="layout-style">end</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="close_error_dialog">
|
|
|
|
<property name="label">gtk-close</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="use-action-appearance">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-default">True</property>
|
|
|
|
<property name="receives-default">False</property>
|
|
|
|
<property name="use-stock">True</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="pack-type">end</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="error-image">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="yalign">0</property>
|
|
|
|
<property name="xpad">12</property>
|
|
|
|
<property name="ypad">12</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="icon-name">mouse</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="icon_size">6</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-end">10</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="primary_error_label">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="ypad">6</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="use-markup">True</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="secondary_error_label">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="ypad">6</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="use-markup">True</property>
|
2020-11-08 19:16:45 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="yalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
|
|
|
<action-widget response="-7">close_error_dialog</action-widget>
|
|
|
|
</action-widgets>
|
|
|
|
</object>
|
2020-11-12 20:36:40 +00:00
|
|
|
<object class="GtkImage" id="gtk-delete-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">gtk-delete</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
</object>
|
|
|
|
<object class="GtkImage" id="gtk-redo-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="stock">gtk-redo</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="unsaved_changes">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="title" translatable="yes">Key Mapper</property>
|
|
|
|
<property name="modal">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="window-position">center</property>
|
|
|
|
<property name="icon-name">mouse</property>
|
|
|
|
<property name="type-hint">dialog</property>
|
|
|
|
<property name="urgency-hint">True</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkButtonBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="halign">center</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="layout-style">end</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="go_back">
|
|
|
|
<property name="label">Continue</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="use-action-appearance">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="can-default">True</property>
|
|
|
|
<property name="receives-default">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="image">gtk-delete-icon</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="go_ahead">
|
|
|
|
<property name="label" translatable="yes">Go Back</property>
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="image">gtk-redo-icon</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="pack-type">end</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="error-image1">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="yalign">0</property>
|
|
|
|
<property name="xpad">12</property>
|
|
|
|
<property name="ypad">12</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="icon-name">mouse</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="icon_size">6</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="secondary_error_label1">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-start">10</property>
|
|
|
|
<property name="margin-end">10</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="ypad">6</property>
|
|
|
|
<property name="label" translatable="yes">You have got unsaved changes!</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="use-markup">True</property>
|
2020-11-12 20:36:40 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="yalign">0.5</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
2020-11-14 23:27:45 +00:00
|
|
|
<action-widget response="-3">go_back</action-widget>
|
|
|
|
<action-widget response="-6">go_ahead</action-widget>
|
2020-11-12 20:36:40 +00:00
|
|
|
</action-widgets>
|
|
|
|
</object>
|
2020-11-14 19:35:57 +00:00
|
|
|
<object class="GtkImage" id="gtk-redo-icon-2">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-14 19:35:57 +00:00
|
|
|
<property name="stock">gtk-redo</property>
|
|
|
|
</object>
|
2020-11-21 15:01:39 +00:00
|
|
|
<object class="GtkImage" id="new-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">document-new</property>
|
2020-11-21 15:01:39 +00:00
|
|
|
</object>
|
|
|
|
<object class="GtkImage" id="save-icon">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">document-save</property>
|
2020-11-21 15:01:39 +00:00
|
|
|
</object>
|
2020-10-31 14:03:31 +00:00
|
|
|
<object class="GtkWindow" id="window">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">700</property>
|
|
|
|
<property name="can-focus">False</property>
|
2020-10-31 16:43:21 +00:00
|
|
|
<property name="title" translatable="yes">Key Mapper</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="default-height">350</property>
|
|
|
|
<property name="icon-name">mouse</property>
|
2020-10-31 14:03:31 +00:00
|
|
|
<signal name="delete-event" handler="on_close" swapped="no"/>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="vertical-wrapper">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="devices">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="border-width">15</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="spacing">10</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkLabel">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">50</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Device</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-chars">13</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="xalign">0</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkComboBoxText" id="device_selection">
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="changed" handler="on_select_device" swapped="no"/>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">True</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkButton" id="apply_system_layout">
|
|
|
|
<property name="label" translatable="yes">Apply Defaults</property>
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">To give your keys back their original mapping.</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="image">gtk-redo-icon-2</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="always-show-image">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="clicked" handler="on_apply_system_layout_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="horizontal-wrapper">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="preset_settings">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="border-width">15</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="button_container">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="apply_preset">
|
2020-11-29 16:47:23 +00:00
|
|
|
<property name="label">Apply</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">80</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Presets need to be saved before they can be applied</property>
|
2020-11-29 16:47:23 +00:00
|
|
|
<property name="image">check-icon</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="always-show-image">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="clicked" handler="on_apply_preset_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="save_preset">
|
|
|
|
<property name="label">Save</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">80</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="image">save-icon</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="always-show-image">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="clicked" handler="on_save_preset_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="create_preset">
|
|
|
|
<property name="label">New</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">80</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="image">new-icon</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="always-show-image">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="clicked" handler="on_create_preset_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="delete_preset">
|
2020-11-29 16:47:23 +00:00
|
|
|
<property name="label">Delete</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">80</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
2020-11-29 16:47:23 +00:00
|
|
|
<property name="image">delete-icon</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="always-show-image">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="clicked" handler="on_delete_preset_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="preset_dropdown_container">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">50</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Preset</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-chars">13</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="preset_selection">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">200</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="changed" handler="on_select_preset" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox" id="rename_container">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Rename</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-chars">13</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="preset_name_input">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">To automatically apply the preset after your login if the device is alread connected.</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Automatically load this preset</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSwitch" id="preset_autoload_switch">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<signal name="state-set" handler="on_preset_autoload_switch_activate" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">3</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">True</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">2</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkSeparator">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">4</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox">
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkStatusbar" id="status_bar">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-left">10</property>
|
|
|
|
<property name="margin-right">10</property>
|
|
|
|
<property name="margin-start">10</property>
|
|
|
|
<property name="margin-end">10</property>
|
|
|
|
<property name="margin-top">6</property>
|
|
|
|
<property name="margin-bottom">6</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkSeparator">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-25 22:55:31 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkLabel" id="keycode">
|
2020-11-25 22:55:31 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">This is the keycode you just pressed, and that you see in the mappings to the right.</property>
|
|
|
|
<property name="margin-start">10</property>
|
|
|
|
<property name="margin-end">10</property>
|
|
|
|
<property name="width-chars">4</property>
|
2020-11-25 22:55:31 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">2</property>
|
2020-11-25 22:55:31 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">False</property>
|
2020-11-25 22:55:31 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">5</property>
|
2020-11-25 22:55:31 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-27 20:29:00 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">0</property>
|
2020-11-14 19:35:57 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-08 17:51:35 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-08 17:51:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">1</property>
|
2020-11-08 17:51:35 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-03 22:41:05 +00:00
|
|
|
<object class="GtkBox">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">250</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkBox">
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">130</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Click on a cell below and hit a key on your device. Click the "Apply Defaults" beforehand.</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Key</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Macro examples:
|
|
|
|
- k(a)
|
|
|
|
- r(3, k(a).w(500))
|
2020-12-06 15:08:03 +00:00
|
|
|
- h(k(a)).k(b)
|
2020-12-06 14:50:05 +00:00
|
|
|
- m(Control_L, k(a).k(x))
|
2020-12-05 18:38:38 +00:00
|
|
|
|
2020-12-06 14:50:05 +00:00
|
|
|
Help:
|
2020-12-05 18:38:38 +00:00
|
|
|
- r: repeats the execution of the second parameter
|
|
|
|
- w: waits in milliseconds
|
|
|
|
- k: writes a single keystroke
|
|
|
|
- m: holds a modifier while executing the second parameter
|
2020-12-06 15:08:03 +00:00
|
|
|
- h: executes the parameter as long as the key is pressed down
|
|
|
|
|
2020-12-06 15:12:22 +00:00
|
|
|
Between keystrokes macros will sleep for 10ms by default.
|
2020-12-06 15:08:03 +00:00
|
|
|
This can be configured in ~/.config/key-mapper/config</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="label" translatable="yes">Mapping</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="width-request">50</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="table-header"/>
|
|
|
|
</style>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">0</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-03 22:41:05 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkSeparator">
|
2020-11-03 22:41:05 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-03 22:41:05 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<property name="position">1</property>
|
2020-11-03 22:41:05 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-10 22:14:28 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2020-11-10 22:14:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">True</property>
|
2020-11-10 22:14:28 +00:00
|
|
|
<child>
|
2020-11-25 23:07:28 +00:00
|
|
|
<object class="GtkViewport">
|
2020-11-10 22:14:28 +00:00
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="key_list">
|
|
|
|
<property name="visible">True</property>
|
2020-12-06 14:50:05 +00:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="selection-mode">none</property>
|
2020-11-25 23:07:28 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2020-11-10 22:14:28 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2020-11-25 23:07:28 +00:00
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
2020-11-10 22:14:28 +00:00
|
|
|
</child>
|
2020-11-03 22:41:05 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-25 20:55:04 +00:00
|
|
|
<property name="expand">True</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="position">2</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|