[dconf-editor] Use an infobar for no-schema-available message.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Use an infobar for no-schema-available message.
- Date: Thu, 5 May 2016 08:00:58 +0000 (UTC)
commit 89dee0fceed030f5f24f233e8f747f94b56421a9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed May 4 02:20:20 2016 +0200
Use an infobar for no-schema-available message.
editor/key-editor-no-schema.ui | 32 ++++++++++++++++++--------------
1 files changed, 18 insertions(+), 14 deletions(-)
---
diff --git a/editor/key-editor-no-schema.ui b/editor/key-editor-no-schema.ui
index 347450b..90f9277 100644
--- a/editor/key-editor-no-schema.ui
+++ b/editor/key-editor-no-schema.ui
@@ -28,28 +28,32 @@
</action-widgets>
<child internal-child="vbox">
<object class="GtkBox">
- <property name="margin">6</property><!-- TODO test -->
+ <property name="border-width">0</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkInfoBar">
<property name="visible">True</property>
- <property name="max-width-chars">40</property>
- <property name="width-chars">40</property>
- <property name="margin-bottom">2</property>
- <property name="wrap">True</property>
- <property name="label" translatable="yes">No schema available. Dconf Editor can’t find a schema
associated with this key. The application that installed this key may have been removed, may have stop the
use of this key, or may use a relocatable schema for defining its keys.</property>
- </object>
- </child>
- <child>
- <object class="GtkSeparator">
- <property name="visible">True</property>
- <property name="orientation">horizontal</property>
+ <property name="message-type">info</property>
+ <child internal-child="content_area">
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="max-width-chars">40</property>
+ <property name="use-markup">True</property>
+ <property name="wrap">True</property>
+ <property name="label" translatable="yes"><b>No schema available.</b>
Dconf Editor can’t find a schema associated with this key. The application that installed this key may have
been removed, may have stop the use of this key, or may use a relocatable schema for defining its
keys.</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="hexpand">True</property>
- <property name="margin-top">6</property><!-- TODO better -->
+ <property name="margin">8</property>
<property name="row-spacing">6</property>
<property name="column-spacing">12</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]