diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2010-11-09 11:24:59 +0100 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2010-11-09 13:03:57 +0100 |
| commit | a6d76fb0fc797a064c8aaeed51f89c3c0eb29594 (patch) | |
| tree | 5ee9b555ddb76f90f7271f6ad73b9e18a4abd066 /python_modules/spice_parser.py | |
| parent | b6e530f5f35f30ef39fd1c84b8da03cc784a059d (diff) | |
| download | spice-a6d76fb0fc797a064c8aaeed51f89c3c0eb29594.tar.gz spice-a6d76fb0fc797a064c8aaeed51f89c3c0eb29594.tar.xz spice-a6d76fb0fc797a064c8aaeed51f89c3c0eb29594.zip | |
spicec: Fix info layer sometimes not showing
Currently we are calling show_info_layer from hide_gui in application.cpp, but
there are 2 cases where this does not happen:
1) When compiled without gui support hide_gui is a complete nop, so we never
show the info layer when compiled without gui support
2) When run with --controller we never show the gui, and hide_gui
checks if there is a gui to hide as the first thing and if not returns
resulting in show_info_layer not being called, and thus the info layer
not showing when launched from the xpi
This patch fixes both by adding a call to show_info_layer from
on_visibility_start note that on_visibility_start also calls hide_gui,
so in some cases show_info_layer may be called twice, this is not a
problem as show_info_layer is protected against this.
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions
