summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Don't use GTK_WIDGET_STATE in internal code anymoreJavier Jardón2010-03-093-6/+6
| | | | | | Use gtk_widget_get/set_state() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_has_window () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-033-7/+7
| | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-033-11/+11
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)Javier Jardón2010-03-026-43/+43
| | | | Use new API instead: gtk_widget_set_can_default ()
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)Javier Jardón2010-03-021-1/+1
| | | | Use new API instead: gtk_widget_set_can_focus ()
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-015-89/+89
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_IS_SENSITIVEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_is_sensitive() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_DRAWABLEJavier Jardón2010-03-013-4/+4
| | | | | | Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Correctly clone the toolbutton's icon-name image widgetChristian Persch2010-02-091-0/+5
| | | | Bug #608162.
* [tests] Not use GtkOptionMenu deprecate widget.Javier Jardón2010-02-081-24/+12
| | | | | | Replace GtkOptionMenu with GtkComboBox. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
* [test] Fix some typosJavier Jardón2010-01-231-2/+2
|
* Implement property editor for GdkColor propertiesChristian Persch2010-01-112-10/+76
| | | | Bug #606434.
* Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-01-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), ↵Cody Russell2009-12-281-1/+1
| | | | some API docs.
* Add delete-event callback to window, use gtk_widget_queue_draw() instead of ↵Cody Russell2009-12-281-1/+3
| | | | gtk_widget_draw()
* GtkOffscreenWindow implementation for #604901Cody Russell2009-12-282-0/+98
|
* Fix up linker flagsBenjamin Otte2009-12-191-1/+2
| | | | | | | This adds LDFLAGS everywhere where they were previously pulled in via other libraries. This is however unsupported by modern linkers. You can trigger these failures by building with gold (or, I'm told, with very new ld).
* let the close button reflect the page_complete status of SUMMARY pagesSven Herzberg2009-12-101-2/+12
| | | | | | | | | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289 In order to respect this properly, we have to restore the original behavior by watching a flag to check if the user has already set this. * gtk/gtkassistant.c: fix the bug by introducing a flag to check for non-automatic value setting * tests/testassistant.c: updated the "generous assistant" to permit quick manual testing of this feature
* Add gdk_screen_get_primary_monitor(). This fixes bug #601712Cody Russell2009-12-081-10/+38
|
* Add UI manager attribute to always show image in menu itemsChristian Persch2009-11-271-1/+1
| | | | | | Add always-show-image="true|false" attribute to <menuitem> element in UI manager markup. If present, it overrides the always-show-image property on image menu items. Bug #589842.
* Disable test until it is rewritten to workJavier Jardón2009-11-091-0/+4
|
* Do not use static GTypeInfo and GInterfaceInfoNicola Fontana2009-11-062-6/+6
| | | | | | | | | Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600158
* Fix compilation warningJavier Jardón2009-10-201-6/+3
| | | | Use g_get_current_dir() instead getcwd()
* Undefine GTK_DISABLE_DEPRECATED in testinput to keep it compilingChristian Dywan2009-10-161-0/+2
|
* Don't include gdkwin32.h when testing Objective-C++Tor Lillqvist2009-10-091-0/+2
| | | | | Fixes bug #594644. If somebody actually some day needs to include gdkwin32.h from an Objective-C++ program something needs to be done.
* Move '-x objective-c++' from CXXFLAGS to CPPFLAGSCody Russell2009-09-181-2/+1
|
* Fix warning about pointer/int confusionVincent Untz2009-09-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=594679
* Deprecate GDK_WINDOW_OBJECT and GdkWindowObjectAlexander Larsson2009-09-041-0/+1
|
* Add test for gdk_window_restackAlexander Larsson2009-09-021-1/+43
|
* Remove some unused variables (GnomeBug:591218)Javier Jardón2009-08-101-1/+0
|
* Enable big_window bench on win32, dialog for everyoneHans Breuer2009-07-261-6/+1
|
* Build more testapps, use G_PI instead of M_PIHans Breuer2009-07-132-6/+12
|
* Add a testcase for use-stock/use-underline in buttonsMatthias Clasen2009-07-012-0/+151
| | | | | The fix for bug 586330 caused some unexpected behaviour changes, that this testcase ought to illustrate.
* Clean up embedding apiclient-side-windowsAlexander Larsson2009-07-011-19/+12
| | | | | | | | | | | | | | we now use gdk_offscreen_window_set_embedder() instead of a signal to get the parent. This also replaces set_has_offscreen_changes. Rename "parent" in all embedding related names to "embedder" to make it more obviously different than the normal parent. Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap to match the other offscreen calls. Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed as this is more descriptive.
* Make win32 backend build and minimally workAlexander Larsson2009-07-011-0/+2
|
* Merge branch 'master' into client-side-windowsAlexander Larsson2009-06-174-1/+133
|\ | | | | | | | | | | | | | | | | This updates client-side-windows to the the latest soname change for easier testing. Conflicts: gdk/x11/gdkwindow-x11.c tests/Makefile.am
| * fix compile warningsBenjamin Otte2009-06-171-1/+1
| | | | | | | | | | Fallout from running make CFLAGS="-Werror"; mostly missing casts and constness issues.
| * Merge branch 'button-box-orientable-584598'Davyd Madeley2009-06-152-0/+114
| |\
| | * Testcase for GtkOrientableDavyd Madeley2009-06-152-0/+114
| | |
| * | Add an --initial-folder option to testfilechooser.cFederico Mena Quintero2009-06-121-1/+12
| | | | | | | | | | | | Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Add an --initial-filename option to testfilechooser.cFederico Mena Quintero2009-06-121-0/+7
| |/ | | | | | | | | | | | | We can use this to test bugs that happen when setting a filename before the file chooser is shown, as in bgo#161670 Signed-off-by: Federico Mena Quintero <federico@novell.com>
* | Implement the new offscreen signals in GtkOffscreenBoxAlexander Larsson2009-06-081-1/+183
| | | | | | | | | | This implements get-offscreen-parent, pick-offscreen-child, to-parent and from-parent signals for GtkOffscreenBox
* | Set the right parent root window for the offscreen windowsAlexander Larsson2009-06-051-2/+2
| |
* | Fix too many args warningAlexander Larsson2009-06-031-1/+1
| | | | | | | | Apparently we missed one place when converting gdk_window_ensure_native
* | Rename gdk_window_set_has_native to gdk_window_ensure_nativeAlexander Larsson2009-06-011-2/+2
| | | | | | | | | | | | | | | | This also removes the (unimplemented) possibility to change a window to non-native. This seems generally not very useful, and there are some problems with it, for instance if two "users" need a window to be native and then one of the "users" doesn't need it anymore it can't change it back, because it is unaware of the other reason the window is native.
* | Add some test for draw_drawable graphics exposuresAlexander Larsson2009-05-271-0/+26
| |
* | Merge branch 'master' into client-side-windowsAlexander Larsson2009-05-256-8/+69
|\ \ | |/ | | | | | | Conflicts: gdk/x11/gdkwindow-x11.c
| * Removed deprecated call to gtk_scale_button_get_orientationTobias Mueller2009-05-111-3/+3
| | | | | | | | | | and use gtk_orientable_set_orientation instead. Fixes bug 581878.