Timm Bäder
554bd2d0ff
progressbar: Use GtkLabel for the text
2017-03-26 11:12:57 +02:00
Timm Bäder
7d0ad83494
entry: Use GtkProgressBar to indicate progress
...
Instead of the old gadget and manual progress pulsing
2017-03-26 10:49:25 +02:00
Timm Bäder
6f7f102fcb
recentchooserwidget: Inherit from GtkWidget
2017-03-25 21:19:44 +01:00
Timm Bäder
7658942625
appchooserwidget: Inherit from GtkWidget
2017-03-25 21:19:42 +01:00
Timm Bäder
4cb3ad43a5
fontchooserwidget: Inherit from GtkWidget
2017-03-25 20:59:51 +01:00
Timm Bäder
81bf7d646f
fontchooserwidget: Remove unused defines
2017-03-25 20:43:28 +01:00
Timm Bäder
96e8be8dab
filechooserwidget: Inherit from GtkWidget
2017-03-25 20:36:10 +01:00
Timm Bäder
8845ed327c
Remove the Raleigh theme
...
It's been broken for ages.
2017-03-25 19:00:59 +01:00
Timm Bäder
755dd7ddaa
infobar: Inherit from GtkWidget
2017-03-25 19:00:59 +01:00
Timm Bäder
93c691949a
widget: Add a GtkBuildable::add_child implementation
...
Just call gtk_widget_set_parent in there.
2017-03-25 19:00:57 +01:00
Timm Bäder
06412bfff9
progressbar: Remove unused defines
2017-03-25 14:33:14 +01:00
Kjell Ahlstedt
876e99df36
printjob: Clarify array ownership in gtk_print_job_set_page_ranges()
...
Add a documentation annotation saying that set_page_ranges transfers
ownership of the GtkPageRange array.
Add a g_free() call to fix a memory leak when set_page_ranges is
used repeatedly.
https://bugzilla.gnome.org/show_bug.cgi?id=780234
2017-03-24 16:41:47 +01:00
Matthias Clasen
147e0512c5
Avoid more compiler warnings
2017-03-23 16:15:26 +00:00
Matthias Clasen
6963d9e2ee
Avoid unused variable warnings
2017-03-23 16:15:00 +00:00
Matthias Clasen
e171f4930b
Avoid redefining GNU_SOURCE
...
Gives a compiler warning with the wrong flags.
2017-03-23 15:15:12 +00:00
Matthias Clasen
41389ca98c
Avoid some compiler warnings
2017-03-23 15:15:12 +00:00
Marek Kasik
04c6811c3d
printing: Don't hang in gtk_enumerate_printers()
...
Stop enumerating printers when all backends were removed.
https://bugzilla.gnome.org/show_bug.cgi?id=686838
2017-03-23 13:19:13 +01:00
Stas Solovey
26262505f2
Update Russian translation
...
(cherry picked from commit a7f3fd12d5 )
2017-03-22 21:46:49 +00:00
William Hua
e69b4dc3da
mir: always emit a resize when creating windows
2017-03-22 02:21:43 -04:00
Flo H
87689b12fc
Update German translation
2017-03-21 18:38:39 +00:00
Timm Bäder
ec2062498f
glcontext: Fix buffer age comparison
...
The old code had a dead >=3 branch, causing flickering.
2017-03-21 19:04:58 +01:00
Timm Bäder
f4a24babd4
gdkdragsource: Ensure button >= 1
...
So the left shift later doesn't overflow.
2017-03-21 19:04:58 +01:00
Timm Bäder
1aa37687be
widget: Prepend style classes to list when parsing
...
Since the later gtk_style_context_add_class doesn't care about the order
of the style classes, we can as well just prepend style classes to the
list and avoid the squared behavior when appending to a linked list.
2017-03-21 19:04:58 +01:00
Timm Bäder
0333602809
builderparser: Remove pointless TagType struct
2017-03-21 19:04:58 +01:00
Andika Triwidada
13cf6a738f
Update Indonesian translation
2017-03-21 12:50:54 +00:00
Daniel Boles
bb4aaa8bbf
Scrollbar: grammar fix for previous commit
2017-03-21 00:06:50 +00:00
Daniel Boles
874b03e4fe
Scrollbar: Tweak intro docs a bit
...
Explain where the adjustment comes from, clarify some of the wording
about how its fields influence the scrollbar, and also note that the
steppers may not be present, since they aren’t in our default themes.
2017-03-21 00:00:45 +00:00
Daniel Boles
5c2f642ddd
ScrolledWindow: Don’t check if child is Scrollable
...
If the child added is not a Scrollable, it gets wrapped in a ViewPort –
which is. So it is impossible to end up with a non-Scrollable child.
Just check we have /any/ child where needed, which is semantically nicer
https://bugzilla.gnome.org/show_bug.cgi?id=778853
2017-03-20 23:25:23 +00:00
Daniel Boles
52547054a5
ScrolledWindow: Streamline/clarify the intro docs
...
• intro: Clarify that external policy and/or adjustments can be used.
• add(): Don’t waffle on about having to add a ViewPort since we handle
that transparently for the user, so they can add() any widget.
• Adjustment stuff: most of this was repeating the docs for Scrollbar,
so just refer the user to that. Also, mention how
policies NEVER and EXTERNAL interact with all this.
https://bugzilla.gnome.org/show_bug.cgi?id=778853
2017-03-20 23:25:23 +00:00
Daniel Boles
7e38e3075e
Tooltip: Avoid redundant variable initialisations
...
has_tooltip_widget was assigned twice in immediate succession.
return_value is not used anywhere else in this function since commit
14a864c8b5 and does not need a default
value anymore, so move it to the inner scope and don't init to NULL.
2017-03-20 21:13:50 +00:00
Timm Bäder
12b7d30a2d
GdkWaylandWindow: Force window titles to valid utf8
...
Use the new g_utf8_make_valid in case the given title is not valid utf8.
Also bump the glib requirement to 2.51.5.
2017-03-20 20:04:26 +01:00
Timm Bäder
c371a86f54
label: Properly calculate half the height
...
Since we compare it to a double anyway, might as well divide by 2.0.
2017-03-20 17:20:12 +01:00
Timm Bäder
14a864c8b5
tooltip: Remove unused assignment
...
hide_tooltip gets overriden in any case 2 lines down, and return_value
isn't used later in that function. The second assignment was introduced
in ef1da5f6c2 , directly below the first
assignment.
2017-03-20 15:36:05 +01:00
Timm Bäder
a3bada37fb
css-editor: Remove unused if statement
...
The static local is set to NULL and never set to anything else, so we
never use it anyway.
2017-03-20 15:01:28 +01:00
Timm Bäder
69ca360b59
window: Remove pointless ternary operator
...
we're already checking for orientation == GTK_ORIENTATION_HORIZONTAL
right before this line, so just pass GTK_ORIENTATION_VERTICAL.
2017-03-20 14:59:14 +01:00
Timm Bäder
22b493a6ac
box: Make sure center_req is initialized
...
In case we have an invisible center widget, we never initialize it, but
later still use it.
2017-03-20 14:16:56 +01:00
Timm Bäder
ae0dadf28a
progressbar: Remove useless if statement
...
Both the if and the else block contained exactly the same code.
2017-03-20 12:47:42 +01:00
Alexander Larsson
e307a35c33
gsk: Take scale factor into account when setting up the gl scissor
2017-03-20 10:53:58 +01:00
Alexander Larsson
9e12fc7853
gl renderer: Fix hidpi fallback rendering
...
When allocating the surface, take scale into consideration.
2017-03-20 10:53:58 +01:00
Fabio Tomat
a68685bb16
Update Friulian translation
2017-03-19 21:24:45 +00:00
Timm Bäder
58f3202e4f
notebook: Remove dead assignment
2017-03-19 17:05:34 +01:00
Timm Bäder
6bbb9a1173
GtkRecentManager: Remove superfluous local variable
2017-03-19 15:44:15 +01:00
Timm Bäder
6637b20b4c
GdkRenderer: Fix a compiler warning
2017-03-19 15:44:15 +01:00
Timm Bäder
60ed515be9
GdkX11DeviceManager: Fix debugging output
...
The 2 values added in 3.22 were missing from the source_names array.
2017-03-19 15:44:15 +01:00
Timm Bäder
c78451e140
GdkMonitor: Use 1 as scale fallback value
...
The same value we use in gtk_widget_get_scale_factor.
2017-03-19 15:44:15 +01:00
Daniel Boles
a2b72f89e2
css-overview: Fix inconsistent British English use
2017-03-18 12:31:29 +00:00
Tim-Philipp Müller
37b99ed671
vulkan: fix compilation
2017-03-18 12:23:39 +00:00
Timm Bäder
c7c9a0ee51
entrycompletion: Remove unnecessary NULL check
...
completion really shouldn't be NULL at this point, especially since it
gets dereferenced higher up in the function.
2017-03-18 07:13:13 +01:00
Timm Bäder
53f0c2626e
calendar: Fix else branch indentations
2017-03-18 07:07:06 +01:00
Timm Bäder
56e809be9c
GdkDrawingContext: Add missing break in switch statement
2017-03-18 07:07:06 +01:00