Commit Graph

35821 Commits

Author SHA1 Message Date
Benjamin Otte
b6512eea3f 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-10-10 14:51:42 -04:00
Benjamin Otte
16c8445cc1 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-10-10 14:51:42 -04:00
Benjamin Otte
f1ea85e514 gdkcairo: Split out a function
This is in preparation for the next patch.
2013-10-10 14:51:42 -04:00
Xavier Claessens
bde811bed0 GtkSearchBar: replace incomplete example with a real one
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
e879720495 Add example app for GtkSearchBar
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
af2c540a95 GtkMenu: Document that gtk_widget_insert_action_group() can be used 2013-10-10 14:03:23 -04:00
Matthias Clasen
fba0a9e8af Fix build with explicit --enable-wayland-backend
We forgot to set set WAYLAND_SCANNER in this case.
2013-10-10 12:48:48 -04:00
Matthias Clasen
668eb79086 configure: Make Wayland backend optional
As long as we are not ready to switch over the default backend,
arrange ./configure without explicit backend options makes the
x11 backend mandatory and the wayland backend optional (depending
on whether we find Wayland dependencies).

http://bugzilla.gnome.org/show_bug.cgi?id=709212
2013-10-10 12:48:48 -04:00
Gabor Kelemen
9746ab3539 Updated Hungarian translation 2013-10-10 14:55:08 +02:00
David King
71affbeec0 stack: Warn when setting a visible child which is not in the stack
https://bugzilla.gnome.org/show_bug.cgi?id=709613
2013-10-09 12:11:56 +01:00
William Jon McCann
5b9524f0f7 range: start autoscrolling near the edges of ranges
If a range goes all the way to the edge of the screen then we don't
have any way to activate autoscrolling. By adding a small region
at the ends of the range we can handle this case. This is the same
approach used in treeviews.
2013-10-07 16:40:26 -04:00
Khaled Hosny
09dc2ea808 Update Arabic translation 2013-10-07 17:08:02 +02:00
Victor Ibragimov
42c09b9065 Tajik translation updated 2013-10-07 15:16:15 +05:00
Timm Bäder
6c77f65ea6 gtk_list_box_set_focus: Handle ist_box == NULL
Rows without a parent GtkListBox can happen in Glade and its previewer.
2013-10-03 14:11:50 +02:00
Chun-wei Fan
6c60cdb816 gengir_gtk.bat: Correctly handle time_t
...on x64 Windows/MSVC builds.  This is because time_t is a long long on
x64 arch on Windows.
2013-10-03 17:26:01 +08:00
Bastien Nocera
55c75cd6dc iconhelper: Fix leak when rendering to cairo surface
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
5b5a4b5dfc iconhelper: Use g_clear_* helpers
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
0eccb06cb2 icon-theme: Fix 2 memory leaks in GtkIconInfo
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
1429ebffb2 icon-theme: Use g_clear_* helpers in finalize
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Alexander Larsson
8300c1683a GtkTextView: Fix horizontal scrolling
We didn't properly invalidate when scrolling horizontally.

https://bugzilla.gnome.org/show_bug.cgi?id=708019
2013-10-02 16:24:42 +02:00
Alexander Larsson
9f04e9ccb1 GtkTextView: Fix regression in GtkSourceView drawing
GtkSourceView draws before chaining upo to GtkTextView and assumes
that this will be visible, but the pixelcache will just overdraw
that with background.

So, we stop drawing the background to the pixel cache and instead
make it an CAIRO_CONTENT_COLOR_ALPHA surface to make the previously
drawn content see through.

This is slower, but more backwards compatible.

https://bugzilla.gnome.org/show_bug.cgi?id=708423
2013-10-02 16:24:40 +02:00
Rūdolfs Mazurs
190bdf0592 Updated Latvian translatio 2013-10-02 11:50:30 +03:00
Rūdolfs Mazurs
809df4da4f Updated Latvian translatio 2013-10-02 11:47:22 +03:00
Kenneth Nielsen
dfeb51f1f2 Updated Danish translation 2013-10-01 19:11:17 +02:00
Мирослав Николић
2c6cabf1dc Updated Serbian translation 2013-10-01 09:55:50 +02:00
Cosimo Cecchi
9196deec8d 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-30 09:47:01 -07:00
Cosimo Cecchi
e97c115b54 icontheme: use g_file_load_contents() for symbolic icons
When loading a symbolic icon, g_file_get_contents() is currently used
with the icon pathname, to load its SVG data. This won't work when the
icon is not a local file, for instance when a symbolic icon is loaded
from a GFileIcon with a GResource path.
Fortunately GtkIconInfo already holds a GFile, so we can just use
g_file_load_contents() to load the data instead.

https://bugzilla.gnome.org/show_bug.cgi?id=709056
2013-09-30 09:46:19 -07:00
Hannie Dumoleyn
834854da0f Updated Dutch translation 3.10 2013-09-30 16:44:59 +02:00
Ryan Lortie
7414323519 GtkTreeViewColumn: start padding at 0
If we start with a padding of -1 then it can leak out of the size
allocation request for the column when the treeview is empty.  The
GtkTreeView will then collect these -1 values and add them together,
returning -n where 'n' is the number of columns.

This is usually not a problem because treeviews tend to be used with a
scrollbar and the width of the scrollbar will be added to this number
bringing it into positive territory again.  On Ubuntu, with overlay
scrollbars, this is not the case, however.

https://bugzilla.gnome.org/show_bug.cgi?id=703062
2013-09-30 09:24:14 -04:00
Bastien Nocera
4e060e6efe Fix possible crash in header bar
When the header bar's top-level widget is not a GtkWindow,
don't try to get the inexistant "decoration-button-layout"
property.
2013-09-27 17:27:51 +02:00
Lionel Landwerlin
98994f5df6 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:03 +01:00
Kjartan Maraas
bb8c6ffeed Updated Norwegian bokmål translation 2013-09-26 21:19:21 +02:00
Chun-wei Fan
ee2dc51d7a 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:53:41 +08:00
Yuri Myasoedov
9fac69160d Updated Russian translation 2013-09-25 23:22:49 +04:00
Christian Kirbach
c088a0d04e Updated German translation 2013-09-25 15:21:16 +02:00
Josep Sànchez
fc116508a4 [l10n] Update Catalan translation 2013-09-25 00:39:21 +02:00
Inaki Larranaga Murgoitio
d62e9dac4a Updated Basque language 2013-09-24 22:16:22 +02:00
Inaki Larranaga Murgoitio
6309e936bc Updated Basque language 2013-09-24 09:20:05 +02:00
Pavol Klačanský
490b58f029 Updated slovak translation 2013-09-23 22:17:50 +02:00
Pavol Klačanský
210290326b Updated slovak translation 2013-09-23 22:16:28 +02:00
Matthias Clasen
70a6996751 Bump version 2013-09-23 14:46:25 -04:00
Matthias Clasen
b92f6b1dbe 3.10.0 2013-09-23 13:48:01 -04:00
Matthias Clasen
c8544a3c4d Add a release note about settings 2013-09-23 13:48:01 -04:00
Matthias Clasen
3b6156fdb5 Allow applications to use gtk-menu-bar-accel in 3.10
gnome-terminal is still using this setting, so we'll let
applications override it for another cycle. It is no longer
backed by a system-wide setting, though, and it will still
go away eventually.

This partically reverts b26c74e5da
2013-09-23 13:48:01 -04:00
Matthias Clasen
34cf40e95c Allow applications to use gtk-enable-mnemonics in 3.10
gnome-terminal is still using this setting, so we'll let
applications override it for another cycle. It is no longer
backed by a system-wide setting, though, and it will still
go away eventually.

This partically reverts 7e3a494fac
2013-09-23 13:48:01 -04:00
Matthias Clasen
3312a68a88 Drop border-image-repeat test for 3.10.0
It got broken by recent cairo changes. Investigation and
fixing will happen on master.
2013-09-23 13:47:50 -04: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