From 6c57151f73419204046093be838fd7e6f1081594 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Jan 2020 10:17:57 +0800 Subject: [PATCH] delete-suspend-hibernate --- mate-session/gsm-logout-dialog.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c index 36aad7b..674baba 100644 --- a/mate-session/gsm-logout-dialog.c +++ b/mate-session/gsm-logout-dialog.c @@ -463,17 +463,17 @@ gsm_get_dialog (GsmDialogLogoutType type, logout_dialog->default_response = GSM_LOGOUT_RESPONSE_SHUTDOWN; - if (gsm_logout_supports_system_suspend (logout_dialog)) { - gtk_dialog_add_button (GTK_DIALOG (logout_dialog), - _("S_uspend"), - GSM_LOGOUT_RESPONSE_SLEEP); - } - - if (gsm_logout_supports_system_hibernate (logout_dialog)) { - gtk_dialog_add_button (GTK_DIALOG (logout_dialog), - _("_Hibernate"), - GSM_LOGOUT_RESPONSE_HIBERNATE); - } + // if (gsm_logout_supports_system_suspend (logout_dialog)) { + // gtk_dialog_add_button (GTK_DIALOG (logout_dialog), + // _("S_uspend"), + // GSM_LOGOUT_RESPONSE_SLEEP); + // } + + // if (gsm_logout_supports_system_hibernate (logout_dialog)) { + // gtk_dialog_add_button (GTK_DIALOG (logout_dialog), + // _("_Hibernate"), + // GSM_LOGOUT_RESPONSE_HIBERNATE); + // } if (gsm_logout_supports_reboot (logout_dialog)) { gtk_dialog_add_button (GTK_DIALOG (logout_dialog), -- 2.23.0