From 7f38b5829c16f979268959272922e5ff86802da8 Mon Sep 17 00:00:00 2001 From: heiko tietze Date: Fri, 23 Nov 2018 14:00:00 +0100 Subject: Infobar showing donation alternating with getinvolved Change-Id: Ia103201667c3469071f19450589bd22faf3ae80e Reviewed-on: https://gerrit.libreoffice.org/63883 Reviewed-by: Heiko Tietze Tested-by: Heiko Tietze --- include/sfx2/strings.hrc | 2 ++ include/sfx2/viewfrm.hxx | 1 + 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc index ec2867206e54..a77dbc86d77d 100644 --- a/include/sfx2/strings.hrc +++ b/include/sfx2/strings.hrc @@ -246,6 +246,8 @@ #define STR_NONCHECKEDOUT_DOCUMENT NC_("STR_NONCHECKEDOUT_DOCUMENT", "This document is not checked out on the server.") #define STR_GET_INVOLVED_TEXT NC_("STR_GET_INVOLVED_TEXT", "Help us make %PRODUCTNAME even better!") #define STR_GET_INVOLVED_BUTTON NC_("STR_GET_INVOLVED_BUTTON", "Get involved") +#define STR_GET_DONATE_TEXT NC_("STR_GET_DONATE_TEXT", "Your donations support our worldwide community.") +#define STR_GET_DONATE_BUTTON NC_("STR_GET_DONATE_BUTTON", "Donate") #define STR_READONLY_DOCUMENT NC_("STR_READONLY_DOCUMENT", "This document is open in read-only mode.") #define STR_READONLY_PDF NC_("STR_READONLY_PDF", "This PDF is open in read-only mode to allow signing the existing file.") #define STR_CLASSIFIED_DOCUMENT NC_("STR_CLASSIFIED_DOCUMENT", "The classification label of this document is %1.") diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index 053ff2513d8e..6d9ef75b8ffe 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -77,6 +77,7 @@ protected: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; DECL_LINK(GetInvolvedHandler, Button*, void); + DECL_LINK(GetDonateHandler, Button*, void); DECL_LINK(SwitchReadOnlyHandler, Button*, void); DECL_LINK(SignDocumentHandler, Button*, void); SAL_DLLPRIVATE void KillDispatcher_Impl(); -- cgit