Commit graph

20 commits

Author SHA1 Message Date
Christopher Davis
c439ef09a0 media_viewer: Remove placeholders
These are not needed.
2020-11-06 08:12:13 +00:00
Christopher Davis
4839d9d1fe media_viewer: Remove GtkAlignment
GtkAlignment is deprecated and no longer used
in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
526daeeaa2 media_viewer: Remove redundant child properties
Limit our use of child properties to only what's
absolutely necessary, as child properties will
be going away in GTK4
2020-11-06 08:12:13 +00:00
Christopher Davis
f615362d6e media_viewer: Make OSD buttons circular
Newer mockups for image viewers have circular
navigation buttons.
2020-10-18 16:13:25 -07:00
Christopher Davis
1a552c5fbf fractal-gtk: Refactor window to use HdyDeck
Helps simplify how we handle pages, as well as
adding support for swiping between the main view
and different subviews.
2020-09-21 15:51:25 -07:00
Alexandre Franke
5921e2b1ee media: add tooltip to fullscreen button
Fixes #272
2020-07-28 20:17:12 +02:00
James Westman
36ce8cd1cf media_viewer: Swipe to navigate
Adds a swipe gesture to navigate back and forth in the media viewer.

Also removes the scrolled window and viewport, since they aren't necessary.
2020-07-16 16:16:51 -05:00
Sonja Heinze
8ec00cfc9f Assimilate room context menus
Before, the three dot context menu button in the media viewer only provided
the option "Save as". Now, it provides the same popover, right click on
the corresponding media widget in the room history does. That is the
same popover as the one the three dot context menu button of videos in
the room history provides.
2020-03-06 02:33:53 +01:00
Christopher Davis
a10c7c4ad6 ui: Unmark placeholders as translatable
As per https://gitlab.gnome.org/GNOME/fractal/issues/397,
removes translation for strings that are replaces and
translated within the code.

Fixes #397
2019-04-29 20:01:27 -04:00
Christopher Davis
d0887529fa media_viewer: Remove zoom controls
Until we get a proper image viewer widget, we've
decided that it's best to remove the zoom controls
instead of having broken ones.
2019-04-02 07:43:04 +00:00
Julian Sparber
29a77d6ec6 refactor: Add back action to go to previous view
This uses a store to keep track of the AppStates, so the user can go
back to the previous state by clicking the back button or press Escape.
2018-12-12 15:20:43 +01:00
Alexander Mikhaylenko
081517ebe2 media_viewer.ui: Remove double border 2018-08-19 23:39:14 +05:00
Eisha CHEN-YEN-SU
e1ce741305 MediaViewer: Add a notification when loading
This adds a notification showing when the previous media are being
loaded.

See https://gitlab.gnome.org/World/fractal/issues/265
2018-07-05 15:05:27 +02:00
Eisha CHEN-YEN-SU
5c0240313b MediaViewer: Change full screen button icon
This changes the full screen's button icon when in full screen mode to
show the icon "view-restore-symbolic" as it is more appropriate.

See https://gitlab.gnome.org/World/fractal/issues/265
2018-07-02 19:39:24 +02:00
Daniel García Moreno
0365818900 MediaViewer: Fullscreen bar with full width 2018-07-02 08:58:54 +02:00
Eisha CHEN-YEN-SU
3a00618fcc UI: Add a headerbar revealer to the overlay
See https://gitlab.gnome.org/World/fractal/issues/265
2018-07-01 18:05:51 +02:00
Eisha CHEN-YEN-SU
fb42490d55 UI: Implement media viewer overflow menu
See https://gitlab.gnome.org/World/fractal/issues/76
2018-06-18 00:28:56 +02:00
Eisha CHEN-YEN-SU
5e009af26a MediaViewer: Move navigation buttons to overlays
See https://gitlab.gnome.org/World/fractal/issues/13
2018-06-14 13:15:15 +02:00
Eisha CHEN-YEN-SU
77943c0068 MediaViewer: Display the filename in the title
This displays the image's filename in the headerbar's title.

See https://gitlab.gnome.org/World/fractal/issues/13
2018-06-12 17:18:13 +02:00
Eisha CHEN-YEN-SU
3ea23f89fe UI: Implement the media viewer design
See https://gitlab.gnome.org/World/fractal/issues/13
2018-06-12 17:16:12 +02:00