- 29 Nov, 2019 7 commits
-
-
Federico Mena Quintero authored
st-theme-node.c already handles those by itself. Part of GNOME/gnome-shell#1934
-
Federico Mena Quintero authored
The idea is to move handling of "inherit" as early in the parsing as possible. Part of GNOME/gnome-shell#1934
-
Federico Mena Quintero authored
The former already checks for term_is_transparent() as its first thing. Part of GNOME/gnome-shell#1934
-
Federico Mena Quintero authored
And make the end of st_theme_node_lookup_length() consistent with st_theme_node_lookup_color() and st_theme_node_lookup_shadow(). Part of GNOME/gnome-shell#1934
-
Federico Mena Quintero authored
It was passed as NULL in the single caller of this function. Part of GNOME/gnome-shell#1934
-
Federico Mena Quintero authored
This is all of the original libcroco, minus these two which we don't use: - cr-sel-eng - the CSS selection engine for xmlNode. - cr-style. Part of GNOME/gnome-shell#1934
-
Florian Müllner authored
When commit c6cea277 replaced Shell.GenericContainer, the check whether the required width exceeds the avilable width was changed from using the minimum widths of items to the natural width of the scroll view. That doesn't work correctly, as the *natural* width may well exceed the actually used width: SwitcherList bases its width request on children's minimum sizes to force labels to ellipsize. Fix this by using the minimum width of the scroll view's child instead. GNOME/gnome-shell#1834
-
- 28 Nov, 2019 1 commit
-
-
Florian Müllner authored
Since commit 28c535e3, we use the timezone associated with the ICalTime instead of the default timezone when converting to time_t. However while that is correct for most events, for ICalTimes that don't have a timezone associated we still want to fall back to the default timezone instead of UTC. GNOME/gnome-shell#1895
-
- 27 Nov, 2019 2 commits
-
-
Joonas Henriksson authored
GNOME/gnome-shell!865
-
Joonas Henriksson authored
Prevent the app-well-app-running dot from getting unintentionally hidden behind the overview-icon background by initializing the running-dot after its sibling overview-icon. GNOME/gnome-shell!866
-
- 26 Nov, 2019 3 commits
-
-
Florian Müllner authored
It is true that delete is a javascript keyword, but that doesn't prevent it from being used as method name - there are event built-in types like Map or Set with delete() methods! So if that hack was ever needed, this hasn't been the case for years now; just removed the hack now. GNOME/gnome-shell!862
-
Ricardo Silva Veloso authored
-
Daniel Garcia Moreno authored
We're storing in the texture cache images and scaled images appending the scaling factor to the key. When a file changes the cache key corresponding to that file is removed, but not the keys for the scaled ones so that images in the cache are never reloaded. This patch removes all keys from the cache related to the file that changes, including those with the scaling factor. A new set (hash table) was added to keep track of scale used to be able to remove all possible images in the cache. When the KEY is removed from the cache, we can look now in the scale set for and each scale we also remove the key "KEY1.000000", "KEY2.000000", etc. Assuming that the number of used scales is small (I would typically expect one or two), the overhead should be negligible. GNOME/gnome-shell!567
-
- 25 Nov, 2019 8 commits
-
-
Benjamin Berg authored
If the GNOME shell crashes, we run a service that may disable extensions. This is important so that users will not be locked out of their own session in case an extension is causing crashes. As this is a very agressive action, we tried to only do this in the first two minutes of the session. Unfortunately, the logic was broken and would result in an unclean session shutdown. Fix this by using the newly introduced gnome-shell-disable-extensions file. This is created by the extension subsystem for a period of time to indicate the extensions may be the cause of a gnome-shell failure. See GNOME/gnome-session#43 for a log of the bug happening and the gnome-session part to fix this. GNOME/gnome-shell!858
-
Benjamin Berg authored
When the extension system is loaded, create the gnome-shell-disable-extensions file in the users runtime directory. This file is automatically removed 60s later. The sole purpose of this file is to be consumed by the systemd units. If the file exists, the systemd units will disable extensions when the gnome-shell fails. GNOME/gnome-shell!858
-
Efstathios Iosifidis authored
-
Florian Müllner authored
The whitelist is a list of well-known D-Bus names, which we then search for the unique name we get from the method invocation - unsuccesfully. Fix this by watching the bus for any name in the whitelist in order to maintain a map from wel-known to unique name that we can use for matching. GNOME/gnome-shell#1916
-
Joonas Henriksson authored
GNOME/gnome-shell!855
-
Joonas Henriksson authored
Since the notification message close button had no border, or mouse over effect, there was no way to determine whether the mouse cursor were over the button. Improve this by adding a message-close-button class for the close button, and a styling for its hovered state, based on media control button styling. GNOME/gnome-shell!855
-
Joonas Henriksson authored
Increases contrast between normal and hovered states in message-media-control buttons. Previously there was very little difference between the two states, making it hard to distinguish whether the mouse cursor was over the button. GNOME/gnome-shell!855
-
Florian Müllner authored
When removing a string from a settings list, we iterate over all existing entries and copy all strings except the one that's being removed to a new list, which is then written to GSettings. However we currently always increment the index, so we end up with a NULL entry in place of the removed entry, which is then interpreted as the end of the list. In other words, we also remove all entries that follow the removed string. Fix this by looping over the list entries instead of the index, and only increment the index for entries we copy. GNOME/gnome-shell#1946
-
- 24 Nov, 2019 1 commit
-
-
verdre authored
Currently when dragging an icon to the space above or below the appGrid to switch pages, we do so very quickly without checking when the last page-switch happened. This makes it hard to move icons to pages which are not the first or the last one, since the other pages are skipped very quickly. To fix this, add a timeout of 1 second that blocks switching pages after a page-switch using drag overshoot occured. Fixes GNOME/gnome-shell#1693
-
- 23 Nov, 2019 17 commits
-
-
Florian Müllner authored
We currently always switch app pages when a dragged app icon moves outside the grid boundaries, regardless of any previous page switches. This makes it too easy to switch multiple pages accidentally, so add a small threshold that the icon has to move back towards the grid before allowing another page switch. GNOME/gnome-shell#1693
-
verdre authored
There's no need for a `inhibitEventBlocker` interface. Since we connect to "open-state-changed" of our folders in the AllView anyway, we can just make the event blocker visible while a folder is opened, and hide the event blocker during DnD. This allows keeping the eventBlocker reactive at all times and fixes an issue where DnD to create a new folder is impossible if no folders are present because the eventBlocker would not get inhibited. Fixes GNOME/gnome-shell#1652
-
Florian Müllner authored
The audio feedback for volume changes is useful when nothing is outputting sound, but only then. Skip the sound notification in that case. GNOME/gnome-shell#53
-
Florian Müllner authored
gnome-volume-control now has API to expose the stream state, which we will need in the following commit. GNOME/gnome-shell#53
-
Florian Müllner authored
Emitting ::drag-end after changing the slider value via arrow keys was a cheap way to make the sound feedback work for keyboard input. But now that the volume indicator plays the sound on ::value-changed as well, we can stop doing that - after all, key presses aren't drags. Besides that, this will make the limiting of feedback to actual volume changes from the previous commit work for key events as well. GNOME/gnome-shell#53
-
Florian Müllner authored
gnome-settings-daemon doesn't play the volume change sound when the volume stayed the same (that is, it is already at its maximum or minimum). This looks like the right thing to do, so copy its behavior. GNOME/gnome-shell#53
-
Florian Müllner authored
Commit 8d4855f1 accidentally removed the volume change feedback for scroll events. Add it back to be consistent again with moving the slider via arrow keys, slider drags/clicks and gsd's media keys handling. GNOME/gnome-shell#53
-
verdre authored
This was missed in 910037f0, make sure we do the same thing for AppIcons that are created when reloading folders. GNOME/gnome-shell!851
-
Florian Müllner authored
Eslint didn't spot this before version 6.5, so this fell through the cracks.
-
Florian Müllner authored
While those should be concise enough to fit, they may not where temperatures drop into double-digit negatives. It seems better to accept some awkward horizontal scrolling in that case than shorten relevant information. GNOME/gnome-shell#1926
-
Florian Müllner authored
Commit b779f6f7 added a check to filter out invalid weather forecasts. However the check is currently done when creating UI for the forecasts, which means we end up with fewer forecasts than we could display if any forecasts are invalid. We can avoid that issue by checking the validity while collecting the forecasts, so do that instead. GNOME/gnome-shell#1927
-
Florian Müllner authored
We currently always start with the current weather info, then append forecasts. This is slightly confusing, as the only hint that the first item is special is the past (and potentially "odd") time. Stop doing that and base all items on forecasts. GNOME/gnome-shell#1927
-
Florian Müllner authored
As we get closer to midnight, we show fewer forecasts than we could fit, or none at all. It makes more sense to continue the forecasts into the wee hours in that case, so only exclude past forecasts, but not ones from following days. GNOME/gnome-shell#1927
-
Florian Müllner authored
Weather stations can have unwieldy long names, which don't fit the limited space we have available. City names are usually more suitable, so use the name of the nearest city instead if possible. GNOME/gnome-shell#1927
-
Florian Müllner authored
In case of a very long location name, the label may take up all available space. Make sure there is at least some spacing between header and location in that case. GNOME/gnome-shell#1927
-
Florian Müllner authored
The two labels use different font sizes, so they don't align properly. Unfortunately we don't have BASELINE alignment in Clutter, but at least END comes closer than the default FILL. GNOME/gnome-shell#1927
-
Florian Müllner authored
Before making code changes, make sure the class confirms to the new coding style. GNOME/gnome-shell#1927
-
- 22 Nov, 2019 1 commit
-
-
Florian Müllner authored
Commit c8994538 lifted the requirement of switcher keybindings to contain a modifier, however it is currently only possible to finish it by letting it time out. Improve that by also accepting space/enter key presses to confirm the selection immediately. GNOME/gnome-shell#1883
-