aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-09 08:56:01 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-09 08:56:01 +0800
commitbafc35e9e597938e4a50146e5cb5c511305128c8 (patch)
tree0d07207ed3803e2e658fa0aa61d396cf5a4d1486
parent4e266ce3d22478c62420daae862cf392ba1acfb1 (diff)
downloadgsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar.gz
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar.bz2
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar.lz
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar.xz
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.tar.zst
gsoc2013-evolution-bafc35e9e597938e4a50146e5cb5c511305128c8.zip
Some menu cleanup.
svn path=/trunk/; revision=3986
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-view-menu.c38
2 files changed, 14 insertions, 31 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 0c09360542..6f9d490190 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
+
+ * e-shell-view-menu.c: Cleanup some unused menu items and added
+ "FIXMEs" for the ones we plan to add in the short term but are not
+ implemented yet.
+ (command_create_folder): Get rid of an unused variable.
+
2000-07-07 Ettore Perazzoli <ettore@helixcode.com>
* evolution-shell-client.c (user_select_folder): Fix small warning
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 51c190f242..f1f966990e 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -316,7 +316,6 @@ command_create_folder (BonoboUIHandler *uih,
void *data,
const char *path)
{
- GtkWidget *folder_selection_dialog;
EShellView *shell_view;
EShell *shell;
const char *current_uri;
@@ -347,14 +346,10 @@ func (GtkWidget *widget, gpointer data) \
DEFINE_UNIMPLEMENTED (command_new_shortcut)
DEFINE_UNIMPLEMENTED (command_new_mail_message)
-DEFINE_UNIMPLEMENTED (command_new_meeting_request)
DEFINE_UNIMPLEMENTED (command_new_contact)
DEFINE_UNIMPLEMENTED (command_new_task)
DEFINE_UNIMPLEMENTED (command_new_task_request)
DEFINE_UNIMPLEMENTED (command_new_journal_entry)
-DEFINE_UNIMPLEMENTED (command_new_note)
-DEFINE_UNIMPLEMENTED (command_open_selected_items)
-DEFINE_UNIMPLEMENTED (command_close_open_items)
/*
@@ -377,52 +372,33 @@ static GnomeUIInfo menu_file_new [] = {
GNOMEUIINFO_SEPARATOR,
- { GNOME_APP_UI_ITEM, N_("_Mail message"),
+ { GNOME_APP_UI_ITEM, N_("_Mail message (FIXME)"),
N_("Composes a new mail message"), command_new_mail_message, NULL,
NULL, 0, 0, 'n', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("_Appointment"),
+ { GNOME_APP_UI_ITEM, N_("_Appointment (FIXME)"),
N_("Composes a new mail message"), command_new_mail_message, NULL,
NULL, 0, 0, 'a', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("Meeting Re_quest"), NULL,
- command_new_meeting_request, NULL,
- NULL, 0, 0, 'q', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("_Contact"), NULL,
+ { GNOME_APP_UI_ITEM, N_("_Contact (FIXME)"), NULL,
command_new_contact, NULL,
NULL, 0, 0, 'c', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("_Task"), NULL,
+ { GNOME_APP_UI_ITEM, N_("_Task (FIXME)"), NULL,
command_new_task, NULL,
NULL, 0, 0, 'k', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("Task _Request"), NULL,
+ { GNOME_APP_UI_ITEM, N_("Task _Request (FIXME)"), NULL,
command_new_task_request, NULL,
NULL, 0, 0, 'u', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("_Journal Entry"), NULL,
+ { GNOME_APP_UI_ITEM, N_("_Journal Entry (FIXME)"), NULL,
command_new_journal_entry, NULL,
NULL, 0, 0, 'j', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
- { GNOME_APP_UI_ITEM, N_("_Note"), NULL,
- command_new_note, NULL,
- NULL, 0, 0, 'o', GDK_CONTROL_MASK | GDK_SHIFT_MASK },
-
- GNOMEUIINFO_SEPARATOR,
GNOMEUIINFO_END
};
-static GnomeUIInfo menu_file_open [] = {
- { GNOME_APP_UI_ITEM, N_("_Selected Items"), NULL,
- command_open_selected_items, NULL,
- NULL, 0, 0, 'o', GDK_CONTROL_MASK },
-
- GNOMEUIINFO_END
-};
-
static GnomeUIInfo menu_file [] = {
GNOMEUIINFO_SUBTREE_STOCK (N_("_New"), menu_file_new, GNOME_STOCK_MENU_NEW),
- GNOMEUIINFO_SUBTREE_STOCK (N_("_Open"), menu_file_open, GNOME_STOCK_MENU_NEW),
- GNOMEUIINFO_ITEM_NONE (N_("Clos_e All Items"), N_("Closes all the open items"),
- command_close_open_items),
GNOMEUIINFO_SEPARATOR,
-
+
GNOMEUIINFO_ITEM_NONE (N_("_Go to folder..."), N_("Display a different folder"),
command_goto_folder),
GNOMEUIINFO_ITEM_NONE (N_("_Create new folder..."), N_("Create a new folder"),