Files
evolution/widgets/misc/Makefile.am
Ettore Perazzoli 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

108 lines
2.0 KiB
Makefile

# FIXME we use the EClippedLabel widget from EShortcutBar. Probably
# it should be moved somewhere else.
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/widgets/shortcut-bar \
-DMAP_DIR=\""$(datadir)/images/evolution"\" \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DG_LOG_DOMAIN=__FILE__ \
$(GNOME_FULL_CFLAGS)
noinst_LIBRARIES = \
libemiscwidgets.a
libemiscwidgets_a_SOURCES = \
e-bonobo-widget.c \
e-bonobo-widget.h \
e-calendar.c \
e-calendar.h \
e-calendar-item.c \
e-calendar-item.h \
e-cell-date-edit.c \
e-cell-date-edit.h \
e-cell-percent.c \
e-cell-percent.h \
e-charset-picker.c \
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 \
e-dateedit.h \
e-dropdown-button.c \
e-dropdown-button.h \
e-filter-bar.c \
e-filter-bar.h \
e-map.c \
e-map.h \
e-messagebox.c \
e-messagebox.h \
e-multi-config-dialog.c \
e-multi-config-dialog.h \
e-search-bar.c \
e-search-bar.h \
e-title-bar.c \
e-title-bar.h \
e-url-entry.c \
e-url-entry.h
noinst_PROGRAMS = \
test-calendar \
test-dateedit \
test-dropdown-button \
test-multi-config-dialog \
test-title-bar
# test-calendar
test_calendar_SOURCES = \
test-calendar.c
test_calendar_LDADD = \
./libemiscwidgets.a \
../../e-util/libeutil.la \
$(GNOME_FULL_LIBS)
# test-dateedit
test_dateedit_SOURCES = \
test-dateedit.c
test_dateedit_LDADD = \
./libemiscwidgets.a \
../../e-util/libeutil.la \
$(GNOME_FULL_LIBS)
# test-dropdown-button
test_dropdown_button_SOURCES = \
test-dropdown-button.c
test_dropdown_button_LDADD = \
./libemiscwidgets.a \
$(GNOME_FULL_LIBS)
# test-multi-config-dialog
test_multi_config_dialog_SOURCES = \
test-multi-config-dialog.c
test_multi_config_dialog_LDADD = \
./libemiscwidgets.a \
$(GNOME_FULL_LIBS)
# test-title-bar
test_title_bar_SOURCES = \
test-title-bar.c
test_title_bar_LDADD = \
./libemiscwidgets.a \
$(GNOME_FULL_LIBS)