Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
nautilus
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
375
Issues
375
List
Boards
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
nautilus
Commits
b1392c7a
Commit
b1392c7a
authored
Feb 10, 2016
by
Carlos Soriano Sánchez
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preferences: remove sorting
Since 3.18 is done in the menu directly.
parent
0d5c5d37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
53 deletions
+0
-53
src/nautilus-preferences-dialog.c
src/nautilus-preferences-dialog.c
+0
-8
src/resources/ui/nautilus-preferences-dialog.ui
src/resources/ui/nautilus-preferences-dialog.ui
+0
-45
No files found.
src/nautilus-preferences-dialog.c
View file @
b1392c7a
...
...
@@ -42,7 +42,6 @@
/* string enum preferences */
#define NAUTILUS_PREFERENCES_DIALOG_DEFAULT_VIEW_WIDGET "default_view_combobox"
#define NAUTILUS_PREFERENCES_DIALOG_SORT_ORDER_WIDGET "sort_order_combobox"
#define NAUTILUS_PREFERENCES_DIALOG_PREVIEW_FILES_WIDGET \
"preview_image_combobox"
#define NAUTILUS_PREFERENCES_DIALOG_PREVIEW_FOLDER_WIDGET \
...
...
@@ -68,9 +67,6 @@
#define NAUTILUS_PREFERENCES_DIALOG_THUMBNAIL_LIMIT_WIDGET \
"preview_image_size_combobox"
static
const
char
*
const
sort_order_values
[]
=
{
"name"
,
"size"
,
"type"
,
"mtime"
,
"atime"
,
"trash-time"
,
NULL
};
static
const
char
*
const
preview_values
[]
=
{
"always"
,
"local-only"
,
"never"
,
NULL
};
...
...
@@ -504,10 +500,6 @@ static void nautilus_preferences_dialog_setup(GtkBuilder *builder,
NAUTILUS_PREFERENCES_DIALOG_REMOTE_RECURSIVE_SEARCH_WIDGET
,
NAUTILUS_PREFERENCES_REMOTE_RECURSIVE_SEARCH
);
bind_builder_enum
(
builder
,
nautilus_preferences
,
NAUTILUS_PREFERENCES_DIALOG_SORT_ORDER_WIDGET
,
NAUTILUS_PREFERENCES_DEFAULT_SORT_ORDER
,
(
const
char
**
)
sort_order_values
);
bind_builder_enum
(
builder
,
nautilus_preferences
,
NAUTILUS_PREFERENCES_DIALOG_PREVIEW_FILES_WIDGET
,
NAUTILUS_PREFERENCES_SHOW_FILE_THUMBNAILS
,
...
...
src/resources/ui/nautilus-preferences-dialog.ui
View file @
b1392c7a
...
...
@@ -236,51 +236,6 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
6
</property>
<child>
<object
class=
"GtkBox"
id=
"hbox11"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"views_label_1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
_Arrange items:
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
sort_order_combobox
</property>
<property
name=
"xalign"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBox"
id=
"sort_order_combobox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"model"
>
model2
</property>
<child>
<object
class=
"GtkCellRendererText"
id=
"renderer2"
/>
<attributes>
<attribute
name=
"text"
>
0
</attribute>
</attributes>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"sort_folders_first_checkbutton"
>
<property
name=
"label"
translatable=
"yes"
>
Sort _folders before files
</property>
...
...
Andrew Chadwick
@achadwick
mentioned in issue
#771
·
Nov 27, 2018
mentioned in issue
#771
mentioned in issue #771
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment