]> Pileus Git - ~andy/gtk/commit
If the model was empty before, select the first inserted item.
authorOwen Taylor <otaylor@redhat.com>
Tue, 2 Mar 2004 20:42:14 +0000 (20:42 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 2 Mar 2004 20:42:14 +0000 (20:42 +0000)
commitf05cb42db9b7c1d8409f4dcfc0f25d32ef62a973
treeaf4c7a93ba8b395556955487cef0ab327641968d
parente8c5b64836e62b9e7da375cba77a910c068329c3
If the model was empty before, select the first inserted item.

Tue Mar  2 14:38:23 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
        If the model was empty before, select the first inserted
        item.

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted):
        Fix up the logic for the new row to select.

        * gtk/gtkcombobox.c (gtk_combo_box_class_init):
        Rename "appearance" property to "appears-as-list".

        * tests/testcombochange.c tests/Makefile.am: Test case
        for combos and dynamically changing models.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcombobox.c
tests/Makefile.am
tests/testcombochange.c [new file with mode: 0644]