summaryrefslogtreecommitdiff
path: root/vcl/unx
AgeCommit message (Collapse)Author
2021-06-17gtk4: extend workaround for ampersand in paragraph dialog notebook labelsCaolán McNamara
Change-Id: Ib165f1ab1173f7bb6500d5dfff5f82e4216d9f42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117380 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17gtk4: no need for ampersand workaround in an empty labelCaolán McNamara
Change-Id: I7e1327303589cc9c2bb24b72d5cac92ff0fc0bfb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17gtk4: reorder the cell renderers in the comboboxesCaolán McNamara
as used in format, character for the the tickboxes for spellchecking support Change-Id: I7b7b60455beb0f262b2e4c40286dcaec26eb42dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117375 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17gtk4: implement setting grid row/col/widthCaolán McNamara
as used in e.g. font features dialog Change-Id: I558e52b2a1ccc471673613b63b42599db7c00ac5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117374 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17split SurfacePaintable outCaolán McNamara
Change-Id: I07d2109080f19fb7cf95bc439e5d99ba3247c2bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117371 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17split NotifyingLayout outCaolán McNamara
Change-Id: Ib706331f9e6b3749559a0b78f1a07d442a674829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117369 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17gtk4: undo overflow notebook insert in dtorCaolán McNamara
Change-Id: I2a051486346d4afabbf7f0f6f3b9683c8e0c9e62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117367 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17gtk4: restore double-decker notebooksCaolán McNamara
add a 'NotifyingLayout' to find out when the size of a widget changes now that size-allocate has been removed Change-Id: Iae55b7fafd2fd26c62afaedd777ae40e84fbb964 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117348 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: redo theme unwanted active tab in overflow notebook into invisiblityCaolán McNamara
don't quite see why this doesn't work out of the box in gtk4, but putting it into the application-level style provider and using it via a style class works and probably makes more sense anyway. Change-Id: I4de196e462d7440174a0d67be25923bddab68197 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117337 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: partial restoration of double-decker notebooksCaolán McNamara
there isn't an obvious candidate as to when to do the split though Change-Id: Iee6d74015263b180470fc0c90924617bcde14421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117334 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: Notebook label is now inside another widgetCaolán McNamara
Change-Id: If1f37959603dbe10e01d492321e9324ab55f10d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117333 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: add some working dialogsCaolán McNamara
Change-Id: Iac09640fe05110ef01cd7e4645b5a9e0ea8eb48e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117328 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: reenable some more working dialogsCaolán McNamara
Change-Id: Iaa8d77b231f8366ff4c33221691e9a3cadb73fa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117312 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk 4.3.2 will have a fix for thisCaolán McNamara
Change-Id: Idae818c0d7220d0fbe08462eff1654c22d24310c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117284 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16tdf#103388 Show the backtick used in shortcut in Calc View menuGabor Kelemen
as Ctrl+` instead of "Ctrl+grave" (see at View->Show Formula). This affected only gen backend on Linux (SAL_USE_VCLPLUGIN=gen), gtk3 and qt5 are handling this correctly. Change-Id: I2bebcf68118642e6c12cf2c5d4392f2ca423665b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116742 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2021-06-16gtk4: use xalign to position replacement boxCaolán McNamara
insert, section the "pick button" in color subtab of background as an example of a horizontally centered case and format, watermark, color dropdown "custom color" as a left aligned example. Change-Id: Id318b5acec44ceccaed5875e4f747968225bdd78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117278 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16gtk4: use image-position to position elements within replacement boxCaolán McNamara
enable insert, section with pick button in color subtab of background tabpage as example usage Change-Id: Ie972e2de9181888b59159a7a12651e6f7f7dec26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117275 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: use GtkPicture for view, user interfaceCaolán McNamara
Change-Id: I6677233dc0594d6b2e9ea4b8f901550dbff46361 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117261 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: support moving children in and out of GtkGridCaolán McNamara
Change-Id: Ia90b9586ff39f0a668da4e0f9beef7ed26626ebf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117260 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: double-encode ampersand if use-underline is usedCaolán McNamara
as seen in calc paste special dialog see https://gitlab.gnome.org/GNOME/gtk/-/issues/4041 Change-Id: I5425d1f5b5474fc6cda949e8fcb76b734ab893e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117259 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: don't convert generated button image-childCaolán McNamara
its already convert, so don't double convert to remove e.g. already converted icon-size in calc paste special Change-Id: Id87ca7a6dfecdca102e1a12a37eed90b0e40e48c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117250 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: further disambiguation of Image/PictureCaolán McNamara
examples of GtkPicture wanted: a) math, format, spacing b) all, help, about examples of GtkImage wanted: a) writer, format, columns, next/prev b) writer, insert, hyperlink c) calc, paste special Change-Id: I53ad0a40f30a4963a8490c4e76fa50c463de0903 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117249 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: convert all the larger old icon sizes to GTK_ICON_SIZE_LARGECaolán McNamara
Change-Id: I88921495e60f47b54e4d473315ee953872e61891 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117248 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: support image at top in button with vert orientation of child boxCaolán McNamara
Change-Id: I87b7c2752120d272eb176307465d658f4a980170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117244 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: leave Help button unchanged if its in a GtkMessageDialogCaolán McNamara
as opposed to a help button which will be relocated to the titlebar Change-Id: I2053ad05025cce9e0a894b555160b56eb5bc2f6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117239 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: support moving between containersCaolán McNamara
just GtkBoxes for now Change-Id: I2247661649c67944290451de98e80db7faf41648 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117238 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: add more working dialogsCaolán McNamara
Change-Id: I0a31192fcfc175e0db509e8061e7980127cb50ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117202 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: add more working dialogsCaolán McNamara
Change-Id: Id17952c6915b2c15b7b443c5d4bd5fb6ac55c150 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: add more working dialogsCaolán McNamara
Change-Id: Ife00799a8eab3d73a635ed6c2bd31cfb6e5d2d91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117196 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15gtk4: add more working dialogsCaolán McNamara
Change-Id: I5950424b16a4aabd8a4e15b912bb5b3b178c4052 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117183 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: create separators on menu import by appending a new sectionCaolán McNamara
where we have established that we always have a section in a menu to close when opening a new one Change-Id: I8af90dd89281dd0f10bcec5665d96412108cb5d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117179 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: supporting hiding menu items by moving actions out of actiongroupCaolán McNamara
and using hidden-when of action-missing and keep the hidden items in a different actiongroup Change-Id: Idaa4f1762c4df2700827fd45527027cc48415548 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117178 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: add hidden-when of action-missing to menu itemsCaolán McNamara
Change-Id: I054f3573c8a251c605ab1f3a426f6a905a908851 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117177 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: connect to underlying ToggleButton "toggle" of MenuButtonCaolán McNamara
e.g. writer, tools, autotext, autotext menubutton Change-Id: Ie29078eee4daff032421f8838ed2215101eb21e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117171 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: reenable a cluster of working dialogsCaolán McNamara
Change-Id: I11c86ab60354259c8dc98c974d313efe8f8d5acc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117170 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: reenable pdf export dialog and pagesCaolán McNamara
Change-Id: Ie9c1846343bf74b25e33f79f31b9eee8631fab9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117101 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14gtk4: reenable some more working dialogsCaolán McNamara
Change-Id: I857d96cfdf17accdcfd973ea04c51a34a3b68863 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117099 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-11gtk4: starting point for welded menusCaolán McNamara
submenus will need a rethink I guess Change-Id: I6d2a645267146c537fe7ba62d8be2501855e7f62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117067 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-11gtk4: build deeper levels of GMenuModelCaolán McNamara
Change-Id: Ia2cbe4fdc583d272152b4eaa9da9f9d2ff4af550 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117066 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-11gtk4: support separators via manipulating menu sectionsCaolán McNamara
Change-Id: Iaade04dd5a4fa89ef74a22a19ebe5e37655fc61a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117058 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-11gtk4: process sections and submenus of toplevel menumodelCaolán McNamara
and place initial contents into a section by default Change-Id: I1e7bb20bf5efb481e4f7ed0f38c8b46c06f7a7d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117050 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-10loplugin:unnecessaryreturn SalX11Display::DispatchNoel Grandin
Change-Id: I270f6538d921ad2116cc29ada3e4543027531764 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116974 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-10loplugin:unnecessaryreturn SalFrame::SetPluginParentNoel Grandin
Change-Id: If927a834f5b5d722fc36cce40e161597af6234ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116972 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-09gtk4: implement some more of the menu requirementsCaolán McNamara
just give each radiobutton its own group Change-Id: I0239a3f1364cde91a668fe890a4178e4ce73f78b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116864 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-09gtk4: default that empty button labels are invisibleCaolán McNamara
Change-Id: If64e9592b48ac376933aac1e30ef76b096a3a0ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116859 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-08gtk4: expand the first child of the end groupCaolán McNamara
if there are start group entries Change-Id: I91188b0e5961a53730f6e157e8ea9be6b69ff92d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116851 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-08gtk4: reverse the order of the pack-type=end widgetsCaolán McNamara
Change-Id: I912dfa86f1f3cdb03c523530d8c3df510241831c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116850 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-07gtk4: convert pack-type to child typeCaolán McNamara
Change-Id: Id72572b1b97917b9cf3816b1abaa1e412ed028a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116766 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-06gtk4: don't need to 'formatMenuButton' anymoreCaolán McNamara
Change-Id: I84e53f23986d15dde571c6bc7559ef68be345d23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116762 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-06gtk4: convert MenuButton "image" to "icon-name"Caolán McNamara
Change-Id: Ic290b6008739a729b786562affb72d26da2191d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116754 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>