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
552f0a98
Commit
552f0a98
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add col name to menu title, fix compiler warning.
parent
cc455857
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/zmapWindow/zmapWindowFeature.c
+8
-5
8 additions, 5 deletions
src/zmapWindow/zmapWindowFeature.c
with
8 additions
and
5 deletions
src/zmapWindow/zmapWindowFeature.c
+
8
−
5
View file @
552f0a98
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
*
*
* Exported functions: See zmapWindow_P.h
* Exported functions: See zmapWindow_P.h
* HISTORY:
* HISTORY:
* Last edited:
Nov 25 14:12
2009 (edgrif)
* Last edited:
Dec 15 09:33
2009 (edgrif)
* Created: Mon Jan 9 10:25:40 2006 (edgrif)
* Created: Mon Jan 9 10:25:40 2006 (edgrif)
* CVS info: $Id: zmapWindowFeature.c,v 1.16
7
2009-1
1-30 10:56:26
edgrif Exp $
* CVS info: $Id: zmapWindowFeature.c,v 1.16
8
2009-1
2-16 11:11:43
edgrif Exp $
*-------------------------------------------------------------------
*-------------------------------------------------------------------
*/
*/
...
@@ -412,8 +412,8 @@ gboolean zMapWindowFeatureRemove(ZMapWindow zmap_window, FooCanvasItem *feature_
...
@@ -412,8 +412,8 @@ gboolean zMapWindowFeatureRemove(ZMapWindow zmap_window, FooCanvasItem *feature_
/* I think we shouldn't need to do this probably....on the other hand showing
/* I think we shouldn't need to do this probably....on the other hand showing
* empty cols is configurable.... */
* empty cols is configurable.... */
if
(
!
(
zmapWindowContainerHasFeatures
(
container_set
)))
if
(
!
(
zmapWindowContainerHasFeatures
(
FOO_CANVAS_GROUP
(
container_set
)))
)
zmapWindowContainerSetVisibility
(
container_set
,
FALSE
)
;
zmapWindowContainerSetVisibility
(
FOO_CANVAS_GROUP
(
container_set
)
,
FALSE
)
;
/* destroy the feature... deletes record in the featureset. */
/* destroy the feature... deletes record in the featureset. */
if
(
destroy_feature
)
if
(
destroy_feature
)
...
@@ -1023,7 +1023,8 @@ void zmapMakeItemMenu(GdkEventButton *button_event, ZMapWindow window, FooCanvas
...
@@ -1023,7 +1023,8 @@ void zmapMakeItemMenu(GdkEventButton *button_event, ZMapWindow window, FooCanvas
feature
->
style_id
);
feature
->
style_id
);
menu_title
=
zMapFeatureName
((
ZMapFeatureAny
)
feature
)
;
menu_title
=
g_strdup_printf
(
"%s (%s)"
,
zMapFeatureName
((
ZMapFeatureAny
)
feature
),
zMapFeatureSetGetName
((
ZMapFeatureSet
)(
feature
->
parent
)))
;
/* Call back stuff.... */
/* Call back stuff.... */
menu_data
=
g_new0
(
ItemMenuCBDataStruct
,
1
)
;
menu_data
=
g_new0
(
ItemMenuCBDataStruct
,
1
)
;
...
@@ -1103,6 +1104,8 @@ void zmapMakeItemMenu(GdkEventButton *button_event, ZMapWindow window, FooCanvas
...
@@ -1103,6 +1104,8 @@ void zmapMakeItemMenu(GdkEventButton *button_event, ZMapWindow window, FooCanvas
zMapGUIMakeMenu
(
menu_title
,
menu_sets
,
button_event
)
;
zMapGUIMakeMenu
(
menu_title
,
menu_sets
,
button_event
)
;
g_free
(
menu_title
)
;
return
;
return
;
}
}
...
...
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