<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mate-notification-daemon/src/themes, branch 1.22</title>
<subtitle>Daemon to displays passive pop-up notifications</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/'/>
<entry>
<title>Fix decoding the hints dictionary.</title>
<updated>2019-09-17T19:04:31+00:00</updated>
<author>
<name>Kyle Brenneman</name>
<email>kyle.brenneman@gmail.com</email>
</author>
<published>2019-09-04T02:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=8f539a1bc8c3c82c8b2f8045a186d7435272fb37'/>
<id>8f539a1bc8c3c82c8b2f8045a186d7435272fb37</id>
<content type='text'>
g_variant_lookup works like g_variant_get, so using a format string of "v" only
works if the type is actually a GVariant. Since none of the hints have GVariant
values, that means every g_variant_get with a "v" format will fail.

Fix all of the g_variant_lookup calls so that they either unpack a value
directly, or use a "@" prefix when it's more convenient to fetch the value as
a GVariant pointer.

In addition, in cases where we do fetch a GVariant, make sure that we
unreference it afterward.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
g_variant_lookup works like g_variant_get, so using a format string of "v" only
works if the type is actually a GVariant. Since none of the hints have GVariant
values, that means every g_variant_get with a "v" format will fail.

Fix all of the g_variant_lookup calls so that they either unpack a value
directly, or use a "@" prefix when it's more convenient to fetch the value as
a GVariant pointer.

In addition, in cases where we do fetch a GVariant, make sure that we
unreference it afterward.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use GVariant</title>
<updated>2018-06-06T15:41:02+00:00</updated>
<author>
<name>yetist</name>
<email>yetist@gmail.com</email>
</author>
<published>2018-05-08T05:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=dccffbc0a11a130ead7fd7101d90a2d8c043bfec'/>
<id>dccffbc0a11a130ead7fd7101d90a2d8c043bfec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>require GTK+ 3.22 and GLib 2.50</title>
<updated>2018-01-30T08:09:33+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2018-01-28T17:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=bc42c561e29041c168b806a5618580066aa8a222'/>
<id>bc42c561e29041c168b806a5618580066aa8a222</id>
<content type='text'>
and drop additional checks for min/max GLib versions, it's not needed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and drop additional checks for min/max GLib versions, it's not needed
</pre>
</div>
</content>
</entry>
<entry>
<title>WidthOfScreen and HeightOfScreen implementation</title>
<updated>2017-12-12T19:44:34+00:00</updated>
<author>
<name>Pablo Barciela</name>
<email>scow@riseup.net</email>
</author>
<published>2017-12-12T19:36:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=34faef680f7b084a1e9d844a438473c90f7d2224'/>
<id>34faef680f7b084a1e9d844a438473c90f7d2224</id>
<content type='text'>
This commit reverts:

https://github.com/mate-desktop/mate-notification-daemon/commit/52b7c3807e71278f2d902a79cf6c08c839a1b0ad

And it applies an alternative to fix the deprecated functions:

gdk_screen_get_width
gdk_screen_get_height
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit reverts:

https://github.com/mate-desktop/mate-notification-daemon/commit/52b7c3807e71278f2d902a79cf6c08c839a1b0ad

And it applies an alternative to fix the deprecated functions:

gdk_screen_get_width
gdk_screen_get_height
</pre>
</div>
</content>
</entry>
<entry>
<title>gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:</title>
<updated>2017-08-28T23:57:52+00:00</updated>
<author>
<name>ZenWalker</name>
<email>scow@riseup.net</email>
</author>
<published>2017-08-28T23:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=c556e09077bb820e752d7266d2b20328db629883'/>
<id>c556e09077bb820e752d7266d2b20328db629883</id>
<content type='text'>
avoid deprecated:

gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_point
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
avoid deprecated:

gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_point
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid deprecated gdk_screen_get_width/height</title>
<updated>2017-08-13T08:56:16+00:00</updated>
<author>
<name>ZenWalker</name>
<email>scow@riseup.net</email>
</author>
<published>2017-08-08T00:43:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=52b7c3807e71278f2d902a79cf6c08c839a1b0ad'/>
<id>52b7c3807e71278f2d902a79cf6c08c839a1b0ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>themes/slider: Vertically center the pie_countdown</title>
<updated>2017-02-14T13:03:17+00:00</updated>
<author>
<name>Ikey Doherty</name>
<email>ikey@solus-project.com</email>
</author>
<published>2016-11-17T00:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=3d51b589ec4e64b4b8beea783cf3336aac4e6cd7'/>
<id>3d51b589ec4e64b4b8beea783cf3336aac4e6cd7</id>
<content type='text'>
Prior to this change we could end up with a warped pie countdown if the
buttons were of a larger size, breaking the constraints of the pie to be
vertically stretched.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this change we could end up with a warped pie countdown if the
buttons were of a larger size, breaking the constraints of the pie to be
vertically stretched.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>themes: Implement support for action-icons buttons</title>
<updated>2017-02-14T13:03:17+00:00</updated>
<author>
<name>Ikey Doherty</name>
<email>ikey@solus-project.com</email>
</author>
<published>2016-11-16T18:44:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=471a3762c1b1b1515c8e5975e78ad5ebb11986d1'/>
<id>471a3762c1b1b1515c8e5975e78ad5ebb11986d1</id>
<content type='text'>
Now that all of the elements are in place to support (dynamically) the
action icons, we can use the 'key' in place of the 'label' when the client
sends an hint requesting it.

Some other minor issues were corrected in this change, such as ensuring that
we always show *all* widgets inside of the notification window so that when
a live notification window is updated, the action box state is not then
hidden from view.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that all of the elements are in place to support (dynamically) the
action icons, we can use the 'key' in place of the 'label' when the client
sends an hint requesting it.

Some other minor issues were corrected in this change, such as ensuring that
we always show *all* widgets inside of the notification window so that when
a live notification window is updated, the action box state is not then
hidden from view.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>themes: Ensure that we never add more than one pie_countdown</title>
<updated>2017-02-14T13:03:17+00:00</updated>
<author>
<name>Ikey Doherty</name>
<email>ikey@solus-project.com</email>
</author>
<published>2016-11-16T18:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=70425533f5648d00113e7bfeabe52198c6bbdad8'/>
<id>70425533f5648d00113e7bfeabe52198c6bbdad8</id>
<content type='text'>
Prior to this commit we would always end up adding multiple pie_countdown
widgets in a number of situations when updating the notification. In modern
media player apps, many updates are sent for the lifetime of a single
notification window, leading to new drawing areas being added and counting
down with each track/information change.

Note this hasn't been noticable for quite some time, because in many of the
themes the pie countdown hasn't actually been visible due to the actions
box having become hidden completely, meaning that the actions and pie show
very briefly, and are immediately nuked on a change to the notification.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this commit we would always end up adding multiple pie_countdown
widgets in a number of situations when updating the notification. In modern
media player apps, many updates are sent for the lifetime of a single
notification window, leading to new drawing areas being added and counting
down with each track/information change.

Note this hasn't been noticable for quite some time, because in many of the
themes the pie countdown hasn't actually been visible due to the actions
box having become hidden completely, meaning that the actions and pie show
very briefly, and are immediately nuked on a change to the notification.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>themes: Add functionality to test for presence of action-icons</title>
<updated>2017-02-14T13:03:17+00:00</updated>
<author>
<name>Ikey Doherty</name>
<email>ikey@solus-project.com</email>
</author>
<published>2016-11-16T17:43:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-notification-daemon/commit/?id=124254a41b45b790866c8df8d116a7bbef47ca50'/>
<id>124254a41b45b790866c8df8d116a7bbef47ca50</id>
<content type='text'>
Each of the themes will have to detect the 'action-icons' hint passed to
them in 'set_notification_hints' to make a determination on whether or not
to use image based buttons, instead of textual buttons, in their actions
boxes.

This factory behaviour simply extends the existing checks for urgency-hint,
as well as unifying the code style between the various in-tree theme
implementations.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each of the themes will have to detect the 'action-icons' hint passed to
them in 'set_notification_hints' to make a determination on whether or not
to use image based buttons, instead of textual buttons, in their actions
boxes.

This factory behaviour simply extends the existing checks for urgency-hint,
as well as unifying the code style between the various in-tree theme
implementations.

Signed-off-by: Ikey Doherty &lt;ikey@solus-project.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
