ui: Remove can_focus from GTK builder file definitions

GTK widgets set the default for this as needed, and some incorrect
values for this have caused issues with keyboard focus.

Fixes #1059
This commit is contained in:
Michael Gratton 2021-01-27 21:43:23 +11:00
parent e6ab0f754f
commit f4d3c54110
33 changed files with 0 additions and 486 deletions

View file

@ -4,7 +4,6 @@
<requires lib="gtk+" version="3.14"/>
<template class="ComponentsPlaceholderPane" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
@ -12,7 +11,6 @@
<child>
<object class="GtkImage" id="placeholder_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">72</property>
<property name="icon_name">image-x-generic-symbolic</property>
<property name="icon_size">6</property>
@ -25,7 +23,6 @@
<child>
<object class="GtkLabel" id="title_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">Mea navis volitans</property>
<style>
<class name="title"/>
@ -39,7 +36,6 @@
<child>
<object class="GtkLabel" id="subtitle_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">Mea navis volitans anguillis plena est.</property>
<property name="wrap">True</property>
<style>