[gnome-builder/wip/gtk4-port: 1521/1774] plugins/debuggerui: style address ranges nicer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1521/1774] plugins/debuggerui: style address ranges nicer
- Date: Mon, 11 Jul 2022 22:31:48 +0000 (UTC)
commit a13d44e1233cc156e92c0592b9d39e53f6c55331
Author: Christian Hergert <chergert redhat com>
Date: Wed Jun 15 08:36:30 2022 -0700
plugins/debuggerui: style address ranges nicer
We really should convert these to use listview at some point.
src/plugins/debuggerui/ide-debugger-libraries-view.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/plugins/debuggerui/ide-debugger-libraries-view.c
b/src/plugins/debuggerui/ide-debugger-libraries-view.c
index 44c80c806..79c421122 100644
--- a/src/plugins/debuggerui/ide-debugger-libraries-view.c
+++ b/src/plugins/debuggerui/ide-debugger-libraries-view.c
@@ -287,8 +287,17 @@ ide_debugger_libraries_view_class_init (IdeDebuggerLibrariesViewClass *klass)
static void
ide_debugger_libraries_view_init (IdeDebuggerLibrariesView *self)
{
+ g_autoptr(PangoAttrList) tt_attrs = NULL;
+
gtk_widget_init_template (GTK_WIDGET (self));
+ tt_attrs = pango_attr_list_new ();
+ pango_attr_list_insert (tt_attrs, pango_attr_family_new ("Monospace"));
+ pango_attr_list_insert (tt_attrs, pango_attr_scale_new (0.83333));
+ g_object_set (self->range_cell,
+ "attributes", tt_attrs,
+ NULL);
+
self->debugger_signals = ide_signal_group_new (IDE_TYPE_DEBUGGER);
g_signal_connect_swapped (self->debugger_signals,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]