Skip to content

Commit

Permalink
Add metadata into packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed May 31, 2019
1 parent 529655a commit b1a4c39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/bootloader/main_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run_auto
)
# desktop file only in running system and in installation there is no
# visible window title
Yast::Wizard.SetDesktopTitleAndIcon("bootloader") if !Yast::Stage.initial
Yast::Wizard.SetDesktopTitleAndIcon("org.openSUSE.YaST.Bootloader") if !Yast::Stage.initial

ret = run_content
Yast::Wizard.CloseDialog
Expand Down
4 changes: 2 additions & 2 deletions test/main_dialog_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
end

it "sets window title and icon according to desktop file in running system" do
expect(Yast::Wizard).to receive(:SetDesktopTitleAndIcon).with("bootloader")
expect(Yast::Wizard).to receive(:SetDesktopTitleAndIcon).with("org.openSUSE.YaST.Bootloader")

subject.run_auto
end
Expand Down Expand Up @@ -77,7 +77,7 @@
end

it "sets window title and icon according to desktop file in running system" do
expect(Yast::Wizard).to receive(:SetDesktopTitleAndIcon).with("bootloader")
expect(Yast::Wizard).to receive(:SetDesktopTitleAndIcon).with("org.openSUSE.YaST.Bootloader")

subject.run_auto
end
Expand Down

0 comments on commit b1a4c39

Please sign in to comment.