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:
parent
27371a542a
commit
2f2c29ebff
1 changed files with 4 additions and 0 deletions
|
@ -1069,6 +1069,10 @@ set_active_panel (CcWindow *shell,
|
||||||
{
|
{
|
||||||
shell->priv->active_panel = g_object_ref (panel);
|
shell->priv->active_panel = g_object_ref (panel);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
shell_show_overview_page (shell);
|
||||||
|
}
|
||||||
g_object_notify (G_OBJECT (shell), "active-panel");
|
g_object_notify (G_OBJECT (shell), "active-panel");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue