Skip to content

Commit

Permalink
Games list grouping options (tkashkin#265)
Browse files Browse the repository at this point in the history
Former-commit-id: 5572bc1
  • Loading branch information
tkashkin committed Jun 30, 2019
1 parent 503fa23 commit ebe5c75
Show file tree
Hide file tree
Showing 23 changed files with 1,739 additions and 846 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build/
debian/*
!debian/source/
!debian/changelog
!debian/changelog.in
!debian/compat
!debian/control.in
!debian/copyright
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ba57a2296c19c368efb8920204b72468bbe87979
3d65f8cb4183cd36940f62fc90e17bf834ec3664
10 changes: 10 additions & 0 deletions data/com.github.tkashkin.gamehub.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
<value nick="Playtime" value="2" />
</enum>

<enum id="com.github.tkashkin.gamehub.saved-state.games-view.group-modes">
<value nick="None" value="0" />
<value nick="Status" value="1" />
<value nick="Source" value="2" />
</enum>

<enum id="com.github.tkashkin.gamehub.saved-state.games-view.filter-platforms">
<value nick="All" value="0" />
<value nick="Linux" value="1" />
Expand All @@ -60,6 +66,10 @@
<default>"Name"</default>
<summary>Selected sort mode</summary>
</key>
<key name="group-mode" enum="com.github.tkashkin.gamehub.saved-state.games-view.group-modes">
<default>"Status"</default>
<summary>Selected group mode</summary>
</key>
<key name="filter-source" type="s">
<default>''</default>
<summary>Selected game source filter</summary>
Expand Down
7 changes: 4 additions & 3 deletions data/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,15 @@ list:not(:backdrop) row:selected:focus label.category-label
background: shade(@theme_bg_color, 0.95);
border-top: 1px shade(@theme_bg_color, 0.7) solid;
border-bottom: 1px shade(@theme_bg_color, 0.7) solid;
padding: 6px 5px;
}
.games-list-header.first
{
border-top: none;
}
.games-list-header > label
{
padding: 6px 8px;
padding: 0 3px;
}

.game-list-row .title.bold
Expand Down Expand Up @@ -521,13 +522,13 @@ dialog .sidebar list
background: transparent;
}

.filters-sort-mode > *, .filters-platform > *, .installer-platforms-list > *
.icons-modebutton > *, .installer-platforms-list > *
{
padding: 4px;
min-width: 16px;
min-height: 16px;
}
.filters-sort-mode > * > image, .filters-platform > * > image, .installer-platforms-list > * > image
.icons-modebutton > * > image, .installer-platforms-list > * > image
{
padding: 0;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d154351e316884593c45d7622962d6bac1ea3d27
f3bc4eef88353565e25a72b3ce0f300198d27fd0
1 change: 1 addition & 0 deletions debian/changelog.in.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65ac6a7dd7f2d3aece0a5fb0308a31571db39148
Loading

0 comments on commit ebe5c75

Please sign in to comment.