From e213c65fbf9a9e090d8ba6e8a9bf1a1f6c0848c4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 22 Oct 2007 16:33:16 +0000 Subject: Fixes part of bug #417999 2007-10-22 Matthew Barnes * Fixes part of bug #417999 * docs/references/libedataserverui: Add documentation for ESourceComboBox widget. * libedataserverui/Makefile.am: Add e-source-combo-box.[ch]. Rename test-source-option-menu to test-source-combo-box. * libedataserverui/e-source-combo-box.c: * libedataserverui/e-source-combo-box.h: New widget replaces ESourceOptionMenu. Same functionality, but ESourceComboBox is a subclass of GtkComboBox, which itself replaces GtkOptionMenu (deprecated). * libedataserverui/e-source-option-menu.h: Deprecate ESourceOptionMenu. * libedataserverui/e-name-selector-dialog.glade: List categories in a GtkComboBox instead of a GtkOptionMenu. * libedataserverui/e-name-selector-dialog.h: Replace the ESourceList member pointer with a placeholder, to maintain ABI compatibility. * libedataserverui/e-name-selector-dialog.c: Use ESourceComboBox instead of ESourceOptionMenu. Refactor some messy bits. * libedataserverui/e-name-selector-entry.c (populate_popup): * libedataserverui/e-name-selector-list.c (enl_tree_button_press_event): Use gtk_radio_menu_item_get_group() instead of gtk_radio_menu_item_group() (deprecated). * libedataserverui/test-source-option-menu.c: Test ESourceComboBox instead of ESourceOptionMenu. Rename the file appropriately. svn path=/trunk/; revision=8138 --- .../libedataserverui/libedataserverui-docs.sgml | 1 + .../libedataserverui/libedataserverui-sections.txt | 23 ++++++++++++++++++++++ .../libedataserverui/libedataserverui.types | 2 ++ 3 files changed, 26 insertions(+) (limited to 'docs') diff --git a/docs/reference/libedataserverui/libedataserverui-docs.sgml b/docs/reference/libedataserverui/libedataserverui-docs.sgml index 6978e6058..041d4af79 100644 --- a/docs/reference/libedataserverui/libedataserverui-docs.sgml +++ b/docs/reference/libedataserverui/libedataserverui-docs.sgml @@ -19,6 +19,7 @@ + diff --git a/docs/reference/libedataserverui/libedataserverui-sections.txt b/docs/reference/libedataserverui/libedataserverui-sections.txt index 29dbb66bb..2ae0cbdfc 100644 --- a/docs/reference/libedataserverui/libedataserverui-sections.txt +++ b/docs/reference/libedataserverui/libedataserverui-sections.txt @@ -24,6 +24,29 @@ ETreeModelGeneratorClass e_tree_model_generator_get_type +
+e-source-combo-box +ESourceComboBox +ESourceComboBox +e_source_combo_box_new +e_source_combo_box_get_source_list +e_source_combo_box_set_source_list +e_source_combo_box_get_active +e_source_combo_box_set_active +e_source_combo_box_get_active_uid +e_source_combo_box_set_active_uid + +E_SOURCE_COMBO_BOX +E_IS_SOURCE_COMBO_BOX +E_TYPE_SOURCE_COMBO_BOX +E_SOURCE_COMBO_BOX_CLASS +E_IS_SOURCE_COMBO_BOX_CLASS +E_SOURCE_COMBO_BOX_GET_CLASS +ESourceComboBoxClass + +e_source_combo_box_get_type +
+
e-source-option-menu ESourceOptionMenu diff --git a/docs/reference/libedataserverui/libedataserverui.types b/docs/reference/libedataserverui/libedataserverui.types index fdb4cf78c..93ec342da 100644 --- a/docs/reference/libedataserverui/libedataserverui.types +++ b/docs/reference/libedataserverui/libedataserverui.types @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -19,6 +20,7 @@ e_name_selector_dialog_get_type e_name_selector_entry_get_type e_name_selector_list_get_type e_name_selector_model_get_type +e_source_combo_box_get_type e_source_option_menu_get_type e_source_selector_get_type e_source_selector_dialog_get_type -- cgit v1.2.1