Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
a3c4f25b
Commit
a3c4f25b
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add help item for release notes.
parent
54b30837
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapControl/zmapControlWindowMenubar.c
+23
-9
23 additions, 9 deletions
src/zmapControl/zmapControlWindowMenubar.c
with
23 additions
and
9 deletions
src/zmapControl/zmapControlWindowMenubar.c
+
23
−
9
View file @
a3c4f25b
...
...
@@ -31,9 +31,9 @@
*
* Exported functions: See zmapControl_P.h
* HISTORY:
* Last edited:
Aug 8 10:10
2006 (edgrif)
* Last edited:
Oct 18 11:32
2006 (edgrif)
* Created: Thu Jul 24 14:36:59 2003 (edgrif)
* CVS info: $Id: zmapControlWindowMenubar.c,v 1.1
6
2006-
08-08 09:10
:5
0
edgrif Exp $
* CVS info: $Id: zmapControlWindowMenubar.c,v 1.1
7
2006-
10-18 13:36
:5
4
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -41,6 +41,7 @@
#include
<stdio.h>
#include
<ZMap/zmapUtilsGUI.h>
#include
<ZMap/zmapWebPages.h>
#include
<zmapControl_P.h>
...
...
@@ -69,6 +70,7 @@ static void printCB(gpointer cb_data, guint callback_action, GtkWidget *w);
static
void
dumpCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
w
);
static
void
redrawCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
w
);
static
void
aboutCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
w
);
static
void
releaseNotesCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
w
);
static
void
print_hello
(
gpointer
data
,
guint
callback_action
,
GtkWidget
*
w
)
;
...
...
@@ -97,13 +99,7 @@ static GtkItemFactoryEntry menu_items[] = {
{
"/Edit/_Redraw"
,
NULL
,
redrawCB
,
0
,
NULL
},
{
"/_Help"
,
NULL
,
NULL
,
0
,
"<LastBranch>"
},
{
"/Help/About"
,
NULL
,
aboutCB
,
0
,
NULL
},
{
"/Help/Two"
,
NULL
,
NULL
,
0
,
"<Branch>"
},
{
"/Help/Two/A"
,
NULL
,
NULL
,
0
,
"<RadioItem>"
},
{
"/Help/Two/B"
,
NULL
,
NULL
,
0
,
"/Help/Two/A"
},
{
"/Help/Two/C"
,
NULL
,
NULL
,
0
,
"/Help/Two/A"
},
{
"/Help/Two/D"
,
NULL
,
NULL
,
0
,
"/Help/Two/A"
},
{
"/Help/Two/E"
,
NULL
,
NULL
,
0
,
"/Help/Two/A"
},
{
"/Help/Three"
,
NULL
,
NULL
,
0
,
NULL
},
{
"/Help/Release Notes"
,
NULL
,
releaseNotesCB
,
0
,
NULL
},
};
...
...
@@ -190,6 +186,24 @@ static void aboutCB(gpointer cb_data, guint callback_action, GtkWidget *window)
}
/* Show the web page of release notes. */
static
void
releaseNotesCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
window
)
{
char
*
web_page
=
ZMAPWEB_URL
"/"
ZMAPWEB_RELEASE_NOTES_DIR
"/"
ZMAPWEB_RELEASE_NOTES
;
gboolean
result
;
GError
*
error
=
NULL
;
if
(
!
(
result
=
zMapLaunchWebBrowser
(
web_page
,
&
error
)))
{
zMapWarning
(
"Error: %s
\n
"
,
error
->
message
)
;
g_error_free
(
error
)
;
}
return
;
}
/* Close just this zmap... */
static
void
closeCB
(
gpointer
cb_data
,
guint
callback_action
,
GtkWidget
*
w
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment