summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorchooserdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* color chooser: Reset show-editor on unmapMatthias Clasen2015-08-121-7/+5
| | | | | | | | | We have a testcolorchooser test, with a --edit option. It was supposed to make the color chooser come up in edit mode, but it didn't work ever since we dropped the ::response handler. Fix it by resetting show-editor on unmap, instead of on map. This way, users can set show-editor before showing the dialog, and it will take effect.
* color chooser: Move buttons to templateMatthias Clasen2014-07-091-6/+2
| | | | We can now use the new builder action support.
* GtkColorChooserDialog: Explicitly notify for use-alphaMatthias Clasen2014-06-091-1/+5
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* resources: move resources into a subdirectoryWilliam Jon McCann2014-01-231-1/+1
|
* color chooser: Use headerbarWilliam Jon McCann2014-01-171-9/+23
| | | | | | Make GtkColorChooserDialog use a headerbar when desired. https://bugzilla.gnome.org/show_bug.cgi?id=720059
* Another round of template binding api changesMatthias Clasen2013-07-261-3/+3
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-6/+6
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-3/+3
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-1/+0
|
* GtkColorChooserDialog: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-57/+11
|
* GtkColorChooserDialog: make alternative button order workMatthias Clasen2013-03-211-3/+1
| | | | | | | The alternative button order that we set did not actually work, since the ok button did not have a response id. Partial fix for https://bugzilla.gnome.org/show_bug.cgi?id=695493
* colorchooser: Drop the ::response handler altogetherMatthias Clasen2012-03-071-19/+33
| | | | | This makes it safe for users to destroy the dialog in response to ::response.
* colorchooser: Do less in ::responseMatthias Clasen2012-03-071-1/+13
| | | | | | | | Some people destroy their widgets in ::response, so trying to access dialog internals from the class handler that is running afterwards has the potential to cause problems. Instead, we can reset the ::show-editor property every time we map the dialog.
* API: colorchooser: Use GtkOrientation for orientationBenjamin Otte2012-03-071-2/+2
| | | | | Unfortunately, this swaps the values from the previous state. But it's definitely a nicer API.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* GtkColorChooserDialog: propagate notification for ::show-editorMatthias Clasen2012-02-141-1/+4
|
* Add API to set palettesMatthias Clasen2012-02-141-0/+14
| | | | | I'm not really convinced by this; the API is a little complicated. May need more thought.
* Add docsMatthias Clasen2012-02-141-33/+55
|
* Make color chooser always come up with paletteMatthias Clasen2012-02-141-4/+25
|
* Make alpha optionalMatthias Clasen2012-02-141-1/+11
|
* Make saving custom colors work as intendedMatthias Clasen2012-02-141-0/+16
| | | | | | The custom colors are now pushed over to the right as new ones are added, and everything beyond the 9th row gets dropped. Customized colors are added to the custom colors array.
* Initial cut at implementing a new color chooserMatthias Clasen2012-02-141-0/+217
This is a partial implementation of https://live.gnome.org/GnomeOS/Design/Whiteboards/ColorSelection The new color editor has not been implemented yet.