diff options
author | Marcus Carlson <mdc@src.gnome.org> | 2010-08-02 23:19:26 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-03 21:47:19 +0200 |
commit | 3ea4de522ddba6ad9313dc3fdf2d6936b130913c (patch) | |
tree | dbc007ff8290c861696e6c1113abdf56f5b70def /src | |
parent | f985fe76918ef299e3b580fef8922045c9a4cfed (diff) | |
download | nautilus-3ea4de522ddba6ad9313dc3fdf2d6936b130913c.tar.gz |
Only show "Organize Desktop by Name" on Desktop (#530136)
Diffstat (limited to 'src')
-rw-r--r-- | src/file-manager/fm-icon-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index 14dddd6c3..078059313 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -728,6 +728,10 @@ update_layout_menus (FMIconView *view) FM_ACTION_CLEAN_UP); gtk_action_set_sensitive (action, !is_auto_layout); + if (FM_IS_DESKTOP_ICON_VIEW (view)) { + gtk_action_set_label (action, _("_Organize Desktop by Name")); + } + action = gtk_action_group_get_action (view->details->icon_action_group, FM_ACTION_KEEP_ALIGNED); gtk_action_set_visible (action, @@ -1593,7 +1597,7 @@ static const GtkActionEntry icon_view_entries[] = { /* tooltip */ N_("Restore each selected icon to its original size"), G_CALLBACK (action_unstretch_callback) }, /* name, stock id */ { "Clean Up", NULL, - /* label, accelerator */ N_("_Organize Desktop by Name"), NULL, + /* label, accelerator */ N_("_Organize by Name"), NULL, /* tooltip */ N_("Reposition icons to better fit in the window and avoid overlapping"), G_CALLBACK (action_clean_up_callback) }, }; |