[gnumeric] Fullscreen: fix criticals.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fullscreen: fix criticals.
- Date: Wed, 2 May 2012 13:26:41 +0000 (UTC)
commit ca320329c7987f9b7730c3206eed4931a26ee8a0
Author: Morten Welinder <terra gnome org>
Date: Wed May 2 09:23:51 2012 -0400
Fullscreen: fix criticals.
The ViewStatusbar action was taken from the wrong group. That caused
a null to get into a list of actions.
ChangeLog | 6 ++++++
NEWS | 1 +
src/wbc-gtk.c | 3 ++-
3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1a0cc90..b8602b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-02 Morten Welinder <terra gnome org>
+
+ * src/wbc-gtk.c (wbc_gtk_create_status_area): Get the
+ ViewStatusbar action from the right group. Fixes fullscreen
+ criticals.
+
2012-05-01 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/commands.c (cmd_insert_cols): check the columns not the rows
diff --git a/NEWS b/NEWS
index 9d7bee4..31e9aac 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ Andreas:
Morten:
* Minor doc improvement for non-C locales. [Part of #675000]
+ * Fix fullscreen criticals.
--------------------------------------------------------------------------
Gnumeric 1.11.3
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 6269117..efd0201 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4750,7 +4750,8 @@ wbc_gtk_create_status_area (WBCGtk *wbcg)
/* disable statusbar by default going to fullscreen */
wbcg->hide_for_fullscreen =
g_slist_prepend (wbcg->hide_for_fullscreen,
- gtk_action_group_get_action (wbcg->actions, "ViewStatusbar"));
+ gtk_action_group_get_action (wbcg->semi_permanent_actions, "ViewStatusbar"));
+ g_assert (wbcg->hide_for_fullscreen->data);
}
/****************************************************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]