summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-27 18:18:13 +0200
committerraveit65 <[email protected]>2017-03-27 18:22:46 +0200
commitcf440b263e6e35531d77b20da9ff2b8d0a802e57 (patch)
tree9fe702499086e175895ffaecfc2dfb6e8bbf1314
parent9b2b1973c194399c6824efb7c63815011fb5d5bf (diff)
downloadlibmatekbd-cf440b263e6e35531d77b20da9ff2b8d0a802e57.tar.bz2
libmatekbd-cf440b263e6e35531d77b20da9ff2b8d0a802e57.tar.xz
show-layout.ui: don't use deprecated widgets
-rw-r--r--libmatekbd/show-layout.ui73
1 files changed, 47 insertions, 26 deletions
diff --git a/libmatekbd/show-layout.ui b/libmatekbd/show-layout.ui
index 7aa9d8e..7a50e6c 100644
--- a/libmatekbd/show-layout.ui
+++ b/libmatekbd/show-layout.ui
@@ -1,64 +1,82 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.20.0 -->
<!--*- mode: xml -*-->
<interface>
+ <requires lib="gtk+" version="3.14"/>
<object class="GtkDialog" id="gswitchit_layout_view">
+ <property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Keyboard Layout</property>
<property name="resizable">False</property>
<property name="destroy_with_parent">True</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="type_hint">dialog</property>
<child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox1">
+ <object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child>
- <object class="GtkVBox" id="preview_vbox">
- <property name="visible">True</property>
- <property name="border_width">5</property>
- <property name="spacing">18</property>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
<child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area1">
+ <object class="GtkButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
<child>
<object class="GtkButton" id="btnPrint">
+ <property name="label">gtk-print</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label">gtk-print</property>
<property name="use_stock">True</property>
</object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
</child>
<child>
<object class="GtkButton" id="btnClose">
+ <property name="label">gtk-close</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
- <property name="label">gtk-close</property>
+ <property name="receives_default">False</property>
<property name="use_stock">True</property>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
- <property name="pack_type">GTK_PACK_END</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="preview_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">18</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
@@ -67,5 +85,8 @@
<action-widget response="2">btnPrint</action-widget>
<action-widget response="-7">btnClose</action-widget>
</action-widgets>
+ <style>
+ <class name="gswitchit-layout-view"/>
+ </style>
</object>
</interface>