Skip to content

Commit 03501ed

Browse files
committed
updated couple files that were left out
1 parent a6b86dd commit 03501ed

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

gresources/nemo-desktop-overlay.glade

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@
118118
</row>
119119
<row>
120120
<col id="0">2</col>
121+
<col id="1" translatable="yes">Extension</col>
122+
<col id="2">Desktop Sort by Extension</col>
123+
</row>
124+
<row>
125+
<col id="0">3</col>
121126
<col id="1" translatable="yes">Size</col>
122127
<col id="2">Desktop Sort by Size</col>
123128
</row>

gresources/nemo-file-management-properties.glade

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ along with . If not, see <http://www.gnu.org/licenses/>.
163163
<row>
164164
<col id="0" translatable="yes">By Name</col>
165165
</row>
166+
<row>
167+
<col id="0" translatable="yes">By Extension</col>
168+
</row>
166169
<row>
167170
<col id="0" translatable="yes">By Size</col>
168171
</row>
@@ -191,12 +194,15 @@ along with . If not, see <http://www.gnu.org/licenses/>.
191194
<data>
192195
<row>
193196
<col id="0" translatable="yes">33%</col>
197+
</row>
198+
<row>
199+
<col id="0" translatable="yes">45%</col>
194200
</row>
195201
<row>
196-
<col id="0" translatable="yes">50%</col>
202+
<col id="0" translatable="yes">60%</col>
197203
</row>
198204
<row>
199-
<col id="0" translatable="yes">66%</col>
205+
<col id="0" translatable="yes">75%</col>
200206
</row>
201207
<row>
202208
<col id="0" translatable="yes">100%</col>

src/nemo-desktop-overlay.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ sync_controls (NemoDesktopOverlay *overlay,
198198
active_id = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action));
199199

200200
switch (active_id) {
201+
case NEMO_FILE_SORT_BY_EXTENSION_NAME:
202+
combo_id = "Desktop Sort by Extension";
203+
break;
201204
case NEMO_FILE_SORT_BY_SIZE:
202205
combo_id = "Desktop Sort by Size";
203206
break;

src/nemo-file-management-properties.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ static const char * const zoom_values[] = {
140140

141141
static const char * const sort_order_values[] = {
142142
"name",
143+
"extension",
143144
"size",
144145
"type",
145146
"detailed_type",

src/nemo-list-view.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ get_default_sort_order (NemoFile *file, gboolean *reversed)
244244
const char *attributes[] = {
245245
"name", /* is really "manually" which doesn't apply to lists */
246246
"name",
247+
"extension",
247248
"size",
248249
"type",
249250
"detailed_type",

0 commit comments

Comments
 (0)