two new about menu items (almost)


Subject: two new about menu items (almost)
From: Alan (horkana@tcd.ie)
Date: Thu Jul 26 2001 - 11:40:03 CDT


attached are 3 diff files. I dont have CVS so they were produced using
cygwin and files from yesterdays nightly tarball using
$ diff -c file1 file2 > file1.diff

the files were edited in Wordpad which will hopefully avoid CR/LF
problems that Notepad causes. Ill make new diffs if more lines of
context are required.
im not sure what other places in the code i need to change so directions
would be appreciated.

The new menu items will be "About Gnu Free Software" and "About Gnome
Office", with hyperlinks to each.

*** ap_Menu_Id.h Mon Jun 25 11:01:48 2001
--- Copy of ap_Menu_Id.h Thu Jul 26 13:38:56 2001
***************
*** 165,170 ****
--- 165,172 ----
          AP_MENU_ID_HELP_SEARCH,
          AP_MENU_ID_HELP_ABOUT,
          AP_MENU_ID_HELP_ABOUTOS,
+ AP_MENU_ID_HELP_ABOUTGNU,
+ AP_MENU_ID_HELP_ABOUTGO,
  
          AP_MENU_ID_SPELL_SUGGEST_1, // _suggest_1 thru _suggest_9 must be contiguous
          AP_MENU_ID_SPELL_SUGGEST_2,

*** ap_Menu_ActionSet.cpp Thu Jun 28 11:01:48 2001
--- Copy of ap_Menu_ActionSet.cpp Thu Jul 26 13:41:16 2001
***************
*** 200,205 ****
--- 200,207 ----
          _s(AP_MENU_ID_HELP_SEARCH, 0,0,0, "helpSearch", NULL, ap_GetLabel_Search);
          _s(AP_MENU_ID_HELP_ABOUT, 0,1,0, "dlgAbout", NULL, ap_GetLabel_About);
          _s(AP_MENU_ID_HELP_ABOUTOS, 0,0,0, "helpAboutOS", NULL, ap_GetLabel_AboutOS);
+ _s(AP_MENU_ID_HELP_ABOUTGNU, 0,0,0, "helpAboutOS", NULL, ap_GetLabel_AboutGNU);
+ _s(AP_MENU_ID_HELP_ABOUTGO, 0,0,0, "helpAboutOS", NULL, ap_GetLabel_AboutGO);
  
          _s(AP_MENU_ID_SPELL_SUGGEST_1, 0,0,0, "spellSuggest_1", ap_GetState_Suggest, ap_GetLabel_Suggest);
          _s(AP_MENU_ID_SPELL_SUGGEST_2, 0,0,0, "spellSuggest_2", ap_GetState_Suggest, ap_GetLabel_Suggest);

*** ap_EditMethods.cpp Thu Jul 26 17:16:04 2001
--- Copy of ap_EditMethods.cpp Thu Jul 26 17:21:24 2001
***************
*** 2227,2232 ****
--- 2227,2244 ----
           return _helpLocalizeAndOpenURL(pAV_View, true, "AbiWord/help", "aboutos.html");
  }
  
+ Defun1(helpAboutGO)
+ {
+ // Hyper Link Gnome Office
+ return _helpOpenURL(pAV_View, "http://www.gnome.org/gnome-office/" );
+ }
+
+ Defun1(helpAboutGNU)
+ {
+ // Hyper Link to the Gnu Project
+ return _helpOpenURL(pAV_View, "http://www.gnu.org/philosophy/" );
+ }
+
  Defun1(cycleWindows)
  {
          XAP_Frame * pFrame = static_cast<XAP_Frame *> ( pAV_View->getParentData());



This archive was generated by hypermail 2b25 : Thu Jul 26 2001 - 11:40:08 CDT