[goffice] Replaced the last GtkTable
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Replaced the last GtkTable
- Date: Thu, 14 Feb 2013 13:02:03 +0000 (UTC)
commit 821ffa21c8b8e33d927de8fd8a3a0abd993b21c6
Author: Jean Brefort <jean brefort normalesup org>
Date: Thu Feb 14 14:01:02 2013 +0100
Replaced the last GtkTable
plugins/plot_surface/gog-xyz-prefs.c | 2 +-
plugins/plot_surface/gog-xyz-prefs.ui | 44 +++++++++++++++++++++++++++-----
2 files changed, 38 insertions(+), 8 deletions(-)
---
diff --git a/plugins/plot_surface/gog-xyz-prefs.c b/plugins/plot_surface/gog-xyz-prefs.c
index bd9575b..58532bd 100644
--- a/plugins/plot_surface/gog-xyz-prefs.c
+++ b/plugins/plot_surface/gog-xyz-prefs.c
@@ -50,7 +50,7 @@ gog_xyz_plot_pref (GogXYZPlot *plot, GOCmdContext *cc)
"toggled",
G_CALLBACK (cb_transpose), plot);
- w = GTK_WIDGET (g_object_ref (gtk_builder_get_object (gui, "gog_xyz_prefs")));
+ w = GTK_WIDGET (g_object_ref (gtk_builder_get_object (gui, "gog-xyz-prefs")));
g_object_unref (gui);
return w;
diff --git a/plugins/plot_surface/gog-xyz-prefs.ui b/plugins/plot_surface/gog-xyz-prefs.ui
index 0f28bf3..d64c73a 100644
--- a/plugins/plot_surface/gog-xyz-prefs.ui
+++ b/plugins/plot_surface/gog-xyz-prefs.ui
@@ -1,23 +1,53 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <!-- interface-naming-policy toplevel-contextual -->
- <object class="GtkTable" id="gog_xyz_prefs">
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkGrid" id="gog-xyz-prefs">
<property name="visible">True</property>
- <property name="border_width">5</property>
- <property name="column_spacing">12</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">12</property>
<property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
<child>
<object class="GtkCheckButton" id="transpose">
<property name="label" translatable="yes">Transpose</property>
+ <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
+ <property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]