summaryrefslogtreecommitdiff
path: root/onlineupdate/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-22 19:59:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-22 20:01:56 +0200
commitc832aae70e55f5f97f5f9093735f493cd29cd9b9 (patch)
tree2be58f58f2f2fd4a277ceaa15b48d98de74d27d0 /onlineupdate/source
parentca089c7e204a6dec7fc3ee2c83fc0aefbafaecfa (diff)
updater: get the updater GUI working on Linux
Change-Id: I3e7edb5319ab2e2ec316204b917a7e29c1791b5b
Diffstat (limited to 'onlineupdate/source')
-rw-r--r--onlineupdate/source/update/updater/progressui_gtk.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/onlineupdate/source/update/updater/progressui_gtk.cxx b/onlineupdate/source/update/updater/progressui_gtk.cxx
index fecd98a8730a..595a29ad68cf 100644
--- a/onlineupdate/source/update/updater/progressui_gtk.cxx
+++ b/onlineupdate/source/update/updater/progressui_gtk.cxx
@@ -11,6 +11,7 @@
#include "progressui.h"
#include "readstrings.h"
#include "errors.h"
+#include <string.h>
#define TIMER_INTERVAL 100
@@ -76,7 +77,10 @@ ShowProgressUI()
StringTable strings;
if (ReadStrings(ini_path, &strings) != OK)
- return -1;
+ {
+ strcpy(strings.title, "LibreOffice Updater");
+ strcpy(strings.info, "This program is updating your LibreOffice installation.");
+ }
sWin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
if (!sWin)