Matthias Clasen
6b8ef6e2e2
Forgotten file
2015-05-10 15:37:55 -04:00
Matthias Clasen
2bafc7d195
GtkAdjustment: Deprecate some redundant API
...
Both gtk_adjustment_changed and gtk_adjustment_value_changed
are unnecessary every since we've sealed the GtkAdjustment
struct.
https://bugzilla.gnome.org/show_bug.cgi?id=619493
2015-05-10 02:35:52 -04:00
Matthias Clasen
647889c2e3
GtkIconView: Stop using gtk_adjustment_changed
...
This should not be needed at all.
2015-05-10 02:35:07 -04:00
Matthias Clasen
d90847b20e
GtkSpinButton: Stop using gtk_adjustment_value_changed
...
This is just an unnecessary indirection.
2015-05-10 02:34:33 -04:00
Matthias Clasen
9a4f2669f7
Trivial formatting fixes
2015-05-10 02:10:21 -04:00
Matthias Clasen
648c3b39f3
input methods: Add a 'vertical text' hint
...
This has been requested in
https://bugzilla.gnome.org/show_bug.cgi?id=747150
2015-05-10 01:30:38 -04:00
Matthias Clasen
3d81fe8617
Font chooser: Hide size controls with 'no match'
...
The preview entry previews a font despite there being
no results, that makes no sense.
2015-05-09 02:18:01 -04:00
Matthias Clasen
972e59d05e
Font chooser: Nice 'not found' message
...
This copies the style that is used in the file chooser
now.
2015-05-09 02:06:28 -04:00
Matthias Clasen
7a5329578c
Font chooser: Also apply font map to preview
...
Otherwise, the preview is not showing a selected custom font.
2015-05-09 01:58:32 -04:00
Matthias Clasen
798789ee90
GtkRecentChooser: Use a better busy cursor
2015-05-07 22:36:00 -04:00
Matthias Clasen
99935b14c6
GtkPrintUnixDialog: Use a better busy cursor
2015-05-07 22:24:19 -04:00
Matthias Clasen
eb715c3118
GtkProgressBar: Adjust docs to new style
...
Don't talk about superimposed text, since we don't do that
anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=748784
2015-05-07 22:07:41 -04:00
Matthias Clasen
b122787a76
GtkFontChooser: Use a GtkStack
2015-05-07 18:28:39 -04:00
Garrett Regier
f3a390a6bf
GtkFontChooserWidget: Remove unused struct field
...
This was added accidentally in a recent patch.
Signed-off-by: Garrett Regier <garrettregier@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=748992
2015-05-07 16:01:49 -04:00
Jonas Ådahl
08e2f958f0
GtkWindow: Manually set CSD should enable shadow width calculation
...
If CSD is enabled with shadow even though it "shouldn't"*, the width
should still be calculated correctly. This fixes a regression caused by
b1e5ad469c
.
* gtk_window_should_use_csd () returns false
https://bugzilla.gnome.org/show_bug.cgi?id=748615
2015-05-07 15:56:14 -04:00
Debarshi Ray
39e7afecb1
GtkStack: Don't emit notify::visible-child during destruction
...
https://bugzilla.gnome.org/show_bug.cgi?id=749012
2015-05-07 15:18:20 +02:00
Matthias Clasen
142c8a5c8d
GtkFontChooser: Add an example to the docs
2015-05-07 07:33:23 -04:00
Matthias Clasen
049cbc8b74
GtkFontChooser: Allow a custom font map
...
This lets applications show their own fonts instead of
or in addition to system fonts.
https://bugzilla.gnome.org/show_bug.cgi?id=748771
2015-05-07 07:33:23 -04:00
Jakub Steiner
0c922a9443
Adwaita: tone down popover dropshadow
2015-05-07 10:17:22 +02:00
Debarshi Ray
26b03332a4
GtkStackSwitcher: Don't emit notify::visible-child when setting a stack
...
Synchronizing the visible child with the switcher's toggle buttons can
lead to GtkButton::clicked being emitted twice. Once for the button
that was active before, and once for the button that we just activated.
This leads to notify::visible-child being called twice and one of
them is with the wrong child.
Let's deal with this in the same way we handle the visible child
changing underneath us.
https://bugzilla.gnome.org/show_bug.cgi?id=749021
2015-05-06 22:31:10 +02:00
Jonas Ådahl
b1e5ad469c
GtkWindow: Get the correct shadow width even before window is realized
...
The window state 'client_decorated' will only be set the window is being
realized. If anyone tries to get the shadow size before that it'd get
the with as if there always was no shadow.
This avoids negative sized opaque regions caused by the allocation being
smaller than shadow.
https://bugzilla.gnome.org/show_bug.cgi?id=748615
2015-05-06 19:55:20 +08:00
Christian Hergert
fa6f956489
inspector: allow object read-only properties in prop-editor
...
If we have a GObject property that is also a GObject, we should be able
to view additional information on that object (even if the param spec
is read-only).
2015-05-05 22:00:54 -07:00
Matthias Clasen
07f4c9c315
GtkFontChooserWidget: Listen for fontconfig changes
...
We were relying on indirectly getting notify when fontconfig
configuration changes, by GtkSettings translating the timestamp
change into a style-invalidation, which gets fed through the
css invalidation machinery. That machinery has gotten good enough
at optimizing away redundant changes that it no longer emits
::style-updated in this case.
So, instead make the font chooser listen directly to what it
cares about: the fontconfig change notification from GtkSettings.
2015-05-06 00:52:23 -04:00
Emmanuele Bassi
487332c458
settings: Wayland-only systems also use fontconfig
...
We're relying on the X11 backend being compiled in, but that may not be
the case.
https://bugzilla.gnome.org/show_bug.cgi?id=748782
2015-05-05 11:22:53 +01:00
Emmanuele Bassi
c6df17577a
fontchooser: Use gtk-fontconfig-timestamp setting
...
We can use the GtkSettings:gtk-fontconfig-timestamp property to decide
whether or not we should reload fonts on style and screen changes. This
should avoid doing a lot of work with large font collections when only
the theme has changed.
https://bugzilla.gnome.org/show_bug.cgi?id=748782
2015-05-05 11:22:53 +01:00
Matthias Clasen
1f51c506c3
Fix precondition in gtk_popover_get_default_widget
...
We need to return a value here.
2015-05-04 09:28:46 -04:00
Jakub Steiner
5cce2051dd
HC: implement overlay scrollbar theming
...
while the behavior was in place, the specific theming for
overlay scrollbars was missing, and content was hidden.
2015-05-04 14:39:40 +02:00
Matthias Clasen
ff558d3d39
Drop PANGO_ENABLE_BACKEND
...
Not needed for a long time now.
https://bugzilla.gnome.org/show_bug.cgi?id=748783
2015-05-04 08:02:32 -04:00
Timm Bäder
c28275f4ec
GtkPopover: Don't ref NULL widgets
...
gtk_window_get_default_widget returns NULL if the window does not have a
default widget, so don't ref it in that case.
2015-05-03 20:03:56 +02:00
Matthias Clasen
adb58b2c84
file chooser: Set default widget in create folder popover
...
This is using the new default widget functionality for
popovers to make Enter in the entry activate the Create
button.
https://bugzilla.gnome.org/show_bug.cgi?id=747664
2015-05-02 20:34:28 -04:00
Matthias Clasen
e1c1fc59e5
Add default widget handling to popovers
...
Add a new API, gtk_popover_set_default_widget, that can be
used to make a widget act as default while the popover is
shown. This is useful in dialog-like popovers.
http://bugzilla.gnome.org/show_bug.cgi?id=747664
2015-05-02 20:34:28 -04:00
Matthias Clasen
3682c761ed
GtkStatusbar: Simplify ui template
2015-05-02 18:24:20 -04:00
Matthias Clasen
a921229246
GtkSearchBar: Simplify ui template
2015-05-02 18:23:20 -04:00
Matthias Clasen
52753b8162
GtkScaleButton: Simplify ui template
2015-05-02 18:22:30 -04:00
Matthias Clasen
307bdb2e6b
GtkRecentChooserDefault: Simplify ui template
2015-05-02 18:21:38 -04:00
Matthias Clasen
4fe01dec95
GtkPrintUnixDialog: Simplify ui template
2015-05-02 18:20:04 -04:00
Matthias Clasen
c1876f892a
GtkPageSetupUnixDialog: Simplify ui template
2015-05-02 18:17:38 -04:00
Matthias Clasen
c258d225cb
GtkMessageDialog: Simplify ui template
2015-05-02 18:11:29 -04:00
Matthias Clasen
2487487e6a
GtkLockButton: Simplify ui template
2015-05-02 18:10:37 -04:00
Matthias Clasen
71681d61df
GtkInfoBar: Simplify ui template
2015-05-02 18:05:15 -04:00
Matthias Clasen
68cf6264f1
GtkFontChooserWidget: Simplify ui template
2015-05-02 18:04:30 -04:00
Matthias Clasen
f20dbe0823
GtkFontChooserDialog: Simplify ui template
2015-05-02 18:03:50 -04:00
Matthias Clasen
ab22285f15
GtkFontButton: Simplify ui template
2015-05-02 18:03:08 -04:00
Matthias Clasen
bf9d32b9ee
GtkFileChooserWidget: Simplify ui template
2015-05-02 18:02:26 -04:00
Matthias Clasen
232d6f84f0
GtkFileChooserDialog: Simplify ui template
2015-05-02 18:01:04 -04:00
Matthias Clasen
728f7db45f
GtkFileChooserButton: Simplify ui template
2015-05-02 18:00:15 -04:00
Matthias Clasen
a94cedd2ae
GtkDialog: Simplify ui template
2015-05-02 17:59:28 -04:00
Matthias Clasen
f7c58c3be3
GtkColorEditor: Simplify ui template
2015-05-02 17:57:28 -04:00
Matthias Clasen
ea2ac484d1
GtkColorChooserDialog: Simplify ui template
2015-05-02 17:56:40 -04:00
Matthias Clasen
86383e63db
GtkAssistant: Simplify ui template
2015-05-02 17:55:52 -04:00