~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/patches/mac/3030-psi-mac-sparkle.diff

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
@@ -89,6 +89,11 @@
47
47
 #include <x11windowsystem.h>
48
48
 #endif
49
 
 
 
49
 
50
50
+#include "AutoUpdater/AutoUpdater.h"
51
51
+#ifdef HAVE_SPARKLE
52
52
+#include "AutoUpdater/SparkleAutoUpdater.h"
53
53
+#endif
54
54
+
55
55
 using namespace XMPP;
56
 
 
 
56
 
57
57
 static const QString showStatusMessagesOptionPath = "options.ui.contactlist.status-messages.show";
58
58
@@ -536,6 +541,9 @@ MainWin::MainWin(bool _onTop, bool _asTo
59
59
        d->getAction("help_online_home")->addTo (helpMenu);
84
84
+#endif
85
85
                        << "help_about"
86
86
                        << "help_about_qt";
87
 
 
 
87
 
88
88
@@ -1097,6 +1105,16 @@ void MainWin::actAboutQtActivated ()
89
89
        QMessageBox::aboutQt(this);
90
90
 }
91
 
 
 
91
 
92
92
+void MainWin::actCheckUpdateActivated()
93
93
+{
94
94
+#ifdef HAVE_SPARKLE
117
117
@@ -387,6 +387,9 @@ void PsiActionList::Private::createMainW
118
118
                IconAction *actPsiMUC = new IconAction (tr("Join Psi Discussion Room (Online)"), tr("&Join Psi Discussion Room (Online)"), 0, this);
119
119
                actOnlineHome->setWhatsThis (tr("Join Psi Discussion Room (Online)"));
120
 
 
 
120
 
121
121
+               IconAction *actCheckUpdate = new IconAction (tr("Check for Updates..."), tr("&Check for Updates..."), 0, this);
122
122
+               actCheckUpdate->setWhatsThis (tr("Check for Updates..."));
123
123
+
124
124
                IconAction *actBugReport = new IconAction (tr("Report a Bug (Online)"), tr("Report a &Bug (Online)"), 0, this);
125
125
                actBugReport->setWhatsThis (tr("Report a Bug (Online)"));
126
 
 
 
126
 
127
127
@@ -415,6 +418,7 @@ void PsiActionList::Private::createMainW
128
128
                        { "help_report_bug",       actBugReport       },
129
129
                        { "help_about",            actAbout           },