~trebelnik-stefina/cinnamon-test/+git/Cinnamon:iter-20

Last commit made on 2019-06-05
Get this branch:
git clone -b iter-20 https://git.launchpad.net/~trebelnik-stefina/cinnamon-test/+git/Cinnamon

Branch merges

Branch information

Recent commits

6c27ebb... by Clement Lefebvre <email address hidden>

Revert "runDialog: Fix run dialog not opening when cursor is hovering over a panel"

This reverts commit 32855c198036740f3b9ccf2ee36af6bd3f20557b.

By reverting this commit:

- We're breaking the ability to invoke the run dialog when the mouse is over the panel again.
(we'll need to fix that some other way).

- We're fixing the rundialog not closing after calling a DEVEL_COMMAND.
(this can be fixed by adding this.close() after this special case).

- We're fixing the rundialog not closing after issuing a pkexec call (for instance
pkexec xed).

f09bd3f... by Clement Lefebvre <email address hidden>

window-list: Fix skip_taskbar call on metawindow

Fixes https://github.com/linuxmint/cinnamon/issues/8600

ec746f0... by Jason Hicks

st-label: Move St-specific shadow processing out of the paint vfunc (#8588)

* st-label: Revert changes from 37d75d48e4f0214e498dd559ee257946ad3fed6f

* Avoid a function call during paint

Also not NULL'ing it because it gets re-assigned.

* Simplify expressions

This would need strict comparison if we were adding an incompatible type
to the expression.

* Remove another function call from StLabel's paint vfunc

* Move StWidgetPrivate to st-private.h so it can be used in st-label.c

* st-label: Move St-specific shadow processing out of the paint vfunc

We are fetching the theme node and shadow object on paint - both heavy
calls. That is our only way of knowing if we should process text
shadows. Very few labels actually make use of this feature in Cinnamon,
so move it to the allocate vfunc, which will get called less but after
any style change. We can only know from both the style change and
allocate vfuncs if the style has actually changed by checking
`is_style_dirty` on StWidgetPrivate. The alternative is to change the
public API which will break things. This is better long-term because
many internal St methods are reusing StWidget's public API when they
don't need to.

This also removes the type cast instance checks in touched methods
because buried in the layers of macros is a call to
`g_type_check_instance_cast` in GLib, which will incur a performance
penalty. We don't need to worry about type checking at runtime in
internal vfuncs.

3748626... by Michael Webster

cinnamon-settings.py: Improve bring_selection_into_view calculations.

- Prevent any scrolling from occuring if the selected item is fully
  within the viewport.
- Add some overscroll for padding (having the selected icon right up
  against the edge of the view doesn't look very good).
- Simplify some of the calculations.

730f258... by Joseph Mccullar

SettingsWidgets: Convert to use the new style used in xapps (#8577)

This converts everything except the desktop settings to the mew style used
in python-xapps. The desktop settings have to be adjusted in Nemo. A few
changes in spacing were made to make this work better in cinnamon settings.

780b2b1... by Clement Lefebvre <email address hidden>

SettingsWidgets: Remove obsolete classes

1f660f3... by Jason Hicks

runDialog: Fix run dialog not opening when cursor is hovering over a panel

Only listen to key-focus-out when _run is called

e5658fa... by Michael Webster

workspace-switcher applet: Fix updating the focus window position and
size at startup, and ensure the focus window starts out on top of the
graph button.

The repaint function for workspace graph buttons was relying on the
last user time for each window to sort them, and this seems to be
not entirely reliable. Just make sure to always paint the focused
window's rectangle last.

The _createButtons methods was disconnecting all signals before re-
connecting the focus-changed handler. If _onFocusChanged returned
early (because the focus window stayed the same) the move and resize
handlers wouldn't be reconnected. Since these three handlers are the
only ones the signal manager is keeping track of, just selectively
disconnect instead of disconnecting all.

75119cd... by Joseph Mccullar

cinnamon-settings-ui: Remove the hack to center the stack switcher (#8520)

When the back button is hidden the hack we used to center the stack switcher
stops it from being centered. Nowadays we have gtk_box_set_center_widget().
Use that instead so the stack switcher is always centered correctly.

128132e... by Jason Hicks

Reduce public function invocation in C code for simple getters with no logic (#8395)

* cinnamon-app: Access the state enum with a pointer

cinnamon_app_get_state is a public function, we should only use it
unless the code is called outside CinnamonApp.

* Make the CinnamonGlobal struct available to C code

This makes it easier to reduce public function invocation.

* cinnamon-window-tracker: Reduce public CinnamonGlobal getter usage

* cinnamon-app: Reduce public CinnamonGlobal getter usage