[dconf] Fix description word wrap (Bug #641292)
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] Fix description word wrap (Bug #641292)
- Date: Thu, 10 Mar 2011 05:59:54 +0000 (UTC)
commit 7869d98065ab57bfda52404c5f335cf15ab8cd7a
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Mar 10 16:59:47 2011 +1100
Fix description word wrap (Bug #641292)
editor/dconf-editor.ui | 7 ++++---
editor/dconf-editor.vala | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/editor/dconf-editor.ui b/editor/dconf-editor.ui
index 84ea5c5..6dbdc8f 100644
--- a/editor/dconf-editor.ui
+++ b/editor/dconf-editor.ui
@@ -142,6 +142,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
+ <property name="wrap">True</property>
<property name="selectable">True</property>
</object>
<packing>
@@ -149,7 +150,7 @@
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ <property name="x_options">GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_SHRINK | GTK_FILL</property>
</packing>
</child>
@@ -159,15 +160,15 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
+ <property name="wrap">True</property>
<property name="selectable">True</property>
- <property name="single_line_mode">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
- <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ <property name="x_options">GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_SHRINK | GTK_FILL</property>
</packing>
</child>
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index eb64233..7b1356d 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -157,7 +157,7 @@ class ConfigurationEditor
}
schema_label.set_text(schema_name);
- summary_label.set_text(summary);
+ summary_label.set_text(summary.strip());
description_label.set_text(description.strip());
type_label.set_text(type);
default_label.set_text(default_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]