Commit 1e2e736d authored by Alan Jenkins's avatar Alan Jenkins Committed by Matthias Clasen

shortcutswindow: working version of set_section_name()

(testing before+after, it actually works now)

https://bugzilla.gnome.org/show_bug.cgi?id=772926
parent 17bcd0d1
......@@ -444,7 +444,7 @@ gtk_shortcuts_window_set_section_name (GtkShortcutsWindow *self,
g_free (priv->initial_section);
priv->initial_section = g_strdup (section_name);
if (!section_name)
if (section_name)
section = gtk_stack_get_child_by_name (priv->stack, section_name);
if (section)
gtk_stack_set_visible_child (priv->stack, section);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment