From 46f67c0d67d0e98584c5eba8d7e5d4730c98e1f9 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Mon, 23 Jan 2012 08:52:25 +0000 Subject: Revert accidental commit in desktop-widget.cpp (bzr r10920) --- src/widgets/desktop-widget.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/widgets/desktop-widget.cpp') diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 2ca81a474..5b07cddf5 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -894,11 +894,8 @@ SPDesktopWidget::shutdown() "If you close without saving, your changes will be discarded."), doc->getName()); // fix for bug lp:168809 - //gtk_widget_set_can_focus(GTK_WIDGET(GTK_MESSAGE_DIALOG(dialog)->label), FALSE); + gtk_widget_set_can_focus(GTK_WIDGET(GTK_MESSAGE_DIALOG(dialog)->label), FALSE); - GtkWidget *message_area = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog)); - gtk_widget_set_can_focus(message_area, FALSE); - GtkWidget *close_button; close_button = gtk_button_new_with_mnemonic(_("Close _without saving")); gtk_widget_show(close_button); -- cgit v1.2.3