Kaydet (Commit) 1ae19dfa authored tarafından Enrico Tröger's avatar Enrico Tröger

Properly close the toolbar editor on delete-events.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3914 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 6334ebbd
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
src/highlighting.c: src/highlighting.c:
Add second argument to the 'line_wrap_indent' styling setting to Add second argument to the 'line_wrap_indent' styling setting to
control the new Scintilla indentation mode for wrapped lines. control the new Scintilla indentation mode for wrapped lines.
* src/toolbar.c:
Properly close the toolbar editor on delete-events.
2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
...@@ -958,7 +958,7 @@ void toolbar_configure(void) ...@@ -958,7 +958,7 @@ void toolbar_configure(void)
utils_write_file(filename, markup); utils_write_file(filename, markup);
g_free(markup); g_free(markup);
if (response == GTK_RESPONSE_CLOSE) if (response == GTK_RESPONSE_CLOSE || response == GTK_RESPONSE_DELETE_EVENT)
break; break;
} }
gtk_widget_destroy(tbw->dialog); gtk_widget_destroy(tbw->dialog);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment