Skip to content

Commit

Permalink
Make window focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDinoMan committed Oct 31, 2022
1 parent e5013da commit ca6a44f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/widgets/window.ui
@@ -1,15 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<requires lib="libhandy" version="1.0" />
<template class="FlatsealWindow" parent="AdwApplicationWindow">
<property name="can-focus">False</property>
<property name="title">Flatseal</property>
<child>
<object class="AdwLeaflet" id="contentLeaflet">
<property name="width-request">360</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="can-navigate-back">True</property>
<child>
<object class="AdwLeafletPage">
Expand All @@ -26,7 +23,6 @@
<object class="AdwHeaderBar" id="applicationsHeaderBar">
<property name="width-request">360</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="title-widget">
<object class="AdwWindowTitle">
<property name="title" translatable="1">Applications</property>
Expand Down Expand Up @@ -239,7 +235,7 @@
<object class="AdwHeaderBar" id="permissionsHeaderBar">
<property name="width-request">360</property>
<property name="visible">True</property>
<property name="can-focus">False</property>

<property name="hexpand">True</property>
<binding name="show-start-title-buttons">
<lookup name="folded">contentLeaflet</lookup>
Expand Down Expand Up @@ -331,11 +327,11 @@
<object class="AdwPreferencesPage" id="permissionsBox">
<property name="vexpand">1</property>
<property name="visible">True</property>
<property name="can-focus">False</property>

<child>
<object class="AdwPreferencesGroup" id="appInfoGroup">
<property name="visible">True</property>
<property name="can-focus">False</property>

</object>
</child>
</object>
Expand Down Expand Up @@ -397,4 +393,5 @@
</object>
</child>
</template>
</interface>
</interface>

0 comments on commit ca6a44f

Please sign in to comment.