New function provides access to the internal source list.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 28 Aug 2008 18:40:05 +0000 (18:40 +0000)
committerMatthew Barnes <mbarnes@src.gnome.org>
Thu, 28 Aug 2008 18:40:05 +0000 (18:40 +0000)
2008-08-28  Matthew Barnes  <mbarnes@redhat.com>

* e-source-selector.c (e_source_selector_get_source_list):
New function provides access to the internal source list.

svn path=/trunk/; revision=9444

docs/reference/camel/tmpl/camel.sgml
docs/reference/libedataserverui/libedataserverui-sections.txt
docs/reference/libedataserverui/tmpl/e-source-selector.sgml
libedataserverui/ChangeLog
libedataserverui/e-source-selector.c
libedataserverui/e-source-selector.h

index 6c63f0b..12c4e85 100644 (file)
@@ -27,3 +27,10 @@ camel
 @Returns: 
 
 
+<!-- ##### FUNCTION camel_shutdown ##### -->
+<para>
+
+</para>
+
+
+
index 9cf0cd0..48a146d 100644 (file)
@@ -245,6 +245,7 @@ e_name_selector_model_get_type
 <TITLE>ESourceSelector</TITLE>
 ESourceSelector
 e_source_selector_new
+e_source_selector_get_source_list
 e_source_selector_select_source
 e_source_selector_unselect_source
 e_source_selector_source_is_selected
index 0b5b9b2..c1abf1b 100644 (file)
@@ -56,6 +56,15 @@ ESourceSelector
 @Returns: 
 
 
+<!-- ##### FUNCTION e_source_selector_get_source_list ##### -->
+<para>
+
+</para>
+
+@selector: 
+@Returns: 
+
+
 <!-- ##### FUNCTION e_source_selector_select_source ##### -->
 <para>
 
index 2c760df..43004cb 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-28  Matthew Barnes  <mbarnes@redhat.com>
+
+       * e-source-selector.c (e_source_selector_get_source_list):
+       New function provides access to the internal source list.
+
 2008-08-17  Matthew Barnes  <mbarnes@redhat.com>
 
        ** Fixes bug #547952
index 865fe6e..9653733 100644 (file)
@@ -917,6 +917,21 @@ e_source_selector_new (ESourceList *list)
        return GTK_WIDGET (selector);
 }
 
+/**
+ * e_source_selector_get_source_list:
+ * @selector: an #ESourceSelector
+ *
+ * Returns the #ESourceList that @selector is rendering.
+ *
+ * Returns: an #ESourceList
+ **/
+ESourceList *
+e_source_selector_get_source_list (ESourceSelector *selector)
+{
+       g_return_val_if_fail (E_IS_SOURCE_LIST (selector), NULL);
+
+       return selector->priv->list;
+}
 
 /**
  * e_source_selector_get_selection:
index a5cd662..b312d42 100644 (file)
@@ -58,6 +58,7 @@ struct _ESourceSelectorClass {
 GType  e_source_selector_get_type  (void);
 
 GtkWidget *e_source_selector_new  (ESourceList *list);
+ESourceList *  e_source_selector_get_source_list (ESourceSelector *selector);
 
 void      e_source_selector_select_source       (ESourceSelector *selector,
                                                 ESource         *source);