Commit Graph

425 Commits

Author SHA1 Message Date
Matthias Clasen
c51f965782 Some cleanups after the module cache file change
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.

Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
901105766e Do not use deprecated GtkNoteBook api in testgtk 2010-05-03 01:51:23 +02:00
Javier Jardón
7065c566a3 Remove deprecated GtkProgress functionality from testgtk 2010-05-03 01:51:23 +02:00
Christian Dywan
7ccd787f04 Don't set child-min-width/ height in the button box test
This is not a property. The feature was removed.
2010-05-03 01:51:23 +02:00
Christian Dywan
786b5774e3 Revert accidental removal of book pixmap strings 2010-05-03 01:51:23 +02:00
Christian Dywan
09c84a006f Remove unused dump_accels() function from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
0c0976be1d Remove GtkTipsQuery demo from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
1dabde28ac Don't use gtk_widget_set_uposition/size in testgtk
Use gtk_window_move and gtk_widget_set_size_request instead.
2010-05-03 01:51:22 +02:00
Christian Dywan
646b417c20 Remove unused text helper functions from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
6536ad7299 Use new 2.14 GtkColorSelection API in testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
eaf3ccfba0 Replace GtkFileSelection with GtkFileChooser in testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
c30e1865d8 Use GtkComboBoxEntry for the display list in testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
36c3426efb Use GtkComboBoxEntry in entry test in testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
81c8fcb72b Declare book_open/closed_xpm in testgtk notebook 2010-05-03 01:51:22 +02:00
Christian Dywan
a927f1f17d Remove item factory test from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
e0602fd6a8 Remove obsolete GtkText test from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
2f70bb98cb Remove obsolete GtkTree test from testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
1eefd43961 Use an array and new toolbar API in testgtk 2010-05-03 01:51:22 +02:00
Christian Dywan
274395063a Replace option menus in testgtk with combo boxes 2010-05-03 01:51:22 +02:00
Christian Dywan
63131903ad Use new progress bar API in testgtk progress test 2010-05-03 01:51:22 +02:00
Christian Dywan
3b721ea9c9 Use a tree view in testgtk selection target test 2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0 Remove deprecated GtkTooltips 2010-05-03 01:51:21 +02:00
Javier Jardón
04a548a463 Removed a call to a recently removed test function
The function was a test of the deprecated GtkList
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b Remove GtkGammaCurve completely 2010-05-03 01:51:20 +02:00
Javier Jardón
20342702f4 Remove gtkmain stuff from docs and tutorial.
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Javier Jardón
858d4fb007 Remove remaining GtkButtonBox deprecated stuff
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
c9dae4c600 Remove deprecated code: GtkCheckMenuItem 2010-05-03 01:48:45 +02:00
Christian Dywan
a42886d81d Remove GtkCList, GtkCTree, GtkFileSelection and GtkPreeview tests 2010-05-03 01:39:50 +02:00
Javier Jardón
32b9aeaadd Don't use GTK_WIDGET_STATE in internal code anymore
Use gtk_widget_get/set_state() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Javier Jardón
16a59ad912 Deprecate widget flag: GTK_WIDGET_REALIZED
Use gtk_widget_get_realized() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd Deprecate widget flag: GTK_WIDGET_MAPPED
Use gtk_widget_get_mapped() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
e8e95d4c5e Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
Use new API instead: gtk_widget_set_can_default ()
2010-03-02 07:58:05 +01:00
Javier Jardón
214a023e91 Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
a27d5a2c9e Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
Use gtk_widget_is_sensitive() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15 Deprecate widget flag: GTK_WIDGET_DRAWABLE
Use gtk_widget_is_drawable() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Christian Persch
59ddde4c37 Implement property editor for GdkColor properties
Bug #606434.
2010-01-11 17:51:41 +01:00
Christian Dywan
bb1824c131 Deprecate flag macros for toplevel, state, no window and composite child
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
2010-01-04 07:57:05 +01:00
Hans Breuer
31357a7ab6 Enable big_window bench on win32, dialog for everyone 2009-07-26 19:14:05 +02:00
Benjamin Otte
1a385c50f0 fix compile warnings
Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.
2009-06-17 10:28:03 +02:00
Matthias Clasen
ae94c371d1 Add a separate keybinding signal for activating links
Keeping the keybinding signal and the regular signal separate is
cleaner and allows us to pass the uri as a parameter to the
activate-link signal.
2009-05-11 02:44:12 -04:00
Matthias Clasen
9dbb30482b Add link support to GtkLabel
This patch is based on SexyUrlLabel, but with significantly enhanced
functionality: keynav, tooltips, context menu, theming.
2009-05-11 01:23:13 -04:00
Michael Natterer
213ecb7a33 add some orientation flipping code to the "flipping" test.
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* tests/testgtk.c: add some orientation flipping code to the
	"flipping" test.


svn path=/trunk/; revision=22376
2009-02-19 15:12:35 +00:00
Michael Natterer
9b59889847 Bug 546285 – Allow GtkEntry to draw progress
2008-12-05  Michael Natterer  <mitch@imendio.com>

	Bug 546285 – Allow GtkEntry to draw progress

	* gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
	allows to set the entry's progress_fraction, its progress_pulse_step
	and to let the entry's progress pulse.

	* gtk/gtk.symbols: updated.

	* tests/testgtk.c: add progress demo code to the "Entry" window.


svn path=/trunk/; revision=21846
2008-12-05 11:31:30 +00:00
Christian Dywan
46e4d22c89 Bug 561504 – testgtk should load rc file from sub folder
2008-11-26  Christian Dywan  <christian@imendio.com>

	Bug 561504 – testgtk should load rc file from sub folder

	* tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

svn path=/trunk/; revision=21809
2008-11-26 08:36:10 +00:00
Federico Mena Quintero
0278fdcbc2 Don't do funny casts to avoid compiler warnings
2008-07-18  Federico Mena Quintero  <federico@novell.com>

	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
	do funny casts to avoid compiler warnings.

	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.

	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.

	* gtk/gtkmodules.c (load_module): Likewise.

	* gtk/gtkselection.c (gtk_selection_convert): Likewise.

	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.

	* gtk/queryimmodules.c (query_module): Likewise.

	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
	(find_widget_at_pointer): Likewise.

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=20862
2008-07-18 18:27:30 +00:00
Cody Russell
57223c9a05 Revert name change
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4 Practically everything changed.
2008-06-30  Cody Russell  <bratsche@gnome.org>

        * Practically everything changed.

        Change	all references	of GIMP	Toolkit	(and variations	of it)
        to GTK+	Toolkit, showing no mercy at all to our	beloved
	ancestry. (#540529)


svn path=/trunk/; revision=20709
2008-06-30 23:01:56 +00:00
Johan Dahlin
d97cdbdf53 Include "config.h" instead of <config.h> Command used: find -name
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
    Command used:
    find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
    Rubberstamped by Mitch and Tim


svn path=/trunk/; revision=20669
2008-06-22 14:28:52 +00:00
Johan Dahlin
1a30e12586 Use g_object_new instead of gtk_widget_new
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * demos/testpixbuf.c (new_testrgb_window):
    * gtk/gtkctree.c (gtk_ctree_new_with_titles):
    * gtk/gtkitemfactory.c (gtk_item_factory_construct),
    (gtk_item_factory_create_item):
    * gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
    * gtk/gtkprogressbar.c (gtk_progress_bar_new),
    (gtk_progress_bar_new_with_adjustment):
    * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
    * gtk/gtktext.c (gtk_text_new):
    * gtk/gtkviewport.c (gtk_viewport_new):
    * tests/simple.c (main):
    * tests/testgtk.c (create_statusbar), (create_get_image),
    (create_saved_position), (create_tooltips), (create_cursors),
    (create_display_screen), (create_progress_bar), (create_idle_test):
    * tests/testmultidisplay.c (make_selection_dialog), (main):
    * tests/testmultiscreen.c (main):
    * tests/testrgb.c (new_testrgb_window):
    Use g_object_new instead of gtk_widget_new


svn path=/trunk/; revision=20462
2008-06-19 12:25:19 +00:00
Michael Natterer
060948a43b some more undeprecation.
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* tests/testgtk.c: some more undeprecation.


svn path=/trunk/; revision=20447
2008-06-18 08:51:55 +00:00