Ilya Fedin
d319c85c57
Don't load another gtk version if gtk_init_check was called
2020-06-29 16:27:45 +04:00
Ilya Fedin
06a4480520
Drop unneeded GTK methods
2020-06-23 21:29:18 +04:00
Ilya Fedin
3a91003eea
Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595
2020-06-17 20:34:47 +04:00
Ilya Fedin
d45e74619d
Use Platform::IsWayland from lib_base
2020-06-03 11:43:55 +04:00
Ilya Fedin
d92b5eebcc
Restore X error handler just like qgtk3
2020-06-03 11:31:34 +04:00
Ilya Fedin
5c6b4d95b0
Suppress warning about transient parent when opening gtk file dialog
2020-06-03 11:31:34 +04:00
Ilya Fedin
413ddf285e
Fix crash in gtk file dialog on Wayland
2020-06-01 18:22:53 +04:00
Ilya Fedin
7ac78be984
Load gtk2 even on Wayland
2020-06-01 18:22:53 +04:00
Ilya Fedin
4c546156da
Remove duplicate log line
2020-06-01 18:22:53 +04:00
Ilya Fedin
1fb1d57a27
Get system icon theme on gtk-based DEs
2020-06-01 18:19:34 +04:00
Ilya Fedin
3b4dfa1381
Use LXQt's StatusNotifierItem implementation instead of appindicator
2020-02-05 18:38:34 +04:00
John Preston
4eeac7dc18
Fix whitespace and indentation errors.
...
See #6672 , thanks Sea-n.
2020-01-02 14:25:53 +03:00
ilya-fedin
3d36b4f866
Replace libnotify with QtDBus notification implementation ( #6825 )
2019-12-29 18:41:45 +03:00
John Preston
c9c0d74b68
Fix build for Linux.
2019-09-09 17:50:26 +03:00
John Zimmermann
fd4f384c3b
Allow GDK wayland backend when Telegram is running under Wayland
...
and make sure that it never tries to load gtk2 under wayland, it can
lead to Telegram crashing
2019-09-09 10:25:01 +03:00
John Zimmermann
add2356c8a
Generalize Unity Integration to not depend on libunity
2019-02-01 12:34:55 +03:00
Nicholas Guriev
b6432e7d13
Switch to Ayatana Indicators
2018-11-13 10:30:54 +04:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
eegorov
8bfe407610
New build option: without GTK and appindicator
...
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2017-09-28 18:32:51 +03:00
John Preston
8884cb190a
Version 1.0.27: Fix launch in Ubuntu 17.04
...
Ubuntu 17.04 launch results in segfault if the build was done
by GCC 6.2 (works fine with GCC 4.9). Backtrace shows that it
crashes in gtk_init_check() call somewhere in libmirclient and
tests show that it works fine with GDK_BACKEND=x11.
So we use gdk_set_allowed_backends() method to explicitly state
that we support only "x11" GDK backend, that way it doesn't try
to use libmirclient and it does not crash.
Fix #3176 #3162
2017-03-31 13:46:55 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
4838d1bfc9
GTK file chooser image preview support added. #2968
...
Thanks to Chromium code.
Also fixed build on GCC / Linux.
2017-02-26 22:27:57 +03:00
John Preston
dcd6028e91
Loading libunity only in Unity and Pantheon. #3053
...
Commit 296c800b39
introduced a regression which caused crashes
in some ArchLinux distros when attempting to load or use libunity.
2017-02-26 21:02:46 +03:00
John Preston
296c800b39
Load libunity in all DEs to set dock icon counter. #956
...
Before we tried loading and using libunity only in Unity DE.
2017-02-10 20:45:11 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
Marco Trevisan
2dadf7ce57
linux-libs: parse XDG_CURRENT_DESKTOP as colon separated list ( #2663 )
...
Signed-off-by: Marco Trevisan <mail@3v1n0.net> (github: 3v1n0)
2016-11-23 10:25:11 +01:00
John Preston
fc7c5d0ab3
Fixed travis build for TDESKTOP_DISABLE_AUTOUPDATE case.
2016-10-18 10:56:38 +03:00
John Preston
c9288f2d0a
Native notifications switched off by default. Libnotify supported.
2016-10-03 18:07:50 +03:00
John Preston
6db52f7fa9
LibNotify Linux notifications support added, testing.
2016-10-03 11:56:03 +03:00
John Preston
a20dd065fb
Building Qt with -no-gtkstyle and disable forcing "-style=0" in main.cpp
...
We can't use Qt gtk style, because it loads gtk-2 and we are possibly
loading and using gtk-3 for libappindicator3 and it crashes :(
2016-07-07 19:12:52 +03:00
John Preston
f8d95bba71
Using GTK file dialog when it is available.
...
Should work both with GTK 2 and GTK 3.
2016-07-06 21:30:14 +03:00
eegorov
bd8bb426be
New define: TDESKTOP_DISABLE_UNITY_INTEGRATION
...
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2016-06-29 08:38:42 +06:00
John Preston
c73b5a6da4
Styles improved. Members dropdown is shown with a delay.
...
Overview of chat photos fixed. Tray icon tries read a file on Linux.
2016-06-21 17:19:24 +03:00
John Preston
7a9dfb50e1
Build fixed for QtCreator. Linux libs loading order changed.
2016-06-16 20:20:58 +03:00