CVSROOT:        /cvs/gnome
Module name:    glade
Changes by:     damon   05/09/13 09:36:16

Modified files:
        .              : ChangeLog 
        glade          : glade_menu_editor.c property.c 

Log message:
2005-09-13  Damon Chaplin  <[EMAIL PROTECTED]>

* glade/glade_menu_editor.c: use the stock id as the item string for
the "Stock Item" property in GTK+ menus, and the "Icon" property
in GTK+ and GNOME menus, since the old label text wasn't unique.

* glade/property.c (fill_stock_combo): use the stock id as the item
string rather than the (translated) item text, since that isn't unique.
(find_stock_id, find_stock_item): ifdef'ed out - not used now.
(property_get_stock_item): return the combo text, or NULL if empty.
(property_set_stock_item): set the combo text to the stock id.
(property_get_icon): if the combo text matches the basename of the last
selected file, return the complete filename, otherwise return the combo
text as it is.
(property_set_icon): check if the icon is a stock id, if not assume
it is a filename. (#303105)

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glade&who=damon&date=explicit&mindate=2005-09-13%2009:35&maxdate=2005-09-13%2009:37

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to