[gnome-control-center/extensible-shell] Make sure to mark font page as active
- From: William Jon McCann <mccann src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center/extensible-shell] Make sure to mark font page as active
- Date: Wed, 27 Jan 2010 08:55:47 +0000 (UTC)
commit eb2a57311bbd43d25f8367495b54f421035f32ca
Author: William Jon McCann <jmccann redhat com>
Date: Wed Jan 27 03:35:22 2010 -0500
Make sure to mark font page as active
capplets/appearance/cc-appearance-panel.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/capplets/appearance/cc-appearance-panel.c b/capplets/appearance/cc-appearance-panel.c
index 3112c14..6479106 100644
--- a/capplets/appearance/cc-appearance-panel.c
+++ b/capplets/appearance/cc-appearance-panel.c
@@ -117,11 +117,16 @@ on_notebook_switch_page (GtkNotebook *notebook,
"current-page",
panel->priv->theme_page,
NULL);
- } else {
+ } else if (page_num == 1) {
g_object_set (panel,
"current-page",
panel->priv->background_page,
NULL);
+ } else {
+ g_object_set (panel,
+ "current-page",
+ panel->priv->font_page,
+ NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]