Commit 4661a0a28c87f0e0bada58346e1a8942f015ce2e

  • avatar
  • Sam Thursfield <sam @cand…ion.home>
  • Tue Aug 11 14:06:00 CEST 2009
[gsettings] Don't allow binding to packing properties.
  
751751
752752 popup_menu = gtk_menu_new ();
753753
754 glade_popup_append_item (popup_menu, NULL, _("Connect to setting..."), NULL,
755 TRUE, glade_popup_connect_property_to_setting_cb, property);
754 /* Don't allow binding properties that it would be crazy to bind to, like packing ones */
755 if (!property->klass->packing)
756 glade_popup_append_item (popup_menu, NULL, _("Connect to setting..."), NULL,
757 TRUE, glade_popup_connect_property_to_setting_cb,
758 property);
756759
757760 glade_popup_append_item (popup_menu, GTK_STOCK_CLEAR, _("Set default value"), NULL,
758761 TRUE, glade_popup_clear_property_cb, property);