[gnumeric] Prefs: don't expand the Tools group by default.



commit 6681f80e66bcd0f7b564f1e857db8a42d3298f23
Author: Morten Welinder <terra gnome org>
Date:   Thu Mar 17 22:01:13 2022 -0400

    Prefs: don't expand the Tools group by default.
    
    That reduces the chance of stuff like #622 which is really a Gtk+
    issue.

 src/dialogs/ChangeLog            | 5 +++++
 src/dialogs/dialog-preferences.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 13b23427f..d69475a86 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-17  Morten Welinder  <terra gnome org>
+
+       * dialog-preferences.c (dialog_pref_select_page): Don't expand the
+       Tools group by default.
+
 2022-01-20  Morten Welinder <terra gnome org>
 
        * Release 1.12.51
diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index ae8447190..93d270838 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -1257,7 +1257,7 @@ dialog_pref_select_page (PrefState *state, gchar const *page)
        page_search_t pst = {NULL, NULL};
 
        if (page == NULL)
-               page = "Tools";
+               return;
 
        pst.page = _(page);
        gtk_tree_model_foreach (GTK_TREE_MODEL (state->store),


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