making tool re-arrangements cancellable in the preferences dialog

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

 



I am looking for some advice on how to make tool re-arrangements
cancelable in the preferences dialog. 
(for http://bugzilla.gnome.org/show_bug.cgi?id=500930)

the current code that resets the preferences looks like this (in
prefs-dialog):

if (gimp_dialog_run (GIMP_DIALOG (confirm)) == GTK_RESPONSE_OK)
  {
    GimpConfig *config_copy;

    config_copy = g_object_get_data (G_OBJECT (dialog), "config-copy");

    gimp_config_reset (config_copy);
  }

Can anyone point me to an example of how to attach(?) a GimpContainer
(or something similar) to gimpconfig in order to reset order/visibility?

regards,
Stephen Griffiths.

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux