summaryrefslogtreecommitdiffstats
path: root/desktop/uiconfig
Commit message (Collapse)AuthorAgeFilesLines
* remove deprecated [x|y]align property for CheckBoxes and RadioButtonsCaolán McNamara2021-01-212-4/+0
| | | | | | | | | | | | | | | | | | the gtk default is left aligned, change the vcl one to match and drop the deprecated and unnecessary [x|y]align Unfortunately on load glade's inline preview shows centered alignment, though its "true" preview tool shows left alignment and unsetting and resetting draw-indicator will update the preview to show the alignment which will be used: https://gitlab.gnome.org/GNOME/glade/-/issues/502 See https://gitlab.gnome.org/GNOME/glade/-/merge_requests/110 for my stab at making glade do the right thing. Change-Id: If454e9ce8462e6b271d2423fe7e8a55788e01fac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109487 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* replace stock button labelsCaolán McNamara2021-01-157-26/+26
| | | | | | | Change-Id: I726ba7846322863d9f38314b6c6ccc7f71124a0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109197 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* drop deprecated GtkAlignment, move left/top-padding into child margin-start/topCaolán McNamara2020-12-231-65/+58
| | | | | | | | | for desktop Change-Id: I05e2f701360701fc1ba920758784211242357a51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108206 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* add <!-- n-columns=1 n-rows=1 --> before every GtkGridCaolán McNamara2020-11-154-0/+9
| | | | | | | | | | | | | | | | | | | for a in `git ls-files '*.ui'`; do sed -i 's/^\( *\)\(<object class="GtkGrid".*\)/\1<!-- n-columns=1 n-rows=1 -->\n\1\2/' $a; done so we get the same behavior in glade as before 3.38 in that the grid preview don't show any unoccupied grid squares replace all existing n-columns=X n-rows=Y lines because they are all wrong, except for cui/uiconfig/ui/additionsfragment.ui sw/uiconfig/swriter/ui/pageheaderpanel.ui sw/uiconfig/swriter/ui/pagefooterpanel.ui which are correct. Change-Id: I401bbe8e098c26e7f57d6a872d3b70fc1ce85a00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105846 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* set all .ui min require version of gtk to 3.20Caolán McNamara2020-10-229-9/+9
| | | | | | | | | | | | | | | | | and update the version mentioned in our min req in the readme.xrm follow up to commit 0c9ccc7dbf6deb4d012e0d1e6eb934e54e0f19bc Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Oct 2 21:21:45 2020 +0100 raise min version of gtk to 3.20.0 Change-Id: Ibae55c97e1ee577f4b7435d124cda6a21005ad0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104692 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#118148 Extended tips from HC2/shared/Olivier Hallot2020-08-244-26/+101
| | | | | | | | | | | | | | | | | | | These extended tips are extracted from <ahelp> in Help files Only for ui files, where dialogs/widget pair could be determined. Other forms of <ahelp hid=".."> such as .uno:.. and *HID* ... will be addressed elswhere. Change#1 Removed extended tips from GtkMenu of svx/.../acceptrejectchangesdialog.ui Change#2 Some empty ET's slipped in cui/macroselectdialog.ui Change-Id: Ic8dc62734143f621fcd3c4156fc004f585630277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101186 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Fix translation domains in .ui filesGabor Kelemen2020-05-131-1/+1
| | | | | | | | | Found with bin/ui-checkdomain.sh Change-Id: I2a3ec2593b9ce0a19efced9020b95dff796e4702 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94153 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
* most has_tooltip uses are bogusCaolán McNamara2020-01-072-3/+0
| | | | | | | | | | | | has_tooltip means to use "query-tooltip" to present a tooltip, not that the widget has a literal tooltip, the presence of which is sufficient to set the tooltip Change-Id: I49b35debd1bca1803464096fbc550eb50945509f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86336 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* LO extension Dialog fill updateandreas kainz2019-12-101-7/+0
| | | | | | | Change-Id: I60c6beb3c0ff869653c21c9d933ea1f449b4318e Reviewed-on: https://gerrit.libreoffice.org/84904 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
* LO extension Dialog move Header and filters to the topandreas kainz2019-12-051-96/+96
| | | | | | | Change-Id: I8e48119cb1d9c9cd40a7b6de3ba335fa0a7e2bcc Reviewed-on: https://gerrit.libreoffice.org/84564 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
* remove unnecessary .uis 'require' on lib=LibreOfficeCaolán McNamara2019-10-251-1/+0
| | | | | | | | Change-Id: I3d953f63bb3c97105de31bcdad26b3cf0d1322e6 Reviewed-on: https://gerrit.libreoffice.org/81493 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld ExtMgrDialog and UpdateRequiredDialogCaolán McNamara2019-06-143-106/+145
| | | | | | | | Change-Id: I97e5cda847fd7f98990a87d0b1ca6d6b8b3f9d0f Reviewed-on: https://gerrit.libreoffice.org/73899 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove remaining '0' responsesCaolán McNamara2019-05-181-2/+2
| | | | | | | | Change-Id: I3134c8dcc92b82ab2c6008b3e39443a360f576eb Reviewed-on: https://gerrit.libreoffice.org/72499 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld OTableSubscriptionPageCaolán McNamara2019-04-061-0/+2
| | | | | | | | Change-Id: I55c23448480384c9a7d78cd55550bb4812ebde72 Reviewed-on: https://gerrit.libreoffice.org/70314 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld UpdateDialogCaolán McNamara2019-02-271-20/+86
| | | | | | | | Change-Id: Ieca75774925a8766162481713f6e8a6ba0e9feb0 Reviewed-on: https://gerrit.libreoffice.org/68396 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld LicenseDialogImplCaolán McNamara2019-02-271-33/+29
| | | | | | | Change-Id: I4b2dbd2446779e7179d2b79bf81cc2ff879377bf Reviewed-on: https://gerrit.libreoffice.org/68389 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld UpdateInstallDialogCaolán McNamara2019-02-251-4/+19
| | | | | | | | Change-Id: I56f1de2ac91076a35f1f3583d7500e5b2fa4ce54 Reviewed-on: https://gerrit.libreoffice.org/68315 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld ShowLicenseDialogCaolán McNamara2019-02-231-1/+8
| | | | | | | | Change-Id: Ia7e158a4f5a4bc629c4ad4aafc71d7c10d453099 Reviewed-on: https://gerrit.libreoffice.org/68234 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld DependencyDialogCaolán McNamara2019-02-231-5/+44
| | | | | | | | Change-Id: I2ec86617f17cbee25e6de04c5db944b03204996a Reviewed-on: https://gerrit.libreoffice.org/68235 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld TreeViewCaolán McNamara2018-11-191-0/+1
| | | | | | | | | | | | | a) use GtkTreeStores for GtkTreeViews b) ironically can't store GtkTreeStore contents in .ui apparently c) set show_expanders for all non-trees and unconverted cases d) on-demand subtrees Change-Id: I3c1036a222daba2c129b1a22ffeb3fe35005ae31 Reviewed-on: https://gerrit.libreoffice.org/63336 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* update old 'interface-requires' comments to <requires> tagCaolán McNamara2018-10-284-5/+5
| | | | | | | | Change-Id: If7533650ae543f9d43a3a50fdfc137141fa64586 Reviewed-on: https://gerrit.libreoffice.org/62444 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove all use_action_appearance linesCaolán McNamara2018-10-233-5/+0
| | | | | | | | Change-Id: I031676e939f53a28b1a62654ffe0a91b95dea029 Reviewed-on: https://gerrit.libreoffice.org/62234 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* look for check buttons without underlinesCaolán McNamara2018-04-141-0/+3
| | | | | | | | Change-Id: Ia9963190cf3dccbfa82951a3f2c0e29e00171429 Reviewed-on: https://gerrit.libreoffice.org/52847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* make all the .ui message dialogs explicitly modalCaolán McNamara2018-03-071-0/+1
| | | | | | | | Change-Id: I1e197fbec92d5369394f036171af9018afea7f15 Reviewed-on: https://gerrit.libreoffice.org/50910 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: tdf#116188 set min version on all .ui files to 3.18Caolán McNamara2018-03-055-5/+5
| | | | | | | | | | which is already the min for the runtime Change-Id: Ifebe099f1f94a36f65a31989689400327a823dcd Reviewed-on: https://gerrit.libreoffice.org/50776 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* ...and some more asserts during CppunitTest_desktop_dialogs_testStephan Bergmann2018-03-012-6/+6
| | | | | | | Change-Id: I0a585ff4a0538c606153cb9d527838f5b50623a8 Reviewed-on: https://gerrit.libreoffice.org/50521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* sneaky uppercase OK,CANCEL,HELP responsesCaolán McNamara2018-02-281-4/+4
| | | | | | | Change-Id: I02324d31822c37daa1e5e1b8c87aa597def58957 Reviewed-on: https://gerrit.libreoffice.org/50437 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* convert all help responses to gtk's -11Caolán McNamara2018-02-254-5/+5
| | | | | | | | | | | | | | and ok responses to gtk's -5 and cancel responses to gtk's -6 and close responses to gtk's -7 and yes responses to gtk's -8 and no responses to gtk's -9 Change-Id: Ia1a261a3a711ed9f5d8c0b0c639897c3064bb08c Reviewed-on: https://gerrit.libreoffice.org/50206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* weld native message dialogsCaolán McNamara2018-02-221-5/+3
| | | | | | | | | | | | | | | | just the straight-forward MessageDialog cases first a) remove border_width from message dialog .ui so as to take the default border width b) retain 12 as default message dialog border for vcl widget case c) remove layour_style from message dialog button boxes so as to take the default mode (a no-op for vcl widget case) d) use gtk response ids (vcl builder will converts to vcl ones) Change-Id: I7de281093a1b64f92f71ca11e7cbba42bb658154 Reviewed-on: https://gerrit.libreoffice.org/50143 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* migrate to boost::gettextCaolán McNamara2017-07-218-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
* tdf#100826: use console for -h and --version also on WindowsMike Kaganski2016-11-231-137/+0
| | | | | | | | | | | This removes the dialog used to show version information and command line help on Windows. Now, selecting and scrolling becomes possible, code is simplified and unified under all platforms. Change-Id: Ia749bbb62d697eff655b3a646859c1986a023ec0 Reviewed-on: https://gerrit.libreoffice.org/31059 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* tdf#103146 Revamp Extension Manager Dialog, Part 3Muhammet Kara2016-11-211-1/+2
| | | | | | | | | | | | | Move the "Enable"/"Disable" button which was customly implemented from the ExtBoxWithBtns_Impl to the new row. This should also solve some accessibility issues. Also remove some unnecessary code pieces for clean-up. Change-Id: Iec7820779110eea3411a774de8277ef238f562e7 Reviewed-on: https://gerrit.libreoffice.org/30973 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* tdf#103146 Revamp Extension Manager Dialog, Part 2Muhammet Kara2016-11-151-1/+2
| | | | | | | | | | | | | | Move the "Remove" button which was customly implemented from the ExtBoxWithBtns_Impl to the new row. This should also solve some accessibility issues. Also wipe some useless code which implements custom tab behavior. Change-Id: I602fcf23631498145d8b9ead2936ee549caf3f0d Reviewed-on: https://gerrit.libreoffice.org/30867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* tdf#103146 Revamp Extension Manager Dialog, Part 1Muhammet Kara2016-11-091-35/+101
| | | | | | | | | | | | | | | Moved the "Check for Updates", and "Add" buttons to the new row, and started moving the buttons from the ExtBoxWithBtns_Impl to the new row. Needed to create new public methods to be able to update button states of ExtMgrDialog from within the ExtBoxWithBtns_Impl class. Change-Id: Iea784d0b7237da3f8aa05862dbf1faf5acf98655 Reviewed-on: https://gerrit.libreoffice.org/30560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* profilesafe: Adapted to UIArmin Le Grand2016-10-141-37/+0
| | | | | | | | | | | | | Adaptions to UI, added more modes what the user can do in SafeMode. Adapted locations to write pack information and added places where to enter SafeMode. Implemented basically all five possible user choices Change-Id: Ic5324a8f77ab434309e840949c3803e65a75c538 Reviewed-on: https://gerrit.libreoffice.org/29785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
* profilesafe: Enhancements to BackupFileHelperArmin Le Grand2016-10-111-0/+37
| | | | | | | | | | Added helper class to allow easy creation/deployment of backups of a file. It works like a 'stack' of backups, supports easy add/remove/delete of last entry (LIFO). Added some work top allow opening dialogs in DeInit under linux. Change-Id: Idacec97ec2f097af9bd22a8a67b410c7677d17f1
* remove superfluous " at end of stringChristian Lohmaier2015-08-221-1/+1
| | | | Change-Id: Id5280f3ea136e061f4c1e21a60aeedf2d56d0bea
* correct control overlapping - minor UI refactoringLaurent Godard2015-03-021-3/+4
| | | | | | | | | the gtk-cancel button overlapped the "adding extension" label if %EXTENSION_NAME is too long. Change-Id: Ia6a650d7ff82853155da67527a1cdc865b01148e Reviewed-on: https://gerrit.libreoffice.org/14717 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* fdo#67343 Arrange Help button in a secondary groupAdolfo Jayme Barrientos2015-01-052-16/+4
| | | | | | | | | | | | This helps de-clutter action button groups and eases visual scanning. This patch also contains little layout tweaks where needed to separate the Help button from its neighbors when the dialog is too small. Change-Id: I56aafdaf2a5351bd7bcb4db693e520fd5c5166ce Reviewed-on: https://gerrit.libreoffice.org/13427 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix typo in updaterequireddialog.uiAdolfo Jayme Barrientos2014-11-201-1/+1
| | | | | | | Change-Id: I952486625daea6ed995b1e654d810585cce2c8c2 Reviewed-on: https://gerrit.libreoffice.org/12973 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove hardcoded “LibreOffice” nameAdolfo Jayme Barrientos2014-11-191-18/+4
| | | | | | | Change-Id: Iccaafa5a66df3df8bcfc1d2013b38bb15d37fbec Reviewed-on: https://gerrit.libreoffice.org/12972 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* fdo#86050 Let LibreOffice add scrollbars to widgets only when necessaryAdolfo Jayme Barrientos2014-11-091-1/+0
| | | | | | | Change-Id: I1a930a413c071d4d0c8855315dc85339e01b7d9b Reviewed-on: https://gerrit.libreoffice.org/12322 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* border_width from 12 to 6, as the rest of dialogsAdolfo Jayme Barrientos2014-09-281-1/+1
| | | | | | | | | Second pass. Change-Id: Ic4702d2ca7a9d54ee4712dcd073006f16b2d5d1d Reviewed-on: https://gerrit.libreoffice.org/11669 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* convert RID_QUERYBOX_INSTALL_FOR_ALL with custom buttons to .uiCaolán McNamara2014-08-251-0/+83
| | | | Change-Id: If7ac491cb6f256af22b48f681590adb1484350d0
* add a VclViewportCaolán McNamara2014-08-201-1/+6
| | | | | | | | like GtkViewport so that the scrolled region will be clipped, which also has the side-effect of stopping glade clobbering the non view-port scrolled .ui files on editing Change-Id: Ic64174b3a35b77f068e0085cdc7721aeb33f1d82
* Convert RID_DLG_DEPENDENCIES to .uiPalenik Mihály2014-08-041-0/+99
| | | | | | | Change-Id: I45779ac7dd88608e0f46b468cc51641b386e8a1a Reviewed-on: https://gerrit.libreoffice.org/10712 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Better labels for extension managerSamuel Mehrbrodt2014-07-251-5/+5
| | | | | | | | | Also align the heading on the left ("Display Extensions") Change-Id: Ied410032d9212ea2540be01447b175e0122e5707 Reviewed-on: https://gerrit.libreoffice.org/10524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* translatable="yes" in .ui filesAndras Timar2014-06-161-2/+2
| | | | Change-Id: I2f15875aaba4d960e7b66d38286ef08e091532e1
* convert extensions update required dialog to .uiCaolán McNamara2014-06-131-0/+178
| | | | Change-Id: Ia3ad4032f500e95db5db520292e6c8b07b0f5c0b
* the stock multilineedit is sufficient IMOCaolán McNamara2014-05-271-21/+10
| | | | Change-Id: I374c17fcda80c4f821271bf665a41beae100cccf