mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
location-banner: sort cases alphabetically
This commit is contained in:
parent
4a5d128a8b
commit
6e07531f7b
2 changed files with 9 additions and 9 deletions
|
@ -105,14 +105,6 @@ nautilus_location_banner_load (AdwBanner *banner,
|
|||
|
||||
switch (location)
|
||||
{
|
||||
case NAUTILUS_SPECIAL_LOCATION_TEMPLATES:
|
||||
{
|
||||
adw_banner_set_title (banner, _("Put files in this folder to use them as templates for new documents."));
|
||||
button_label = _("_Learn More");
|
||||
callback = G_CALLBACK (on_template_clicked);
|
||||
}
|
||||
break;
|
||||
|
||||
case NAUTILUS_SPECIAL_LOCATION_SCRIPTS:
|
||||
{
|
||||
adw_banner_set_title (banner, _("Executable files in this folder will appear in the Scripts menu."));
|
||||
|
@ -127,6 +119,14 @@ nautilus_location_banner_load (AdwBanner *banner,
|
|||
}
|
||||
break;
|
||||
|
||||
case NAUTILUS_SPECIAL_LOCATION_TEMPLATES:
|
||||
{
|
||||
adw_banner_set_title (banner, _("Put files in this folder to use them as templates for new documents."));
|
||||
button_label = _("_Learn More");
|
||||
callback = G_CALLBACK (on_template_clicked);
|
||||
}
|
||||
break;
|
||||
|
||||
case NAUTILUS_SPECIAL_LOCATION_TRASH:
|
||||
{
|
||||
set_auto_emptied_message (banner);
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
G_BEGIN_DECLS
|
||||
|
||||
typedef enum {
|
||||
NAUTILUS_SPECIAL_LOCATION_TEMPLATES,
|
||||
NAUTILUS_SPECIAL_LOCATION_SCRIPTS,
|
||||
NAUTILUS_SPECIAL_LOCATION_SHARING,
|
||||
NAUTILUS_SPECIAL_LOCATION_TEMPLATES,
|
||||
NAUTILUS_SPECIAL_LOCATION_TRASH,
|
||||
} NautilusSpecialLocation;
|
||||
|
||||
|
|
Loading…
Reference in a new issue