From 9fee0ace4ceb7c30b28a4ab8718c21db724f5673 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 15 Jun 2015 20:30:02 +0300 Subject: [PATCH] styles gen tab fixed, linux nautilus changed to xdg-open, source for 0.8.25.dev version --- Telegram/SourceFiles/_other/genstyles.cpp | 2 +- Telegram/SourceFiles/pspecific_linux.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/_other/genstyles.cpp b/Telegram/SourceFiles/_other/genstyles.cpp index 668f06c5c8..f4797d0a80 100644 --- a/Telegram/SourceFiles/_other/genstyles.cpp +++ b/Telegram/SourceFiles/_other/genstyles.cpp @@ -1574,7 +1574,7 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org\n\ tcpp << "\tFontFamilies _fontFamilies;\n"; tcpp << "\tFontDatas _fontsMap;\n"; tcpp << "\tColorDatas _colorsMap;\n"; - tcpp << "int _spriteWidth = " << spriteWidths[0] << ";\n\n"; + tcpp << "\tint _spriteWidth = " << spriteWidths[0] << ";\n\n"; tcpp << "\tvoid startManager() {\n"; tcpp << "\n\t\tif (cRetina()) {\n"; diff --git a/Telegram/SourceFiles/pspecific_linux.cpp b/Telegram/SourceFiles/pspecific_linux.cpp index 5b9ffef100..75c20c365b 100644 --- a/Telegram/SourceFiles/pspecific_linux.cpp +++ b/Telegram/SourceFiles/pspecific_linux.cpp @@ -1101,7 +1101,7 @@ void psOpenFile(const QString &name, bool openWith) { void psShowInFolder(const QString &name) { App::wnd()->layerHidden(); - system((qsl("nautilus ") + escapeShell(QFileInfo(name).absoluteDir().absolutePath())).toUtf8().constData()); + system((qsl("xdg-open ") + escapeShell(QFileInfo(name).absoluteDir().absolutePath())).toUtf8().constData()); } void psStart() {