aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2012-05-15 11:42:42 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2012-05-15 18:40:27 +0800
commitf1225d5e0ca93beef95c12392f1c154499463d9c (patch)
tree208ab219d11f5b1270ee4a6d8d49b6d5389e5cbe /src
parent78f9deb1eb4d01a3e320fe5019f6766a0404448c (diff)
downloadgsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar.gz
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar.bz2
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar.lz
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar.xz
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.tar.zst
gsoc2013-empathy-f1225d5e0ca93beef95c12392f1c154499463d9c.zip
Add preference to show account balances
Set this 'true' by default.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-preferences.c2
-rw-r--r--src/empathy-preferences.ui32
2 files changed, 26 insertions, 8 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index e02222191..ee8005430 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -220,6 +220,8 @@ preferences_setup_widgets (EmpathyPreferences *preferences,
"radiobutton_normal_size_avatars");
BIND_ACTIVE (ui, UI_COMPACT_CONTACT_LIST,
"radiobutton_compact_size");
+ BIND_ACTIVE (ui, UI_SHOW_BALANCES,
+ "checkbutton_show_balances");
BIND_ACTIVE (chat, CHAT_SHOW_SMILEYS,
"checkbutton_show_smileys");
diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui
index 42412393f..a06911fda 100644
--- a/src/empathy-preferences.ui
+++ b/src/empathy-preferences.ui
@@ -61,6 +61,22 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="checkbutton_show_balances">
+ <property name="label" translatable="yes">Show account balances</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="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox" id="box3">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -116,7 +132,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -126,12 +142,6 @@
<property name="column_spacing">3</property>
<property name="n_columns">2</property>
<child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
<object class="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -201,11 +211,17 @@
<property name="height">1</property>
</packing>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">3</property>
+ <property name="position">4</property>
</packing>
</child>
</object>