[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/25] qemu gtk ui overhaul

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 00/25] qemu gtk ui overhaul
Date: Thu, 22 May 2014 08:58:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Il 22/05/2014 08:24, Gerd Hoffmann ha scritto:
I suspect this is the menu bar.  Current code tries to hide it by
forcing the widget size to 0x0.  In gtk2 this results in a small white
line at the top of the screen, probably because the minimum widget size
in gtk is 1x1.  In gtk3 this doesn't work at all and the menu bar
remains visible.  This isn't a new issue btw.

I've tried to fix that with a simple gtk_widget_hide(menu_bar) call.
Which has the side effect to also turn off all menu accelerators.  Which
is a non-starter, especially for Ctrl-Alt-F not working any more.

Subclass the menu bar and override the draw and size_allocate methods when the widget is "hidden"?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]