[haiku-bugs] [Haiku] #7772: [Patch] Deskbar Truncate String Code Cleanup

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Fri, 01 Jul 2011 01:42:08 -0000

#7772: [Patch] Deskbar Truncate String Code Cleanup
----------------------------------+------------------------------
 Reporter:  jscipione             |        Owner:  axeld
     Type:  enhancement           |       Status:  new
 Priority:  normal                |    Milestone:  R1
Component:  Applications/Deskbar  |      Version:  R1/Development
 Keywords:                        |   Blocked By:
 Blocking:                        |  Has a Patch:  0
 Platform:  All                   |
----------------------------------+------------------------------
 I re-factored the Deskbar truncate label code (The code that truncates a
 string with an ellipses like Activi...onitor when space gets tight in
 horizontal mode) to use a a single BString instead of a const char* and a
 char* that gets malloc'ed and free'd. The code does exactly the same thing
 but is just a little cleaner.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7772>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: