[gnome-control-center] users: Fix fingerprint delete dialog formatting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] users: Fix fingerprint delete dialog formatting
- Date: Tue, 10 Mar 2015 10:43:37 +0000 (UTC)
commit 165be44369de57a0a02973f27ff5cb3b483b0fba
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 9 13:56:19 2015 -0400
users: Fix fingerprint delete dialog formatting
The manual borderwidth setting breaks message dialog appearance.
While we are here, remove some unnecessary calls.
https://bugzilla.gnome.org/show_bug.cgi?id=745908
panels/user-accounts/um-fingerprint-dialog.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/panels/user-accounts/um-fingerprint-dialog.c b/panels/user-accounts/um-fingerprint-dialog.c
index 04a85ba..7729091 100644
--- a/panels/user-accounts/um-fingerprint-dialog.c
+++ b/panels/user-accounts/um-fingerprint-dialog.c
@@ -271,10 +271,7 @@ delete_fingerprints_question (GtkWindow *parent,
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (question),
_("Do you want to delete your registered fingerprints so
fingerprint login is disabled?"));
- gtk_container_set_border_width (GTK_CONTAINER (question), 5);
gtk_dialog_set_default_response (GTK_DIALOG (question), GTK_RESPONSE_OK);
- gtk_window_set_position (GTK_WINDOW (question), GTK_WIN_POS_CENTER_ON_PARENT);
- gtk_window_set_modal (GTK_WINDOW (question), TRUE);
if (gtk_dialog_run (GTK_DIALOG (question)) == GTK_RESPONSE_OK) {
delete_fingerprints ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]