Skip to content

Commit ea1f285

Browse files
committed
fix: update DBus job interface name in locale package
Changed the DBus interface name from "com.deepin.lastore.Job" to "org.deepin.dde.Lastore1.Job" in the job match rule for package installation. This update is necessary because the DBus service interface has been renamed to reflect the new naming convention in the deepin desktop environment. The change ensures proper signal matching and correct communication with the package management service. Influence: 1. Test language package installation functionality to ensure it still works correctly 2. Verify that DBus signals are properly received from the updated interface 3. Check that package installation progress monitoring functions as expected 4. Ensure no regression in language selection and package management features fix: 更新区域设置包中的 DBus 作业接口名称 将作业匹配规则中的 DBus 接口名称从 "com.deepin.lastore.Job" 更改为 "org.deepin.dde.Lastore1.Job"。此更新是必要的,因为 DBus 服务接口已重命 名以符合 deepin 桌面环境的新命名约定。此更改确保正确的信号匹配和与包管理 服务的正常通信。 Influence: 1. 测试语言包安装功能以确保其正常工作 2. 验证是否从更新后的接口正确接收 DBus 信号 3. 检查包安装进度监控是否按预期工作 4. 确保语言选择和包管理功能没有回归
1 parent 0662df5 commit ea1f285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langselector1/locale.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ func (lang *LangSelector) installPackages(pkgs []string) error {
622622
logger.Debug("install job path:", jobPath)
623623

624624
jobMatchRule := dbusutil.NewMatchRuleBuilder().ExtPropertiesChanged(
625-
string(jobPath), "com.deepin.lastore.Job").Build()
625+
string(jobPath), "org.deepin.dde.Lastore1.Job").Build()
626626
err = jobMatchRule.AddTo(systemBus)
627627
if err != nil {
628628
return err

0 commit comments

Comments
 (0)