Re: On deprecating GtkTearOffMenuItem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-06-05 at 15:33 +0400, Stanislav Maslovski wrote:

> How many LOC/bytes this change will save?

deprecation seldom has to do with lines of code or bytes saved; those
are broken metrics.

the TearoffMenuItem has been proposed for deprecation because:

  • it's a broken user interaction metaphor, that just provides a way
for the user to unbreak poorly designed applications;
  • it does complicate the code in GtkMenu because it has to handle the
case where the menu window becomes a detached top-level under the window
manager's domain.

>  Does it really makes a
> considerable difference? Is the related code too complicated to
> maintain (seems hard to believe)?

well, you should open gtk/gtkmenu.c some time. you'd find it easier to
believe.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux