aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-source-selector.c18
-rw-r--r--e-util/e-source-selector.h3
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c1
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c1
-rw-r--r--modules/calendar/e-task-shell-sidebar.c1
6 files changed, 0 insertions, 25 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 1fc18c8802..2d51327972 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3216,7 +3216,6 @@ e_source_selector_unselect_source
e_source_selector_select_exclusive
e_source_selector_source_is_selected
e_source_selector_get_selection
-e_source_selector_set_select_new
e_source_selector_edit_primary_selection
e_source_selector_ref_primary_selection
e_source_selector_set_primary_selection
diff --git a/e-util/e-source-selector.c b/e-util/e-source-selector.c
index 2044d5f772..60414de3e4 100644
--- a/e-util/e-source-selector.c
+++ b/e-util/e-source-selector.c
@@ -54,7 +54,6 @@ struct _ESourceSelectorPrivate {
GMainContext *main_context;
gboolean toggled_last;
- gboolean select_new;
gboolean show_colors;
gboolean show_icons;
gboolean show_toggles;
@@ -1393,7 +1392,6 @@ e_source_selector_init (ESourceSelector *selector)
gtk_tree_view_set_enable_search (tree_view, TRUE);
selector->priv->toggled_last = FALSE;
- selector->priv->select_new = FALSE;
selector->priv->show_colors = TRUE;
selector->priv->show_toggles = TRUE;
@@ -1739,22 +1737,6 @@ e_source_selector_get_selection (ESourceSelector *selector)
}
/**
- * e_source_selector_set_select_new:
- * @selector: An #ESourceSelector widget
- * @state: A gboolean
- *
- * Set whether or not to select new sources added to @selector.
- **/
-void
-e_source_selector_set_select_new (ESourceSelector *selector,
- gboolean state)
-{
- g_return_if_fail (E_IS_SOURCE_SELECTOR (selector));
-
- selector->priv->select_new = state;
-}
-
-/**
* e_source_selector_select_source:
* @selector: An #ESourceSelector widget
* @source: An #ESource.
diff --git a/e-util/e-source-selector.h b/e-util/e-source-selector.h
index 29d981510e..6be1a27083 100644
--- a/e-util/e-source-selector.h
+++ b/e-util/e-source-selector.h
@@ -123,9 +123,6 @@ gboolean e_source_selector_source_is_selected
(ESourceSelector *selector,
ESource *source);
GList * e_source_selector_get_selection (ESourceSelector *selector);
-void e_source_selector_set_select_new
- (ESourceSelector *selector,
- gboolean state);
void e_source_selector_edit_primary_selection
(ESourceSelector *selector);
ESource * e_source_selector_ref_primary_selection
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index ff8bc955e9..2ba2711a0b 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -585,7 +585,6 @@ cal_shell_sidebar_constructed (GObject *object)
client_cache = e_shell_get_client_cache (shell);
widget = e_calendar_selector_new (client_cache, shell_view);
- e_source_selector_set_select_new (E_SOURCE_SELECTOR (widget), TRUE);
gtk_container_add (GTK_CONTAINER (container), widget);
a11y = gtk_widget_get_accessible (widget);
atk_object_set_name (a11y, _("Calendar Selector"));
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index eeab5f53b5..b7ec597f02 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -541,7 +541,6 @@ memo_shell_sidebar_constructed (GObject *object)
client_cache = e_shell_get_client_cache (shell);
widget = e_memo_list_selector_new (client_cache, shell_view);
- e_source_selector_set_select_new (E_SOURCE_SELECTOR (widget), TRUE);
gtk_container_add (container, widget);
a11y = gtk_widget_get_accessible (widget);
atk_object_set_name (a11y, _("Memo List Selector"));
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index f1837f82cf..fb69c37cd3 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -541,7 +541,6 @@ task_shell_sidebar_constructed (GObject *object)
client_cache = e_shell_get_client_cache (shell);
widget = e_task_list_selector_new (client_cache, shell_view);
- e_source_selector_set_select_new (E_SOURCE_SELECTOR (widget), TRUE);
gtk_container_add (container, widget);
a11y = gtk_widget_get_accessible (widget);
atk_object_set_name (a11y, _("Task List Selector"));