summaryrefslogtreecommitdiff
path: root/tests/prop-editor.c
Commit message (Collapse)AuthorAgeFilesLines
* Plug leak.Morten Welinder2004-03-171-0/+3
| | | | | | 2004-03-17 Morten Welinder <terra@gnome.org> * tests/prop-editor.c (object_changed): Plug leak.
* Don't leak the tooltip object.Morten Welinder2004-03-171-3/+12
| | | | | | | 2004-03-17 Morten Welinder <terra@gnome.org> * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip object.
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.Federico Mena Quintero2004-02-101-0/+2
| | | | | | | | | 2004-02-10 Federico Mena Quintero <federico@ximian.com> Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>. * tests/prop-editor.c (create_prop_editor): Free the title. (object_changed): Free the children list.
* gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic frameworkOwen Taylor2003-10-231-4/+27
| | | | | | | | | | | | | | | | | | | | | | | Wed Oct 22 23:20:04 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch] gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]: gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework for the new file selector widget. * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch] gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]: Initial implementation of the GtkFileChooser user interface. * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation for Unix files. * configure.in gtk/Makefile.am gtk/xdgmime: Build code for freedesktop.org MIME system on Unix. * tests/testfilechooser.c: Test program for GtkFileChooser * tests/prop-editor.c: Add support for properties on interfaces.
* These files still use option menus, so turn off GTK_DISABLE_DEPRECATED toMatthias Clasen2003-10-111-0/+1
| | | | | | | | | Sun Oct 12 00:18:02 2003 Matthias Clasen <maclas@gmx.de> * tests/testtreeview.c: * demos/testpixbuf-scale.c: * tests/prop-editor.c: These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to fix the build.
* Add navigation for object properties, so that you can easily edit theMatthias Clasen2003-05-161-4/+34
| | | | | | | | 2003-05-17 Matthias Clasen <maclas@gmx.de> * tests/prop-editor.c: Add navigation for object properties, so that you can easily edit the properties of the parent of a widget. (#113152)
* Deprecation cleanupManish Singh2002-10-131-13/+13
| | | | | | | | | | | | | | | Sun Oct 13 16:20:41 2002 Manish Singh <yosh@gimp.org> * tests/pixbuf-randomly-modified.c tests/prop-editor.c tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c tests/testselection.c tests/testsocket.c tests/testsocket_common.c tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c tests/treestoretest.c: Deprecation cleanup * tests/Makefile.am: Added disable deprecation flags
* Make it work, even if the window is already realized or mapped.Owen Taylor2002-04-301-2/+6
| | | | | | | | | | | | | | | | Tue Apr 30 18:42:25 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_set_screen): Make it work, even if the window is already realized or mapped. * tests/testgtk.c: Erwann's multihead changes, slightly dumbed down. (Removed logic for pulling windows onto the current screen, people can click twice on the demo to destroy and create again.) * tests/prop-editor.c: Set the screen on the property editor if the edited object is a widget.
* declared internal functions static.Sven Neumann2002-01-091-2/+2
| | | | | | 2002-01-09 Sven Neumann <sven@gimp.org> * tests/prop-editor.c: declared internal functions static.
* Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore toGTK_1_3_11Owen Taylor2001-11-231-43/+41
| | | | | | | | | | | | | | | | | | Thu Nov 22 15:01:03 2001 Owen Taylor <otaylor@redhat.com> * Version 1.3.11 * configure.in (ATK_REQUIRED_VERSION): Require GLib-1.3.11, Pango-0.22, ATK-0.7. * tests/prop-editor.c (property_widget): Restore to working as well as it did before. * gtk/gtklistitem.h: Mark deprecated since it is an integral part of GtkList. * demos/gtk-demo/demo-common.h: New header file, for a common functions not important to the meat of the demos. * demos/gtk-demo/main.c (demo_ifind_file): Add a utility function to search for a file used by the demo. * demos/*.c: Use demo_find_file.
* raise event window afte children, in order for the input pnly window toTim Janik2001-11-211-0/+2
| | | | | | | | | | | | | | | Wed Nov 21 22:55:37 2001 Tim Janik <timj@gtk.org> * gtk/gtkbutton.c (gtk_button_map): raise event window afte children, in order for the input pnly window to stay *above* children. Wed Nov 21 22:44:27 2001 Tim Janik <timj@gtk.org> * tests/testtreeview.c: make hackery worse ;) by checking fundamental type walks againts G_TYPE_FUNDAMENTAL_MAX. * tests/prop-editor.c: disable type hackery.
* param spec fixTim Janik2001-11-141-3/+3
|
* up version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8.Tim Janik2001-09-181-3/+3
| | | | | | | | | Tue Sep 18 23:51:49 2001 Tim Janik <timj@gtk.org> * configure.in: up version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8. * NEWS: 1.3.8 updates.
* tests/prop-editor.c (properties_from_type): Use g_object_class_list_propertiesMatthias Clasen2001-08-091-21/+18
| | | | to get the param specs for a given type. (#58609)
* up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7.Tim Janik2001-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jun 28 17:18:41 2001 Tim Janik <timj@gtk.org> * configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. * gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack. * gtk/gtkmenubar.c: same here. * gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival. * gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage. * gtk/gtkentry.c (gtk_entry_focus_in): same here. * gtk/gtkmenubar.c (add_to_window): likewise. * gtk/gtktextbtree.c: and here... * gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing. * gtk/gtktoolbar.c (gtk_toolbar_init): once more. * gtk/gtktreemodel.c (connect_ref_callbacks): and another time. * gtk/gtktreeviewcolumn.c: (_gtk_tree_view_column_set_tree_view): yet again. * demos/gtk-demo/images.c (progressive_timeout): demonstrate signal connections without g_signal_connect_data(). * demos/gtk-demo/stock_browser.c (do_stock_browser): second demo of the matter. * demos/testpixbuf.c (main): running out of equality phrases for the ChangeLog, but had to adapt connections here as well. * demos/testanimation.c (progressive_timeout): and for the fun of it, tackled this the same way. * tests/testtext.c (create_view): ok, it's becoming a pain at this point, but had enough enery for one more fix. * tests/testtreecolumns.c (main): stand up man, do your work! * tests/testtreeview.c (set_columns_type): ok, this is the last file i fix, either that's been all of it or CVS gtk is broken yet again.
* fix PROP_EVENTS.Tim Janik2001-06-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Jun 18 02:00:49 2001 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_get_property): fix PROP_EVENTS. * gtk/Makefile.am: * gtk/gtk.h: disabled GtkPacker compilation. * gtk/gtkarg.[hc], gtk/gtkargcollector.c: got rid of these. * gtk/gtknotebook.c: * gtk/gtktable.c: * gtk/gtkbox.c: ported this over to child properties. * gtk/gtksettings.c: fetch class properties via g_object_class_list_properties(). * gtk/gtkcontainer.[hc]: implemented child properties, got rid of the child arg interface. use gobjectnotifyqueue.c for child property notification. * gtk/gtkwidget.[hc]: provide necessary means for container child properties, i.e. ::child_notify signal, gtk_widget_freeze_child_notify(), gtk_widget_child_notify(), gtk_widget_thaw_child_notify(). * tests/testgtk.c: removed inferior property handling code, for property editing, a generic module should be used, and GLE coincidentally fullfills that purpose. * docs/reference/Makefile.am: disabled gtk docs building, gtk-doc needs to be adapted to g_object_class_list_properties() before this builds again.
* Add properties, based on patch by Lee Mallabone.GTK_MULTIHEAD_MERGE1Alexander Larsson2001-05-171-210/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-17 Alexander Larsson <alla@lysator.liu.se> * gtk/gtkbbox.c: Add properties, based on patch by Lee Mallabone. * gtk/gtknotebook.c: * gtk/gtktoolbar.c: Convert from GtkArg to GParam, based on patch by John Margaglione. * gtk/gtkhscale.c: * gtk/gtkvscale.c: * gtk/gtkhscrollbar.c: * gtk/gtkvscrollbar.c: * gtk/gtkrange.c: Move adjustment property to GtkRange. * gtk/gtklabel.c: Setup mnemonics on property changes * gtk/gtkwidget.c (gtk_widget_get_property): GdkExtensionMode is an enum, not a flag. Set it with g_value_set_enum (). * tests/prop-editor.c: Better propery editor. * tests/testgtk.c: Add new property test. Pass zero to the property editor to get properties from all derived types.
* Block against redundant changes.Owen Taylor2001-05-141-13/+60
| | | | | | | | | Mon May 14 14:56:21 2001 Owen Taylor <otaylor@redhat.com> * tests/prop-editor.c: Block against redundant changes. * gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set properties.
* Split the property editor code out for reuse, improve.Owen Taylor2001-05-031-0/+586
* tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am: Split the property editor code out for reuse, improve.