Changeset 3469
- Timestamp:
- 03/05/08 15:23:38
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3468 r3469 3 3 * Check-for-duplicates in TnyFolderObserver and TnyFolderMonitor 4 4 * Introduction of tny_gtk_header_list_model_set_no_duplicates 5 * Introduction of tny_gtk_header_list_model_get_no_duplicates for 6 completeness of language bindings who'll make getters/setters from 7 this. 5 8 6 9 * This was a minor API change trunk/libtinymailui-gtk/tny-gtk-header-list-model.c
r3468 r3469 1167 1167 } 1168 1168 1169 1170 1171 /** 1172 * tny_gtk_header_list_model_get_no_duplicates: 1173 * @self: a #TnyGtkHeaderListModel 1174 * 1175 * Gets whether or not @self allows duplicates of TnyHeader instances to be 1176 * added. The duplicates will be tested by tny_header_get_uid uniqueness. 1177 * Setting this property to TRUE will negatively impact performance of @self. 1178 * It'll also influence behaviour of tny_list_prepend and tny_list_append. 1179 * 1180 * Default value, therefore, is FALSE. 1181 * 1182 * returns: whether or not to allow duplicates 1183 * since: 1.0 1184 * audience: application-developer 1185 **/ 1186 gboolean 1187 tny_gtk_header_list_model_get_no_duplicates (TnyGtkHeaderListModel *self) 1188 { 1189 TnyGtkHeaderListModelPriv *priv = TNY_GTK_HEADER_LIST_MODEL_GET_PRIVATE (self); 1190 return priv->no_duplicates; 1191 } 1169 1192 1170 1193 /** trunk/libtinymailui-gtk/tny-gtk-header-list-model.h
r3468 r3469 79 79 gint tny_gtk_header_list_model_sent_date_sort_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data); 80 80 void tny_gtk_header_list_model_set_no_duplicates (TnyGtkHeaderListModel *self, gboolean setting); 81 gboolean tny_gtk_header_list_model_get_no_duplicates (TnyGtkHeaderListModel *self); 81 82 82 83 G_END_DECLS
