[evolution] Bug 233065 - Add "URL" field for appointments and memos



commit 07d38c419a4522aa0bb5a575dad04d42bec438a7
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 7 16:24:47 2019 +0200

    Bug 233065 - Add "URL" field for appointments and memos
    
    Closes https://bugzilla.gnome.org/show_bug.cgi?id=233065

 src/calendar/gui/e-comp-editor-event.c | 7 +++++--
 src/calendar/gui/e-comp-editor-memo.c  | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/src/calendar/gui/e-comp-editor-event.c b/src/calendar/gui/e-comp-editor-event.c
index 201dd56c80..7e4aabbcf7 100644
--- a/src/calendar/gui/e-comp-editor-event.c
+++ b/src/calendar/gui/e-comp-editor-event.c
@@ -913,12 +913,15 @@ e_comp_editor_event_constructed (GObject *object)
        gtk_widget_set_halign (widget, GTK_ALIGN_START);
        gtk_widget_set_hexpand (widget, FALSE);
 
-       part = e_comp_editor_property_part_categories_new (focus_tracker);
+       part = e_comp_editor_property_part_url_new (focus_tracker);
        e_comp_editor_page_add_property_part (page, part, 0, 8, 3, 1);
+
+       part = e_comp_editor_property_part_categories_new (focus_tracker);
+       e_comp_editor_page_add_property_part (page, part, 0, 9, 3, 1);
        event_editor->priv->categories = part;
 
        part = e_comp_editor_property_part_description_new (focus_tracker);
-       e_comp_editor_page_add_property_part (page, part, 0, 9, 3, 1);
+       e_comp_editor_page_add_property_part (page, part, 0, 10, 3, 1);
        event_editor->priv->description = part;
 
        widget = e_comp_editor_property_part_get_edit_widget (event_editor->priv->timezone);
diff --git a/src/calendar/gui/e-comp-editor-memo.c b/src/calendar/gui/e-comp-editor-memo.c
index c72e27a905..dbc840bc76 100644
--- a/src/calendar/gui/e-comp-editor-memo.c
+++ b/src/calendar/gui/e-comp-editor-memo.c
@@ -218,12 +218,15 @@ e_comp_editor_memo_constructed (GObject *object)
        gtk_widget_set_halign (edit_widget, GTK_ALIGN_START);
        gtk_widget_set_hexpand (edit_widget, FALSE);
 
-       part = e_comp_editor_property_part_categories_new (focus_tracker);
+       part = e_comp_editor_property_part_url_new (focus_tracker);
        e_comp_editor_page_add_property_part (page, part, 0, 6, 2, 1);
+
+       part = e_comp_editor_property_part_categories_new (focus_tracker);
+       e_comp_editor_page_add_property_part (page, part, 0, 7, 2, 1);
        memo_editor->priv->categories = part;
 
        part = e_comp_editor_property_part_description_new (focus_tracker);
-       e_comp_editor_page_add_property_part (page, part, 0, 7, 2, 1);
+       e_comp_editor_page_add_property_part (page, part, 0, 8, 2, 1);
        memo_editor->priv->description = part;
 
        e_comp_editor_add_page (comp_editor, C_("ECompEditorPage", "General"), page);


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