Deleted Added
full compact
gnome-ssh-askpass2.c (180746) gnome-ssh-askpass2.c (204861)
1/*
2 * Copyright (c) 2000-2002 Damien Miller. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 106 unchanged lines hidden (view full) ---

115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))->label),
116 TRUE);
117
118 /* Make <enter> close dialog */
119 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
120 g_signal_connect(G_OBJECT(entry), "activate",
121 G_CALLBACK(ok_dialog), dialog);
122
1/*
2 * Copyright (c) 2000-2002 Damien Miller. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 106 unchanged lines hidden (view full) ---

115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))->label),
116 TRUE);
117
118 /* Make <enter> close dialog */
119 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
120 g_signal_connect(G_OBJECT(entry), "activate",
121 G_CALLBACK(ok_dialog), dialog);
122
123 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
124
123 /* Grab focus */
124 gtk_widget_show_now(dialog);
125 if (grab_pointer) {
126 for(;;) {
127 status = gdk_pointer_grab(
128 (GTK_WIDGET(dialog))->window, TRUE, 0, NULL,
129 NULL, GDK_CURRENT_TIME);
130 if (status == GDK_GRAB_SUCCESS)

--- 91 unchanged lines hidden ---
125 /* Grab focus */
126 gtk_widget_show_now(dialog);
127 if (grab_pointer) {
128 for(;;) {
129 status = gdk_pointer_grab(
130 (GTK_WIDGET(dialog))->window, TRUE, 0, NULL,
131 NULL, GDK_CURRENT_TIME);
132 if (status == GDK_GRAB_SUCCESS)

--- 91 unchanged lines hidden ---