Commit Graph

49216 Commits

Author SHA1 Message Date
15a3747406 widget-factory: Usefully demo Frame shadow types
Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all
treated identically and provide no way for themes to differentiate, just
keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame
2017-09-14 18:34:07 +01:00
441a144e29 Frame: Add missing fixed-width format to enums 2017-09-13 19:51:23 +01:00
26104a30a5 FlowBox: Explain how to avoid inflated min size
along the orthogonal orientation. It seems a FlowBox on its own can only
handle being shrunk along its main orientation. The orthogonal requests
a huge min size – reserving what it would need if the main orientation
got its min size, which would flow all children in 1 line orthogonally.

Adding it to a ScrolledWindow (any policy) enables free shrinking, so
size_allocate() can reflow how users in this situation probably expect.

https://bugzilla.gnome.org/show_bug.cgi?id=787021
2017-09-12 22:48:58 +01:00
e7fbfdd067 ColorButton: Don’t destroy dialog @ ::delete-event
Without specifically connecting ::delete-event to something, the dialog
will be destroyed when it is closed, for example by pressing Esc. This
meant that when dismissing it this way, unlike by pressing Cancel, any
custom palette would be lost when the dialog was next opened, and so on.

Resolve this by making ::delete-event just do GTK_RESPONSE_CANCEL, so
closing the dialog has the same effect as clicking its Cancel button.

https://bugzilla.gnome.org/show_bug.cgi?id=787444
2017-09-12 21:15:53 +01:00
4b88560feb gtknotebook: Simplify some if-conditions
Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=787303
2017-09-12 21:15:53 +01:00
abef21776d gtkmountoperation-x11: Do array length check before dereference
Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=787302
2017-09-12 21:15:53 +01:00
92e309c84c Update Greek translation 2017-09-12 19:42:33 +00:00
3a88aac5e6 Update Greek translation 2017-09-12 19:40:44 +00:00
e9bbcf7b15 Update Russian translation 2017-09-12 19:30:36 +00:00
eeeb8f21e2 Update Russian translation 2017-09-12 19:15:22 +00:00
d80969ae8e Update Chinese (Taiwan) translation 2017-09-12 17:24:00 +00:00
9b52ac66fd Update Chinese (Taiwan) translation 2017-09-12 17:07:41 +00:00
88152adedd Updated Dutch translation 3.22 2017-09-12 12:38:19 +02:00
fad199b406 3.22.21 2017-09-11 11:19:47 -04:00
cf288a1b09 Fix a corner-case for emoji input
As reported in https://github.com/ibus/ibus/issues/1944,
typing u201e while holding Ctrl+Shift used to give a „
when letting go of Ctrl+Shift. This broke when we introduced
Ctrl+Shift+e to start Emoji sequences. Fix this by only
looking for Ctrl+Shift+e if we are not already in a hex
sequence.
2017-09-11 11:19:47 -04:00
2102f78582 Update Spanish translation 2017-09-11 13:57:21 +00:00
d251daffeb Updated Danish translation 2017-09-10 18:16:33 +02:00
58801a0b03 Updated Danish translation 2017-09-10 18:15:01 +02:00
60dea67275 Update Turkish translation 2017-09-10 15:09:31 +00:00
b939932cad Fixes to Catalan translation 2017-09-10 08:22:12 +02:00
4d5e12c075 Update Basque language 2017-09-09 17:54:59 +02:00
34b4fe49ff Update Basque language 2017-09-09 17:54:30 +02:00
6d7103b462 Updated Slovenian translation 2017-09-08 11:02:10 +02:00
9fe68b8c12 Update Croatian translation 2017-09-07 18:35:09 +00:00
660cc709fc Entry: Fix leak of text in ensure_has_tooltip()
Thanks to Mohammed Sadiq for noticing this. I guess I got
Widget.get_tooltip_text() confused with Label.get_label().

https://bugzilla.gnome.org/show_bug.cgi?id=787410
2017-09-07 14:54:14 +01:00
70648318a3 Update Finnish translation 2017-09-07 08:41:41 +00:00
323ce68e98 Update Polish translation 2017-09-06 20:14:41 +02:00
8e434d20ae Update Turkish translation 2017-09-06 06:48:16 +00:00
f272a2facc Update German translation 2017-09-05 17:48:13 +00:00
4dfee01af6 Updated Czech translation 2017-09-05 16:37:09 +02:00
417d345019 adwaita: use generic sidebar icon style
https://bugzilla.gnome.org/show_bug.cgi?id=786613
2017-09-05 13:55:44 +02:00
bb445a9a75 Update Spanish translation 2017-09-05 10:36:15 +00:00
a6393e1a47 Adwaita: Leave fg color of hovered emoji alone
Only HighContrast has a clear problem, and this avoids some probably
unwanted changes of certain colours in the weird greyscale emoji I have
available to test here.
2017-09-05 01:38:35 +01:00
464df4007b themes: Use $selected_fg_color for :hovered emoji
This is much needed for HighContrast as otherwise emoji are invisible
(or nearly in Inverse). It also syncs up with hovered menu items, etc.

https://bugzilla.gnome.org/show_bug.cgi?id=787279
2017-09-05 01:03:54 +01:00
21c7ea2bd4 HighContrast: Kill abominable headerbar vseparator
Commit 70b61973fc fixed a syntax error and
unwittingly released this bizarre mutant.

https://bugzilla.gnome.org/show_bug.cgi?id=787280
2017-09-05 01:01:50 +01:00
99e27ab145 ComboBox: Don’t popdown if releasing on scrollbar
On button release, we were popping down if the event widget was anything
but priv->button. This broke scrolling by clicking a mouse button, i.e.
when releasing a click in the trough or finishing a drag of either bar.
That’s unexpected, inconvenient, and pointless. So, let’s stop doing it.

https://bugzilla.gnome.org/show_bug.cgi?id=738893
2017-09-04 23:59:56 +01:00
2e866ca293 Update Swedish translation 2017-09-04 22:16:39 +00:00
7210945292 EmojiChooser: Ensure always have a selected button
We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.

https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:33:24 +01:00
02e310a1d5 EmojiChooser: Check the 1st button before 1st show
We scroll to the top in show() but only ever selected a button when the
adjustment changed, which doesn’t happen in init(). Check it manually.

https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:33:24 +01:00
14d376a2a6 sidebarrow: Remove useless size group
Nice try, but size groups don't work with invisible widgets anyway.
Invisible widgets request 0×0.

[reapplying after accidental reintroduction in the cloudproviders patch;
see https://bugzilla.gnome.org/show_bug.cgi?id=786123#c39]
2017-09-04 22:33:24 +01:00
51e636be0f 3.22.20 2017-09-04 13:02:58 -04:00
dd99aeb4bb Update Kazakh translation 2017-09-04 15:48:15 +00:00
9913c4cbaa 3.22.20 2017-09-04 11:29:19 -04:00
8a940474d7 gtkplacessidebar: adapt libcloudproviders api rename
https://bugzilla.gnome.org/show_bug.cgi?id=786123
2017-09-04 11:27:31 -04:00
dc7952d2c6 HighContrast: basic port of emoji CSS from Adwaita
This is better than nothing: without specific CSS, the Chooser was too
large, the emoji were too small, and the buttons were generally ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=786956
2017-09-04 10:58:50 -04:00
517b5360f4 Adwaita: proper colours for inactive emoji buttons
Use opacity to differentiate unselected/hovered/selected buttons. It had
assumed bg < border < fg colours, which may be false, as in Adwaita:dark

This also means we do not need to special-case for the backdrop state.

https://bugzilla.gnome.org/show_bug.cgi?id=786956
2017-09-04 10:58:42 -04:00
419ecc9e80 Adwaita: Make use of SASS syntax for emoji stuff
This makes the theme easier to maintain.

https://bugzilla.gnome.org/show_bug.cgi?id=786956
2017-09-04 10:58:28 -04:00
429a9e6b60 Updates 2017-09-04 09:56:24 -04:00
192ca899fc Update Italian translation 2017-09-04 11:43:05 +00:00
1e1012696a Updated Lithuanian translation 2017-09-03 23:37:27 +03:00