summaryrefslogtreecommitdiff
path: root/font-viewer/font-view.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-01added search option for mate-font-viewersakib1-2/+70
fix incompatible pointer issue
2018-02-12avoid deprecated GtkStockPablo Barciela1-1/+1
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-8/+0
2017-03-08font-viewer font-view: fix a runtime warningraveit651-6/+32
font-view: strip empty lines when they're the last line https://git.gnome.org/browse/gnome-font-viewer/commit/?h=gnome-3-6&id=f51507c font-view: strip "Version" string from the version field No need to show "Version" twice https://git.gnome.org/browse/gnome-font-viewer/commit/?h=gnome-3-6&id=2e481de
2017-03-08font-viewer font-view: Support TTC fontsraveit651-5/+8
https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=11d181c
2017-03-08font-viewer: sushi-font-widget: Add face_index argumentraveit651-2/+3
sushi_font_widget_new() now takes face index as the second argument. All callers changed. The face index of the widget can be accessed through the "face-index" property. Setting the "uri" property with g_object_set() no longer starts font loading, while it does when it is set through the constructor. This is to prevent the same font from being loaded twice, when both "uri" and "face-index" are set with g_object_set(). To start loading, you can explicitly call sushi_font_widget_load() after setting the properties. https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=3c48f73
2017-03-08font-viewer: fix former deprecation commit of gtk_misc_set_alignmentraveit651-4/+12
2017-02-17add style class font-viewer at top levelraveit651-0/+5
2017-02-17Fontviewer: do not use deprecated-gtk_misc_set_alignment-and-margin-left-rightraveit651-4/+6
2017-02-17Fontviewer: Add a title to the info dialograveit651-1/+1
2017-02-17Fontviewer: don't call deprecated g_type_init()raveit651-2/+0
2017-02-17Fontviewer: font-view, return early if we have a model alreadyraveit651-0/+3
2017-02-17Fontviewer: don't crash when opening a non-existing fileraveit651-11/+49
This is only a problem from the command line. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=baef02a
2017-02-17Fontviewer: font-view, show an error dialog when unable to load a fontraveit651-0/+31
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5a8f439
2017-02-17Fontviewer: Set an empty title on the info dialograveit651-1/+1
Currently, it shows up with 'gnome-font-viewer' in the titlebar taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5d5dfc8
2017-02-17Fontviewer: font-view: don't hardcode ~/.fonts as target install directoryraveit651-16/+57
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
2017-02-17Fontviewer: match the font face when getting an iter to update the buttonraveit651-7/+7
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
2017-02-17Fontviewer: refresh Install button appearance when model changesraveit651-0/+12
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
2017-02-17Fontviewer: don't recreate a different SushiFontWidget every timeraveit651-18/+19
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
2017-02-17Fontviewer: move FontConfig init/deinit to the application classraveit651-0/+14
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
2017-02-17Fontviewer: make sure rendered text is black on whiteraveit651-2/+4
Also, don't use deprecated GTK API 'gtk_widget_modify_bg' to set this.
2017-02-17Font-viewer: add an application menuraveit651-0/+68
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=3261384
2017-02-17Font-viewer: first pass at integrating an overview moderaveit651-46/+238
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=511eb7a
2017-02-17Font-viewer: use new toolbar-style interfaceraveit651-47/+81
2017-02-17Font-viewer: font-view port to SushiFontWidget and GtkApplicationraveit651-395/+207
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=79a3e86
2016-12-02move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-127/+1
and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17
2016-02-04[GTK+3] use x/y align functions of GtkLabel in GTK+ >= 3.16monsta1-3/+3
2016-02-04[GTK+3] don't set x/y align to 0.5 - it's the default value anywaymonsta1-1/+0
2016-01-26GTK3: improve GtkMisc deprecation commitWolfgang Ulbrich1-6/+6
2016-01-15[GTK+3] font-viewer: fix deprecated usage of GtkMisc and GdkColormonsta1-1/+21
2016-01-13font-viewer: remove unused variablemonsta1-1/+1
2016-01-13font-viewer: fix indent a bitmonsta1-102/+103
2015-08-29Gtk3 Fontviewer: increase-horiontal-size-scrolledwindowraveit651-0/+5
- needed for GtkGrid port
2015-08-29Gtk3 Fontviewer: don't use deprecated-GtkHBoxraveit651-0/+4
2015-08-29Gtk3 Fontviewer: port-GtkTable-to-GtkGridraveit651-1/+92
2015-08-08font-viewer: Use cairo for font renderingraveit1-258/+248
Taken from gnome-font-viewer based on initial patch by Rodrigo Moya and updated by Cosimo Cecchi <[email protected]> commit: 51110f87d6f134f8481031f13fdc3bc3759991bb
2015-07-12Replace Gdk drawing with Cairoinfirit1-11/+13
2014-05-23Replace deprecated g_format_size_for_display with g_format_sizeinfirit1-1/+1
2014-01-28Fix some gcc warningsStefano Karapetsas1-1/+1
2014-01-24font-viewer: Allow to compile with GTK3Stefano Karapetsas1-1/+11
However, drawing signal is disabled with GTK3. It need to be fixed later.
2012-08-02Fixed incorrect fsf address.Steve Zesch1-1/+1
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+608