mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
e586af3cf4
Mark strings in the source and in the templates as translatable. We use the same extract-strings utility as for libgtk itself.
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkTextTagTable" id="tags">
|
|
<child type="tag">
|
|
<object class="GtkTextTag">
|
|
<property name="name">warning</property>
|
|
<property name="underline">single</property>
|
|
</object>
|
|
<object class="GtkTextTag">
|
|
<property name="name">error</property>
|
|
<property name="underline">error</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkTextBuffer" id="text">
|
|
<property name="tag-table">tags</property>
|
|
<signal name="changed" handler="text_changed"/>
|
|
</object>
|
|
<template class="GtkInspectorCssEditor" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkToolbar" id="toolbar">
|
|
<property name="visible">True</property>
|
|
<property name="icon-size">small-toolbar</property>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="disable_button">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">media-playback-pause</property>
|
|
<property name="tooltip-text" translatable="yes">Disable this custom CSS</property>
|
|
<signal name="toggled" handler="disable_toggled"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkTextView" id="view">
|
|
<property name="visible">True</property>
|
|
<property name="buffer">text</property>
|
|
<property name="wrap-mode">word</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|