summary-section: Use expandable entries
Now the entry grows as much as possible to accomodate the text. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/153
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "gcal-context.h"
|
||||
#include "gcal-debug.h"
|
||||
#include "gcal-event-editor-section.h"
|
||||
#include "gcal-expandable-entry.h"
|
||||
#include "gcal-summary-section.h"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
@@ -167,6 +168,8 @@ gcal_summary_section_class_init (GcalSummarySectionClass *klass)
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
|
||||
|
||||
g_type_ensure (GCAL_TYPE_EXPANDABLE_ENTRY);
|
||||
|
||||
object_class->finalize = gcal_summary_section_finalize;
|
||||
object_class->get_property = gcal_summary_section_get_property;
|
||||
object_class->set_property = gcal_summary_section_set_property;
|
||||
|
||||
Reference in New Issue
Block a user