summaryrefslogtreecommitdiff
path: root/shell/ev-password-view.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:43:23 +0200
committerraveit65 <[email protected]>2019-07-01 17:07:40 +0200
commitaa24676651f8bd3e8b434f72d5aac98e84c0867d (patch)
tree37693766ecb4733c6061dcc2ddc26954fab5ca01 /shell/ev-password-view.c
parent6741c5db1e5c48c01b25bb7900dc40d48552925d (diff)
downloadatril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.bz2
atril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'shell/ev-password-view.c')
-rw-r--r--shell/ev-password-view.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c
index 0bf8ea90..7f1b98b0 100644
--- a/shell/ev-password-view.c
+++ b/shell/ev-password-view.c
@@ -140,7 +140,7 @@ ev_password_view_init (EvPasswordView *password_view)
_("This document is locked and can only be read by entering the correct password."));
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);
-
+
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
@@ -189,15 +189,15 @@ ev_password_dialog_got_response (GtkDialog *dialog,
EvPasswordView *password_view)
{
gtk_widget_set_sensitive (GTK_WIDGET (password_view), TRUE);
-
+
if (response_id == GTK_RESPONSE_OK) {
g_free (password_view->priv->password);
password_view->priv->password =
g_strdup (gtk_entry_get_text (GTK_ENTRY (password_view->priv->password_entry)));
-
+
g_signal_emit (password_view, password_view_signals[UNLOCK], 0);
}
-
+
gtk_widget_destroy (GTK_WIDGET (dialog));
}
@@ -207,7 +207,7 @@ ev_password_dialog_remember_button_toggled (GtkToggleButton *button,
{
if (gtk_toggle_button_get_active (button)) {
gpointer data;
-
+
data = g_object_get_data (G_OBJECT (button), "password-save");
password_view->priv->password_save = GPOINTER_TO_INT (data);
}
@@ -243,7 +243,7 @@ ev_password_view_ask_password (EvPasswordView *password_view)
gchar *text, *markup, *file_name;
gtk_widget_set_sensitive (GTK_WIDGET (password_view), FALSE);
-
+
dialog = GTK_DIALOG (gtk_dialog_new ());
content_area = gtk_dialog_get_content_area (dialog);
action_area = gtk_dialog_get_action_area (dialog);
@@ -267,7 +267,7 @@ ev_password_view_ask_password (EvPasswordView *password_view)
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog),
GTK_RESPONSE_OK, FALSE);
-
+
/* Build contents */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
@@ -341,7 +341,7 @@ ev_password_view_ask_password (EvPasswordView *password_view)
gtk_grid_attach (GTK_GRID (grid), password_view->priv->password_entry, 1, 0, 1, 1);
gtk_widget_set_hexpand (password_view->priv->password_entry, TRUE);
gtk_widget_show (password_view->priv->password_entry);
-
+
gtk_label_set_mnemonic_widget (GTK_LABEL (label),
password_view->priv->password_entry);
@@ -394,7 +394,7 @@ ev_password_view_ask_password (EvPasswordView *password_view)
g_signal_connect (dialog, "response",
G_CALLBACK (ev_password_dialog_got_response),
password_view);
-
+
gtk_widget_show (GTK_WIDGET (dialog));
}