|
|
|
|
@ -208,10 +208,16 @@ static void gnc_quartz_set_menu (GncMainWindow* window);
|
|
|
|
|
#endif
|
|
|
|
|
static void gnc_main_window_init_menu_updaters (GncMainWindow *window);
|
|
|
|
|
|
|
|
|
|
struct _GncMainWindow
|
|
|
|
|
{
|
|
|
|
|
GtkApplicationWindow gtk_application_window; /**< The parent object for a main window. */
|
|
|
|
|
gboolean window_quitting; /**< Set to TRUE when quitting from this window. */
|
|
|
|
|
gboolean just_plugin_prefs; /**< Just remove preferences only from plugins */
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** The instance private data structure for an embedded window
|
|
|
|
|
* object. */
|
|
|
|
|
typedef struct GncMainWindowPrivate
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
/** The dock (vbox) at the top of the window containing the
|
|
|
|
|
* menubar and toolbar. These items are generated by the UI
|
|
|
|
|
@ -5666,5 +5672,11 @@ gnc_main_window_get_menu_model (GncMainWindow *window)
|
|
|
|
|
return priv->menubar_model;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
gboolean
|
|
|
|
|
gnc_main_window_just_plugin_prefs (GncMainWindow* window)
|
|
|
|
|
{
|
|
|
|
|
return window->just_plugin_prefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** @} */
|
|
|
|
|
/** @} */
|
|
|
|
|
|