diff options
author | monsta <[email protected]> | 2015-12-23 15:08:29 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-11 15:20:46 +0300 |
commit | ce8d1d8f26615cc7e68fbf0633e5bd5e9005c3e7 (patch) | |
tree | 34e7afea816a5729544105893b53d1ef63f95bca | |
parent | 0af6c1192bfa9323972d9405a9a3c958732f3b9d (diff) | |
download | mate-panel-ce8d1d8f26615cc7e68fbf0633e5bd5e9005c3e7.tar.bz2 mate-panel-ce8d1d8f26615cc7e68fbf0633e5bd5e9005c3e7.tar.xz |
never agree to expand an attached toplevel (drawer's panel)
-rw-r--r-- | mate-panel/panel-toplevel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index acdeb36e..9f2d0e62 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -5078,6 +5078,11 @@ panel_toplevel_set_expand (PanelToplevel *toplevel, { g_return_if_fail (PANEL_IS_TOPLEVEL (toplevel)); + if (toplevel->priv->attached && expand) { + g_warning ("attempt to expand attached toplevel; ignoring"); + return; + } + expand = expand != FALSE; if (toplevel->priv->expand == expand) |