mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
Remove "Open New Terminal" from desktop menu. Patch from Luca Ferretti
2005-04-27 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-desktop-icon-view.c: Remove "Open New Terminal" from desktop menu. Patch from Luca Ferretti <elle.uca@libero.it> If you really need this, install the nautilus-open-terminal extension. It does this even better than the removed code. Also, in newer Metacity there is a a way to set a keybinding for "new terminal".
This commit is contained in:
parent
5f7a9f88ef
commit
42fb7ed3dd
2 changed files with 32 additions and 24 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2005-04-27 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* src/file-manager/fm-desktop-icon-view.c:
|
||||
Remove "Open New Terminal" from desktop menu.
|
||||
Patch from Luca Ferretti <elle.uca@libero.it>
|
||||
|
||||
If you really need this, install the nautilus-open-terminal
|
||||
extension. It does this even better than the removed code.
|
||||
Also, in newer Metacity there is a a way to set a keybinding
|
||||
for "new terminal".
|
||||
|
||||
2005-04-19 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* src/nautilus-main.c: (main): Merge fix for leak
|
||||
|
|
|
@ -589,14 +589,6 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view)
|
|||
fm_desktop_icon_view_update_icon_container_fonts (desktop_icon_view);
|
||||
}
|
||||
|
||||
static void
|
||||
action_new_terminal_callback (GtkAction *action, gpointer data)
|
||||
{
|
||||
g_assert (FM_DIRECTORY_VIEW (data));
|
||||
|
||||
eel_gnome_open_terminal_on_screen (NULL, gtk_widget_get_screen (GTK_WIDGET (data)));
|
||||
}
|
||||
|
||||
static void
|
||||
action_new_launcher_callback (GtkAction *action, gpointer data)
|
||||
{
|
||||
|
@ -694,22 +686,27 @@ real_update_menus (FMDirectoryView *view)
|
|||
}
|
||||
|
||||
static GtkActionEntry desktop_view_entries[] = {
|
||||
{ "New Terminal", NULL, /* name, stock id */
|
||||
N_("Open T_erminal"), NULL, /* label, accelerator */
|
||||
N_("Open a new GNOME terminal window"), /* tooltip */
|
||||
G_CALLBACK (action_new_terminal_callback) },
|
||||
{ "New Launcher Desktop", NULL, /* name, stock id */
|
||||
N_("Create L_auncher..."), NULL, /* label, accelerator */
|
||||
N_("Create a new launcher"), /* tooltip */
|
||||
G_CALLBACK (action_new_launcher_callback) },
|
||||
{ "Change Background", NULL, /* name, stock id */
|
||||
N_("Change Desktop _Background"), NULL, /* label, accelerator */
|
||||
N_("Show a window that lets you set your desktop background's pattern or color"), /* tooltip */
|
||||
G_CALLBACK (action_change_background_callback) },
|
||||
{ "Empty Trash Conditional", NULL, /* name, stock id */
|
||||
N_("Empty Trash"), NULL, /* label, accelerator */
|
||||
N_("Delete all items in the Trash"), /* tooltip */
|
||||
G_CALLBACK (action_empty_trash_conditional_callback) },
|
||||
/* name, stock id */
|
||||
{ "New Launcher Desktop", NULL,
|
||||
/* label, accelerator */
|
||||
N_("Create L_auncher..."), NULL,
|
||||
/* tooltip */
|
||||
N_("Create a new launcher"),
|
||||
G_CALLBACK (action_new_launcher_callback) },
|
||||
/* name, stock id */
|
||||
{ "Change Background", NULL,
|
||||
/* label, accelerator */
|
||||
N_("Change Desktop _Background"), NULL,
|
||||
/* tooltip */
|
||||
N_("Show a window that lets you set your desktop background's pattern or color"),
|
||||
G_CALLBACK (action_change_background_callback) },
|
||||
/* name, stock id */
|
||||
{ "Empty Trash Conditional", NULL,
|
||||
/* label, accelerator */
|
||||
N_("Empty Trash"), NULL,
|
||||
/* tooltip */
|
||||
N_("Delete all items in the Trash"),
|
||||
G_CALLBACK (action_empty_trash_conditional_callback) },
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue