Kaydet (Commit) 8ed356fb authored tarafından Caolán McNamara's avatar Caolán McNamara

reserve negative responses for internal responses

Change-Id: Iecf7d25340ff751c2984e27fdd303d2162472344
Reviewed-on: https://gerrit.libreoffice.org/49971Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 60f1490a
......@@ -206,7 +206,7 @@ namespace svtools {
enum QueryDeleteResult_Impl
{
QUERYDELETE_YES = RET_YES,
QUERYDELETE_ALL = -1
QUERYDELETE_ALL = 101
};
class SVT_DLLPUBLIC QueryDeleteDlg_Impl : public MessageDialog
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<!-- Generated with glade 3.20.2 -->
<interface domain="svt">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="QueryDeleteDialog">
......@@ -92,7 +92,7 @@
</child>
<action-widgets>
<action-widget response="2">yes</action-widget>
<action-widget response="-1">all</action-widget>
<action-widget response="101">all</action-widget>
<action-widget response="3">no</action-widget>
<action-widget response="0">cancel</action-widget>
</action-widgets>
......
......@@ -50,7 +50,7 @@ void SSLWarnDialog::response(short nResponseId)
{
switch (nResponseId)
{
case -1:
case 101:
ViewCert();
break;
default:
......
......@@ -75,7 +75,7 @@
<action-widgets>
<action-widget response="1">ok</action-widget>
<action-widget response="0">cancel</action-widget>
<action-widget response="-1">view</action-widget>
<action-widget response="101">view</action-widget>
</action-widgets>
</object>
</interface>
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