Fixes part of bug #417999
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 22 Oct 2007 16:33:16 +0000 (16:33 +0000)
committerMatthew Barnes <mbarnes@src.gnome.org>
Mon, 22 Oct 2007 16:33:16 +0000 (16:33 +0000)
commite213c65fbf9a9e090d8ba6e8a9bf1a1f6c0848c4
treee958ebdf1302f1b861d20eb120e40155c146b7d5
parente8fc47ed1ac673dcb892620c8e59e783ece32354
Fixes part of bug #417999

2007-10-22  Matthew Barnes  <mbarnes@redhat.com>

* 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
15 files changed:
ChangeLog
docs/reference/libedataserverui/libedataserverui-docs.sgml
docs/reference/libedataserverui/libedataserverui-sections.txt
docs/reference/libedataserverui/libedataserverui.types
libedataserverui/ChangeLog
libedataserverui/Makefile.am
libedataserverui/e-name-selector-dialog.c
libedataserverui/e-name-selector-dialog.glade
libedataserverui/e-name-selector-dialog.h
libedataserverui/e-name-selector-entry.c
libedataserverui/e-name-selector-list.c
libedataserverui/e-source-combo-box.c [new file with mode: 0644]
libedataserverui/e-source-combo-box.h [new file with mode: 0644]
libedataserverui/e-source-option-menu.h
libedataserverui/test-source-combo-box.c [moved from libedataserverui/test-source-option-menu.c with 80% similarity]