]>
Pileus Git - ~andy/gtk/log
Benjamin Otte [Tue, 20 Sep 2011 23:04:00 +0000 (01:04 +0200)]
fontchooser: Reorganize code a bit
The main reason is so that we have a new function that we can use from
the cursor_changed_cb.
Benjamin Otte [Tue, 20 Sep 2011 22:31:26 +0000 (00:31 +0200)]
fontchooser: Don't store the current face and family anymore
They can be queried on-demand from the font list.
Benjamin Otte [Tue, 20 Sep 2011 22:23:07 +0000 (00:23 +0200)]
fontchooser: Take font description from model
... instead of taking face and constructing it from there.
Benjamin Otte [Tue, 20 Sep 2011 22:19:51 +0000 (00:19 +0200)]
fontchooser: Sanitize variable declarations
- no empty lines between variables
- no unnecessary casts
- use glib-style casts
- no spaces
Benjamin Otte [Tue, 20 Sep 2011 22:14:02 +0000 (00:14 +0200)]
fontchooser: Fix leak
the path variable is set, not filled in.
Benjamin Otte [Tue, 20 Sep 2011 22:07:21 +0000 (00:07 +0200)]
fontchooser: Store an iter to the current font
Note that we cannot use GtkTreeSelection for this, because when the font
list is filtered the current font may not be visible.
Morten Welinder [Tue, 20 Sep 2011 19:14:50 +0000 (21:14 +0200)]
cssprovider: Remove outdated docs
Benjamin Otte [Tue, 20 Sep 2011 15:07:44 +0000 (17:07 +0200)]
fontchooser: Store tree model member variables as GtkTreeModel
... and remove the now unnecessary treemodel casts everywhere.
Just code cleanup.
Benjamin Otte [Tue, 20 Sep 2011 15:06:18 +0000 (17:06 +0200)]
fontchooser: Rename populate_list() function
Name it gtk_font_chooser_widget_load_fonts(). Also, don't take any
arguments, they were the same everywhere and they're member variables of
the font chooser anyway.
Benjamin Otte [Tue, 20 Sep 2011 14:49:49 +0000 (16:49 +0200)]
fontchooser: Make changing the preview text fast
Instead of reloading the font list, we now just queue a redraw. This
works, because the preview text is added using a cell data func instead
of a custom column.
Benjamin Otte [Tue, 20 Sep 2011 14:32:15 +0000 (16:32 +0200)]
fontchooser: Use a cell_data_func for the font list
This way, we don't have to store the preview text in the list.
Benjamin Otte [Tue, 20 Sep 2011 01:37:11 +0000 (03:37 +0200)]
fontchooser: Don't scroll in the populate_list() function
Benjamin Otte [Tue, 20 Sep 2011 01:10:33 +0000 (03:10 +0200)]
fontchooser: Remove needless scroll calls
Previous functions take care of scrolling already.
Benjamin Otte [Tue, 20 Sep 2011 00:54:42 +0000 (02:54 +0200)]
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.
Benjamin Otte [Mon, 19 Sep 2011 23:17:29 +0000 (01:17 +0200)]
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.
Benjamin Otte [Mon, 19 Sep 2011 22:30:19 +0000 (00:30 +0200)]
fontchooser: Fix size computation
Benjamin Otte [Wed, 21 Sep 2011 02:21:42 +0000 (04:21 +0200)]
fontchooser: Fix gcc warnings
Changwoo Ryu [Thu, 22 Sep 2011 18:01:11 +0000 (03:01 +0900)]
Updated Korean translation
Daniel Nylander [Thu, 22 Sep 2011 14:37:26 +0000 (16:37 +0200)]
Updated Swedish translation
Daniel Nylander [Thu, 22 Sep 2011 14:36:58 +0000 (16:36 +0200)]
Updated Swedish translation
Daniel Nylander [Thu, 22 Sep 2011 14:36:25 +0000 (16:36 +0200)]
Updated Swedish translation
Antonio Fernandes C. Neto [Thu, 22 Sep 2011 14:30:55 +0000 (10:30 -0400)]
Updated Brazilian Portuguese translation.
Manoj Kumar Giri [Thu, 22 Sep 2011 14:05:44 +0000 (19:35 +0530)]
Updated Oriya Translation
Nilamdyuti Goswami [Thu, 22 Sep 2011 10:44:58 +0000 (12:44 +0200)]
Update Assamese translation
Mario Blättermann [Thu, 22 Sep 2011 06:34:07 +0000 (08:34 +0200)]
[l10n] Updated German translation
Bruno Brouard [Wed, 21 Sep 2011 18:14:03 +0000 (20:14 +0200)]
Updated French translation
Inaki Larranaga Murgoitio [Wed, 21 Sep 2011 16:04:18 +0000 (18:04 +0200)]
Updated Basque language
Inaki Larranaga Murgoitio [Wed, 21 Sep 2011 15:58:45 +0000 (17:58 +0200)]
Updated Basque language
Antoine Jacoutot [Tue, 20 Sep 2011 09:57:49 +0000 (11:57 +0200)]
gtkmountoperation-x11: unbreak compilation on OpenBSD.
Add missing header to prevent undeclared definitions.
Bug #659565
Duarte Loreto [Tue, 20 Sep 2011 23:59:41 +0000 (00:59 +0100)]
Updated Portuguese translation
Gabor Kelemen [Tue, 20 Sep 2011 22:53:47 +0000 (00:53 +0200)]
Updated Hungarian translation
Rudolfs Mazurs [Tue, 20 Sep 2011 19:30:01 +0000 (22:30 +0300)]
Updated Latvian translation.
Mario Blättermann [Tue, 20 Sep 2011 18:47:32 +0000 (20:47 +0200)]
[l10n] Updated German translation
Gabor Kelemen [Tue, 20 Sep 2011 17:43:05 +0000 (19:43 +0200)]
Updated Hungarian translation
Piotr Drąg [Tue, 20 Sep 2011 15:32:11 +0000 (17:32 +0200)]
Updated Polish translation
Piotr Drąg [Tue, 20 Sep 2011 15:30:06 +0000 (17:30 +0200)]
Updated Polish translation
Antonio Fernandes C. Neto [Tue, 20 Sep 2011 15:04:44 +0000 (12:04 -0300)]
Updated Brazilian Portuguese translation
Matej Urbančič [Tue, 20 Sep 2011 11:23:30 +0000 (13:23 +0200)]
Updated Slovenian translation
Daniel Mustieles [Tue, 20 Sep 2011 08:59:57 +0000 (10:59 +0200)]
Updated Spanish translation
Yuri Myasoedov [Tue, 20 Sep 2011 08:05:06 +0000 (12:05 +0400)]
Updated Russian translation
Xavier Claessens [Mon, 19 Sep 2011 09:20:08 +0000 (11:20 +0200)]
GtkTreeModelFilter: Fix build warnings
https://bugzilla.gnome.org/show_bug.cgi?id=659441
Fran Dieguez [Mon, 19 Sep 2011 23:27:13 +0000 (01:27 +0200)]
Updated Galician translations
Matthias Clasen [Mon, 19 Sep 2011 22:03:11 +0000 (18:03 -0400)]
Bump version
Matthias Clasen [Mon, 19 Sep 2011 21:39:00 +0000 (17:39 -0400)]
3.1.92
Matthias Clasen [Mon, 19 Sep 2011 20:13:42 +0000 (16:13 -0400)]
Updates
Piotr Drąg [Mon, 19 Sep 2011 20:21:53 +0000 (22:21 +0200)]
Updated Polish translation
Benjamin Otte [Mon, 19 Sep 2011 19:17:01 +0000 (21:17 +0200)]
fontchooser: Remove special case for a single signal handler
Benjamin Otte [Mon, 19 Sep 2011 18:37:38 +0000 (20:37 +0200)]
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.
Benjamin Otte [Mon, 19 Sep 2011 17:54:40 +0000 (19:54 +0200)]
fontchooser: Don't store the size separately
Instead, use the font description's size.
Benjamin Otte [Mon, 19 Sep 2011 16:51:11 +0000 (18:51 +0200)]
fontchooser: Don't reload the fonts on style changes
It's not necessary, because nothing changes.
Benjamin Otte [Mon, 19 Sep 2011 16:35:57 +0000 (18:35 +0200)]
fontchooser: Assume NULL screen means the default screen
... and update the font list only when the screen actually changes.
Benjamin Otte [Mon, 19 Sep 2011 15:58:51 +0000 (17:58 +0200)]
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.
Benjamin Otte [Mon, 19 Sep 2011 13:45:24 +0000 (15:45 +0200)]
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.
Benjamin Otte [Mon, 19 Sep 2011 13:16:02 +0000 (15:16 +0200)]
fontchooser: Fix code to make it not look like GTK 0.9
Benjamin Otte [Fri, 16 Sep 2011 08:41:24 +0000 (10:41 +0200)]
fontchooser: List font description as font description
Otherwise there will be two properties listed as "Font" in property
selectors (in Glade or testfontchooser).
Benjamin Otte [Fri, 16 Sep 2011 08:26:55 +0000 (10:26 +0200)]
fontchooser: Family or face can never be NULL
... so there's no need to special-case those situations.
Benjamin Otte [Fri, 16 Sep 2011 08:21:58 +0000 (10:21 +0200)]
fontchooser: Use gtk_list_store_insert_with_values()
... instead of append() + set_values()
Benjamin Otte [Fri, 16 Sep 2011 08:14:15 +0000 (10:14 +0200)]
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
Bruce Cowan [Mon, 19 Sep 2011 12:11:23 +0000 (13:11 +0100)]
Updated British English translation
Chris Coulson [Mon, 19 Sep 2011 11:28:59 +0000 (12:28 +0100)]
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
Мирослав Николић [Mon, 19 Sep 2011 01:08:22 +0000 (03:08 +0200)]
Updated Serbian translation
Rudolfs Mazurs [Sun, 18 Sep 2011 17:55:24 +0000 (20:55 +0300)]
Updated Latvian translation.
Daniel Nylander [Sun, 18 Sep 2011 17:35:34 +0000 (19:35 +0200)]
Updated Swedish translation
Wolfgang Stöggl [Sun, 18 Sep 2011 15:37:42 +0000 (17:37 +0200)]
[l10n] Updated German translation
Wolfgang Stöggl [Sun, 18 Sep 2011 15:34:19 +0000 (17:34 +0200)]
[l10n] Updated German translation
Ihar Hrachyshka [Sat, 17 Sep 2011 20:28:39 +0000 (23:28 +0300)]
Updated Belarusian translation (some fixes after manual testing).
Ihar Hrachyshka [Sat, 17 Sep 2011 19:51:32 +0000 (22:51 +0300)]
Updated Belarusian translation (some fixes after manual testing).
Alexander Shopov [Sat, 17 Sep 2011 19:09:27 +0000 (22:09 +0300)]
Updated Bulgarian translation
Xandru Armesto [Sat, 17 Sep 2011 17:03:55 +0000 (19:03 +0200)]
Updated asturian translation
Djavan Fagundes [Sat, 17 Sep 2011 15:04:13 +0000 (12:04 -0300)]
Fixed a string translated to Brazilian Portuguese
Matej Urbančič [Sat, 17 Sep 2011 09:01:15 +0000 (11:01 +0200)]
Updated Slovenian translation
Matej Urbančič [Sat, 17 Sep 2011 08:55:24 +0000 (10:55 +0200)]
Updated Slovenian translation
Martin Srebotnjak [Sat, 17 Sep 2011 07:48:31 +0000 (09:48 +0200)]
Updated Slovenian translation
Kristian Rietveld [Sat, 17 Sep 2011 04:08:40 +0000 (06:08 +0200)]
treemodelfilter: add additional asserts to MODEL_FILTER_DEBUG mode
Kristian Rietveld [Sat, 17 Sep 2011 03:18:13 +0000 (05:18 +0200)]
Remove left-over calls to dump function
Matthias Clasen [Sat, 17 Sep 2011 01:06:56 +0000 (21:06 -0400)]
widget-factory: add more checks and radios
Add examples of check and radio menuitems, as well as inconsistent
checks and toggles.
Bastien Nocera [Fri, 16 Sep 2011 14:04:44 +0000 (15:04 +0100)]
link-button: Reset the mouse cursor when destroyed
If clicking on a link destroys the link button, and keeps the
same GdkWindow then the cursor stays as a hand in the rest of
the interface.
https://bugzilla.gnome.org/show_bug.cgi?id=659247
Javier Jardón [Fri, 16 Sep 2011 11:12:02 +0000 (13:12 +0200)]
gdk/gdkkeys.h: Remove api documentation as Its already in the .c file
Duarte Loreto [Thu, 15 Sep 2011 23:47:03 +0000 (00:47 +0100)]
Updated Portuguese translation
Duarte Loreto [Thu, 15 Sep 2011 23:45:41 +0000 (00:45 +0100)]
Updated Portuguese translation
Martin Srebotnjak [Thu, 15 Sep 2011 20:37:48 +0000 (22:37 +0200)]
Updated Slovenian translation
A S Alam [Thu, 15 Sep 2011 16:53:43 +0000 (22:23 +0530)]
Updated Punjabi Translation
Xandru Armesto [Thu, 15 Sep 2011 16:37:23 +0000 (18:37 +0200)]
Updated asturian translation
Cosimo Cecchi [Wed, 14 Sep 2011 21:32:02 +0000 (17:32 -0400)]
iconview: add support for prelight cells
Render GtkIconView cell items with the prelight state flag when they're
being mouse hovered.
This works basically in the same way it's done for GtkTreeView cells,
and e.g. GtkCellRendererPixbuf will need to have its follow-state
property to opt in to prelight rendering.
https://bugzilla.gnome.org/show_bug.cgi?id=615501
Fran Dieguez [Wed, 14 Sep 2011 21:14:00 +0000 (23:14 +0200)]
Updated Galician translations
Ihar Hrachyshka [Wed, 14 Sep 2011 18:52:12 +0000 (21:52 +0300)]
Updated Belarusian translation.
Ryan Lortie [Wed, 14 Sep 2011 18:02:51 +0000 (14:02 -0400)]
GtkApplication: chain up ::startup
Yuri Myasoedov [Wed, 14 Sep 2011 17:52:57 +0000 (21:52 +0400)]
Updated Russian translation
Alexandre Franke [Wed, 14 Sep 2011 16:25:36 +0000 (18:25 +0200)]
Update French translation
Benjamin Otte [Wed, 14 Sep 2011 14:09:36 +0000 (16:09 +0200)]
iconview: Don't rturn TRUE from draw handler
Benjamin Otte [Wed, 14 Sep 2011 14:03:54 +0000 (16:03 +0200)]
treeview: Return FALSE from draw handler
... like every widget should.
https://bugzilla.gnome.org/show_bug.cgi?id=658981
Antonio Fernandes C. Neto [Wed, 14 Sep 2011 12:57:40 +0000 (08:57 -0400)]
Updated Brazilian Portuguese translation.
Matthias Clasen [Tue, 13 Sep 2011 22:17:47 +0000 (18:17 -0400)]
Post-release bump
Matthias Clasen [Tue, 13 Sep 2011 21:40:52 +0000 (17:40 -0400)]
3.1.90
Matthias Clasen [Tue, 13 Sep 2011 18:57:21 +0000 (14:57 -0400)]
Fix a parameter name mismatch
Matthias Clasen [Tue, 13 Sep 2011 17:28:43 +0000 (13:28 -0400)]
Updates
Luca Ferretti [Tue, 13 Sep 2011 21:29:15 +0000 (23:29 +0200)]
l10n: Updated Italian translation
Luca Ferretti [Tue, 13 Sep 2011 21:26:00 +0000 (23:26 +0200)]
l10n: Updated Italian translation
Luca Ferretti [Tue, 13 Sep 2011 21:25:55 +0000 (23:25 +0200)]
l10n: Updated Italian translation
Federico Mena Quintero [Tue, 13 Sep 2011 20:24:37 +0000 (15:24 -0500)]
Merge branch 'bgo593793-filechooser-recent-folders-master'