- Make the new ESourceComboBox widget work properly (RH bug #234760).

This commit is contained in:
Matthew Barnes 2007-04-02 14:10:00 +00:00
parent ad4b9f8a9d
commit 2187af3b01
2 changed files with 6 additions and 3 deletions

View File

@ -1011,12 +1011,12 @@
+ combo_box = GTK_COMBO_BOX (source_combo_box); + combo_box = GTK_COMBO_BOX (source_combo_box);
+ +
+ reference = g_hash_table_lookup (priv->uid_to_row_reference, uid); + reference = g_hash_table_lookup (priv->uid_to_row_reference, uid);
+ g_return_if_fail (reference != NULL); + g_return_if_fail (gtk_tree_row_reference_valid (reference));
+ +
+ iter_was_set = gtk_tree_model_get_iter ( + iter_was_set = gtk_tree_model_get_iter (
+ gtk_combo_box_get_model (combo_box), &iter, + gtk_combo_box_get_model (combo_box), &iter,
+ gtk_tree_row_reference_get_path (reference)); + gtk_tree_row_reference_get_path (reference));
+ g_return_if_fail (!iter_was_set); + g_return_if_fail (iter_was_set);
+ +
+ gtk_combo_box_set_active_iter (combo_box, &iter); + gtk_combo_box_set_active_iter (combo_box, &iter);
+} +}

View File

@ -26,7 +26,7 @@
Name: evolution-data-server Name: evolution-data-server
Version: 1.10.0 Version: 1.10.0
Release: 4%{?dist} Release: 5%{?dist}
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: Backend data server for Evolution Summary: Backend data server for Evolution
@ -392,6 +392,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc %{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc
%changelog %changelog
* Mon Apr 02 2007 Matthew Barnes <mbarnes@redhat.com> - 1.10.0-5.fc7
- Make the new ESourceComboBox widget work properly (RH bug #234760).
* Tue Mar 27 2007 Matthew Barnes <mbarnes@redhat.com> - 1.10.0-4.fc7 * Tue Mar 27 2007 Matthew Barnes <mbarnes@redhat.com> - 1.10.0-4.fc7
- Link to static evolution-openldap library (RH bug #210126). - Link to static evolution-openldap library (RH bug #210126).
- Require openssl-devel when statically linking against openldap. - Require openssl-devel when statically linking against openldap.