[evolution/gnome-3-28] I#43 - Tasks not shown when Side Panel is hidden
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-28] I#43 - Tasks not shown when Side Panel is hidden
- Date: Fri, 29 Jun 2018 09:04:37 +0000 (UTC)
commit 00fad172c91a7904c8f40f881f00a310f8488059
Author: Milan Crha <mcrha redhat com>
Date: Fri Jun 29 10:24:31 2018 +0200
I#43 - Tasks not shown when Side Panel is hidden
Closes https://gitlab.gnome.org/GNOME/evolution/issues/43
src/modules/calendar/e-cal-base-shell-content.c | 2 ++
src/modules/calendar/e-cal-base-shell-sidebar.c | 14 --------------
2 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/src/modules/calendar/e-cal-base-shell-content.c b/src/modules/calendar/e-cal-base-shell-content.c
index a0a60e47d9..ca62616b83 100644
--- a/src/modules/calendar/e-cal-base-shell-content.c
+++ b/src/modules/calendar/e-cal-base-shell-content.c
@@ -187,6 +187,8 @@ cal_base_shell_content_view_created_cb (EShellWindow *shell_window,
cal_base_shell_content->priv->data_model, "view-state-changed",
G_CALLBACK (cal_base_shell_content_view_state_changed_cb), cal_base_shell_content);
+ e_cal_base_shell_sidebar_ensure_sources_open (E_CAL_BASE_SHELL_SIDEBAR (shell_sidebar));
+
klass = E_CAL_BASE_SHELL_CONTENT_GET_CLASS (cal_base_shell_content);
g_return_if_fail (klass != NULL);
diff --git a/src/modules/calendar/e-cal-base-shell-sidebar.c b/src/modules/calendar/e-cal-base-shell-sidebar.c
index ae9b34f34e..f574b18c7f 100644
--- a/src/modules/calendar/e-cal-base-shell-sidebar.c
+++ b/src/modules/calendar/e-cal-base-shell-sidebar.c
@@ -440,16 +440,6 @@ e_cal_base_shell_sidebar_source_unselected (ESourceSelector *selector,
g_signal_emit (sidebar, signals[CLIENT_CLOSED], 0, source);
}
-static void
-e_cal_base_shell_sidebar_selector_realize_cb (ESourceSelector *selector,
- ECalBaseShellSidebar *sidebar)
-{
- g_return_if_fail (E_IS_SOURCE_SELECTOR (selector));
- g_return_if_fail (E_IS_CAL_BASE_SHELL_SIDEBAR (sidebar));
-
- e_cal_base_shell_sidebar_ensure_sources_open (sidebar);
-}
-
typedef struct {
ESource *source;
ESource *destination;
@@ -779,10 +769,6 @@ cal_base_shell_sidebar_constructed (GObject *object)
"notify::switcher-visible", G_CALLBACK (e_cal_base_shell_sidebar_update_calendar_margin_cb),
widget);
- g_signal_connect (cal_base_shell_sidebar->priv->selector,
- "realize", G_CALLBACK (e_cal_base_shell_sidebar_selector_realize_cb),
- cal_base_shell_sidebar);
-
g_signal_connect (cal_base_shell_sidebar->priv->selector,
"data-dropped", G_CALLBACK (e_cal_base_shell_sidebar_selector_data_dropped),
cal_base_shell_sidebar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]