Change scrolling behaviour in a few more places
This commit is contained in:
parent
4b0b937c41
commit
0592840ded
@ -279,6 +279,8 @@ class NetworkPanel(ScreenPanel):
|
|||||||
scroll.set_property("overlay-scrolling", False)
|
scroll.set_property("overlay-scrolling", False)
|
||||||
scroll.set_hexpand(True)
|
scroll.set_hexpand(True)
|
||||||
scroll.set_vexpand(True)
|
scroll.set_vexpand(True)
|
||||||
|
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||||
|
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||||
self.labels['connecting_info'] = Gtk.Label(_("Starting WiFi Re-association"))
|
self.labels['connecting_info'] = Gtk.Label(_("Starting WiFi Re-association"))
|
||||||
self.labels['connecting_info'].set_halign(Gtk.Align.START)
|
self.labels['connecting_info'].set_halign(Gtk.Align.START)
|
||||||
self.labels['connecting_info'].set_valign(Gtk.Align.START)
|
self.labels['connecting_info'].set_valign(Gtk.Align.START)
|
||||||
|
@ -164,6 +164,8 @@ class SystemPanel(ScreenPanel):
|
|||||||
scroll.set_hexpand(True)
|
scroll.set_hexpand(True)
|
||||||
scroll.set_vexpand(True)
|
scroll.set_vexpand(True)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
|
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||||
|
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||||
|
|
||||||
grid = Gtk.Grid()
|
grid = Gtk.Grid()
|
||||||
grid.set_column_homogeneous(True)
|
grid.set_column_homogeneous(True)
|
||||||
@ -276,6 +278,8 @@ class SystemPanel(ScreenPanel):
|
|||||||
scroll.set_hexpand(True)
|
scroll.set_hexpand(True)
|
||||||
scroll.set_vexpand(True)
|
scroll.set_vexpand(True)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
|
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||||
|
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||||
|
|
||||||
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting recovery for"), program))
|
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting recovery for"), program))
|
||||||
self.labels['update_progress'].set_halign(Gtk.Align.START)
|
self.labels['update_progress'].set_halign(Gtk.Align.START)
|
||||||
@ -321,6 +325,8 @@ class SystemPanel(ScreenPanel):
|
|||||||
scroll.set_hexpand(True)
|
scroll.set_hexpand(True)
|
||||||
scroll.set_vexpand(True)
|
scroll.set_vexpand(True)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
|
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||||
|
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||||
|
|
||||||
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting update for"), program))
|
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting update for"), program))
|
||||||
self.labels['update_progress'].set_halign(Gtk.Align.START)
|
self.labels['update_progress'].set_halign(Gtk.Align.START)
|
||||||
|
@ -376,6 +376,8 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
scroll.set_property("overlay-scrolling", False)
|
scroll.set_property("overlay-scrolling", False)
|
||||||
scroll.set_hexpand(True)
|
scroll.set_hexpand(True)
|
||||||
scroll.set_vexpand(True)
|
scroll.set_vexpand(True)
|
||||||
|
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||||
|
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
scroll.add(self.labels['devices'])
|
scroll.add(self.labels['devices'])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user