mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-18 07:11: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
|
@ -225,9 +225,7 @@ impl ItemButton {
|
|||
|
||||
try_send!(
|
||||
tx,
|
||||
ModuleUpdateEvent::OpenPopupAt(
|
||||
button.geometry(bar_position.get_orientation())
|
||||
)
|
||||
ModuleUpdateEvent::OpenPopupAt(button.geometry(bar_position.orientation()))
|
||||
);
|
||||
} else {
|
||||
try_send!(tx, ModuleUpdateEvent::ClosePopup);
|
||||
|
|
|
@ -301,7 +301,7 @@ impl Module<gtk::Box> for LauncherModule {
|
|||
) -> crate::Result<ModuleParts<gtk::Box>> {
|
||||
let icon_theme = info.icon_theme;
|
||||
|
||||
let container = gtk::Box::new(info.bar_position.get_orientation(), 0);
|
||||
let container = gtk::Box::new(info.bar_position.orientation(), 0);
|
||||
|
||||
{
|
||||
let container = container.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue