[mate-panel] 01/05: debian/patches: Add 0001_fix_notification_area_item_orientation.patch.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Apr 10 13:16:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch ubuntu/zesty
in repository mate-panel.
commit c1b11cc44a5cde8ec27cc378ef282fdbb6cc4737
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Mon Apr 10 14:14:19 2017 +0100
debian/patches: Add 0001_fix_notification_area_item_orientation.patch.
---
...01_fix_notification_area_item_orientation.patch | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/debian/patches/0001_fix_notification_area_item_orientation.patch b/debian/patches/0001_fix_notification_area_item_orientation.patch
new file mode 100644
index 0000000..93ea33b
--- /dev/null
+++ b/debian/patches/0001_fix_notification_area_item_orientation.patch
@@ -0,0 +1,30 @@
+Description: notification-area: Fix item orientation
+Author: Colomban Wendling <cwendling at hypra.fr>
+Abstract:
+ Properly forward orientation to the items. This especially fixes SNI
+ items height in vertical panels, but affects several other details on
+ SNI items.
+
+
+--- a/applets/notification_area/na-box.c
++++ b/applets/notification_area/na-box.c
+@@ -106,15 +106,15 @@ item_added_cb (NaHost *host,
+ g_return_if_fail (NA_IS_ITEM (item));
+ g_return_if_fail (NA_IS_BOX (self));
+
++ g_object_bind_property (self, "orientation",
++ item, "orientation",
++ G_BINDING_SYNC_CREATE);
++
+ self->items = g_slist_prepend (self->items, item);
+ gtk_box_pack_start (GTK_BOX (self), GTK_WIDGET (item), FALSE, FALSE, 0);
+
+ self->items = g_slist_sort (self->items, compare_items);
+ gtk_container_foreach (GTK_CONTAINER (self), reorder_items, self);
+-
+- g_object_bind_property (self, "orientation",
+- item, "orientation",
+- G_BINDING_DEFAULT);
+ }
+
+ static void
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-panel.git
More information about the pkg-mate-commits
mailing list