Romain Vigier
db39b792c2
extensions-app: Change lists style class to .boxed-list
...
The previous `.content` style class is deprecated.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
bd82a335f3
extensions-app: Move headerbar content to the main view
...
With the new borderless style of libadwaita, the global switch in the headerbar
did not look good. Moving it to the main view is the opportunity to also move
the content of the information popover.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
ab5977713b
extensions-app: Use AdwPreferencesPage and AdwPreferencesGroup
...
Give consistent styling and sizing to extensions lists.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
1359cedc00
extensions-app: Vertically center updates bar text
...
With the new stylesheet, the text is too close to the bar border.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
e0f2674d8b
extensions-app: Replace empty views with AdwStatusPage
...
AdwStatusPage provides consistent styling for empty views.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
35b26229bc
extensions-app: Use .content
class for lists
...
Since the `.content` class comes with its own separators, we
don't need the property `use-separators` on the list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
ec0ee7eaec
extensions-app: Use .heading
class for headings
...
Don't hardcode headings styling.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
891978b4eb
extensions-app: Use AdwApplication
...
Initialize libadwaita, which loads the libadwaita stylesheet
and allow following the dark style preference of the system.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 14:33:35 +01:00
Florian Müllner
edd34c50d9
Port extensions app and portal to GTK4
...
With the previous preparations in place, it is time to take the plunge.
As both the app and the portal use the same small library for handling
external windows, port everything at once to avoid the hassle of building
and installing two versions of the library.
With the portal using GTK4 now, all extensions must port their preference
widgets as well.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
3af90918a3
extensions-app: Stop using :margin shortcut
...
The property has been removed in GTK4, so prepare for a port by
setting the four individual margin properties instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
ad6fbaa245
extensions-app: Don't use deprecated margin-left/right properties
...
Use the text-direction-aware start/end variants instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
8eb1792d39
extensions-app: Use consistent style for property names
...
GtkBuilder understands both dashes and underscores in property names,
and we currently use a mix of both. The actual properties use dashes,
so settle on that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
20a68a609c
extensions-app: Set title on window instead of headerbar
...
GTK4 will remove the GtkHeaderBar:title property, so stop using it
and set the window's title property instead, as that's what headbars
use in both GTK3 and GTK4 unless explicitly overridden.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
9ef59b3b4f
extensions-app: Add extension filtering
...
It's possible for the list of installed extension to get long
enough to make searching more convenient than scrolling.
Support that by implementing the standard search pattern[0]
with a hidden search bar and a toggle in the headerbar.
[0] https://developer.gnome.org/hig/stable/search.html.en
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3382
2020-11-12 22:05:46 +00:00
AsciiWolf
05485fe04c
extensions-app: Fix translatable string
...
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1231
2020-05-01 14:14:35 +02:00
Florian Müllner
0a4974ac8c
extensions-app: Do not expand headerbar switch
...
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2563
2020-04-03 02:29:55 +00:00
Florian Müllner
39e6375aff
extensions-app: Move Extensions app to new subproject
...
The Extensions app code is now independent enough from the rest of the code
base to move it to its own subprojects, like we did for the extensions-tool.
This allows for stand-alone builds of the app, which we are about to use
for distributing it as flatpak.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1133
2020-03-27 23:33:30 +00:00