Commit Graph

5 Commits

Author SHA1 Message Date
4354c0ac03 Add include of gnome-dialog.h
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
2002-12-02 03:28:22 +00:00
f2b2d6abb5 Removed. (impl_finalize): New. (class_init): Override GObject::finalize,
* e-multi-config-dialog.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.

* e-config-page.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.

* e-multi-config-dialog.c: Converted to a GtkDialog subclass
[instead of GnomeDialog].

svn path=/trunk/; revision=18696
2002-11-11 17:23:00 +00:00
f3a6f0a3a4 show a specific page number
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-multi-config-dialog.c (e_multi_config_dialog_show_page): show
	a specific page number

	* e-multi-config-dialog.h: new proto

svn path=/trunk/; revision=16374
2002-04-06 19:55:49 +00:00
72906c59d7 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
2002-03-10 02:57:58 +00:00
38342cf57a New. New.
* test-multi-config-dialog.c: New.
* test-multi-config-dialog.h: New.

* e-multi-config-dialog.c: New.
* e-multi-config-dialog.h: New.

svn path=/trunk/; revision=15932
2002-03-05 22:49:32 +00:00