changeset 22211:6065bd58db2b

use contribute/donate consistently in GUI (bug #44335) * main-window.h, main-window.cc (main_window::open_contribute_page): Link to contribute.html instead of donate.html (main_window::open_donate_page): New function.
author Sahil Badyal <sbadyals@gmail.com>
date Thu, 26 Feb 2015 22:15:54 +0530
parents 30eefd9ddb48
children 2b487dbe419d
files libgui/src/main-window.cc libgui/src/main-window.h
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Fri Aug 05 22:04:12 2016 +0100
+++ b/libgui/src/main-window.cc	Thu Feb 26 22:15:54 2015 +0530
@@ -636,13 +636,13 @@
 void
 main_window::open_contribute_page (void)
 {
-  QDesktopServices::openUrl (QUrl ("http://octave.org/donate.html"));
+  QDesktopServices::openUrl (QUrl ("http://octave.org/contribute.html"));
 }
 
 void
-main_window::open_developer_page (void)
+main_window::open_donate_page (void)
 {
-  QDesktopServices::openUrl (QUrl ("http://octave.org/get-involved.html"));
+  QDesktopServices::openUrl (QUrl ("http://octave.org/donate.html"));
 }
 
 void
@@ -1995,10 +1995,10 @@
             tr ("Share Code"), SLOT (open_agora_page ()));
 
   _contribute_action = add_action (help_menu, QIcon (),
-            tr ("Contribute to Octave"), SLOT (open_contribute_page ()));
+            tr ("Contribute"), SLOT (open_contribute_page ()));
 
   _developer_action = add_action (help_menu, QIcon (),
-            tr ("Octave Developer Resources"), SLOT (open_developer_page ()));
+            tr ("Donate to Octave"), SLOT (open_donate_page ()));
 
   help_menu->addSeparator ();
 
--- a/libgui/src/main-window.h	Fri Aug 05 22:04:12 2016 +0100
+++ b/libgui/src/main-window.h	Thu Feb 26 22:15:54 2015 +0530
@@ -133,7 +133,7 @@
   void open_octave_packages_page (void);
   void open_agora_page (void);
   void open_contribute_page (void);
-  void open_developer_page (void);
+  void open_donate_page (void);
   void process_settings_dialog_request (const QString& desired_tab
                                                          = QString ());