Added DPI stage box on mouse panel

This commit is contained in:
2023-09-28 13:10:31 +02:00
parent 356d0b975d
commit 84735a86f0
2 changed files with 6 additions and 32 deletions
+3 -1
View File
@@ -5,7 +5,8 @@ struct _MousePanel
Panel parent_instance;
GtkImage* mouse_image;
GtkLabel* mouse_name;
GtkLabel* mouse_name;
AdwPreferencesGroup* dpi_preference_group;
};
G_DEFINE_TYPE (MousePanel, mouse_panel, panel_get_type())
@@ -21,6 +22,7 @@ mouse_panel_class_init(MousePanelClass* klass)
gtk_widget_class_bind_template_child(widget_class, MousePanel, mouse_image);
gtk_widget_class_bind_template_child(widget_class, MousePanel, mouse_name);
gtk_widget_class_bind_template_child(widget_class, MousePanel, dpi_preference_group);
}
static void