summaryrefslogtreecommitdiff
path: root/src/capplet/mate-notification-properties.c
diff options
context:
space:
mode:
authorJason Conti <[email protected]>2019-08-31 22:46:55 -0400
committerlukefromdc <[email protected]>2019-09-02 04:05:21 +0000
commit6f41c85b6baf66ed8c7a967b1cba95d11ffdae88 (patch)
tree89ad20cadfb1c6952f0f4688c67594fc554f36aa /src/capplet/mate-notification-properties.c
parent975184923121ac2047020922c144763bb3ddb842 (diff)
downloadmate-notification-daemon-6f41c85b6baf66ed8c7a967b1cba95d11ffdae88.tar.bz2
mate-notification-daemon-6f41c85b6baf66ed8c7a967b1cba95d11ffdae88.tar.xz
mate-notification-properties: initialize do-not-disturb checkbox
Diffstat (limited to 'src/capplet/mate-notification-properties.c')
-rw-r--r--src/capplet/mate-notification-properties.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/capplet/mate-notification-properties.c b/src/capplet/mate-notification-properties.c
index 758aa11..d0c3acf 100644
--- a/src/capplet/mate-notification-properties.c
+++ b/src/capplet/mate-notification-properties.c
@@ -612,6 +612,8 @@ static gboolean notification_properties_dialog_init(NotificationAppletDialog* di
gtk_widget_set_sensitive(dialog->monitor_label, TRUE);
}
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON (dialog->dnd_checkbox), g_settings_get_boolean(dialog->gsettings, GSETTINGS_KEY_DO_NOT_DISTURB));
+
gtk_widget_show_all(dialog->dialog);
dialog->preview = NULL;