Commit Graph

1195 Commits

Author SHA1 Message Date
Matthias Clasen
686294cb3b Add an expander-in-dialog example
To show how I expect this kind of construction to work, makes it
easier to find the code the next time I need it somewhere.
2010-06-24 00:35:24 -04:00
Carlos Garnacho
604beadbcd testinput: Do not use deprecated API. 2010-06-24 02:30:54 +02:00
Javier Jardón
1569f722cd [testapplication] Fix some compilation warnings 2010-06-24 01:51:33 +02:00
Javier Jardón
a7041e9c40 [testinput] Fix compilation warning: Use guint instead int 2010-06-24 01:39:24 +02:00
Tristan Van Berkom
4e23171803 Removed extendedlayoutexample.c (was a failed git mv --> testheightforwidth.c) 2010-06-18 00:12:55 -04:00
Tristan Van Berkom
edd57602b8 Mass api change from GtkExtendedLayout --> GtkSizeRequest
This commit makes a few massive changes to the extended layout
code:
  a.) gtkextendedlayout.c --> gtksizerequest.c
  b.) _is_height_for_width --> get_request_mode()
  c.) get_desired_size(), get_desired_width(), get_desired_height() -->
      get_size(), get_width(), get_height()

This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).

Conflicts:

	gtk/Makefile.am
	gtk/gtk.h
	gtk/gtk.symbols
	gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Colin Walters
bdaefd7efe [GtkApplication] Update for GApplication API changes
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Tor Lillqvist
eb1233d11b Fix build breakage on non-Unix
gdesktopappinfo.h does is in gio-unix headers, so can compile
testapplication only on Unix.
2010-06-09 11:10:22 +03:00
Matthias Clasen
5e0dfed135 Get rid of GtkProgress
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.

Bug #620618
2010-06-09 00:35:09 -04:00
Matthias Clasen
1ae257d00a Add GtkApplication
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.

This is based on GApplication.

Future work:
 * Add a way to say "This is my application menubar", which gets
   put into all toplevel windows on non-OS-X, and into the top
   on OS X.
 * Support session management.
 * Support application settings.

https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
Javier Jardón
da8643e457 Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards 2010-06-07 04:50:05 +02:00
Matthias Clasen
354086bafc Fix a typo 2010-06-03 13:36:09 -04:00
Matthias Clasen
c557f7b7c4 Improved icon view keynav
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Javier Jardón
cc8dcf738a Remove deprecated GtkToolbar code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
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
Matthias Clasen
7f1f1c09ce Make gail parallel-installable too
Move libgail-util to libgail-util-3.0, and gail.pc to gail-3.0.pc
2010-05-10 20:06:10 -04:00
Javier Jardón
37b62be296 [tests] Move filechooser test files to correct location 2010-05-11 00:50:54 +02:00
Matthias Clasen
7447ef0fc2 Make 3.0 parallel-installable to 2.x
In particular, rename

  - libraries to lib*-3.0.so
  - pc files to *-3.0.pc
  - include paths to /usr/include/gtk-3.0/*
  - module paths to /usr/lib/gtk-3.0/*
  - rc files names to gtk-3.0/gtkrc
  - commandline utilities to *-3.0
  - adjust documentation

Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
2f6b88ff48 Clean up docs, disable testtext for now. 2010-05-07 00:04:57 -04:00
Matthias Clasen
77d4d3cdae Merge branch 'gtk-2-90'
Conflicts:
	gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
Javier Jardón
bcfc53066a tests: Too many arguments in call to 'create_menu' 2010-05-03 02:59:35 +02: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
Javier Jardón
2c2726f818 Port testtreeview to new API
Use GtkComboBox instead the deprecated GtkOptionMenu

https://bugzilla.gnome.org/show_bug.cgi?id=616679
2010-05-03 01:51:23 +02:00
Christian Dywan
765882ce9a Declare random item correctly in stresstest-toolbar 2010-05-03 01:51:23 +02:00
Christian Dywan
b4188f876f Use GtkComboBox, GtkOrientable and no GtkObject in testtoolbar 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
298f1ea9f6 Use "activate" rather than "clicked" for menu items 2010-05-03 01:51:22 +02:00
Christian Dywan
187e49992d Use GtkComboBox instead of GtkCombo in testsocket 2010-05-03 01:51:22 +02:00
Christian Dywan
464eeda24c Don't use GtkItemFactory in testsocket 2010-05-03 01:51:22 +02:00
Christian Dywan
44af4852ee Replace GtkText in testselection with GtkTextView 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
b8727e11fd Replace option menu with combo box in testoffscreen 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
Javier Jardón
e850958c56 Remove GtkOptionMenu tests 2010-05-03 01:51:21 +02:00