Commit Graph

35851 Commits

Author SHA1 Message Date
Cosimo Cecchi
a2ed88b3ee Allow active tab children to be styled
This allows one to style the children of an active
tab label from CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=691163
2013-09-26 19:19:53 -04:00
Matthias Clasen
bd1df33798 Trivial: correct vfunc signatures
Harmless confusion between gint and gboolean
https://bugzilla.gnome.org/show_bug.cgi?id=697031
2013-09-26 19:16:14 -04:00
Lionel Landwerlin
e62a6dfdbc GdkWindowX11: Prevent non renderered window to be display by the compositor
When mapping a window for the first time, make sure the compositor
won't display it until we're done painting.

https://bugzilla.gnome.org/show_bug.cgi?id=702196
2013-09-26 22:16:53 +01:00
Sébastien Wilmet
f75aa5fdb4 GtkTextView: add create_buffer virtual method pointer
This allows subclasses of GtkTextView that require a corresponding
subclass of GtkTextBuffer to automatically do the right thing when
constructed with a NULL buffer. An example of this is GtkSourceView
which requires a GtkSourceBuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=708584
2013-09-26 18:36:20 +02:00
Chun-wei Fan
cb867d88bb Update Demos Visual Studio Projects
Improve optimization, by re-enabling WholeProgramOptimization but changing
the linker optimization to not drop items that are not referenced in code
(such as compiled gresource sources that are not directly referenced in
code, as they are still needed for the demos to run properly).
2013-09-26 19:50:56 +08:00
Matthias Clasen
7439e03f3d Fixups to GtkStack
The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.
2013-09-25 23:54:31 -04:00
Matthias Clasen
5315661721 Use a stack in GtkAboutDialog
This lets us slide the credits and license sections up and down,
instead of just popping them into existence abruptly.
2013-09-25 23:54:31 -04:00
Matthias Clasen
256da35c11 Test new transition types
We should make teststack pick up new transitions automatically.
For now, we have to add them manually.

https://bugzilla.gnome.org/show_bug.cgi?id=707187
2013-09-25 23:54:31 -04:00
Matthias Clasen
98b78ed5da GtkStack: Add more transition types
This adds new 'over' and 'under' transitions which work by moving
the new page over the previous one, or moving the previous page off
to reveal the new one. We also add an over/under combination that
is going to be used in GtkAboutDialog.

https://bugzilla.gnome.org/show_bug.cgi?id=707187
2013-09-25 23:54:12 -04:00
Matthias Clasen
17aae0477f GtkAboutDialog: prevent unintended visibility
Some of the labels were not marked as no-show-all. But the
code clearly tries to manage their visibility, so gtk_widget_show_all()
should not affect them.

https://bugzilla.gnome.org/show_bug.cgi?id=681484
2013-09-25 22:51:33 -04:00
Paolo Borelli
e59c28743a Add a needs-attention child property to GtkStack
The child property is watched by the StackSwicther which in turns sets a
needs-attention css class on the corresponding button, so that the theme
can for instance show a throbbing animation if one of the hidden pages
needs the user attention.

https://bugzilla.gnome.org/show_bug.cgi?id=707153
2013-09-25 22:34:22 -04:00
Mario Sanchez Prada
8d83d989bb a11y: don't shutdown accessibility, so the atk bridge is always valid
This will fix issues in applications that for some reason make
several and not nested calls to gtk_main() during their lifetime,
effectively initializing a11y when the first, top most, main loop
is being run and shutting it down then that loop is quit.

https://bugzilla.gnome.org/show_bug.cgi?id=708024

https://bugzilla.gnome.org/show_bug.cgi?id=684076
2013-09-25 20:14:04 -04:00
Cosimo Cecchi
6f9fed45ef entrycompletion: set the GtkWindow as attached to the GtkEntry
This way themes can easily select that window to apply custom styles.

https://bugzilla.gnome.org/show_bug.cgi?id=708414
2013-09-25 20:06:43 -04:00
Christian Kirbach
61c4b17ac4 Updated German translation 2013-09-25 15:22:06 +02:00
Josep Sànchez
e61e470214 [l10n] Update Catalan translation 2013-09-24 23:42:11 +02:00
Inaki Larranaga Murgoitio
66560db10b Updated Basque language 2013-09-24 22:11:35 +02:00
Inaki Larranaga Murgoitio
b3de37b6cf Updated Basque language 2013-09-24 17:51:21 +02:00
Benjamin Otte
3d7e0f3eb1 gdkcairo: Actually paint the pixbuf
I accidentally a line before committing
b41787bc78 - whoops.
2013-09-24 17:43:44 +02:00
Benjamin Otte
7a9641b0f6 testsuite: Add a test for functions that work without gtk_init()
So far, this is just supposed to be gdk_cairo_set_source_pixbuf().

Note that this is usually not an API guarantee but courtesy to
applications that used these APIs without a gtk_init() call.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-09-24 16:42:48 +02:00
Benjamin Otte
b41787bc78 gdkcairo: Don't require gtk_init() for set_source_pixbuf()
Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-09-24 16:42:48 +02:00
Benjamin Otte
1959e36066 gdkcairo: Split out a function
This is in preparation for the next patch.
2013-09-24 16:42:48 +02:00
Chao-Hsiung Liao
9019c2bfb9 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2013-09-24 19:17:12 +08:00
Inaki Larranaga Murgoitio
e51ee80d14 Updated Basque language 2013-09-24 09:18:50 +02:00
Matthias Clasen
97acd7abb1 Introduce version macros for 3.12 2013-09-23 18:55:28 -04:00
Matthias Clasen
a98e387be4 Bump version
3.11 is open for business.
2013-09-23 15:08:50 -04:00
Kenneth Nielsen
1f5de47712 Updated Danish translation 2013-09-23 19:35:20 +02:00
Yosef Or Boczko
6c90719b52 Updated Hebrew translation
Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
2013-09-23 17:11:26 +03:00
Milo Casagrande
70d0e4186f [l10n] Updated Italian translation. 2013-09-23 15:10:26 +02:00
Petr Kovar
8de3055914 Update Czech transaltion 2013-09-23 15:00:29 +02:00
Petr Kovar
bae9b158fd Update Czech translation 2013-09-23 14:26:32 +02:00
Alexander Larsson
68c450468e icon-theme: Better handling of unscaled icon directories
If an icon is in a Fixed or Threshold directory we normally don't
scale it. However, in the case of HiDPI scaling we *do* want to
scale it, to avoid different layouts in Lo/HiDPI. We look up whatever
the size of the icon would have been in LoDPI and scale to that
in the no-scaling case, thus getting the same layout as the
unscaled case.

https://bugzilla.gnome.org/show_bug.cgi?id=708384
2013-09-23 12:45:34 +02:00
Alexander Larsson
a001dc0ec7 icon-theme: Make icon_info_new() have some args
This gets rid of a bunch of duplicated code.
2013-09-23 12:45:34 +02:00
Alexander Larsson
ae24cbc11f testicontheme: Add some tests for scales 2013-09-23 12:45:34 +02:00
Chun-wei Fan
a3519988f5 demos/gtk-demo/toolpalette.c: Avoid C99ism
Avoid declaring variable at the middle of the block
2013-09-23 16:39:25 +08:00
Nilamdyuti Goswami
9b8f740635 Assamese translation updated 2013-09-23 13:25:09 +05:30
Andika Triwidada
c38e1ab301 Updated Indonesian translation 2013-09-23 09:48:12 +07:00
Peter Mráz
3d473d9602 Updated slovak translation 2013-09-22 22:54:11 +02:00
Pavol Klačanský
8e74179bf3 Updated slovak translation 2013-09-22 22:54:11 +02:00
Claude Paroz
12afdbe518 Updated French translation 2013-09-22 20:04:42 +02:00
Aurimas Černius
9779c355e3 Updated Lithuanian translation 2013-09-22 17:40:38 +03:00
Chun-wei Fan
00f9b1e769 MSVC Builds: "Install" gtklistboxrowaccessible.h
...which is an a11y header introduced in commit c22e27f9.
2013-09-22 22:10:28 +08:00
Pavol Klačanský
06ed35548c Updated slovak translation 2013-09-22 15:41:43 +02:00
Daniel Mustieles
04036f8221 Updated Spanish translation 2013-09-22 12:11:29 +02:00
Yosef Or Boczko
e4a299ea2c Updated Hebrew properties translation 2013-09-22 12:34:32 +03:00
Yosef Or Boczko
1b0b6ba5d4 Updated Hebrew translation 2013-09-22 12:31:01 +03:00
Matthias Clasen
e5317f0f9a Improve struct packing in various places 2013-09-21 23:50:55 -04:00
Matthias Clasen
d137f74fe9 Remove priv pointer from GtkStackSwitcher
This is a new widget, so lets avoid the unnecessary
priv pointer while we still can.
2013-09-21 23:50:55 -04:00
Matthias Clasen
4b13b93394 Improve struct packing in GdkWindowImplWayland 2013-09-21 23:50:55 -04:00
Duarte Loreto
e92ed298b5 Updated Portuguese translation 2013-09-22 02:50:58 +01:00
Duarte Loreto
8f7a52239d Updated Portuguese translation 2013-09-22 02:29:51 +01:00