[evolution] Memos cannot have set reminders according to RFC 5545



commit 81cd4290499acedbc9e4e69aefe2b6b38d4f6f44
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 7 15:25:58 2019 +0200

    Memos cannot have set reminders according to RFC 5545

 src/modules/calendar/e-calendar-preferences.c  |  9 --------
 src/modules/calendar/e-calendar-preferences.ui | 29 ++------------------------
 2 files changed, 2 insertions(+), 36 deletions(-)
---
diff --git a/src/modules/calendar/e-calendar-preferences.c b/src/modules/calendar/e-calendar-preferences.c
index a2a5892f03..4e8ae6f5da 100644
--- a/src/modules/calendar/e-calendar-preferences.c
+++ b/src/modules/calendar/e-calendar-preferences.c
@@ -44,7 +44,6 @@ struct _ECalendarPreferencesPrivate {
 
        /* Reminders tab */
        GtkWidget *reminder_calendars_scrolled_window;
-       GtkWidget *reminder_memos_scrolled_window;
        GtkWidget *reminder_tasks_scrolled_window;
 };
 
@@ -523,13 +522,6 @@ show_alarms_config (ECalendarPreferences *prefs)
        gtk_container_add (GTK_CONTAINER (prefs->priv->reminder_calendars_scrolled_window), widget);
        gtk_widget_show (widget);
 
-       widget = e_alarm_selector_new (prefs->priv->registry, E_SOURCE_EXTENSION_MEMO_LIST);
-       atk_object_set_name (
-               gtk_widget_get_accessible (widget),
-               _("Selected Memo Lists for Notifications of Reminders"));
-       gtk_container_add (GTK_CONTAINER (prefs->priv->reminder_memos_scrolled_window), widget);
-       gtk_widget_show (widget);
-
        widget = e_alarm_selector_new (prefs->priv->registry, E_SOURCE_EXTENSION_TASK_LIST);
        atk_object_set_name (
                gtk_widget_get_accessible (widget),
@@ -1107,7 +1099,6 @@ calendar_preferences_construct (ECalendarPreferences *prefs,
                G_SETTINGS_BIND_DEFAULT);
 
        prefs->priv->reminder_calendars_scrolled_window = e_builder_get_widget (prefs->priv->builder, 
"reminder-calendars-scrolled-window");
-       prefs->priv->reminder_memos_scrolled_window = e_builder_get_widget (prefs->priv->builder, 
"reminder-memos-scrolled-window");
        prefs->priv->reminder_tasks_scrolled_window = e_builder_get_widget (prefs->priv->builder, 
"reminder-tasks-scrolled-window");
 
        /* Free/Busy tab */
diff --git a/src/modules/calendar/e-calendar-preferences.ui b/src/modules/calendar/e-calendar-preferences.ui
index 94b2bdc239..5b3e48ae87 100644
--- a/src/modules/calendar/e-calendar-preferences.ui
+++ b/src/modules/calendar/e-calendar-preferences.ui
@@ -1705,31 +1705,6 @@
                 <property name="tab_fill">False</property>
               </packing>
             </child>
-            <child>
-              <object class="GtkScrolledWindow" id="reminder-memos-scrolled-window">
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="shadow_type">in</property>
-                <child>
-                  <placeholder/>
-                </child>
-              </object>
-              <packing>
-                <property name="position">1</property>
-                <property name="tab_fill">False</property>
-              </packing>
-            </child>
-            <child type="tab">
-              <object class="GtkLabel" id="reminder-memos-sources-tab-label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Memo Lists</property>
-              </object>
-              <packing>
-                <property name="position">1</property>
-                <property name="tab_fill">False</property>
-              </packing>
-            </child>
             <child>
               <object class="GtkScrolledWindow" id="reminder-tasks-scrolled-window">
                 <property name="visible">True</property>
@@ -1740,7 +1715,7 @@
                 </child>
               </object>
               <packing>
-                <property name="position">2</property>
+                <property name="position">1</property>
                 <property name="tab_fill">False</property>
               </packing>
             </child>
@@ -1751,7 +1726,7 @@
                 <property name="label" translatable="yes">Task Lists</property>
               </object>
               <packing>
-                <property name="position">2</property>
+                <property name="position">1</property>
                 <property name="tab_fill">False</property>
               </packing>
             </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]