Matthias Clasen
9490e7064e
csd: properly check titlebar visibility
...
Now that we are using child-visible to hide titlebars, we need to
adjust the visibility checks in various places to take it into account.
https://bugzilla.gnome.org/show_bug.cgi?id=709323
2013-10-05 23:17:02 -04:00
Matthias Clasen
66445fec1d
Fix dark theme issues in the print dialog
...
The dimensions in the n-up illustration were not using the
color of the style for drawing.
https://bugzilla.gnome.org/show_bug.cgi?id=709420
2013-10-05 23:02:54 -04:00
Benjamin Otte
a4c7f188de
icontheme: Use gdk_rgba_to_string()
...
This gives us valid CSS. And now that librsvg parses valid CSS, that's a
fine thing to use.
And it fixes the problem where %g is locale-dependent.
2013-10-05 21:32:09 +02:00
Benjamin Otte
67260eec22
container: Deprecate resize mode
...
Resize modes don't work anymore, both because nobody ever uses them and
because the frame clock changed the way things work quite a bit. So we
don't want to advertise them as a good idea.
https://bugzilla.gnome.org/show_bug.cgi?id=708787
2013-10-05 15:09:53 +02:00
Benjamin Otte
859805bda4
testgtk: Remove idle test
...
The test is broken, written like it's 1999 and testing a feature that
I'm about to deprecate.
2013-10-05 14:57:24 +02:00
Benjamin Otte
dd01e05ceb
reftests: Add a test for the symbolic color fix
2013-10-05 13:57:51 +02:00
Benjamin Otte
303cf53f3f
icontheme: Use rgba() when loading symbolic icons
...
This way, we correctly pass on translucency information. Note: This
currently requires librsvg master.
2013-10-05 13:57:51 +02:00
Benjamin Otte
0e6a9858e1
stylecontext: Deprecate gtk_style_context_invalidate()
...
Everything is invalidated automatically these days.
2013-10-05 13:57:51 +02:00
Benjamin Otte
3d4277facb
tests: Don't call gtk_style_context_invalidate()
...
It's not needed anymore.
2013-10-05 13:57:51 +02:00
Benjamin Otte
7f0c29bcd7
texthandle: Use the parent widget's style context
...
... instead of creating our own.
2013-10-05 13:57:51 +02:00
Benjamin Otte
5f83d6188f
testsuite: Remove extra calls to gtk_style_context_invalidate()
...
They aren't needed anymore.
2013-10-05 13:57:51 +02:00
Sébastien Wilmet
ab112a2096
Improve doc of gtk_style_context_invalidate()
...
https://bugzilla.gnome.org/show_bug.cgi?id=708583
2013-10-05 13:57:51 +02:00
William Jon McCann
6f17c408e6
notebook: inform the theme to draw borders when requested
...
When the show-border property is TRUE ask the theme to draw
borders on the notebook header.
2013-10-04 18:14:25 -04:00
William Jon McCann
053433010b
notebook: add style classes for orientation to the header
2013-10-04 18:14:25 -04:00
William Jon McCann
db60046af4
notebook: correctly define the header region
...
Correctly define the header region to only be the area under the
tabs.
2013-10-04 18:14:25 -04:00
Debarshi Ray
35be1c8b56
places sidebar: Small cleanup
2013-10-03 18:30:39 +02:00
Timm Bäder
01d278a74f
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:05:12 +02:00
Chun-wei Fan
8ee5c0c2ba
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:24:17 +08:00
Bastien Nocera
744b790fdb
iconhelper: Fix leak when rendering to cairo surface
...
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:21:48 +02:00
Bastien Nocera
e53bb1bf1b
iconhelper: Use g_clear_* helpers
...
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:21:48 +02:00
Bastien Nocera
8938f3c47d
icon-theme: Fix 2 memory leaks in GtkIconInfo
...
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:21:48 +02:00
Bastien Nocera
7c595bcc53
icon-theme: Use g_clear_* helpers in finalize
...
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:21:48 +02:00
William Jon McCann
e9b9fd20b9
notebook: Add a style property for whether to draw a tab gap
...
Add a has-tab-gap style property to GtkNotebook so that we can
disable drawing the gap between tabs and the page in the Adwaita
theme without breaking existing themes.
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:16 -04:00
William Jon McCann
b609377e3e
notebook: Fix rounding error in vertical alignment of arrow
...
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:16 -04:00
William Jon McCann
e07fec3e83
notebook: Make notebook scroll arrows honor initial gap setting
...
So that they can be styled so they are not right on the edge.
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:16 -04:00
William Jon McCann
8dd100d9b0
notebook: Improve the style of the default arrows
...
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:15 -04:00
William Jon McCann
81b0808849
notebook: Use initial-gap on both edges of the tab header
...
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:15 -04:00
William Jon McCann
2bb01c6cc8
demo: Show popup menu on tabs
...
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:15 -04:00
Alexander Larsson
79e5069dff
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:23:41 +02:00
Alexander Larsson
1ac13435b7
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:23:41 +02:00
Rūdolfs Mazurs
2d3c470aa5
Updated Latvian translatio
2013-10-02 11:49:19 +03:00
Rūdolfs Mazurs
97c49f8bc9
Updated Latvian translatio
2013-10-02 11:48:03 +03:00
Kenneth Nielsen
26d41224c0
Updated Danish translation
2013-10-01 19:10:54 +02:00
Ryan Lortie
587012a2f9
action-namespace example: use non-deprecated function
...
g_simple_action_group_add_entries() is deprecated since we added the GActionMap
interface, so use its equivalent function instead.
2013-10-01 09:36:23 -04:00
Matthias Clasen
5abff7bd4c
Improve gtk_container_add docs
...
Mention that some containers add intermediate children automatically.
2013-09-30 20:53:19 -04:00
Matthias Clasen
c02a12a746
Make it possible to hide custom titlebars
...
Previously, we were showing and hiding the custom titlebar
widget in response to state changes such as maximization.
Instead, use gtk_widget_set_child_visible() and leave
show/hide to applications. This makes it possible to set
a custom titlebar and hide it, for a titlebar-less appearance.
https://bugzilla.gnome.org/show_bug.cgi?id=707132
2013-09-30 20:19:08 -04:00
William Jon McCann
41b9a17dfc
Fix typo in gtk-win32-base.css
2013-09-30 18:27:13 -04:00
Cosimo Cecchi
3d602f5b0a
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:45:22 -07:00
Tristan Van Berkom
28a3638448
gtk-doc fixup for gtk_widget_class_bind_template_child_full()
...
Updated documentation to specify that '0' should be specified if
one does not need to automatically assign a bound child to a public
or private instance member (now that negative values are private
structure offsets).
2013-09-30 17:29:22 +02:00
Ryan Lortie
e3b9ea5ab6
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:23:00 -04:00
Hannie Dumoleyn
64c9aa219f
Update Dutch translation 3.10
2013-09-30 11:52:21 +02:00
Matthias Clasen
671b3181b0
Revert "shooter: Use the reftests code for taking screenshots"
...
This reverts commit 5c926ca6bb
.
This commit just dropped the nice shadow that we used to have
around these shots, without a justification.
2013-09-29 22:20:20 -04:00
Matthias Clasen
a92859a447
Revert "shooter: Make sure to free the surface"
...
This reverts commit 1a0c5acb26
.
2013-09-29 22:20:20 -04:00
Matej Urbančič
212baf177a
Updated Slovenian translation
2013-09-29 13:26:55 +02:00
Behdad Esfahbod
b0e168d58f
Bug 467720 - Useless use of const qualifier
2013-09-28 14:14:31 -04:00
John Ralls
124e814f47
Bug 651224 - Potential NULL display ptr from quartz gtk_clipboard_wait_for_contents
2013-09-28 10:55:22 -07:00
John Ralls
133a0c7426
Clarify Cursor Theme GDK Warning
2013-09-28 10:05:29 -07:00
Matthias Clasen
3f6a1dc9a9
More formatting style adjustments
...
Lose a whole bunch of unnecessary 'real', shortening
excessively long function names.
2013-09-27 22:00:38 -04:00
Matthias Clasen
c31a34d5ee
Some coding style improvements
...
Use g_return_if_fail in GTK+ style in all public APIs,
avoid dereferencing variables early, shorten some
function names.
2013-09-27 21:39:10 -04:00
Matthias Clasen
58621b00de
Trivial: remove an unused declaration
...
_gtk_list_box_accessible_update_selected is not used and
does not exist.
2013-09-27 20:32:39 -04:00