[gnome-control-center] universal-access: Remove unused column in model
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Remove unused column in model
- Date: Mon, 11 Jul 2011 13:01:16 +0000 (UTC)
commit 5b4d433f772b5538abd19928dc6d62fddc6a2a7a
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 11 13:59:29 2011 +0100
universal-access: Remove unused column in model
And the markup in the contents as well.
panels/universal-access/cc-ua-panel.c | 2 +-
panels/universal-access/uap.ui | 14 ++++----------
2 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index 0bf1f4d..cf09443 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -300,7 +300,7 @@ gconf_on_off_peditor_new (CcUaPanelPrivate *priv,
/* seeing section */
#define GTK_THEME_KEY "gtk-theme"
#define ICON_THEME_KEY "icon-theme"
-#define CONTRAST_MODEL_THEME_COLUMN 3
+#define CONTRAST_MODEL_THEME_COLUMN 2
#define DPI_MODEL_FACTOR_COLUMN 2
static void text_scaling_factor_combo_box_changed (GtkComboBox *box, CcUaPanel *panel);
diff --git a/panels/universal-access/uap.ui b/panels/universal-access/uap.ui
index fa64963..669486f 100644
--- a/panels/universal-access/uap.ui
+++ b/panels/universal-access/uap.ui
@@ -2790,8 +2790,6 @@
<column type="gchararray"/>
<!-- column-name scale -->
<column type="gdouble"/>
- <!-- column-name contrasts_markup -->
- <column type="gchararray"/>
<!-- column-name themename -->
<column type="gchararray"/>
</columns>
@@ -2799,26 +2797,22 @@
<row>
<col id="0" translatable="yes" context="universal access, contrast">Low</col>
<col id="1">1.25</col>
- <col id="2" translatable="yes" context="universal access, contrast"><span size="x-large">Low</span></col>
- <col id="3">LowContrast</col>
+ <col id="2">LowContrast</col>
</row>
<row>
<col id="0" translatable="yes" context="universal access, contrast">Normal</col>
<col id="1">1.25</col>
- <col id="2" translatable="yes" context="universal access, contrast"><span size="x-large">Normal</span></col>
- <col id="3"></col>
+ <col id="2"></col>
</row>
<row>
<col id="0" translatable="yes" context="universal access, contrast">High</col>
<col id="1">1.25</col>
- <col id="2" translatable="yes" context="universal access, contrast"><span size="x-large">High</span></col>
- <col id="3">HighContrast</col>
+ <col id="2">HighContrast</col>
</row>
<row>
<col id="0" translatable="yes" context="universal access, contrast">High/Inverse</col>
<col id="1">1.25</col>
- <col id="2" translatable="yes" context="universal access, contrast"><span size="x-large">High/Inverse</span></col>
- <col id="3">HighContrastInverse</col>
+ <col id="2">HighContrastInverse</col>
</row>
</data>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]