utils: Remove get_source_parent_name_color
One less weird function lurking around. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/610>
This commit is contained in:
committed by
Marge Bot
parent
281191b5b3
commit
d16cc2bc68
@@ -110,7 +110,7 @@ create_calendar_row (GcalManager *manager,
|
||||
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box);
|
||||
|
||||
/* Setup also a cool tooltip */
|
||||
get_source_parent_name_color (manager, gcal_calendar_get_source (calendar), &parent_name, NULL);
|
||||
parent_name = e_source_dup_display_name (gcal_calendar_get_parent_source (calendar));
|
||||
|
||||
if (read_only)
|
||||
tooltip = g_strdup_printf (_("%s (this calendar is read-only)"), parent_name);
|
||||
|
||||
Reference in New Issue
Block a user