[goffice] Graph Guru: improve looks
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Graph Guru: improve looks
- Date: Fri, 2 Dec 2011 18:37:47 +0000 (UTC)
commit 6e195863c564af4ba8b2065605ce744f9e91388b
Author: Morten Welinder <terra gnome org>
Date: Fri Dec 2 13:37:28 2011 -0500
Graph Guru: improve looks
goffice/graph/gog-guru-type-selector.ui | 3 ++-
goffice/graph/gog-guru.c | 3 +++
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/goffice/graph/gog-guru-type-selector.ui b/goffice/graph/gog-guru-type-selector.ui
index e76b306..e876fc6 100644
--- a/goffice/graph/gog-guru-type-selector.ui
+++ b/goffice/graph/gog-guru-type-selector.ui
@@ -23,7 +23,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Plot Type</b></property>
+ <property name="label" translatable="yes"><b>_Plot Type</b></property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
</object>
@@ -45,6 +45,7 @@
<child>
<object class="GtkTreeView" id="type-treeview">
<property name="visible">True</property>
+ <property name="headers-visible">False</property>
<property name="can_focus">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection1"/>
diff --git a/goffice/graph/gog-guru.c b/goffice/graph/gog-guru.c
index cd8fddc..37cdc12 100644
--- a/goffice/graph/gog-guru.c
+++ b/goffice/graph/gog-guru.c
@@ -1180,6 +1180,9 @@ graph_guru_type_selector_new (GraphGuruState *s)
"text", PLOT_FAMILY_TYPE_NAME,
NULL));
+ gtk_label_set_mnemonic_widget (GTK_LABEL (gtk_builder_get_object (gui, "type_label")),
+ GTK_WIDGET (typesel->list_view));
+
/* Setup an canvas to display the sample image & the sample plot. */
typesel->canvas = GTK_WIDGET (g_object_new (GOC_TYPE_CANVAS, NULL));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]