Dock used showDelay for both hiding and showing (Bug 5811)
This commit is contained in:
parent
b2b5df767c
commit
2b1a53cd73
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ void dock_hide(gboolean hide)
|
||||||
} else {
|
} else {
|
||||||
if (!dock->hidden && config_dock_hide) {
|
if (!dock->hidden && config_dock_hide) {
|
||||||
hide_timeout_id = g_timeout_add_full(G_PRIORITY_DEFAULT,
|
hide_timeout_id = g_timeout_add_full(G_PRIORITY_DEFAULT,
|
||||||
config_dock_show_delay,
|
config_dock_hide_delay,
|
||||||
hide_timeout, NULL, NULL);
|
hide_timeout, NULL, NULL);
|
||||||
} else if (dock->hidden && config_dock_hide && show_timeout_id) {
|
} else if (dock->hidden && config_dock_hide && show_timeout_id) {
|
||||||
if (show_timeout_id) g_source_remove(show_timeout_id);
|
if (show_timeout_id) g_source_remove(show_timeout_id);
|
||||||
|
|
Loading…
Reference in a new issue