mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
525118cff0
In order to let keypresses operate the local history window on GTK3 we have to permit the drawing area to get focus so that the keypresses actually make their way into the event loop in the correct place. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
46 lines
2.0 KiB
XML
46 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="wndHistory">
|
|
<property name="can_focus">False</property>
|
|
<property name="title" translatable="yes">NetSurf Local History</property>
|
|
<property name="window_position">center</property>
|
|
<property name="default_width">20</property>
|
|
<property name="default_height">20</property>
|
|
<property name="type_hint">utility</property>
|
|
<property name="decorated">False</property>
|
|
<child>
|
|
<object class="GtkBox" id="box1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="HistoryScrolled">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkViewport" id="HistoryViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkDrawingArea" id="HistoryDrawingArea">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="events">GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_STRUCTURE_MASK</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|