Make MainWindow and ComposerWindow uniquely targetable via CSS.
Fixes Bug 746590.
This commit is contained in:
parent
2cb1fdb0be
commit
919aea1516
2 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ public class ComposerWindow : Gtk.ApplicationWindow, ComposerContainer {
|
|||
// composer actions to work properly.
|
||||
GearyApplication.instance.add_window(this);
|
||||
|
||||
// XXX Bug 764622
|
||||
set_property("name", "GearyComposerWindow");
|
||||
|
||||
add(this.composer);
|
||||
focus_in_event.connect(on_focus_in);
|
||||
focus_out_event.connect(on_focus_out);
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
<template class="MainWindow" parent="GtkApplicationWindow">
|
||||
<property name="visible">False</property>
|
||||
<property name="show_menubar">False</property>
|
||||
<property name="name">GearyMainWindow</property>
|
||||
<property name="events">GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
|
||||
<signal name="delete_event" handler="on_delete_event"/>
|
||||
<signal name="key_release_event" handler="on_key_release_event"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue