diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-10 10:57:58 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-10 10:57:58 +0800 |
commit | 72906c59d7855548865489e8f0e5080e57d19a60 (patch) | |
tree | de9c49731d1f952fb7fb97a5bfc3a7415490ac10 /widgets/misc/Makefile.am | |
parent | 9ccdadd473a220eac94f67ff94d52ab9893e00b7 (diff) | |
download | gsoc2013-evolution-72906c59d7855548865489e8f0e5080e57d19a60.tar.gz gsoc2013-evolution-72906c59d7855548865489e8f0e5080e57d19a60.tar.zst gsoc2013-evolution-72906c59d7855548865489e8f0e5080e57d19a60.zip |
Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead
* e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget;
it is now an EConfigPage instead of just a GtkWidget. Add
`num_unapplied' to EMultiConfigDialogPrivate. Derive from
GnomeDialog, not GtkWindow.
(update_buttons): New function to update the sensitiveness of the
buttons according to whether all the settings have been applied or
not.
(page_new): Likewise.
(create_page_container): Renamed from `create_page_widget'.
(init): Add Apply/OK/Cancel buttons to the dialog. Init
->num_unapplied to zero.
(page_changed_callback): New, callback for the page's "changed"
signal.
(e_multi_config_dialog_add_page): Connect the callback, update
->num_unapplied, update the buttons by calling `update_buttons'.
(ok): New function for handling the OK button.
(apply): New function for handling the Apply button.
(cancel): New function for handling the Cancel button.
(impl_clicked): Implementation for the GnomeDialog's ::clicked
signal.
(class_init): Install.
* test-multi-config-dialog.c (add_pages): Update to use
EConfigPages instead of plain GtkWidgets.
* e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from
GnomeDialog, not GtkWindow.
* e-config-page.c: New.
* e-config-page.h: New.
svn path=/trunk/; revision=16006
Diffstat (limited to 'widgets/misc/Makefile.am')
-rw-r--r-- | widgets/misc/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am index 5d0a474138..0b274552ff 100644 --- a/widgets/misc/Makefile.am +++ b/widgets/misc/Makefile.am @@ -27,6 +27,8 @@ libemiscwidgets_a_SOURCES = \ e-charset-picker.h \ e-clipped-label.c \ e-clipped-label.h \ + e-config-page.c \ + e-config-page.h \ e-combo-button.c \ e-combo-button.h \ e-dateedit.c \ |