aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-21 08:09:34 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-21 08:09:34 +0800
commit06cb9c4e9564a525953a2e8a9fc79a7b95fda634 (patch)
tree1b6bfe75c04fc49b0968ed93b9c68fe00f03af98
parent364cb04c2b58a371d45a6645dbca8d9f069fba2e (diff)
downloadgsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar.gz
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar.bz2
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar.lz
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar.xz
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.tar.zst
gsoc2013-evolution-06cb9c4e9564a525953a2e8a9fc79a7b95fda634.zip
Make all the verb/menu arrays appropriately static.
* e-shell-view-menu.c: Make all the verb/menu arrays appropriately static. svn path=/trunk/; revision=16221
-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