[haiku-bugs] Re: [Haiku] #13368: Repositories not indicating which are enabled

  • From: "anirudh" <trac@xxxxxxxxxxxx>
  • Date: Sat, 11 Mar 2017 04:52:42 -0000

#13368: Repositories not indicating which are enabled
----------------------------------------+----------------------------
   Reporter:  vidrep                    |      Owner:  perelandra
       Type:  bug                       |     Status:  assigned
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Preferences/Repositories  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by anirudh):

 Is the problem really with the symbols of the font? I don't think
 so.[[BR]]

 I replaced
 {{{
 field->SetString(fEnabled ? "\xE2\x9C\x94" : "");
 }}}
 as
 {{{
 field->SetString(fEnabled ? "Y" : "N");
 }}}
 and compiled, and the panel showed me only 'N' for the disabled
 repositories. 'Y' wasn't showed for the enabled repositories. Is there a
 problem with '''fEnabled''' return value? I'm not sure, just my thoughts.

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

Other related posts: