diff options
author | Rodney Dawes <dobey@novell.com> | 2004-06-25 01:22:40 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-06-25 01:22:40 +0800 |
commit | 38f4f2cd20d68010f15e5ace7a895903211a10f2 (patch) | |
tree | 871b2819adae4576e98c8a0ff7e446e595d8e884 /calendar | |
parent | ac7ffd6aff484dfced4681d72a2553038b94d37c (diff) | |
download | gsoc2013-evolution-38f4f2cd20d68010f15e5ace7a895903211a10f2.tar.gz gsoc2013-evolution-38f4f2cd20d68010f15e5ace7a895903211a10f2.tar.zst gsoc2013-evolution-38f4f2cd20d68010f15e5ace7a895903211a10f2.zip |
Add a call to e_source_selector_set_select_new here so that we can select
2004-06-24 Rodney Dawes <dobey@novell.com>
* gui/calendar-component.c (create_component_view):
* gui/tasks-component.c (create_component_view):
Add a call to e_source_selector_set_select_new here so that we can
select new sources when we create them
2004-06-24 Rodney Dawes <dobey@novell.com>
* e-source-selector.[ch]: Add new "select_new" property to
private structure of the ESourceSelector
(rebuild_cb): Add code to select the new source, and cause the
selection_changed signal to get emitted, if we select new sources
(init): Don't select new sources by default
(e_source_selector_set_select_new): Add function to set whether or not
we want to select new sources when we add them
svn path=/trunk/; revision=26498
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 1 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c454c7aee6..82978774e1 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-06-24 Rodney Dawes <dobey@novell.com> + + * gui/calendar-component.c (create_component_view): + * gui/tasks-component.c (create_component_view): + Add a call to e_source_selector_set_select_new here so that we can + select new sources when we create them + 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 857812f5c3..4bf64da90f 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1032,6 +1032,7 @@ create_component_view (CalendarComponent *calendar_component) /* Create sidebar selector */ component_view->source_selector = e_source_selector_new (calendar_component->priv->source_list); + e_source_selector_set_select_new (component_view->source_selector, TRUE); g_signal_connect (component_view->source_selector, "drag-motion", G_CALLBACK (selector_tree_drag_motion), calendar_component); diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 9f5edbcda0..e685977a5d 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -846,6 +846,7 @@ create_component_view (TasksComponent *tasks_component) /* Create sidebar selector */ component_view->source_selector = e_source_selector_new (tasks_component->priv->source_list); + e_source_selector_set_select_new (component_view->source_selector, TRUE); g_signal_connect (component_view->source_selector, "drag-motion", G_CALLBACK (selector_tree_drag_motion), tasks_component); |