Commit Graph

21132 Commits

Author SHA1 Message Date
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
b76557e944 [docs] Fix GdkColor description: blue and green colors are changed
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
2010-05-10 01:57:22 +02: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
41d36aef3c remove some deprecated parts from the docs 2010-05-08 01:46:02 -04: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
Richard Hughes
a473b593ff Remove links to code that no longer exists to fix make dist 2010-05-07 23:14:00 +01:00
Seán de Búrca
8c5dca4c5c Clear out removed deprecations from POTFILES 2010-05-07 15:23:03 -06:00
Richard Hughes
8c55aee54f Remove a missing include in one of the tests that broke the build from a fresh checkout 2010-05-07 21:37:35 +01:00
Khaled Hosny
a8f1512b92 Typo 2010-05-07 20:46:01 +03:00
Javier Jardón
46a841cadb [test] Fix floating test
The test was broken by commit e0969a13
2010-05-07 16:42:42 +02:00
Andika Triwidada
f2b40a1ff3 Updated Indonesian translation, 100% as of 20100507 2010-05-07 15:22:19 +07:00
Andika Triwidada
2ace72c1f8 Updated Indonesian translation 2010-05-07 15:19:36 +07:00
Martin Nordholts
ccc53b9a45 Rename configure.in to configure.ac
In the autoconf manual the recomended name for the autoconf input file
is configure.ac and not configure.in. Follow this recomendation.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=598768
2010-05-07 10:07:23 +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
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
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
Javier Jardón
a141c35271 Remove the definition of libpixbufloader_gdip_png_la_*
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:07:51 +02: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
64812ce662 Added an extra validation in gdk_pixbuf_loader_set_size()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=380196
2010-05-04 00:39:46 +02:00
Wouter Bolsterlee
4fb6b9d579 Dutch translation updated by Wouter Bolsterlee 2010-05-03 23:35:18 +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
Tor Lillqvist
5098f34234 Update the Makefile for scribble-xinput
Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use
deprecated API. Also, make the CC command line more canonical.
2010-05-03 13:49:16 +03:00
Matthias Clasen
0eaa177210 Updates 2010-05-02 23:00:55 -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
0de8601327 Use accessor functions to access GtkLabel variables 2010-05-03 01:51:23 +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
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
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
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
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