2002-01-14 Bradford Hovinen <hovinen@ximian.com> * mime-category-edit-dialog.c (populate_application_list): Implement. Mostly a copy from the corresponding function in mime-edit-dialog.c * mime-types-model.c (get_insertion_point): Make this public (find_supported_apps_for_category, reduce_supported_app_list) (intersect_lists, find_possible_supported_apps): Implement * mime-edit-dialog.c (fill_dialog): Fill category_entry (choose_cat_cb): Implement (mime_edit_dialog_init): Connect choose_button to choose_cat_cb * mime-type-info.c (mime_type_info_load): Load category name (mime_type_info_save): Call reinsert_iter to affect category name change * mime-types-model.c (mime_types_model_new): Add parameter is_category_select; TRUE iff this model should be only for selecting a category and not list the actual file types or Internet services (get_category_name): Implement * mime-edit-dialog.c (mime_edit_dialog_init): Add category_label to first size group 2002-01-13 Bradford Hovinen <hovinen@ximian.com> * file-types-capplet.c (edit_cb, row_activated_cb): Don't try to create a category edit dialog if this is the Internet Services category (count_cb): Only count other than internet services category * mime-types-model.c (model_entry_is_category): Implement (model_entry_is_protocol): Use categories[INTERNET_SERVICES_IDX] rather than string (model_entry_is_internet_services_category): Implement * Makefile.am (gnome_file_types_properties_SOURCES): Add mime-category-edit-dialog.[ch] * file-types-capplet.c (edit_cb): Construct a category edit dialog if the tree iterator has children (row_activated_cb): Ditto
26 lines
850 B
Makefile
26 lines
850 B
Makefile
SUBDIRS = libuuid
|
|
|
|
bin_PROGRAMS = gnome-file-types-properties
|
|
|
|
gnome_file_types_properties_LDADD = $(GNOMECC_CAPPLETS_LIBS) $(VFS_CAPPLET_LIBS) libuuid/libuuid.a
|
|
|
|
gnome_file_types_properties_SOURCES = \
|
|
file-types-capplet.c \
|
|
mime-types-model.c mime-types-model.h \
|
|
mime-type-info.c mime-type-info.h \
|
|
mime-edit-dialog.c mime-edit-dialog.h \
|
|
mime-category-edit-dialog.c mime-category-edit-dialog.h \
|
|
service-info.c service-info.h \
|
|
service-edit-dialog.c service-edit-dialog.h
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
Gladedir = $(GNOMECC_DATA_DIR)/interfaces
|
|
Glade_DATA = file-types-properties.glade
|
|
|
|
desktopdir = $(GNOMECC_DATA_DIR)/capplets/Advanced
|
|
desktop_DATA = file-types.desktop
|
|
|
|
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) $(VFS_CAPPLET_CFLAGS)
|
|
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)
|
|
EXTRA_DIST = $(Glade_DATA) $(desktop_DATA)
|