Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant show that causes eventloop to remain active #259

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,3 @@ ImageMetadata = "0.9"
RoundingIntegers = "0.2, 1"
StatsBase = "0.28, 0.29, 0.30, 0.31, 0.32, 0.33"
julia = "1.6"

[extras]
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
QuartzImageIO = "dca85d43-d64c-5e67-8c65-017450d5d020"
Reactive = "a223df75-4e93-5b7c-acf9-bdd599c0f4de"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"

[targets]
test = ["ImageCore", "ImageMagick", "IntervalSets", "OffsetArrays", "QuartzImageIO", "Reactive", "Test", "TestImages"]
1 change: 0 additions & 1 deletion src/ImageView.jl
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ function create_contrast_popup(canvas, enabled, hists, clim)
popupmenu = Menu()
contrast = MenuItem("Contrast...")
push!(popupmenu, contrast)
Gtk.showall(popupmenu)
push!(canvas.preserved, map(canvas.mouse.buttonpress; name="open contrast GUI") do btn
if btn.button == 3 && btn.clicktype == BUTTON_PRESS
popup(popupmenu, btn.gtkevent)
Expand Down
14 changes: 14 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[deps]
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"
Gtk = "4c0ca9eb-093a-5379-98c5-f87ac0bbbf44"
GtkReactive = "27996c0f-39cd-5cc1-a27a-05f136f946b6"
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19"
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Reactive = "a223df75-4e93-5b7c-acf9-bdd599c0f4de"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
QuartzImageIO = "dca85d43-d64c-5e67-8c65-017450d5d020"