Skip to content

Commit 09d8f75

Browse files
committed
library: Add new sections
1 parent d265e09 commit 09d8f75

File tree

16 files changed

+43
-29
lines changed

16 files changed

+43
-29
lines changed

src/Library/Library.blp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,23 @@ Adw.PreferencesWindow library {
2020
}
2121

2222
Adw.PreferencesGroup library_tools {
23-
title: "Tools";
23+
title: _("Tools");
2424
}
2525

2626
Adw.PreferencesGroup library_network {
27-
title: "Network";
27+
title: _("Network");
28+
}
29+
30+
Adw.PreferencesGroup library_controls {
31+
title: _("Controls");
32+
}
33+
34+
Adw.PreferencesGroup library_layout {
35+
title: _("Layout");
36+
}
37+
38+
Adw.PreferencesGroup library_feedback {
39+
title: _("Feedback");
2840
}
2941

3042
Adw.PreferencesGroup library_user_interface {

src/Library/demos/Box/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Box",
3-
"category": "user_interface",
3+
"category": "layout",
44
"description": "A widget that arranges its child widgets into a single row or column",
55
"panels": [
66
"preview"

src/Library/demos/Button/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Button",
3-
"category": "user_interface",
3+
"category": "controls",
44
"description": "Allow people to perform actions by clicking",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Color Dialog",
3-
"category": "user_interface",
3+
"category": "controls",
44
"description": "Show a dialog to select color",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}

src/Library/demos/Grid/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Grid",
3-
"category": "user_interface",
3+
"category": "layout",
44
"description": "Arrange widgets in rows and columns.",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Level Bars",
3-
"category": "user_interface",
3+
"category": "feedback",
44
"description": "A bar widget used as a level indicator",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}

src/Library/demos/Notification/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Notification",
3-
"category": "user_interface",
3+
"category": "feedback",
44
"description": "Desktop notifications are a useful way of communicating with users while they are using other applications.",
55
"panels": [
66
"code",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Overlay",
3-
"category": "user_interface",
3+
"category": "layout",
44
"description": "Overlay widgets on top of each other",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}

src/Library/demos/Progress Bar/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Progress Bar",
3-
"category": "user_interface",
3+
"category": "feedback",
44
"description": "Display the progress of a long running operation",
55
"panels": [
66
"ui",

src/Library/demos/Scale/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Scale",
3-
"category": "user_interface",
3+
"category": "controls",
44
"description": "Slider control to select a value from a range",
55
"panels": [
66
"ui",
77
"preview"
88
],
99
"autorun": true
10-
}
10+
}

0 commit comments

Comments
 (0)