mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: rename get_orientation
method to orientation
This commit is contained in:
parent
0cc1f79be0
commit
a55ba8c523
9 changed files with 12 additions and 14 deletions
|
@ -89,7 +89,7 @@ impl Module<MenuBar> for TrayModule {
|
|||
let container = MenuBar::new();
|
||||
|
||||
let direction = self.direction.unwrap_or(
|
||||
if info.bar_position.get_orientation() == gtk::Orientation::Vertical {
|
||||
if info.bar_position.orientation() == gtk::Orientation::Vertical {
|
||||
PackDirection::Ttb
|
||||
} else {
|
||||
PackDirection::Ltr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue