John Ralls
c558b8530b
Correct binary test logic for primary mask.
...
state & get_primary_mask(another) tested (state & (primary | other)),
which will be true if state matches *either* primary *or* other, but
what is wanted in a not-negated test is state matching all bits of
(primary | other). match_primary_mask does that.
On the other hand there are also cases of "not state & (primary | other)".
no_match_primary_mask handles that, returning true if state matches none
of the bits in (primary | other).
Fixes #10646 .
2018-07-22 18:50:06 +01:00
Paul Culley
663745c7e8
Fix Gramplet configure (View/Configure) for large options ( #629 )
...
When a Gramplet uses a BooleanListOption with a lot of entries, along with other options, all the options take on the size of the large BooleanListOption, which doesn't work well at all.
2018-06-22 11:04:30 +10:00
Paul Culley
4daf7a9c29
Fix FanChartDesc for typo (copy/paste error). ( #611 )
...
Fixes #10565
- Bug occurs when selected person has more than 4 parents.
2018-05-09 13:21:37 +10:00
Paul Culley
ae11eceef7
Fix Fan charts for scrolling/resizing of window; bad rendering ( #572 )
...
Fixes #10381
2018-03-10 12:53:34 +11:00
Paul Culley
51df2c188d
Fix Fan Chart(s) so they don't crash when opened as last view ( #571 )
...
Fixes #10440
2018-03-05 14:34:55 +11:00
prculley
d3ed320636
fix Sidebar to resize better
...
Fixes #10334
Issue #10161
2018-02-08 23:35:32 +00:00
Nick Hall
be11466b35
Add tooltip to links in styled text editor
...
Fixes #10179 .
2018-02-07 16:34:41 +00:00
John Ralls
0a38a6352f
Set the mnemonic modifier key to Alt-Ctrl for the Quartz Gdk backend.
...
This avoids interference with the use of the Alt/Option key for
extending the keyboard.
Fixes #6943 .
2018-02-06 14:46:09 -08:00
prculley
462b0ea20b
Surname Editor; fix loss of data if using mouse to change fields
...
Fixes #9868 , #6828 , #6257
2018-01-24 11:40:04 -06:00
Nick Hall
b7c39e51c7
Remove trailing whitespace
2018-01-09 19:51:46 +00:00
Nick Hall
89592545f3
Fix shading colour in relationship view for dark themes
...
Fixes #7749 .
2018-01-09 18:26:26 +00:00
Nick Hall
70fff6253d
Fix link colour for dark themes
...
Issue #7749 .
2018-01-09 18:24:52 +00:00
prculley
371a8a8f89
fix Fan Chart for exception on right-click of person with no parent
...
Fixes #10349
2018-01-08 19:09:14 +00:00
prculley
1777cd4b29
Fix Fan Chart Print centering and scaling on Windows
...
Fixes #8460
2018-01-04 23:16:01 +00:00
prculley
1b0ad55d13
Fix Styled Text Editor for exception on non-editable text click
...
Fixes #10309
Also prevent editing of links on non-editable text.
2017-12-28 19:49:21 +00:00
Nick Hall
0f7e8e73b9
Use escape from html rather than cgi package
2017-12-11 18:44:18 +00:00
prculley
f9da7ec19a
Fix Session Log for exception on closed db reference click
2017-11-20 23:03:35 +00:00
Nick Hall
45e0b9d571
Fix bug in previous commit
2017-11-20 16:44:38 +00:00
prculley
2bc4139c65
Fix 'Welcome' Gramplet and StyledTextEditor for Link handling
...
Issue #10179
2017-11-20 15:52:27 +00:00
prculley
455d56db1b
Fix interactive search for exception on click then down arrow
...
Fixes #10226
2017-10-26 13:40:03 +01:00
John Ralls
da47949b60
Replace use of CONTROL_MASK with PRIMARY_INTENT.
...
For better UX on Macs.
2017-10-15 17:27:02 +01:00
prculley
f17892c411
Fix click/drag in media reference editor
...
Fix so click/drag creates/updates selection using left mouse
button.
Fixes #8429 .
2017-06-16 22:05:15 +01:00
prculley
bdbecfa46c
Fix media preview for preview size changes
...
Bug #8429 .
2017-06-16 21:58:05 +01:00
Josip
bc17245331
Quick search with Czech characters -> Crash
...
Crash happen when checking for "event.string" in "treeview_keypress"
function in "gramps/gui/widgets/interactivesearchbox.py"
Note that
https://lazka.github.io/pgi-docs/Gdk-3.0/classes/EventKey.html#Gdk.EventKey
says it is deprecated and should never be used.
Gdk.keyval_to_unicode return the corresponding unicode character, or 0
if there is no corresponding character.
Fixes #9130 .
2017-06-03 22:05:34 +01:00
Serge Noiraud
543661d62e
FR10020: Add "within <n> km/miles/degree" filter ( #382 )
2017-05-13 22:01:55 +01:00
Sam Manzi
3fdc986542
Merge pull request #370 from prculley/bug8128
...
Bug 8128; for color chooser dialogs; fixed transient parent
2017-04-02 10:20:04 +10:00
prculley
3b5fcae948
bug 9998 partial fix for Note editor Toolbar overflow icons missing
...
Bug Affects Windows only.
Adds text labels to icons which will only appear in the overflow
dropdown menu when dialog is too narrow. Icons still don't show
due to Gtk bug on Windows, but at least user sees the text labels.
2017-03-31 12:23:23 -05:00
prculley
916232a6ef
Bug 8128; for color chooser dialogs; fixed transient parent
...
for styledtexteditor and Family Lines Graph, Family Colors option
2017-03-31 11:53:10 -05:00
Paul Franklin
95762e864f
tidy up some translatable string things
2017-03-16 19:44:57 -07:00
John Ralls
d5e8b810b9
Fix copy-paste error in last commit.
2017-03-02 07:11:01 -08:00
John Ralls
1571f8409a
Bug 9965: Undo in undoableentry does the wrong undo in MacOS.
...
This fixes the immediate problem peculiar to MacOS, but the underlying
problem that the code doesn't use keybindings and has a control-specific
undo stack which makes undo ambiguous for the window remains.
2017-02-28 20:55:16 -08:00
prculley
3901e7dd4c
Fix unodoableentry for international characters
...
Gtk has some parameters in bytes, some in characters; they cannot
be combined.
2017-02-28 23:11:04 +00:00
prculley
28850728af
Fix ToolComboEntry for Gtk method not supported on older Gtk
2017-02-25 08:41:01 -06:00
Sam Manzi
dee377762a
Merge pull request #354 from prculley/gtkdep
...
Fix some Gtk deprecations
2017-02-25 15:24:03 +11:00
Nick Hall
b3509ad3f4
Convert some gui imports from absolute to relative
2017-02-22 17:16:04 +00:00
Nick Hall
d0b50caea1
Change "GRAMPS" to "Gramps" in comments and docstrings
2017-02-20 19:05:48 +00:00
Paul Franklin
3af9a8b803
7276: translate some currently-untranslated punctuation marks
2017-02-17 15:53:31 -08:00
Sam Manzi
61c678417a
Merge pull request #255 from SNoiraud/FR9373
...
9373: Ability to be able to enter comma separated latitude/longitude …
2017-02-12 15:30:55 +11:00
prculley
a50675f7ac
Fix Gtk deprecations
2017-02-11 07:54:21 -06:00
Sam Manzi
b58ac2da8a
Merge pull request #348 from prculley/undo
...
bug 9927; fix UndoableEntry for pygobject bug
2017-02-04 10:36:01 +11:00
Paul Franklin
28bf8479fd
9795: remember the last location of windows [Dashboard gramplets]
2017-02-02 19:30:02 -08:00
prculley
ae960f79d4
bug 9927; fix UndoableEntry for pygobject bug
...
This is a workaround for
https://bugzilla.gnome.org/show_bug.cgi?id=644927
What is happening, is that our UndoableEntry class is connecting
to the 'insert-text' event, which uses one of the 'in-out'
parameters for the position of the cursor in the buffer. The very
fact of the connect to the event causes the issue, not something
Gramps is doing wrong.
2017-02-02 14:33:48 -06:00
Nick Hall
c3c8a632de
6085: Remove import from the gui module
2017-01-27 16:20:49 +00:00
SNoiraud
6b38e74ecb
9373: Values not saved and bug in monitoredwidgets
2017-01-24 13:37:27 +00:00
prculley
e24faddabb
bug 9876; fix for two progress bars occupy the same space
...
Moves the popup progress on tree views with filters to the main
window status bar.
2017-01-16 23:21:04 +00:00
système
db37a7dbd9
Revert "9899: try to get labels on Family according to status"
...
This reverts commit dedb5122cb682da069d2d23e25f2ea3b0d54f094.
2017-01-14 10:23:03 +01:00
romjerome
dedb5122cb
9899: try to get labels on Family according to status
2017-01-14 09:44:17 +01:00
prculley
f46350d595
bug 8128; fix progress meters for transient parent
2017-01-10 15:22:46 +00:00
prculley
1590f8c000
bug 9856; fix popup ProgressMonitor to find a parent for set_transient_for
2016-12-27 10:36:20 -06:00
prculley
f25fb1415b
Fix the Gobject deprecation (convert to GLib) in interactivesearchbox
2016-12-24 09:02:57 -06:00