1 Star 0 Fork 106

Sdrkun/anaconda

forked from src-openEuler/anaconda 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
remove-vender-issue-in-netdev.patch 1000 Bytes
一键复制 编辑 原始数据 按行查看 历史
t.feng 提交于 2020-06-29 15:28 . update version to 33.19
From b896b694238389a85539f60cab6ee41ab04c4f29 Mon Sep 17 00:00:00 2001
From: t_feng <[email protected]>
Date: Fri, 19 Jun 2020 10:25:20 +0800
Subject: [PATCH] remove vender issue in netdev
---
pyanaconda/ui/gui/spokes/network.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 1318e17..e906f9e 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -782,9 +782,8 @@ class NetworkControlBox(GObject.GObject):
unplugged)
if device:
- title += '\n<span size="small">%s %s</span>' % \
- (escape_markup(device.get_vendor() or ""),
- escape_markup(device.get_product() or ""))
+ title += '\n<span size="small">%s</span>' % \
+ (escape_markup(device.get_product() or ""))
return title
def refresh_ui(self, state=None):
--
2.23.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sdrkun/anaconda.git
[email protected]:sdrkun/anaconda.git
sdrkun
anaconda
anaconda
master

搜索帮助