Commit Graph

10342 Commits

Author SHA1 Message Date
Matthias Clasen
78079e04d6 Fix abicheck scripts 2010-05-10 23:22:02 -04:00
Javier Jardón
37b62be296 [tests] Move filechooser test files to correct location 2010-05-11 00:50:54 +02:00
Matthias Clasen
a4d4b54a7d Add padding around the status icons
The amount of padding is determined by reading a _NET_SYSTEM_TRAY_PADDING
property off the manager window, in the same way that orientation and visual
are obtained.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-05-10 15:26:44 +01:00
Richard Hughes
c59bfed6dd Fix make distcheck 2010-05-10 12:07:01 +01:00
Bastien Nocera
4551509af1 Make it easy for apps to have dark themes
Some types of applications would benefit from having "dark" themes,
usually black backgrounds, such as:
* Movie players
* Photo management and display applications

To make it easy for those applications to prefer a dark theme,
we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
will make the theme loading code automatically look for a "gtkrc-dark"
file in the same directory you would usually find a gtkrc file.
the same name and a "-dark" suffix.

If no "-dark" gtkrc variant is available, the normal gtkrc will
be used.

https://bugzilla.gnome.org/show_bug.cgi?id=617955
2010-05-10 01:15:14 +01:00
Javier Jardón
7b2024c1bd Fix typo in gtkprintoperation
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
2010-05-08 16:36:38 +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
51ddf0e1c9 Better tooltip positioning
Avoid the covering up the widget that you are tipping, as
far as possible. Bug 599618.
2010-05-07 23:28:07 -04:00
Javier Jardón
46a841cadb [test] Fix floating test
The test was broken by commit e0969a13
2010-05-07 16:42:42 +02:00
Javier Jardón
3781b24476 [test] Do not test deprecated GtkText 2010-05-07 09:26:36 +02:00
Javier Jardón
291ead9105 Reintroduce gtk_progress_* api in gtk.symbols
This api is deprecated but GtkToolBar still uses it
2010-05-07 09:24:34 +02:00
Javier Jardón
9aabc1b1a7 Remove deprecated functions from GtkProgressBar 2010-05-07 09:10:52 +02:00
Matthias Clasen
77d4d3cdae Merge branch 'gtk-2-90'
Conflicts:
	gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
John (J5) Palmieri
b3e0e25d65 [GtkRadioAction] fix annotation _set_group, _get_group
* should be element-type GtkRadioAction not GtkAction
2010-05-06 17:30:03 -04:00
Colin Walters
14fef0abba [GtkRadioAction] Annotate _set_group 2010-05-06 16:58:36 -04:00
Javier Jardón
713f2b638e Use event instead key in the previous patch 2010-05-05 04:06:17 +02:00
Javier Jardón
7692a427a6 Added api to reset the im context in GtkTextView and GtkEntry
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:14:28 +02:00
Matthias Clasen
8a4528eb2a Fix a problem with marks on vertical scales 2010-05-04 20:33:21 -04:00
Danielle Madeley
227d59c190 Expose visible() and modify() as vcalls in class
This makes it possible to create filter subclasses by implementing the vcalls.
You can optionally chain up to the parent class' implementation, to make it
possible to have "your filter + additional custom filtering".

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604150
2010-05-04 03:42:22 +02:00
Javier Jardón
c1d36af3e8 Do not use C99 constant INFINITY
Use G_MAXDOUBLE instead
2010-05-03 22:47:21 +02:00
Benjamin Otte
ba3e997dae Make toolbutton not call functions on non-GtkMisc 2010-05-03 20:20:44 +02:00
John (J5) Palmieri
33194ff5f4 add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
* get_indices does not return a length so we can not annotate it to return an
  array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
  parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
  number of integers in the array
* in a GI binding this returns the native array type for the bound language
  (e.g. in PyGI this returns a list of integers)
2010-05-03 12:47:38 -04:00
Javier Jardón
0de8601327 Use accessor functions to access GtkLabel variables 2010-05-03 01:51:23 +02:00
Javier Jardón
0e79972d24 Remove GtkTreeItem completely 2010-05-03 01:51:23 +02:00
Javier Jardón
d7786d4a9e Remove GtkTree completely 2010-05-03 01:51:23 +02:00
Javier Jardón
0669d8d6e9 Remove GtkText completely 2010-05-03 01:51:23 +02:00
Javier Jardón
c77c69502c Restore non-deprecated GtkToolbar functions in gtk.symbols
The functions gtk_toolbar_set_icon_size() and
gtk_toolbar_unset_icon_size() are not deprecated
2010-05-03 01:51:23 +02:00
Javier Jardón
9a4e3371e2 Remove GtkTooltips completely 2010-05-03 01:51:23 +02:00
Javier Jardón
3d6b45f7d2 Remove GtkOptionMenu completely 2010-05-03 01:51:23 +02:00
Javier Jardón
6f3d152bee Remove all gtk_marshal_* functions from the gtk.symbols 2010-05-03 01:51:23 +02:00
Javier Jardón
623966b6da Remove all gtk_draw_* deprecated functions completely 2010-05-03 01:51:23 +02:00
Javier Jardón
eb3efdf242 Remove gtk_color_selection_set_update_policy() completely 2010-05-03 01:51:23 +02:00
Javier Jardón
9fa9d792a8 Remove GTK_WIDGET_* macros 2010-05-03 01:51:21 +02:00
Javier Jardón
ffd80c80c9 Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window() 2010-05-03 01:51:21 +02:00
Javier Jardón
32697682cc Remove GtkOldEditable completely 2010-05-03 01:51:21 +02:00
Javier Jardón
6927a24df4 Restore gtk_paned_get_handle_window() 2010-05-03 01:51:21 +02:00
Javier Jardón
244ed9aec7 Restore gtk_entry_get_icon_window() again 2010-05-03 01:51:21 +02:00
Christian Dywan
4019007ceb Remove GtkSideType, GtkMatchType, GtkPreviewType and GtkSignalRunType 2010-05-03 01:51:21 +02:00
Christian Dywan
c742482d48 Remove GtkType legacy API and type definitions 2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0 Remove deprecated GtkTooltips 2010-05-03 01:51:21 +02:00
Christian Dywan
e0969a1327 Remove GtkObject floating, weak, arg and user data handling 2010-05-03 01:51:21 +02:00
Javier Jardón
e84a330f5a Cleaning gtk-symbols file
Remove some already removed symbols
2010-05-03 01:51:21 +02:00
Javier Jardón
d3fc78bfb6 [gtk/gtktoolitem] Remove deprecated GtkToolItem stuff
This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
2010-05-03 01:51:20 +02:00
Javier Jardón
f39f644fb2 Move GtkAccelGroup private structure to shared header file
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
2010-05-03 01:51:20 +02:00
Javier Jardón
6281645cbb Remove deprecated GtkMenu stuff.
Also, substitute the deprecated functions with the new ones in
documentation.
2010-05-03 01:51:20 +02:00
Javier Jardón
74e6844488 Remove GtkCurve completely 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
caca8a9696 Remove gtk_toggle_button_set_state() from GtkToggleButton 2010-05-03 01:51:20 +02:00
Javier Jardón
e45d8f557a Remove unused variable
'default_spacing' is not used anymore
2010-05-03 01:51:20 +02:00
Javier Jardón
73b066814b Remove unused function
gtk_container_foreach_unmarshal() is not used anymore.
2010-05-03 01:51:19 +02:00
Javier Jardón
00d3d8516b Fix compilation warning: cast to GTK_WIDGET 2010-05-03 01:51:19 +02:00
Javier Jardón
a27da3239e Use gtk_label_get_text() instead direct access 2010-05-03 01:51:19 +02:00
Javier Jardón
8d9e37f407 Remove all deprecated stuff from GtkContainer 2010-05-03 01:51:19 +02:00
Christian Dywan
72323e6d9a Do not use lock_count of GtkAccelGroup directly in GtkWidget 2010-05-03 01:51:19 +02:00
Christian Dywan
4045b71824 Remove old GtkToolbar compatibility API 2010-05-03 01:51:19 +02:00
Christian Dywan
2d84d88539 Remove internal GtkNotebook tab homogeneousnes and border helpers 2010-05-03 01:51:19 +02:00
Christian Dywan
8d3814f044 Do not use lock_count of GtkAccelGroup directly in GtkMenu 2010-05-03 01:51:19 +02:00
Christian Dywan
059c22c3b2 Add and use internal accessor for accelerables in GtkAccelGroup 2010-05-03 01:51:19 +02:00
Christian Dywan
a13d2c200b Remove obsolete helper function gtk_rc_add_rc_sets 2010-05-03 01:51:18 +02:00
Cody Russell
5959005fad Use gtk_accel_grouop_get_is_locked() rather than trying to access group->lock_count. 2010-05-03 01:51:18 +02:00
Cody Russell
0779d0a37e Move GSEAL'd members of GtkAccelLabel into private struct. 2010-05-03 01:51:18 +02:00
Cody Russell
3c8c4004b6 Move GSEAL'd members of GtkAccelGroup into private struct 2010-05-03 01:51:18 +02:00
Cody Russell
bcb663096d Remove unnecessary casting 2010-05-03 01:51:18 +02:00
Cody Russell
ba128ceab2 Fix GtkAboutDialog to stop using GSEAL'd members of GtkDialog 2010-05-03 01:51:18 +02:00
Cody Russell
03849dd358 Unseal GtkAboutDialog's private_data member, convert from gpointer to GtkAboutDialogPrivate 2010-05-03 01:51:18 +02:00
Javier Jardón
fb88f34e06 Remove remaining deprecated GtkInputDialog stuff 2010-05-03 01:51:18 +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
Michael Natterer
f7813125bb Remove all deprecated stuff from gtkmain 2010-05-03 01:51:18 +02:00
Michael Natterer
f25e1b0a47 Remove the deprecated gtkmarshal.* entirely 2010-05-03 01:51:18 +02:00
Michael Natterer
5e29973773 Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Christian Dywan
90d514a8a5 Remove deprecated GtkEntry functions 2010-05-03 01:51:18 +02:00
Christian Dywan
b2b6bb17ac Remove GtkInputDialog completely 2010-05-03 01:51:17 +02:00
Christian Dywan
575d3ffa83 Include gtkspinner.h in GtkStyle 2010-05-03 01:51:17 +02:00
Javier Jardón
1e8fa9354a Remove GtkPixmap completely 2010-05-03 01:51:17 +02:00
Javier Jardón
e031c4f54a Remove GtkSignal completely 2010-05-03 01:51:17 +02:00
Javier Jardón
d98aeeff45 Ops, enable GtkInputDialog again 2010-05-03 01:51:17 +02:00
Javier Jardón
86eee0258e Revert a still used variable in GtkHButtonBox 2010-05-03 01:51:17 +02:00
Javier Jardón
c9251c99e7 Remove deprecated code: GtkHButtonBox 2010-05-03 01:51:17 +02:00
Javier Jardón
2ec9cb9ca6 Remove remaining GtkAction deprecated documentation
This completes commit 35570ed56eb94b7a05f63daed0ca2bf2c320a8bc
2010-05-03 01:49:50 +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
740a1007eb Remove remaining GtkContainer deprecated stuff
This completes commit 600216daac6df8deb0cdc042fc27f07a9c5c7c27
2010-05-03 01:49:25 +02:00
Javier Jardón
fead8cd49a Remove deprecated code: GtkLabel 2010-05-03 01:48:45 +02:00
Javier Jardón
b5917e7a6f Remove deprecated code: GtkFileChooserButton 2010-05-03 01:48:45 +02:00
Javier Jardón
bf49830f07 Remove deprecated code: GtkRadioButton 2010-05-03 01:48:45 +02:00
Javier Jardón
9e30bf3d60 Remove deprecated code: GtkPaned 2010-05-03 01:48:45 +02:00
Javier Jardón
3e9fac395a Remove deprecated code: GtkAccelLabel 2010-05-03 01:48:45 +02:00
Javier Jardón
c9dae4c600 Remove deprecated code: GtkCheckMenuItem 2010-05-03 01:48:45 +02:00
Javier Jardón
73111cd295 Remove deprecated GtkAccelGroup functions 2010-05-03 01:48:45 +02:00
Javier Jardón
3d4c434659 Remove deprecated GtkHButtonBox functions and macros 2010-05-03 01:45:00 +02:00
Javier Jardón
5ed56120a6 Remove deprecated GtkVButtonBox functions 2010-05-03 01:42:37 +02:00
Javier Jardón
0d322676dc Remove deprecated GtkWidget functions 2010-05-03 01:41:37 +02:00
Javier Jardón
2b71ef33fb Remove deprecated GtkWindow function 2010-05-03 01:41:37 +02:00
Javier Jardón
55d5ce88ec Remove deprecated GtkTreeViewColumn functions 2010-05-03 01:41:37 +02:00
Javier Jardón
0a6557d721 Remove deprecated GtkCellRenderer function 2010-05-03 01:41:37 +02:00
Javier Jardón
c1182debd0 Remove deprecated GtkAction functions 2010-05-03 01:41:37 +02:00
Christian Dywan
ed60f1e5ad Update gtk.symbols according to removed symbols 2010-05-03 01:41:36 +02:00
Christian Dywan
6f5b7bad3a Don't use old toolbar API in toolbar stress test 2010-05-03 01:41:36 +02:00
Christian Dywan
43ed74c5cd Remove deprecated GtkCellView function 2010-05-03 01:41:36 +02:00
Christian Dywan
e641742ca0 Omit removed classes from GTK makefile 2010-05-03 01:41:36 +02:00
Christian Dywan
161e1b6916 Don't include deprecated classes in gtk.h 2010-05-03 01:40:42 +02:00
Christian Dywan
97fbd32684 Remove deprecated GtkRecentChooser functions 2010-05-03 01:40:42 +02:00
Christian Dywan
1261b3173d Remove GtkOptionMenu completely 2010-05-03 01:40:42 +02:00
Christian Dywan
5f3178a87a Remove GtkTipsQuery completely 2010-05-03 01:40:42 +02:00
Christian Dywan
e5c56b7c0f Remove GtkText completely 2010-05-03 01:40:41 +02:00
Christian Dywan
528e74a481 Remove GtkPreview completely 2010-05-03 01:40:41 +02:00
Christian Dywan
a8ecd09852 Remove GtkListItem completely 2010-05-03 01:40:41 +02:00
Christian Dywan
bb475d5d2e Remove deprecated GtkStatusIcon functions 2010-05-03 01:40:41 +02:00
Christian Dywan
61a294d820 Remove deprecated GtkSocket functions 2010-05-03 01:40:41 +02:00
Christian Dywan
2da9103e0c Remove deprecated GtkScaleButton functions 2010-05-03 01:40:41 +02:00
Christian Dywan
032b38ccfd Remove deprecated GtkRecentManager functions 2010-05-03 01:40:41 +02:00
Christian Dywan
d21bf0c1ec Remove deprecated GtkFileChooser functions 2010-05-03 01:40:41 +02:00
Christian Dywan
07501cf02e Remove GtkOldEditable completely 2010-05-03 01:40:41 +02:00
Christian Dywan
49ec071c59 Remove GtkFileSelection completely 2010-05-03 01:40:41 +02:00
Christian Dywan
2d763d3430 Remove GtkList completely 2010-05-03 01:40:41 +02:00
Christian Dywan
dc21c8ef06 Remove deprecated GtkToolItem functions 2010-05-03 01:40:41 +02:00
Christian Dywan
aa21bd702f Remove deprecated GtkColorSelection functions 2010-05-03 01:40:41 +02:00
Christian Dywan
d974436aec Remove deprecated GtkFontSelection(Dialog) functions 2010-05-03 01:40:41 +02:00
Christian Dywan
d2468351ca Remove deprecated GtkSpinButton function (macro) 2010-05-03 01:40:40 +02:00
Christian Dywan
474529e2c0 Remove GtkItemFactory completely 2010-05-03 01:40:40 +02:00
Christian Dywan
ea36fff086 Remove GtkCombo completely 2010-05-03 01:40:40 +02:00
Christian Dywan
b653f66b05 Remove GtkCList completely 2010-05-03 01:40:40 +02:00
Christian Dywan
f210f816ca Remove GtkCTree completely 2010-05-03 01:40:40 +02:00
Christian Dywan
f3ea5702ab Remove GtkTreeItem completely 2010-05-03 01:40:40 +02:00
Christian Dywan
b0149a9f3f Remove GtkTree completely 2010-05-03 01:40:40 +02:00
Christian Dywan
5c3b5ecfce Remove deprecated/ broken types from the default value test 2010-05-03 01:40:40 +02:00
Christian Dywan
16011da879 Remove some deprecated functions from GtkWidget 2010-05-03 01:40:40 +02:00
Christian Dywan
6513947473 Prefix gtk_selection_clear with an underscore 2010-05-03 01:39:50 +02:00
Christian Dywan
8ac9a0e67f Remove deprecated GtkStyle functions 2010-05-03 01:39:50 +02:00
Christian Dywan
165fd5903f Remove deprecated GtkToolbar functions 2010-05-03 01:39:50 +02:00
Christian Dywan
7d3dbb9532 Remove deprecated GtkMenuBar functions (macros) 2010-05-03 01:39:50 +02:00
Christian Dywan
956a5c47ed Remove deprecated GtkRcStyle functions 2010-05-03 01:39:50 +02:00
Christian Dywan
2e1b3abad3 Remove deprecated GtkRadioMenuItem function (macro) 2010-05-03 01:39:50 +02:00
Christian Dywan
11e97600f0 Remove deprecated GtkTreeView functions 2010-05-03 01:39:50 +02:00
Christian Dywan
b7eed8cbff Remove deprecated GtkMenuToolButton function 2010-05-03 01:39:50 +02:00
Christian Dywan
7e67ec8414 Remove deprecated GtkTreeModel functions (macros) 2010-05-03 01:39:50 +02:00
Christian Dywan
c4b3b13f9d Remove deprecated GtkNotebook functions 2010-05-03 01:39:50 +02:00
Christian Dywan
025eebb49d Remove deprecated GtkMenuItem function 2010-05-03 01:39:49 +02:00
Christian Dywan
2f1a59c0f2 Remove deprecated GtkLayout functions 2010-05-03 01:39:49 +02:00
Christian Dywan
7fd68866fe Remove deprecated GtkImage functions 2010-05-03 01:39:49 +02:00
Christian Dywan
605705fd6b Remove deprecated gtk_drag_set_default_icon 2010-05-03 01:39:49 +02:00
Christian Dywan
2eb26d68f6 Remove deprecated function from GtkDrawingArea 2010-05-03 01:39:49 +02:00
Christian Dywan
304f36b587 Remove deprecated functions from GtkCalendar 2010-05-03 01:39:49 +02:00
Christian Dywan
0d7d1ae8dc Remove deprecated functions from GtkBox 2010-05-03 01:39:49 +02:00
Christian Dywan
de29ee15c6 Remove deprecated gtk_binding_entry functions 2010-05-03 01:39:49 +02:00
Christian Dywan
5a33eb8d67 Remove deprecated functions from GtkAboutDialog 2010-05-03 01:39:49 +02:00
Benjamin Otte
b08a6750dc filechooser: Fix a crash when removing files
The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.

The easiest way to reproduce it is to create a directory with two files
and deleting both of them.

Reported-by: Javier Jardón <jjardon@gnome.org>
2010-05-02 14:34:43 +02:00
Matthias Clasen
1782151092 Doc fixes
Correct some Since tags.
2010-05-01 21:40:43 -04:00
Matthias Clasen
201635a203 Fix doc typos 2010-05-01 21:40:43 -04:00
Matthias Clasen
82647f274c Integrate GtkExtendedLayout docs 2010-05-01 21:40:43 -04:00
Javier Jardón
1cf85176e4 Add gtk_extended_layout_get_desired_size() to gtk.symbols 2010-05-01 16:04:51 +02:00