Skip to content

Commit 1b1c6f1

Browse files
authored
Merge branch 'main' into wpkelso/styles/avatar
2 parents 28e947e + 5d329d6 commit 1b1c6f1

File tree

20 files changed

+1300
-121
lines changed

20 files changed

+1300
-121
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- name: Install Dependencies
2424
run: |
2525
apt update
26-
apt install -y meson gobject-introspection libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev libshumate-dev sassc valac
26+
apt install -y meson gobject-introspection libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev libshumate-dev sassc valac valadoc gtk-doc-tools
2727
- name: Build
2828
env:
2929
DESTDIR: out
3030
PKG_CONFIG_PATH: ${{ github.workspace }}/build/meson-uninstalled
3131
run: |
32-
meson build
32+
meson setup build -Ddocumentation=true
3333
ninja -C build
3434
ninja -C build install
3535

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ You'll need the following dependencies:
2222
To build the Demo you'll additionally need:
2323
* libshumate-dev
2424

25-
Run `meson build` to configure the build environment:
25+
Run `meson setup` to configure the build environment:
2626

27-
meson build --prefix=/usr
27+
meson setup build --prefix=/usr
2828

2929
This command creates a `build` directory. For all following commands, change to
3030
the build directory before running them.

data/granite.metainfo.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<update_contact>contact_at_elementary.io</update_contact>
2828

2929
<releases>
30-
<release version="7.7.0" date="2025-02-10" urgency="medium">
30+
<release version="7.7.0" date="2025-09-30" urgency="medium">
3131
<description>
3232
<p>New Icons:</p>
3333
<ul>

demo/Views/HyperTextViewGrid.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public class HyperTextViewGrid : DemoPage {
2727
var hypertext_scrolled_window = new Gtk.ScrolledWindow () {
2828
height_request = 300,
2929
width_request = 600,
30-
child = hypertext_textview
30+
child = hypertext_textview,
31+
has_frame = true
3132
};
32-
hypertext_scrolled_window.add_css_class (Granite.STYLE_CLASS_FRAME);
3333

3434
var box = new Granite.Box (VERTICAL, NONE) {
3535
halign = CENTER,

demo/Views/WelcomeView.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class WelcomeView : DemoPage {
4545
margin_start = 12
4646
};
4747
listbox.set_placeholder (search_placeholder);
48-
listbox.add_css_class (Granite.STYLE_CLASS_FRAME);
48+
listbox.add_css_class (Granite.CssClass.CARD);
4949

5050
var search_entry = new Gtk.SearchEntry () {
5151
margin_top = 12,

lib/StyleManager.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Granite.StyleManager : Object {
2121

2222
/**
2323
* Returns the {@link Granite.StyleManager} that handles the default display
24-
* as gotten by {@link Gdk.Display.get_default ()}.
24+
* as gotten by {@link Gdk.Display.get_default}.
2525
*/
2626
public static unowned StyleManager get_default () {
2727
return style_managers_by_displays[Gdk.Display.get_default ()];
@@ -44,8 +44,8 @@ public class Granite.StyleManager : Object {
4444

4545
/**
4646
* The {@link Granite.Settings.ColorScheme} requested by the application
47-
* Uses value from {@link Granite.Settings.prefers_color_scheme} when set to {@link Granite.Settings.ColorScheme.NO_PREFERENCE }.
48-
* Default value is {@link Granite.Settings.ColorScheme.NO_PREFERENCE }
47+
* Uses value from {@link Granite.Settings.prefers_color_scheme} when set to {@link Granite.Settings.ColorScheme.NO_PREFERENCE}.
48+
* Default value is {@link Granite.Settings.ColorScheme.NO_PREFERENCE}
4949
*/
5050
public Settings.ColorScheme color_scheme { get; set; default = NO_PREFERENCE; }
5151

lib/Styles/Gtk/Slider.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
slider {
2+
$diameter: rem(16px);
23
@include control;
34

45
border: none;
@@ -9,6 +10,10 @@ slider {
910
0 0 0 1px $border-color,
1011
shadow(2);
1112

13+
// 16px - border
14+
min-height: calc(#{$diameter} - 1px);
15+
min-width: calc(#{$diameter} - 1px);
16+
1217
&:backdrop {
1318
box-shadow:
1419
highlight(),

lib/Widgets/Box.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111
[Version (since = "7.7.0")]
1212
public class Granite.Box : Gtk.Box {
13+
[Version (since = "7.7.0")]
1314
public enum Spacing {
1415
NONE,
1516
// Spacing between groups of related controls like {@link Gtk.CheckButton}

po/LINGUAS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ yo
188188
za
189189
zh
190190
zh_CN
191-
zh_HK
192191
zh_TW
193192
zu
194193
ace
@@ -204,3 +203,6 @@ ca@valencia
204203
en_ZA
205204
pap
206205
sco
206+
zh_HK
207+
zh_HANT
208+
zh_HANS

po/extra/LINGUAS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ yo
188188
za
189189
zh
190190
zh_CN
191-
zh_HK
192191
zh_TW
193192
zu
194193
ace
@@ -204,3 +203,6 @@ ca@valencia
204203
en_ZA
205204
pap
206205
sco
206+
zh_HK
207+
zh_HANT
208+
zh_HANS

0 commit comments

Comments
 (0)