diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-22 21:16:58 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-22 21:16:58 +0000 |
| commit | 7d2c8d86113d973c0c2a6748d00cf162412c11f9 (patch) | |
| tree | b01e7975f7f8f7034a39ddcec42901fcd704d455 /src/widgets/desktop-widget.cpp | |
| parent | cppcheck tells us: scanf without field width limits can crash with huge input... (diff) | |
| download | inkscape-7d2c8d86113d973c0c2a6748d00cf162412c11f9.tar.gz inkscape-7d2c8d86113d973c0c2a6748d00cf162412c11f9.zip | |
Fix missing header in units.cpp
Fixed bugs:
- https://launchpad.net/bugs/920154
(bzr r10919)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
| -rw-r--r-- | src/widgets/desktop-widget.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 5b07cddf5..2ca81a474 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -894,8 +894,11 @@ 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); |
