Shell: Go back to overview when setting panel to NULL

This is what cc_shell_set_active_panel()'s doc says it
is supposed to do.

https://bugzilla.gnome.org/show_bug.cgi?id=701929
This commit is contained in:
Xavier Claessens 2013-06-10 14:38:59 +02:00
parent 27371a542a
commit 2f2c29ebff

View file

@ -1069,6 +1069,10 @@ set_active_panel (CcWindow *shell,
{
shell->priv->active_panel = g_object_ref (panel);
}
else
{
shell_show_overview_page (shell);
}
g_object_notify (G_OBJECT (shell), "active-panel");
}
}