renamed gimp_dialog_factories_idle() and _unidle() to
2003-10-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdialogfactory.[ch]: renamed gimp_dialog_factories_idle() and _unidle() to gimp_dialog_factories_set_busy() and _unset_busy(). Added utility function gimp_dialog_factory_set_widget_data() and public API gimp_dialog_factory_from_widget() so we don't need to g_object_[set|get]_data() with magic keys all over the place. * app/widgets/gimpsessioninfo.c * app/gui/dialogs-commands.c * app/gui/dialogs-menu.c * app/gui/gui-vtable.c: changed accordingly. * app/widgets/gimpsessioninfo.c: remember active page of all dock notebooks in sessionrc. * app/widgets/gimpsessioninfo.h: cleaned up the session info structs.
This commit is contained in:

committed by
Michael Natterer

parent
b687abd515
commit
2b0c05131f
@ -29,27 +29,30 @@ struct _GimpSessionInfo
|
||||
gint y;
|
||||
gint width;
|
||||
gint height;
|
||||
|
||||
GtkWidget *widget;
|
||||
|
||||
/* only valid while restoring and saving the session */
|
||||
gboolean open;
|
||||
gboolean open; /* only valid while restoring and saving the session */
|
||||
|
||||
/* dialog specific list of GimpSessionInfoAux */
|
||||
GList *aux_info; /* dialog specific list of GimpSessionInfoAux */
|
||||
GList *aux_info;
|
||||
|
||||
GtkWidget *widget;
|
||||
|
||||
/* only one of these is valid */
|
||||
GimpDialogFactoryEntry *toplevel_entry;
|
||||
GimpDialogFactoryEntry *dockable_entry;
|
||||
GList *books; /* GList of GimpSessionInfoBook */
|
||||
|
||||
/* list of GimpSessionInfoBook */
|
||||
GList *books;
|
||||
};
|
||||
|
||||
struct _GimpSessionInfoBook
|
||||
{
|
||||
gint position;
|
||||
GList *dockables; /* GList of GimpSessionInfoDockable */
|
||||
gint current_page;
|
||||
|
||||
GtkWidget *widget; /* only used while restoring the session */
|
||||
GtkWidget *widget;
|
||||
|
||||
/* list of GimpSessionInfoDockable */
|
||||
GList *dockables;
|
||||
};
|
||||
|
||||
struct _GimpSessionInfoDockable
|
||||
@ -58,7 +61,6 @@ struct _GimpSessionInfoDockable
|
||||
GimpTabStyle tab_style;
|
||||
gint preview_size;
|
||||
|
||||
|
||||
/* dialog specific list of GimpSessionInfoAux */
|
||||
GList *aux_info;
|
||||
};
|
||||
|
Reference in New Issue
Block a user