aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-view-menu.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index fca8f56557..0bf733011f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-03-20 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-view-menu.c: Make all the verb/menu arrays appropriately
+ static.
+
+2002-03-20 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-view-menu.c (command_send_receive): New, implementation
for the "SendReceive" verb.
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 58b2d8790c..f460d427e8 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -625,14 +625,14 @@ command_pilot_settings (BonoboUIComponent *uih,
}
-BonoboUIVerb new_verbs [] = {
+static BonoboUIVerb new_verbs [] = {
BONOBO_UI_VERB ("NewFolder", command_new_folder),
BONOBO_UI_VERB ("NewShortcut", command_new_shortcut),
BONOBO_UI_VERB_END
};
-BonoboUIVerb file_verbs [] = {
+static BonoboUIVerb file_verbs [] = {
BONOBO_UI_VERB ("FileImporter", (BonoboUIVerbFn) show_import_wizard),
BONOBO_UI_VERB ("FileGoToFolder", command_goto_folder),
BONOBO_UI_VERB ("FileCreateFolder", command_create_folder),
@@ -645,7 +645,7 @@ BonoboUIVerb file_verbs [] = {
BONOBO_UI_VERB_END
};
-BonoboUIVerb folder_verbs [] = {
+static BonoboUIVerb folder_verbs [] = {
BONOBO_UI_VERB ("ActivateView", command_activate_view),
BONOBO_UI_VERB ("OpenFolderInNewWindow", command_open_folder_in_new_window),
BONOBO_UI_VERB ("MoveFolder", command_move_folder),
@@ -659,13 +659,13 @@ BonoboUIVerb folder_verbs [] = {
BONOBO_UI_VERB_END
};
-BonoboUIVerb actions_verbs[] = {
+static BonoboUIVerb actions_verbs[] = {
BONOBO_UI_VERB ("SendReceive", command_send_receive),
BONOBO_UI_VERB_END
};
-BonoboUIVerb tools_verbs[] = {
+static BonoboUIVerb tools_verbs[] = {
BONOBO_UI_VERB ("Settings", command_settings),
BONOBO_UI_VERB ("PilotSettings", command_pilot_settings),
@@ -673,7 +673,7 @@ BonoboUIVerb tools_verbs[] = {
BONOBO_UI_VERB_END
};
-BonoboUIVerb help_verbs [] = {
+static BonoboUIVerb help_verbs [] = {
BONOBO_UI_VERB_DATA ("HelpFAQ", command_help_faq, NULL),
BONOBO_UI_VERB_END