diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-10-27 17:58:56 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-10-27 17:58:56 +0000 |
commit | 9fbd1e2b4cd365a60bbbd63614b3020387e8b9c1 (patch) | |
tree | 67a72e38cea09fcaa8c8a0c4221ecaafccac4c71 /src | |
parent | 5e9b9f8184c8f2460ae0e7c1db75ace3e913c8cb (diff) | |
download | nautilus-9fbd1e2b4cd365a60bbbd63614b3020387e8b9c1.tar.gz |
Fixed bug 4085 for now (need Support menu item in Services menu)
The URL will have to be updated again later, as the bug report says.
* src/nautilus-service-ui.xml: Added Support menu item at end, made
underline accelerators unique
* components/services/summary/nautilus-view/nautilus-summary-view-u
i.xml: tweaked wording and made underline accelerators unique
* components/services/summary/nautilus-view/nautilus-summary-view-u
i.xml.h:
* src/nautilus-service-ui.xml.h: These guys changed.
* src/nautilus-window-service-ui.c:
(goto_services_support): New function, goes to magic URI.
(nautilus_window_install_service_ui): add verb to connect menu item
to function.
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-service-ui.xml | 12 | ||||
-rw-r--r-- | src/nautilus-service-ui.xml.h | 6 | ||||
-rw-r--r-- | src/nautilus-window-service-ui.c | 15 |
3 files changed, 28 insertions, 5 deletions
diff --git a/src/nautilus-service-ui.xml b/src/nautilus-service-ui.xml index 55f6086a8..b4f9f3046 100644 --- a/src/nautilus-service-ui.xml +++ b/src/nautilus-service-ui.xml @@ -8,13 +8,19 @@ verb="Eazel Services"/> <menuitem name="Online Storage" _label="_Online Storage" - _tip="Go to your online storage repository" + _tip="Go to your online storage repository" verb="Online Storage"/> <menuitem name="Software Catalog" - _label="_Software Catalog" - _tip="Go to the Eazel Software Catalog" + _label="Software _Catalog" + _tip="Go to the Eazel Software Catalog" verb="Software Catalog"/> <placeholder name="Service Items" delimit="top"/> + <placeholder name="Help Items" delimit="top"> + <menuitem name="Support" + _label="_Support" + _tip="Display support information for Eazel Services" + verb="Services Support"/> + </placeholder> </submenu> </placeholder> </menu> diff --git a/src/nautilus-service-ui.xml.h b/src/nautilus-service-ui.xml.h index f0bec71d7..933eb1aeb 100644 --- a/src/nautilus-service-ui.xml.h +++ b/src/nautilus-service-ui.xml.h @@ -6,11 +6,13 @@ * POTFILES.in. DO NOT compile it as part of your application. */ +gchar *s = N_("Display support information for Eazel Services"); gchar *s = N_("Go to the Eazel Services Summary Page"); gchar *s = N_("Go to the Eazel Software Catalog"); gchar *s = N_("Go to your online storage repository"); +gchar *s = N_("Online _Storage"); +gchar *s = N_("S_upport"); gchar *s = N_("Services"); +gchar *s = N_("Software _Catalog"); gchar *s = N_("_Eazel Services"); -gchar *s = N_("_Online Storage"); gchar *s = N_("_Services"); -gchar *s = N_("_Software Catalog"); diff --git a/src/nautilus-window-service-ui.c b/src/nautilus-window-service-ui.c index a4656c3de..607f26361 100644 --- a/src/nautilus-window-service-ui.c +++ b/src/nautilus-window-service-ui.c @@ -105,6 +105,20 @@ goto_software_catalog (BonoboUIComponent *component, } static void +goto_services_support (BonoboUIComponent *component, + gpointer callback_data, + const char *verb) +{ + /* FIXME bugzilla.eazel.com 4805: + * Change this url to "http://services.eazel.com/support" when + * that is available. + */ + nautilus_window_goto_uri (NAUTILUS_WINDOW (callback_data), + "http://gegl2089.test.eazel.com/support"); + +} + +static void detach_service_ui (GtkObject *object, gpointer callback_data) { @@ -124,6 +138,7 @@ nautilus_window_install_service_ui (NautilusWindow *window) BONOBO_UI_VERB ("Eazel Services", goto_services_summary), BONOBO_UI_VERB ("Online Storage", goto_online_storage), BONOBO_UI_VERB ("Software Catalog", goto_software_catalog), + BONOBO_UI_VERB ("Services Support", goto_services_support), BONOBO_UI_VERB_END }; |