[haiku-bugs] Re: [Haiku] #13590: [package_daemon] missing an icon in notification window

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Jul 2017 05:48:09 -0000

#13590: [package_daemon] missing an icon in notification window
--------------------------------------+----------------------------
   Reporter:  diver                   |      Owner:  humdinger
       Type:  enhancement             |     Status:  new
   Priority:  normal                  |  Milestone:  Unscheduled
  Component:  Servers/package_daemon  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  1                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by pulkomandy):

 You can use ::BPrivate instead of BPrivate in BBitmap.h to avoid this
 problem. It tells the compiler to use the BPrivate from the top level, and
 not the one from the package kit.

 The Warn function is called directly from the package kit, in
 src/kits/package/manager/PackageManager.cpp
 (fUserInteractionHandler->Warn). These should be translated.

 WARN() gets to syslog, and should not be translated because we want devs
 to be able to read syslogs whne people report a bug.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13590#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: