[gnumeric] GUI: Fix toolbar visibility issue.



commit 582b4f24c1378a85c5ac00b43dec3f0088363a2b
Author: Morten Welinder <terra gnome org>
Date:   Sat Dec 19 11:29:13 2015 -0500

    GUI: Fix toolbar visibility issue.

 ChangeLog     |    4 ++++
 src/wbc-gtk.c |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ae48cf9..3d25d8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-19  Morten Welinder  <terra gnome org>
+
+       * src/wbc-gtk.c (wbcg_find_action): Search toolbar actions too.
+
 2015-12-13  Morten Welinder  <terra gnome org>
 
        * src/sheet-merge.c (gnm_sheet_merge_relocate): Handle extending
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 362dc29..85cd4e9 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -149,6 +149,8 @@ wbcg_find_action (WBCGtk *wbcg, const char *name)
                a = gtk_action_group_get_action (wbcg->data_only_actions, name);
        if (a == NULL)
                a = gtk_action_group_get_action (wbcg->font_actions, name);
+       if (a == NULL)
+               a = gtk_action_group_get_action (wbcg->toolbar.actions, name);
 
        return a;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]