fractal/fractal-gtk/src
sonjita 4dfa5989f2 Drop Data struct when exiting media viewer
Before, when entering the media viewer, the MediaViewer struct was only
temporary, whereas the Data struct was kept alive. But the Data struct
was kept forever, even when exiting the media viewer. As a result,
the last media widget, i.e. Image or VideoPlayerWidget, seen in the
media viewer wasn't dropped either.

With this commit, the MediaViewer struct is kept as long as the
media viewer is open; the Data struct is kept with it. When the
user navigates out of the media viewer, both of them get dropped.
Therefore, the corresponding widget gets dropped, too.
2020-01-27 17:57:39 +01:00
..
actions actions: Unwrap roomid variant for change_avatar 2020-01-07 08:25:36 +01:00
app fractal-gtk: Remove not needed use to clean warnings 2020-01-23 18:04:17 +01:00
appop Drop Data struct when exiting media viewer 2020-01-27 17:57:39 +01:00
cache API, BackendData: remove server_url field 2019-10-23 21:08:12 +02:00
widgets Drop Data struct when exiting media viewer 2020-01-27 17:57:39 +01:00
config.rs.in build: Use config.rs instead of env! macro 2019-04-27 16:24:08 +00:00
globals.rs AppOp: Change identity_url field type to Url 2019-10-12 18:50:39 +02:00
i18n.rs Use .unwrap_or_default() instead of .unwrap_or() where possible 2019-01-06 17:48:37 +01:00
main.rs [fractal-gtk] display correct fractal version 2019-12-20 22:28:23 +01:00
meson.build build: Add 'doc' task 2019-04-29 12:42:50 +00:00
passwd.rs AppOp: Store all login-dependent data into an optional field 2019-12-23 01:25:31 +01:00
static_resources.rs.in New release 4.2.1 2019-09-21 08:58:13 +02:00
uibuilder.rs uibuilder: Fix the room permission string 2019-09-01 20:51:22 -07:00
uitypes.rs Implementation of video player 2020-01-27 10:46:21 +01:00
util.rs API: Remove access_token from BackendData 2019-11-06 22:08:48 +01:00