Matthias Clasen
28998425d9
inspector: Don't mark environment variables for translations
...
These names don't change with the locale, after all.
2014-07-11 22:29:58 -04:00
Matthias Clasen
0331dc984b
widget-factory: Add a selectable label
...
We already have selectable labels in some of the dialogs,
but this is more direct, and also shows links in labels.
2014-07-11 22:23:33 -04:00
Timm Bäder
0840f13c15
gtklabel: Set the correct initial cursor
...
Use GDK_XTERM only if the label is really selectable.
https://bugzilla.gnome.org/show_bug.cgi?id=732970
2014-07-11 21:24:21 -04:00
Matthias Clasen
3780fc787c
widget-factory: Adapt to label clipping change
...
The paned examples on page 2 were implicitly relying on labels
drawing unclipped. Instead of setting the view class only on the
labels, set it on the paned's instead.
2014-07-11 21:15:03 -04:00
William Hua
f6695b962f
GtkStack: Render background and chain up gtk_widget_draw ().
...
https://bugzilla.gnome.org/show_bug.cgi?id=733027
2014-07-11 20:46:03 -04:00
Matthias Clasen
cfec3ba794
Document that the drag icon window will be modified
...
This is in response to the complaint in
https://bugzilla.gnome.org/show_bug.cgi?id=732991
2014-07-11 18:09:47 -04:00
Руслан Ижбулатов
609f4c05ae
Correctly generate def files again
2014-07-11 18:22:29 +02:00
Ignacio Casal Quinteiro
4cc613d517
Revert "win32: Drop remnants of def files"
...
This reverts commit d76785a993
.
2014-07-11 18:20:53 +02:00
Matthias Clasen
deefe3cd6a
inspector: Add comments
...
The binding support pokes some not-quite-official (or entirely
private) implementation details. Add comment to warn about this.
2014-07-11 10:27:00 -04:00
GunChleoc
b86ddc940c
Updated Scottish Gaelic translation
2014-07-11 10:55:19 +00:00
GunChleoc
f8d696f0ed
Updated Scottish Gaelic translation
2014-07-11 10:51:53 +00:00
Yosef Or Boczko
b2b3a24f19
Updated Hebrew translation
2014-07-11 12:00:04 +03:00
Matthias Clasen
f4b961c6ac
inspector: Show settings bindings
...
Similar to the previous commit, show settings bindings for
properties in the property editor.
2014-07-11 00:48:51 -04:00
Matthias Clasen
d8880bf7ab
inspector: Show property bindings
...
This commit add information about existing bindings to the
property editor.
2014-07-10 23:57:37 -04:00
Matthias Clasen
c3b20e3d11
Adwaita: Set background color of header buttons
...
Without a background, one can see titles shine through when
resizable columns are squeezed.
2014-07-10 19:36:26 -04:00
Matthias Clasen
425d785de5
inspector: Allow setting hidpi scale
2014-07-10 18:36:16 -04:00
Matthias Clasen
c46b954dd0
Cosmetic formatting fixes
2014-07-10 18:35:54 -04:00
Matthias Clasen
614412e913
inspector: Show GSETTINGS_SCHEMA_DIR when set
2014-07-10 17:37:26 -04:00
Matthias Clasen
bce5a0f1a1
GtkTreeViewColumn: a better way to avoid overlap
...
The overlap was caused by using pack-end for the arrow, which
causes it to be allocated from the other end. Avoid the problem
by using pack-start for both the title and the arrow, and
reordering them according to xalign.
2014-07-10 15:21:17 -04:00
Piotr Drąg
5a9c690d6a
Updated POTFILES.in and POTFILES.skip
2014-07-10 20:49:51 +02:00
Carlos Garnacho
cb6ef5c222
Adwaita: Add comment around the .overshoot style class
...
And document the oddities around it, as requested by Lapo
2014-07-10 20:44:55 +02:00
Carlos Garnacho
b3ab5088df
treeview: remove needless duplicate gtk_widget_set_parent_window() call
...
This same call happens a few lines above.
2014-07-10 20:44:55 +02:00
Matthias Clasen
4aa649e9cd
GtkTreeView: Avoid overlapping sort indicator
...
Hide the sort indicator when it would overlap the column title.
2014-07-10 14:22:59 -04:00
Benjamin Otte
e1112dce6d
reftests: Add test for the recent label changes
2014-07-10 18:56:35 +02:00
Benjamin Otte
3e82d12abd
widget: Remove special case for clipping
...
Labels now call gtk_widget_set_clip() so there is no longer a need to
exclude them from clipping.
2014-07-10 18:56:35 +02:00
Benjamin Otte
37030a7710
label: Add ink rect support to GtkLabel
2014-07-10 18:56:34 +02:00
Benjamin Otte
a97901b1f7
label: Move function
...
This just moves the function, no actual code changes.
2014-07-10 18:56:34 +02:00
Benjamin Otte
46462ee7c4
tests: Add deprecation guards
...
... for newly deprecated gtk_icon_info_get_builtin_pixbuf()
2014-07-10 18:56:34 +02:00
Benjamin Otte
6a2ae1bb90
reftests: Improve workaround for GtkGrid bug
...
... so that it works with wide separators. Or rather: with separators
that don't request 1px size but any other number. Do that by making the
placeholder request the same size by indeed stuffing (hidden) separators
in it.
2014-07-10 18:56:34 +02:00
Javier Jardón
c5b0ae5574
docs: Change documentation to consistenly use "Returns:"
...
Instead "Return value:" or "Return:"
2014-07-10 16:54:34 +01:00
Matthias Clasen
8883074497
inspector: Disable non-functional controls
...
Some of the features we expose can be hardcoded via environment
variables. In that case, don't confuse the user by letting them
change settings that have no effect.
2014-07-10 10:33:27 -04:00
Matthias Clasen
7fa4d60bf3
inspector: Add a switch for simulating touch
...
This makes it easy to test test touchscreen features with a
plain old mouse.
2014-07-10 10:12:02 -04:00
Matthias Clasen
34245515e5
Add a 'touchscreen' debug flag
...
This has the same effect as the GTK_TEST_TOUCHSCREEN environment
variable, but can be toggled at runtime.
2014-07-10 10:12:02 -04:00
Lapo Calamandrei
562a942f99
Adwaita: treeview progressbar fix
2014-07-10 15:47:57 +02:00
Lapo Calamandrei
294e82a753
Adwaita: saner treeview lines style plus treeview expander style
2014-07-10 14:59:08 +02:00
Lapo Calamandrei
63c88d5013
Adwaita: initial and hopefully temporary treeview separation lines style
2014-07-10 13:54:21 +02:00
Matthias Clasen
797e7968f3
widget-factory: Enable even/odd rows
...
More treeview testing.
2014-07-10 07:15:33 -04:00
Matthias Clasen
f78a224e96
widget-factory: More treeview examples
...
The new treeview on page 3 sports expanders, grid and tree lines,
alternating row colors, etc.
2014-07-10 06:33:49 -04:00
Lapo Calamandrei
378c290150
Adwaita: drawing functions housekeeping
2014-07-10 12:22:41 +02:00
Lapo Calamandrei
17b679c866
Adwaita: simplify buttons drawing function
2014-07-10 11:55:51 +02:00
Matthias Clasen
5f549fa7cb
Docs: Mention that shadow type is a lie
...
As requested here:
https://bugzilla.gnome.org/show_bug.cgi?id=659926#c2
2014-07-10 00:16:04 -04:00
Carlos Garnacho
d3b481ac19
Adwaita: Set a background color for the overshoot class
...
https://bugzilla.gnome.org/show_bug.cgi?id=731297
2014-07-09 23:15:16 -04:00
Carlos Garnacho
7bdc219464
scrolledwindow: Remove overshoot window and displacement animation
...
The displacement animation has been replaced by edge gradients, that
have a stronger color the harder overshooting is hit. This makes it
possible to remove the internal overshoot window, which was merely
used to have contents displaced when overshooting to top/left.
Overshooting to bottom/right used to cause queue_resize() to be
called on the scrolled window, this isn't necessary anymore either.
https://bugzilla.gnome.org/show_bug.cgi?id=731297
2014-07-09 23:13:48 -04:00
Carlos Garnacho
18c113cde1
stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT
...
This class is meant to render the hint on scrolledwindow corners
when scrolling past-limits.
https://bugzilla.gnome.org/show_bug.cgi?id=731297
2014-07-09 23:11:42 -04:00
Carlos Garnacho
7178e342b1
textview: Call gtk_widget_size_allocate() on children widgets invariably
...
There was this hack, taken verbatim from GtkCList according to the comment,
that would recursively translate the allocation during scrolling, and set
it on children widgets through the direct gtk_widget_set_allocation() setter.
Since commit 4f89eb05cf
, this has caused the wrong clipping areas to children
widgets of a textview. The reasons for this seem lost in time, and the approach
seems indeed wrong for windowed widgets as the repositioning of those windows
couldn't happen.
So replace all of this with just a gtk_widget_size_allocate() call, which does
work ok for the children widgets embedded in the "multiple views" gtk demo, and
ought to work for every other widget.
https://bugzilla.gnome.org/show_bug.cgi?id=732900
2014-07-09 22:57:52 -04:00
Carlos Garnacho
edc5cb4e47
treeview: Add back the Gdk pointer grab during column dragging
...
The reparenting happening on the column header so it gets a movable
window breaks the implicit grab, so this is one situation were we
want a pointer grab, if just to replace it.
https://bugzilla.gnome.org/show_bug.cgi?id=732933
2014-07-09 21:28:46 -04:00
Carlos Garnacho
5fb9c4441e
treeview: Fix horizontal position during column dragging
...
Code was expecting view coordinates, not widget ones, as we're
only dealing with horizontal displacements, just adding the
horizontal adjustment value suffices.
https://bugzilla.gnome.org/show_bug.cgi?id=732933
2014-07-09 21:28:45 -04:00
Matthias Clasen
f547466029
Make Adwaita the default theme across platforms
...
This ensures that we have a polished out-of-the-box appearance
on all platforms.
2014-07-09 21:19:09 -04:00
Matthias Clasen
6abcda8391
Use a define for the default icon theme name
...
We're using this name in two places, so match what we are doing
for the default theme name, and use a macro.
2014-07-09 21:18:18 -04:00
Matthias Clasen
eee7057421
GtkIconTheme: Rename a macro
...
We use DEFAULT_THEME_NAME in gtksettings.c as well, and this
can be a confusing when grepping, so rename this to
FALLBACK_ICON_THEME.
2014-07-09 21:12:08 -04:00