[nautilus] Only show "Organize Desktop by Name" on Desktop (#530136)
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Only show "Organize Desktop by Name" on Desktop (#530136)
- Date: Tue, 3 Aug 2010 20:24:21 +0000 (UTC)
commit 3ea4de522ddba6ad9313dc3fdf2d6936b130913c
Author: Marcus Carlson <mdc src gnome org>
Date: Mon Aug 2 23:19:26 2010 +0200
Only show "Organize Desktop by Name" on Desktop (#530136)
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 14dddd6..0780593 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) },
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]