aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-config-page.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated for changes to e-config-page.c (init): Removed the OK and ApplyJeffrey Stedfast2004-04-081-10/+1
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-multi-config-dialog.c: Updated for changes to e-config-page.c (init): Removed the OK and Apply buttons. * e-config-page.c (e_config_page_apply): Removed. (e_config_page_is_applied): Removed. (e_config_page_changed): Removed. svn path=/trunk/; revision=25363
* Add include of gnome-dialog.hNot Zed2002-12-021-4/+4
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
* Rename Page.widget -> Page.page_widget; it is now an EConfigPage insteadEttore Perazzoli2002-03-101-0/+76
* 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