[evolution] Clarify "Synchronization Options" menu item.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Clarify "Synchronization Options" menu item.
- Date: Mon, 28 Dec 2009 03:16:44 +0000 (UTC)
commit 32bc83c91d575d7258252a9c532309e8e9015d84
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Dec 27 22:15:23 2009 -0500
Clarify "Synchronization Options" menu item.
Rename it "GNOME Pilot Synchronization" and only display the item if
gnome-pilot is installed.
shell/e-shell-window-actions.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 2266b00..79bc8b7 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1306,7 +1306,7 @@ action_switcher_style_cb (GtkRadioAction *action,
*
* Activation of this action opens the Gnome Pilot settings.
*
- * Main menu item: Edit -> Synchronization Options...
+ * Main menu item: Edit -> GNOME Pilot Synchronization...
**/
static void
action_sync_options_cb (GtkAction *action,
@@ -1579,9 +1579,9 @@ static GtkActionEntry shell_entries[] = {
{ "sync-options",
NULL,
- N_("_Synchronization Options..."),
+ N_("GNOME Pilot _Synchronization..."),
NULL,
- N_("Set up Pilot configuration"),
+ N_("Set up GNOME Pilot configuration"),
G_CALLBACK (action_sync_options_cb) },
{ "work-offline",
@@ -1979,6 +1979,12 @@ e_shell_window_actions_init (EShellWindow *shell_window)
if (path == NULL)
gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE);
g_free (path);
+
+ /* Sychronizing your Palm PDA requires gnome-pilot. */
+ path = g_find_program_in_path ("gpilotd-control-applet");
+ if (path == NULL)
+ gtk_action_set_visible (ACTION (SYNC_OPTIONS), FALSE);
+ g_free (path);
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]