Skip to content

Commit

Permalink
version 0.7.17 prepared
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Feb 19, 2015
1 parent 988da75 commit 206176e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 20 deletions.
8 changes: 4 additions & 4 deletions Telegram/PrepareWin.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@echo OFF

set "AppVersion=7016"
set "AppVersionStrSmall=0.7.16"
set "AppVersionStr=0.7.16"
set "AppVersionStrFull=0.7.16.0"
set "AppVersion=7017"
set "AppVersionStrSmall=0.7.17"
set "AppVersionStr=0.7.17"
set "AppVersionStrFull=0.7.17.0"
set "DevChannel=0"

if %DevChannel% neq 0 goto preparedev
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,8 @@ void Application::startApp() {
QString versionFeatures;
if (DevChannel && Local::oldMapVersion() < 7015) {
versionFeatures = QString::fromUtf8("\xe2\x80\x94 Some translation keys added\n\xe2\x80\x94 Linux: fixed semibold font\n\xe2\x80\x94 Linux: tray icon should work better in non-Unity environments");
} else if (!DevChannel && Local::oldMapVersion() < 7016) {
versionFeatures = lang(lng_new_version7016).trimmed();
} else if (!DevChannel && Local::oldMapVersion() < 7017) {
versionFeatures = lang(lng_new_version_minor).trimmed();
}
if (!versionFeatures.isEmpty()) {
versionFeatures = lng_new_version_wrap(lt_version, QString::fromStdWString(AppVersionStr), lt_changes, versionFeatures, lt_link, qsl("https://desktop.telegram.org/#changelog"));
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
*/
#pragma once

static const int32 AppVersion = 7016;
static const wchar_t *AppVersionStr = L"0.7.16";
static const int32 AppVersion = 7017;
static const wchar_t *AppVersionStr = L"0.7.17";
static const bool DevChannel = false;

static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
Expand Down
6 changes: 2 additions & 4 deletions Telegram/SourceFiles/mediaview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ _saveMsgStarted(0), _saveMsgOpacity(0)
setMouseTracking(true);

hide();
psUpdateOverlayed(this);
show();
hide();

createWinId();

connect(&_close, SIGNAL(clicked()), this, SLOT(onClose()));
connect(&_save, SIGNAL(clicked()), this, SLOT(onDownload()));
connect(&_forward, SIGNAL(clicked()), this, SLOT(onForward()));
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Telegram.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.7.16</string>
<string>0.7.17</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
Binary file modified Telegram/Telegram.rc
Binary file not shown.
12 changes: 6 additions & 6 deletions Telegram/Telegram.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7.16;
CURRENT_PROJECT_VERSION = 0.7.17;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -1645,7 +1645,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.7.16;
CURRENT_PROJECT_VERSION = 0.7.17;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
Expand All @@ -1671,10 +1671,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7.16;
CURRENT_PROJECT_VERSION = 0.7.17;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 0.7;
DYLIB_CURRENT_VERSION = 0.7.16;
DYLIB_CURRENT_VERSION = 0.7.17;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down Expand Up @@ -1812,10 +1812,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7.16;
CURRENT_PROJECT_VERSION = 0.7.17;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.7;
DYLIB_CURRENT_VERSION = 0.7.16;
DYLIB_CURRENT_VERSION = 0.7.17;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
echo 7016 0.7.16 0
echo 7017 0.7.17 0
# AppVersion AppVersionStr DevChannel

0 comments on commit 206176e

Please sign in to comment.