summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-01-23 08:52:25 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-01-23 08:52:25 +0000
commit46f67c0d67d0e98584c5eba8d7e5d4730c98e1f9 (patch)
tree7d3c43499a886a2f701bd033b0ad65a517be34e2 /src/widgets/desktop-widget.cpp
parentFix missing header in units.cpp (diff)
downloadinkscape-46f67c0d67d0e98584c5eba8d7e5d4730c98e1f9.tar.gz
inkscape-46f67c0d67d0e98584c5eba8d7e5d4730c98e1f9.zip
Revert accidental commit in desktop-widget.cpp
(bzr r10920)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp5
1 files changed, 1 insertions, 4 deletions
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);