Move MainWindow to Application package
Move MainWindow out of the root namespace and add it to Application, so it can privately share internal state with the Controller. Rename the source and UI files to match.
This commit is contained in:
parent
56876365ba
commit
239fdce562
20 changed files with 120 additions and 75 deletions
|
|
@ -2,8 +2,7 @@
|
|||
<!-- Generated with glade 3.22.1 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<template class="MainWindow" parent="GtkApplicationWindow">
|
||||
<property name="name">GearyMainWindow</property>
|
||||
<template class="ApplicationMainWindow" parent="GtkApplicationWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="events">GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
|
||||
<property name="show_menubar">False</property>
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
<file compressed="true" preprocess="xml-stripblanks">accounts_editor_list_pane.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">accounts_editor_remove_pane.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">accounts_editor_servers_pane.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">application-main-window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">certificate_warning_dialog.glade</file>
|
||||
<file compressed="true">client-web-view.js</file>
|
||||
<file compressed="true">client-web-view-allow-remote-images.js</file>
|
||||
|
|
@ -38,7 +39,6 @@
|
|||
<file compressed="true" preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">main-toolbar.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">main-toolbar-menus.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">main-window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">main-window-info-bar.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">password-dialog.glade</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">preferences-dialog.ui</file>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue