[nautilus/gnome-2-32: 259/283] Only show "Organize Desktop by Name" on Desktop (#530136)
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-2-32: 259/283] Only show "Organize Desktop by Name" on Desktop (#530136)
- Date: Thu, 12 Aug 2010 11:25:48 +0000 (UTC)
commit daedc3620badea3dda1808a99f4f4eb15c1a64eb
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 e1775a2..e12e75f 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -708,6 +708,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,
@@ -1585,7 +1589,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]