3af04c1dce
fontchooser: Introduce gtk_font_chooser_find_font()
...
... which looks up the font in the list of fonts. This then can be used
to select an actual font upon changes.
Also fixes cases where the get_family() and get_face() functions would
return outdated data when set_font() had been called.
2011-09-22 21:44:04 +02:00
fe8ed0a3f6
fontchooser: Rewrite size changes
...
They now go through gtk_font_chooser_widget_take_font_desc(). The end
goal is to make all changes go through this function, so that all
updates that are happening are easy to track.
Another change is that the code now merges the font description instead
of just using the new one. This avoids weird situations when people set
the font "Bold" for example, which has neither a size nor a font family.
2011-09-22 21:44:04 +02:00
af5f593b6d
fontchooser: Fix size computation
2011-09-22 21:44:04 +02:00
8f33324750
fontchooser: Fix gcc warnings
2011-09-22 21:44:04 +02:00
aeace5d005
Updated Korean translation
2011-09-23 03:01:11 +09:00
a861fa0f92
Updated Swedish translation
2011-09-22 16:37:26 +02:00
0c33f0e958
Updated Swedish translation
2011-09-22 16:37:16 +02:00
e4bf7a2a3c
Updated Swedish translation
2011-09-22 16:37:16 +02:00
4403cf0567
Updated Brazilian Portuguese translation.
2011-09-22 10:30:55 -04:00
2ea4cef672
Updated Oriya Translation
2011-09-22 19:36:41 +05:30
ee1bd4cc6d
Update Assamese translation
2011-09-22 12:44:58 +02:00
349e9cce9a
[l10n] Updated German translation
2011-09-22 08:34:07 +02:00
2c704dd1a1
Updated French translation
2011-09-21 20:14:03 +02:00
9dfb837019
Updated Basque language
2011-09-21 18:04:18 +02:00
013456187e
Updated Basque language
2011-09-21 17:58:45 +02:00
3d165c1a90
gtkmountoperation-x11: unbreak compilation on OpenBSD.
...
Add missing header to prevent undeclared definitions.
Bug #659565
2011-09-21 16:02:33 +02:00
c64797fe26
Updated Portuguese translation
2011-09-21 00:59:41 +01:00
0682c4015f
Updated Hungarian translation
2011-09-21 00:54:18 +02:00
2b02a4c342
Updated Latvian translation.
2011-09-20 22:30:01 +03:00
4e4a362234
[l10n] Updated German translation
2011-09-20 20:47:32 +02:00
e26101adaa
Updated Hungarian translation
2011-09-20 19:43:05 +02:00
0f9f9ec788
Updated Polish translation
2011-09-20 17:32:11 +02:00
8def2dc162
Updated Polish translation
2011-09-20 17:30:06 +02:00
34490abc84
Updated Brazilian Portuguese translation
2011-09-20 12:04:44 -03:00
8977275f28
Updated Slovenian translation
2011-09-20 13:23:30 +02:00
49c1580b70
Updated Spanish translation
2011-09-20 10:59:57 +02:00
f43a8675b8
Updated Russian translation
2011-09-20 12:05:06 +04:00
0561c7a68d
GtkTreeModelFilter: Fix build warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=659441
2011-09-20 09:06:54 +02:00
7bd7c02a11
Updated Galician translations
2011-09-20 01:27:13 +02:00
d48542e1cd
Bump version
2011-09-19 18:03:11 -04:00
9bf03f57da
3.1.92
2011-09-19 17:39:00 -04:00
aba75fdc95
Updates
2011-09-19 16:39:58 -04:00
8537b1cefa
Updated Polish translation
2011-09-19 22:21:53 +02:00
34f9e6a0f3
fontchooser: Remove special case for a single signal handler
2011-09-19 22:11:06 +02:00
a4c3271854
fontchooser: Remove useless code
...
gtk_adjustment_set_value() clamps itself, no need to do the clamping.
But I was impressed at the amount of comments.
2011-09-19 22:11:06 +02:00
e465023051
fontchooser: Don't store the size separately
...
Instead, use the font description's size.
2011-09-19 22:11:06 +02:00
6552a8245b
fontchooser: Don't reload the fonts on style changes
...
It's not necessary, because nothing changes.
2011-09-19 22:11:06 +02:00
64d3350264
fontchooser: Assume NULL screen means the default screen
...
... and update the font list only when the screen actually changes.
2011-09-19 22:11:06 +02:00
ae5f82e455
fontchooser: Store the font description in the model
...
It's actually expensive to create (>5ms per font with >1000 fonts
installed), so better cache it.
2011-09-19 22:11:06 +02:00
6d8010d3d4
fontchooser: Move the filter func to the visibility func
...
... instead of rereading all the fonts every time.
With this change, the liststore now contains every font face known to
GTK, so we can actually walk it for matching fonts.
2011-09-19 22:11:06 +02:00
d88b7a6d6b
fontchooser: Fix code to make it not look like GTK 0.9
2011-09-19 22:11:06 +02:00
b95bbb5e39
fontchooser: List font description as font description
...
Otherwise there will be two properties listed as "Font" in property
selectors (in Glade or testfontchooser).
2011-09-19 22:11:05 +02:00
a5f516c818
fontchooser: Family or face can never be NULL
...
... so there's no need to special-case those situations.
2011-09-19 22:11:05 +02:00
fb2bc139bb
fontchooser: Use gtk_list_store_insert_with_values()
...
... instead of append() + set_values()
2011-09-19 22:11:05 +02:00
824aeb77c6
fontchooserwidget: Simplify function
...
- Don't do unnecessary casts
- Fix weird variable declaration indenting
- Fix loop indentation
- Use a for loop for iterating over a list, instead of a while loop
- Casefold font name only once, instead of every iteration
- Remove needless true_var = true_var && TRUE assignment
2011-09-19 22:11:05 +02:00
7a34a5971e
Updated British English translation
2011-09-19 13:11:23 +01:00
22cd009ef7
GtkPaned: Create the child window at the correct position
...
When there is only a single child, create its window at the correct position
https://bugzilla.gnome.org/show_bug.cgi?id=659241
2011-09-19 12:28:59 +01:00
68e943506e
Updated Serbian translation
2011-09-19 03:08:22 +02:00
e79647c45d
Updated Latvian translation.
2011-09-18 20:55:24 +03:00
b178259235
Updated Swedish translation
2011-09-18 19:35:34 +02:00