Patchwork [bitbake-devel,1/4] Hob: add the "info" indication icon for "information" in the dialogs.

login
register
mail settings
Submitter Shane Wang
Date April 2, 2012, 3:22 p.m.
Message ID <7ef65b5d1a00fe42d39be41ddd93fc75ade17308.1333379931.git.shane.wang@intel.com>
Download mbox | patch
Permalink /patch/25079/
State New
Headers show

Comments

Shane Wang - April 2, 2012, 3:22 p.m.
Previously we reused the info display file which is for indication of tooltips.
But it is too small, when it is shown on the dialog as the dialog indication icon,
it becomes unclear after being stretched out. So, we replace it with a larger
icon.

Signed-off-by: Shane Wang <shane.wang@intel.com>
---
 bitbake/lib/bb/ui/crumbs/hobwidget.py       |    3 ++-
 bitbake/lib/bb/ui/icons/indicators/info.png |  Bin 0 -> 3311 bytes
 2 files changed, 2 insertions(+), 1 deletions(-)
 create mode 100644 bitbake/lib/bb/ui/icons/indicators/info.png

diff --git a/bitbake/lib/bb/ui/icons/indicators/info.png b/bitbake/lib/bb/ui/icons/indicators/info.png
new file mode 100644
index 0000000000000000000000000000000000000000..ee8e8d846251ab1a937902d7eb517da24ecb30f5
GIT binary patch
literal 3311
zcmaJ^c|4SD7k*47OC)XDm?jA^n=xZ1%WNi0BOyseV`ea8HnU{UULt8BRFrj!ghVQ9
z6WS;u?Rb+GTau8<H+t*+zCZfj=l6S_`@YY8uCrX{oIjpJPL7*3)K;ni0H9%SM|M`M
z$k|s#S@G4ii7!(uD<rn=5*LAwB#<s*0R*PNn+3M#(S2FYEIKnd;10_Y0Ot6yUEL+_
zv@JM>fCr_|>Og~dLIoNCENy~>bcR1m0`_M4viVk!ksEaoFq>%w*<ntD(}X0JAKNZO
z#BvF7bY+D2Gq6mEjWyUZ2&XW>V@c@XARd=5#syhHe%i$;_OoIb1pHG);%^1{J1BRW
z6PP3rvB2g~xG4jUMu5>MC;|n?qOc}lBpd;UA&@XQ#uNd^nPYHp1o+njQFs$EeQ?fX
z$}eAvlNH2IA`#+Xu)x4TXrLKXAo7JFuvjb%j)WnRrV0&HaWG#(4>IM8*Z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hPwGPW*T(`Qo1_!UBlxyn=&&qVG^k{qx8v(HIq}?cD*$nx{ft^Zaa5o
zVD}BWm)6$mZrCBy>uh^|p{=d0>p_;)!1a*vLS6NY0XxEdo38ZI#GD++<7dxS%Bse(
z8g-7JdvmQ96dT}3k(HiR!iHBbU-I77b;9W4(AwARWB&9_l9p5EY|%&n@&o;P(#tO{
z>U(bIY?Tglb(FtaRRerhZaabpm*&W1%@z-B&YeB7g-RlkcBk!qw<N>m-HsB^Og}$A
zm9~%49GgX%(|40)8}Dw^X`DaowrJA&#*d7&1E=G&nyf9h6@N3-u3aUX=`DX?89Gn5
uSa$X8sD*FD?q??=3WGs?Yb$2d;Q;ih!3EB=U&rh(h`p^N`4Vw&^nU;w6|waI

literal 0
HcmV?d00001

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 9625c6d..edb85db 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -60,6 +60,7 @@  class hic:
     ICON_INDI_REFRESH_FILE        = os.path.join(HOB_ICON_BASE_DIR, ('indicators/refresh.png'))
     ICON_INDI_ALERT_FILE          = os.path.join(HOB_ICON_BASE_DIR, ('indicators/alert.png'))
     ICON_INDI_TICK_FILE           = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png'))
+    ICON_INDI_INFO_FILE           = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png'))
 
 class hcc:
 
@@ -826,7 +827,7 @@  class HobIconChecker(hic):
     """
     def check_stock_icon(self, stock_name=""):
         HOB_CHECK_STOCK_NAME = {
-            ('hic-dialog-info', 'gtk-dialog-info', 'dialog-info')           : self.ICON_INFO_DISPLAY_FILE,
+            ('hic-dialog-info', 'gtk-dialog-info', 'dialog-info')           : self.ICON_INDI_INFO_FILE,
             ('hic-ok',          'gtk-ok',           'ok')                   : self.ICON_INDI_TICK_FILE,
             ('hic-dialog-error', 'gtk-dialog-error', 'dialog-error')        : self.ICON_INDI_ERROR_FILE,
             ('hic-dialog-warning', 'gtk-dialog-warning', 'dialog-warning')  : self.ICON_INDI_ALERT_FILE,