Kaydet (Commit) 4b5f8544 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#117057 use same style warning as elsewhere

Change-Id: I3072c7725d0769c0a4a1974664b1546ca3ee35ad
Reviewed-on: https://gerrit.libreoffice.org/53036Tested-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 201ec4ed
......@@ -15,10 +15,6 @@ namespace dbaccess
{
class MigrationWarnDialog : public weld::MessageDialogController
{
private:
std::unique_ptr<weld::Button> m_xOkBtn;
std::unique_ptr<weld::Button> m_xLaterBtn;
public:
MigrationWarnDialog(weld::Window* pParent);
};
......
......@@ -13,8 +13,6 @@ namespace dbaccess
{
MigrationWarnDialog::MigrationWarnDialog(weld::Window* pParent)
: MessageDialogController(pParent, "TODOUIfile", "MigrationWarnDialog", "ask")
, m_xOkBtn(m_xBuilder->weld_button("yes"))
, m_xLaterBtn(m_xBuilder->weld_button("later"))
{
}
}
......
......@@ -13,8 +13,6 @@ namespace dbaui
{
MigrationWarnDialog::MigrationWarnDialog(weld::Window* pParent)
: MessageDialogController(pParent, "dbaccess/ui/migrwarndlg.ui", "MigrationWarnDialog")
, m_xOkBtn(m_xBuilder->weld_button("yes"))
, m_xLaterBtn(m_xBuilder->weld_button("later"))
{
}
}
......
......@@ -15,10 +15,6 @@ namespace dbaui
{
class MigrationWarnDialog : public weld::MessageDialogController
{
private:
std::unique_ptr<weld::Button> m_xOkBtn;
std::unique_ptr<weld::Button> m_xLaterBtn;
public:
MigrationWarnDialog(weld::Window* pParent);
};
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<!-- Generated with glade 3.20.4 -->
<interface domain="sfx">
<requires lib="gtk+" version="3.18"/>
<object class="GtkMessageDialog" id="MigrationWarnDialog">
<property name="can_focus">False</property>
<property name="type_hint">dialog</property>
<property name="title" translatable="yes" context="migrationwarndialog|MigrationWarnDialog">Confirm Migration</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
<property name="text" translatable="yes" context="migrationwarndialog|MigrationWarnDialog">The document contains embedded HSQL data, which is deprecated.</property>
<property name="secondary_text" translatable="yes" context="migrationwarndialog|MigrationWarnDialog">Would you like to migrate to Firebird now?</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="can_focus">False</property>
......@@ -16,13 +18,13 @@
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="yes">
<property name="label" translatable="yes" context="migrationwarndialog|yes">yes</property>
<property name="label">gtk-yes</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">True</property>
......@@ -31,11 +33,12 @@
</packing>
</child>
<child>
<object class="GtkButton" id="later">
<property name="label" translatable="yes" context="migrationwarndialog|later">later</property>
<object class="GtkButton" id="no">
<property name="label" translatable="yes" context="migrationwarndialog|later">_Later</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">True</property>
......@@ -50,24 +53,14 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="migrationwarndialog|dialogmessage">The document contains embedded HSQL data, which is deprecated.
Would you like to migrate to Firebird now?</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget response="-5">yes</action-widget>
<action-widget response="-6">later</action-widget>
<action-widget response="-6">no</action-widget>
</action-widgets>
<child>
<placeholder/>
</child>
</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