Matthias Clasen
56d39241a9
inspector: Fix a typo
...
Blocking a signal should be paired with unblocking.
Spotted by Krzesimir Nowak
2015-08-04 07:11:34 -04:00
Matthias Clasen
b10bfe128f
GtkButton: Pick up images that are set early
...
We were failing to construct the child if an image was set
before constructed (e.g. in the init() function of a button
subclass).
https://bugzilla.gnome.org/show_bug.cgi?id=753048
2015-08-03 22:35:36 -04:00
Matthias Clasen
ba45fa09b4
HighContrast: Avoid resizing treeview headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=753060
2015-08-03 22:16:34 -04:00
Matthias Clasen
198d99d680
Whitespace fixes
2015-08-03 22:02:22 -04:00
Rui Matos
bd3b496586
wayland: Ensure modal hint gets set on map
...
We need to be mapped to have a gtk_surface and thus be able to do
requests on it so we need to save the modal hint and apply it when we
get mapped so that code that sets the hint before showing a window
doesn't get ignored.
https://bugzilla.gnome.org/show_bug.cgi?id=753138
2015-08-03 14:24:38 +02:00
Rui Matos
36263076b2
wayland: Invalidate our gtk_surface when we're unmapped
...
Otherwise if we get mapped again we'll try to use an invalid
gtk_surface and the compositor will disconnect us.
https://bugzilla.gnome.org/show_bug.cgi?id=753138
2015-08-03 14:24:36 +02:00
Timm Bäder
61ba7adfc8
GtkLabel: Show erroneous text if parsing markup failed
...
https://bugzilla.gnome.org/show_bug.cgi?id=752920
2015-08-03 11:31:00 +02:00
Matthias Clasen
14de03cedf
file chooser: Don't leave out icons by accident
...
We only load thumbnails when we find that the row is in the visible
range of the treeview. It seems that animated scrolling makes it so
that the bottommost row stays out of the visible range until it is
too late. To work around this, extend the range by one row in each
direction.
http://bugzilla.gnome.org/show_bug.cgi?id=753142
2015-08-02 20:51:12 -04:00
Jasper St. Pierre
9cbd9c4187
Adwaita: Remove non-working selector
...
This was suppsed to be ".list-row.button", I'd imagine, but the missing
dot meant it never worked in the first place. Just clean it up.
2015-08-02 12:57:32 -07:00
Jasper St. Pierre
03ae86d9f6
Don't trigger extraneous redraws on font / text-attr changes
...
Any time that these change, we shouldn't need to force a redraw on
the widget either.
2015-08-02 12:57:31 -07:00
Jasper St. Pierre
4da945dc4b
widget: Don't queue redraws for properties that don't affect anything
...
Properties like transition-property might change when hovering over
something, even if the property itself does not change. These properties
don't affect drawing, so don't queue redraws for them.
2015-08-02 12:57:31 -07:00
Jasper St. Pierre
36c0c9d0b8
listbox: Don't queue draws on the entire widget
...
The set_state_flags code should already queue redraws when needed.
2015-08-02 12:57:31 -07:00
Jasper St. Pierre
ce75c835e1
cssimage: Don't start a transition if the start and end are the same
...
Since a lot of Adwaita sets transition: all, it's easy to end up in a
state where we're making dummy transitions for all of the icons, most of
which we'll never be showing.
2015-08-02 12:57:31 -07:00
Matthias Clasen
142efd186d
Inspector: Preserve selection when rescanning
...
We are semiregularly repopulating the object tree. Whenever
we do, we loose the selection, needlessly. Do the extra work
to preserve it.
http://bugzilla.gnome.org/show_bug.cgi?id=753130
2015-08-02 15:20:17 -04:00
Paolo Borelli
ca8f6dd7f6
cleanup: do not set members to null in finalize
2015-08-01 21:31:49 +02:00
Paolo Borelli
3fec677da0
cleanup: no need to set members to null when freeing the struct
2015-08-01 21:30:53 +02:00
Paolo Borelli
7921ac510e
cleanup: one more g_slist_free_full
2015-08-01 21:30:16 +02:00
Piotr Drąg
0520547335
Updated POTFILES.skip
2015-08-01 19:25:16 +02:00
Pedro Albuquerque
4d61126814
Updated Portuguese translation
2015-08-01 10:02:32 +00:00
Pedro Albuquerque
725e7c399e
Updated Portuguese translation
2015-08-01 09:55:44 +00:00
Benjamin Otte
186e94bafb
searchenginetracker: Ignore NULL directories
2015-08-01 05:50:20 +02:00
Jasper St. Pierre
93171cf4f3
gtkoverlay: Optimize size allocations
...
Doing raises / lowers here will invalidate the entire child widget
almost every time, since raising each widget causes it to invalidate
that area.
2015-07-31 20:39:02 -07:00
Matthias Clasen
9f24b54786
Code cleanup
...
Use g_slist_free_full more consistently. This commit just converts
the obvious cases where g_slist_forall is directly followed by
g_slist_free.
2015-07-31 22:23:35 -04:00
Jakub Steiner
9dd2645c4a
HC: shade spinbuttons as entries
...
https://bugzilla.gnome.org/show_bug.cgi?id=746491
2015-08-01 02:22:34 +02:00
Matthias Clasen
b048181157
gtk-demo: Add a scale example
2015-07-31 16:36:02 -04:00
Matthias Clasen
fb0a13b7f0
file chooser: Allow activating without double-click
...
Interpret a unmodified primary click on the selection like a double
click. This makes it possible to activate a file or open a folder
without using double-click.
2015-07-31 13:46:35 -04:00
Matthias Clasen
28b4599f9b
gesture single: Use gtk_simulate_touchscreen
...
Instead of manual tests.
2015-07-31 13:46:35 -04:00
Matthias Clasen
72d0b4d2c2
text view: Use gtk_simulate_touchscreen
...
Instead of repeated manual tests.
2015-07-31 13:46:34 -04:00
Matthias Clasen
5aa1f0923c
entry: Use gtk_simulate_touchscreen
...
Instead of repeated manual checks.
2015-07-31 13:46:34 -04:00
Matthias Clasen
98121aa302
Add a private function to determine if we simulate
...
These same two or three tests are currently duplicated
in several places, with separate static variables. Lets
do this in one place.
2015-07-31 13:46:34 -04:00
Jakub Steiner
230c248326
HC: custom color button fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=753051
2015-07-31 15:43:44 +02:00
Christian Dywan
18dddddbab
entry completion: Clarify index in documentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=579466
2015-07-31 09:11:57 -04:00
Matthias Clasen
c514d1dd5e
testfilechooser: Say Save
...
Thats a more typical affirmative action in save mode.
2015-07-31 07:12:35 -04:00
Matthias Clasen
6f194564ff
Use pango_fc_font_map_config_changed
...
Use pango_fc_font_map_confit_changed() instead of
pango_fc_font_map_cache_clear().
https://bugzilla.gnome.org/show_bug.cgi?id=748772
2015-07-31 00:50:47 -04:00
Carlos Garnacho
65f7fb04ad
GtkMenuButton: explicitly protect against recursion
...
The visibility toggling happening on ::click() relied implicitly
on the popover animation, but breaks on disabled animations. The
recursion happening within gtk_toggle_button_set_active() (which
triggers ::clicked when changing state) makes this vfunc to run
again, inverting the visibility of the popover in result.
Fix this by explicitly checking about recursion, we want the
button to be toggled to the right state, but we don't want the
callback running again.
https://bugzilla.gnome.org/show_bug.cgi?id=752577
2015-07-30 22:37:53 -04:00
Benjamin Otte
2550c6a4db
combobox: Refactor cell view treatment
...
Instead of putting it inside the button manually, put it there properly
by adding a box containing the cell view and the arrow.
Do the same thing in list mode, instead of creating an event box that
tries to behave as a button.
2015-07-31 04:03:44 +02:00
Benjamin Otte
bbd9c59832
combobox: Handle NULLing the cellview on remove simpler
2015-07-31 04:03:44 +02:00
Benjamin Otte
1261ec985b
combobox: Remove unused variables
2015-07-31 04:03:44 +02:00
Benjamin Otte
62c43aac43
combobox: Create cell view identically
...
... in the two places it can be created.
2015-07-31 04:03:44 +02:00
Matthias Clasen
ec338b0ab6
file chooser: Don't crawl recent://
...
This is unnecessary - all the recent files are in the model already.
It also leads to duplicates, since our duplicate filtering is based
on g_file_equal, which does not consider recent:///blabla with
target-uri=/my/example to be the same as file:///my/example.
2015-07-30 14:29:10 -04:00
Matthias Clasen
7d91ca3183
widget-factory: Test busy state
...
Makes it easy to test insensitive state of widgets.i
Also exposes brokenness in the shell busy indicator...
2015-07-30 10:36:34 -04:00
Jakub Steiner
ffec25b015
HC: no need for green in scales
2015-07-30 14:02:58 +02:00
Jakub Steiner
cd08b427c9
HC: fix typo
2015-07-30 13:54:29 +02:00
Matthias Clasen
ce3ebaf6f9
Expand builder menu documentation
...
List the supported attributes.
2015-07-29 23:17:43 -04:00
Matthias Clasen
6bf2e9e7a7
gtk-demo: Move the transparent example under Overlay
2015-07-29 21:43:28 -04:00
Matthias Clasen
1ce7c76cda
gtk-demo: Rename textview demos to "Text View"
...
Fits better with "Tree View".
2015-07-29 21:43:20 -04:00
Matthias Clasen
94120094ab
gtk-demo: Tweak the markup demo
2015-07-29 21:43:13 -04:00
Matthias Clasen
627886c682
gtk-demo: Add font features to markup demo
2015-07-29 21:43:07 -04:00
Matthias Clasen
c6838fbff0
GtkTextView: Support font features
...
Add a ::font-features attribute to GtkTextTag, and support
font features when inserting Pango markup into a text buffer.
2015-07-29 21:42:58 -04:00
Georges Basile Stavracas Neto
98f9532a22
placesview: don't show mount for Computer row
...
The "Computer" row from places view is an abstract volume
that represents the root of the current partition. As such,
it cannot be mounted or unmounted.
Remove the related item on context menu for Computer row.
2015-07-29 19:39:03 -03:00