Commit 85243640d43a02a40db6fdf8dbfb212299e24d6b

Authored by Martin Wimpress
1 parent ae512a47

debian/patches: Drop 0002_properly_propagate_sys_tray_orientation_changes.patch. Applied upstream.

debian/patches/0002_properly_propagate_sys_tray_orientation_changes.patch
... ... @@ -1,30 +0,0 @@
1   -Description: system-tray: Properly propagate orientation changes
2   -Author: Colomban Wendling <cwendling@hypra.fr>
3   -Abstract:
4   - This fixes menu positioning on some system tray items when the panel
5   - orientation changed since it was initially started.
6   -
7   -
8   ---- a/applets/notification_area/na-box.c
9   -+++ b/applets/notification_area/na-box.c
10   -@@ -243,14 +243,19 @@ na_box_realize (GtkWidget *widget)
11   - NaBox *self = NA_BOX (widget);
12   - GdkScreen *screen;
13   - GtkOrientation orientation;
14   -+ NaHost *tray_host;
15   -
16   - GTK_WIDGET_CLASS (na_box_parent_class)->realize (widget);
17   -
18   - /* Instantiate the hosts now we have a screen */
19   - screen = gtk_widget_get_screen (GTK_WIDGET (self));
20   - orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self));
21   -+ tray_host = na_tray_new_for_screen (screen, orientation);
22   -+ g_object_bind_property (self, "orientation",
23   -+ tray_host, "orientation",
24   -+ G_BINDING_DEFAULT);
25   -
26   -- add_host (self, na_tray_new_for_screen (screen, orientation));
27   -+ add_host (self, tray_host);
28   - add_host (self, sn_host_v0_new ());
29   - }
30   -
debian/patches/series
1   -0002_properly_propagate_sys_tray_orientation_changes.patch
2 1 1000_prevent_menubar_destruction_when_enabling_global_menus.patch
... ...