Age | Commit message (Collapse) | Author |
|
We already can use different labels for commands, based on
whether they're in a menu, context menu or a toolbar. But in
some cases we need different labels for the same type of UI
element, or even different icons.
One example is page/slide commands in Draw/Impress, as they
share same commands, but need different icons/labels.
Creating full-fledged duplicate slots just to satisfy the
need of UI representation seems like overkill, and isn't
flexible enough.
The proposed solution is to allow creation of command entries,
that do not correspond to real application slots, but instead
link to another existing commands. The "real" commands will be
used for controller factory and dispatch (execute/status) APIs,
thus fully retaining functionality.
This can be useful also for giving icons to complex commands
(i.e. commands with arguments).
Change-Id: I9b261b406ec8fc781cae06cf283963386379d4ad
|
|
Change-Id: I8fd2ffe5908074417aa5cfc00adbc54b6e9ed360
|
|
Change-Id: I5bac3a484b78c68022d2533cbedaf89259b189a9
|
|
Change-Id: I1e0e10d1561e32c5904e0e7352e914bb62b85363
|
|
Change-Id: I2b6c219c95e94cbbee4a7fbe7c2a2ffa45d0e151
|
|
Change-Id: I6be61592a16660d62be583e082ffcf5b1907770f
|
|
the css foo is modeled on the similiar gedit close buttons
in its tabs
Change-Id: I7af32ad0434a49c52eea215f797c502be7f96dac
|
|
Change-Id: Ibb75aa3eae99e499e1c2026c41b0bf51d7f8cf31
|
|
Change-Id: I481fe73256bf0d974c54a6419874fa76ea4beaa6
|
|
Change-Id: I5ef9d7bcff3fcc2b01c0e5578487a293c6e315df
|
|
Change-Id: I0c050396e6b1efa7dd2f003a79a9dc506135197a
Reviewed-on: https://gerrit.libreoffice.org/22555
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
including a fix for a rather glaring bug in BitmapTools.cxx
Change-Id: Id9db990b993cfeea9039c5fbaaa91996adeae22a
Reviewed-on: https://gerrit.libreoffice.org/22713
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I643c29befeb29b7b1cdd66375f661f4adb0e6cfa
Reviewed-on: https://gerrit.libreoffice.org/22638
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: I0966b87cdc04f6f7cc7d9b4bed3a8046df3547e6
|
|
Change-Id: I36daccd90bfa6ba0ee8b9e76bff2bd8494155a04
Reviewed-on: https://gerrit.libreoffice.org/22710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ic09d160ed6e3cdcd95bc04844ee8f20cfcb286ec
Reviewed-on: https://gerrit.libreoffice.org/22698
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
so we can optionally insert a native menubar above it all
Change-Id: Ib8486d7164493db79c868715a2aef209d7472c01
|
|
Adds native opengl polyline rendering to draw polylines, line joins
and line caps as triangle strips. The vertex shader allows for the
dynamic line width by calculating the correct vertex posiitons,
and the fragment shader is used for anti-aliasing.
Change-Id: If7982c828cae1fae59c57194c8ac77e5ad7f1d26
|
|
Change-Id: I5e4cec5f9ac5b6d92214533251f97fb73c62434f
|
|
Change-Id: Ic7e42f50adf85266ae6b61cf152c99081be11d4a
|
|
Change-Id: I5278a44d9d492d04618068afd1610358bb4b4d5c
|
|
This reuses lots of the unity machinery which is similar
to the mac concept of a single toplevel menubar.
So to drive popup menus, part of this is a rework that does away with the idea
that the "menubar" is the controller of the hierarchy, and instead the top
element becomes the controller
Change-Id: I4336391718844bc73cfc47c1043f99f0e3b812d8
|
|
...in 8bcc538953ceec4ef266f16cf72329bc6080d08c "WaE vs2015 literal implicit
casting," that explains why 89fe180fbcdfcd8ee3f52955a29eccd3b9ad0f36 "Silence
-fsanitize=shift ("left shift of negative value")" became necessary afterwards
Change-Id: I1b3d09ba59d60a88e34e48cc3697a20084623817
|
|
since ce81a477d228277f44e96356e85d92467eb7a0b9 "tdf#97458 - remove unused intel
opengl driver version special-casing."
Change-Id: I4d1e804bef054db5a999b23c35c308e1a0c5ece3
|
|
Change-Id: I27610f28f42368355bef1b3461fc3ccea1b07218
|
|
Change-Id: Iafa5d4b347da46dedb9431b6870f34b2b6fcad99
|
|
Avoiding de-compressing and re-compressing them saves lots of
time too. Avoid PNG compressing de-compressed JPEGs.
Change-Id: I7fe7db8e294e38d3240d284f73183a34ee48fb2d
Reviewed-on: https://gerrit.libreoffice.org/22657
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
e.g. the toplevel toolbars put excess entries in
menus. If the entry is not marked as checkable then
a native gtk menu entry will appear to be stateless
when it actually does have a toggle state
Change-Id: I7168b44d59fd64dfe264ed8ca26355252d697251
|
|
e.g. the draw/impress context menus. Handle these like
MenuManager::Activate does
Change-Id: I02a0e377a2d3a57ac7ac9239aaa75dbb856489d2
|
|
i.e. originally we preferred the old action, now
prefer the new action because e.g. wrap items in
writer only contain their "checkable" state on
their update
Change-Id: I6a6ce94126253396cc273834a7e8a4fb0a56921d
|
|
Change-Id: I9578849b0e78af15ddeb1e6495a48ccfb3f1c44a
Reviewed-on: https://gerrit.libreoffice.org/22651
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
so if the gtksalmenu integration wants to drive popups by setting a selection
on the vcl popup, then the same flush is needed after ShowNativePopupMenu
Change-Id: I59be60de5742d1e382cabefcbf0d8cdd5fc30b00
|
|
these menubar things can be menu things and can then do
away with the casting, no logic changes intended
Change-Id: Ibb1b5354d5e1483327f172d6890e134f1e4b9ee4
|
|
Include the X11 headers directly in files that used to include those
wrappers, and add the Pixel typedef to files that use it.
prex.h included headers that a file including prex.h might not need
at all, so when replacing prex.h and postx.h includes, try including
only X11 headers that are actually needed in their place.
Also fix saldisp.hxx and i18n_xkb.cxx relying on indirectly included
X11 headers.
Change-Id: If0c30c7facc28db7f2e410b5e6f1d52d8c7cdfd3
Reviewed-on: https://gerrit.libreoffice.org/22132
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I1bfd107502332fc86ae5e96bbc1f475b8d669c6c
Reviewed-on: https://gerrit.libreoffice.org/22547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: Ifa70183b86819c85611feda671fe76d4a2bf86d9
|
|
Change-Id: Ia5bbce27d9e9526122ce1e27389c7845e6709f27
|
|
Change-Id: I45895e9845a9037da207f001fece427452ed499f
|
|
Change-Id: Ib3da0dd36243fbd316992e9fa88f4bed37b24f6a
Reviewed-on: https://gerrit.libreoffice.org/22596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
a misuse od sal_uLong.. int is just fine here.
Change-Id: I09372b6384539cbb0beb557fdd9069cb1c63e235
Reviewed-on: https://gerrit.libreoffice.org/22595
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I0b6bf947f7d309820334ed1ac6eae5a29b5c69fb
|
|
Change-Id: I463db3f1e0d00fba6e2b83d2e29d381e7df4bd25
|
|
Change-Id: I8eb169d33fcb0217989b180aa0c4c0110875be32
Reviewed-on: https://gerrit.libreoffice.org/22503
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I5b0734a30dee323d41270de06f6a02fd676155c9
Reviewed-on: https://gerrit.libreoffice.org/22502
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I25ca238931da039c244c2af6171d69c9875f95ff
Reviewed-on: https://gerrit.libreoffice.org/22501
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717
Reviewed-on: https://gerrit.libreoffice.org/22498
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I2ad98616ff60ebb88f14675d94bd82e51d136c7f
|
|
Change-Id: I08566926c931e1e9ef46e44ce265bde8148439f6
|
|
I suppose
Change-Id: I2821665548077162c4a434876aee407127b312a4
|
|
Change-Id: I8966fd13d2fef4a86b19ad1916f1c266cfc037cc
|