diff options
| author | Gilles G <[email protected]> | 2014-12-16 20:08:40 +1100 | 
|---|---|---|
| committer | Stefano Karapetsas <[email protected]> | 2015-01-14 09:01:13 +0100 | 
| commit | a9e4eb2d79bb8ee22916b189b3e251998704a6c6 (patch) | |
| tree | 17e598c06a9e81d5faac8713b5ad531a71e40957 | |
| parent | 81948fae67837b06e7fc6512f980e63a0e378240 (diff) | |
| download | mate-panel-a9e4eb2d79bb8ee22916b189b3e251998704a6c6.tar.bz2 mate-panel-a9e4eb2d79bb8ee22916b189b3e251998704a6c6.tar.xz  | |
Set Cancel as default action when deleting a panel/drawer
Closes https://github.com/mate-desktop/mate-panel/pull/268
| -rw-r--r-- | mate-panel/panel.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel.c b/mate-panel/panel.c index ce22432e..0313e8e3 100644 --- a/mate-panel/panel.c +++ b/mate-panel/panel.c @@ -1365,7 +1365,7 @@ panel_deletion_dialog (PanelToplevel *toplevel)  				GTK_STOCK_DELETE, GTK_RESPONSE_OK,  				NULL); -	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); +	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);  	gtk_window_set_screen (GTK_WINDOW (dialog),  				gtk_window_get_screen (GTK_WINDOW (toplevel)));  | 
