Age | Commit message (Collapse) | Author | Files | Lines |
|
This speeds up model loading again, since we don't need to go through
the font list again when setting the thumbnail pixbuf.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=2120af2
|
|
There's no need to look it up in the icon theme every time; this speeds
up loading of the model.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=a37af39
|
|
So that we get the right sort order according to the current locale.
Store the collation key in the model to avoid a performance hit.
Taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d6a5278
|
|
thumbnailing code
Always set the fallback pixbuf by default as icon in the model. At the
same time, wrap the thumbnailing code in a single thread spawned with
g_io_scheduler_push_job(). This makes the code more robust and avoids
being too resource-greedy, as described in
https://bugzilla.gnome.org/show_bug.cgi?id=677605
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1fc4a85
|
|
Use g_file_query_info_async() instead.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d360c01
|
|
Instead, detect if the fontconfig data directories include
XDG_DATA_HOME, and pick that if they do. If they don't, pick the first
directory under $HOME from the configured locations.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=56e5cf8
|
|
In case we fail to read the thumbnail, set the fallback icon instead of
just returning.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=7ed08a3
|
|
Instead of matching the file name, match the font face (i.e. its
family/style names).
Since we refresh the button appearance when installing a font over to
~/.fonts, the file path will not match at that point, since the preview
will still be showing the old uninstalled file.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=09a6285
|
|
We'll need this to update the Install button state when a new font is
installed.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1a21320
|
|
So that we can e.g. change it to "Installed" when the font is copied
over to ~/.fonts.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=94dbcc0
|
|
So we can update our model when a font file is added there.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=b3c81f6
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=c859694
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=e0d2a23
Fontviewer: gd-toolbar sync to latest libgd suitable for mate
|
|
Creating one initializes a FreeType library object, so it's not cheap.
It's better to just change the URI on the existing widget, like Sushi
does, if possible.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=39a188f
|
|
Safely init FontConfig once for the whole app,
and de-init it when quitting.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=beec585
|
|
file
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=a244951
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=026e378
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=044842e
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=63268c1
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=0d617cf
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=4940840
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f0aac98
and others
|
|
Also, don't use deprecated GTK API 'gtk_widget_modify_bg' to set this.
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=3261384
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=6fffe82
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=511eb7a
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f5d6bfe
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=184661h
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=0522313
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=79a3e86
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f50e4c4
|
|
and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- needed for GtkGrid port
|
|
|
|
|
|
|
|
Taken from gnome-font-viewer based on initial patch by
Rodrigo Moya and updated by Cosimo Cecchi <[email protected]>
commit: 51110f87d6f134f8481031f13fdc3bc3759991bb
|
|
|
|
This reverts commit 5ee2c81ca6d335b18d51dbc6f1036c5f08396220.
|
|
|
|
Patch by Mike Gabriel <[email protected]>
|
|
|
|
|
|
|
|
However, drawing signal is disabled with GTK3. It need to be fixed later.
|
|
|