Skip to content

Commit

Permalink
updated couple files that were left out
Browse files Browse the repository at this point in the history
  • Loading branch information
VitanovG committed Sep 28, 2022
1 parent a6b86dd commit 03501ed
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions gresources/nemo-desktop-overlay.glade
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@
</row>
<row>
<col id="0">2</col>
<col id="1" translatable="yes">Extension</col>
<col id="2">Desktop Sort by Extension</col>
</row>
<row>
<col id="0">3</col>
<col id="1" translatable="yes">Size</col>
<col id="2">Desktop Sort by Size</col>
</row>
Expand Down
10 changes: 8 additions & 2 deletions gresources/nemo-file-management-properties.glade
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ along with . If not, see <http://www.gnu.org/licenses/>.
<row>
<col id="0" translatable="yes">By Name</col>
</row>
<row>
<col id="0" translatable="yes">By Extension</col>
</row>
<row>
<col id="0" translatable="yes">By Size</col>
</row>
Expand Down Expand Up @@ -191,12 +194,15 @@ along with . If not, see <http://www.gnu.org/licenses/>.
<data>
<row>
<col id="0" translatable="yes">33%</col>
</row>
<row>
<col id="0" translatable="yes">45%</col>
</row>
<row>
<col id="0" translatable="yes">50%</col>
<col id="0" translatable="yes">60%</col>
</row>
<row>
<col id="0" translatable="yes">66%</col>
<col id="0" translatable="yes">75%</col>
</row>
<row>
<col id="0" translatable="yes">100%</col>
Expand Down
3 changes: 3 additions & 0 deletions src/nemo-desktop-overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ sync_controls (NemoDesktopOverlay *overlay,
active_id = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action));

switch (active_id) {
case NEMO_FILE_SORT_BY_EXTENSION_NAME:
combo_id = "Desktop Sort by Extension";
break;
case NEMO_FILE_SORT_BY_SIZE:
combo_id = "Desktop Sort by Size";
break;
Expand Down
1 change: 1 addition & 0 deletions src/nemo-file-management-properties.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ static const char * const zoom_values[] = {

static const char * const sort_order_values[] = {
"name",
"extension",
"size",
"type",
"detailed_type",
Expand Down
1 change: 1 addition & 0 deletions src/nemo-list-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ get_default_sort_order (NemoFile *file, gboolean *reversed)
const char *attributes[] = {
"name", /* is really "manually" which doesn't apply to lists */
"name",
"extension",
"size",
"type",
"detailed_type",
Expand Down

0 comments on commit 03501ed

Please sign in to comment.