summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooser.c
Commit message (Collapse)AuthorAgeFilesLines
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* fontchooser: List font description as font descriptionBenjamin Otte2011-09-191-1/+1
| | | | | Otherwise there will be two properties listed as "Font" in property selectors (in Glade or testfontchooser).
* Clarify conditions when get_font_{family,face} return NULLChristian Persch2011-09-131-2/+6
|
* Rename gtk_font_chooser_get_{family,face,size}Christian Persch2011-09-131-6/+6
| | | | | ... to gtk_font_chooser_get_font_{family,face,size}, in order to avoid naming conflicts in bindings.
* Add GtkFontChooser:font-desc propertyChristian Persch2011-09-131-2/+81
| | | | Add a way to set/get the font as a PangoFontDescription.
* Remove GtkFontChooser:[sg]et_fontChristian Persch2011-09-131-3/+7
| | | | | Now that the setter doesn't return a value anymore, we can just use g_object_[sg]et instead of having these vfuncs.
* Setters should not return a booleanChristian Persch2011-09-131-13/+6
| | | | | | The setter for the "font" property returned a boolean that indicated whether the given font has been found. Instead, fall back to the default font name when the given font doesn't exist.
* Trivial: Fix up function name in the docsMatthias Clasen2011-09-131-1/+1
|
* Rename GtkFontChooser:font-name to :fontChristian Persch2011-09-131-10/+10
| | | | | | | GtkFontButton already has a property named "font-name" which may conflict / be an ABI break when moving GtkFontButton to implement GtkFontChooser. Also, this is more in line with how other parts in gtk (e.g. GtkCellRendererText) call a font string property.
* Make GtkFontChooser an interfaceChristian Persch2011-09-131-1115/+82
| | | | | | | | Make the GtkFontChooser API similar to the Gtk{File,Recent,App}Chooser APIs by introducing GtkFontChooser as an interface, that has a default implementation in GtkFontChooserWidget. https://bugzilla.gnome.org/show_bug.cgi?id=657627
* GtkFontChooser: mark 'no matches' string for translationMatthias Clasen2011-09-051-1/+1
|
* GtkFontChooser: escape markup where requiredMatthias Clasen2011-09-041-14/+11
| | | | | Since we use markup in the list, we need to escape the font name and preview text pieces that we embed there.
* Trivial: include cleanupsMatthias Clasen2011-08-281-1/+0
|
* More include cleanupsMatthias Clasen2011-08-281-4/+2
|
* GtkFontChooser: Add a ::font-activated signalMatthias Clasen2011-08-241-1/+47
| | | | This signal gets emitted when a font in the list is activated.
* Make setting fontname work, independent of a screenMatthias Clasen2011-08-151-20/+41
|
* Keep the currently selected font over theme changesMatthias Clasen2011-08-151-14/+34
| | | | | When repopulating the list of fonts, don't loose the current selection, unless the font is no longer in the list.
* Add filtering to the font chooserMatthias Clasen2011-08-151-81/+109
|
* Add 'no matches' functionalityMatthias Clasen2011-08-151-31/+18
| | | | | Initial cut at showing a 'no matches' message if the font list is empty.
* Make the fontchooser dialog come up in a reasonable sizeMatthias Clasen2011-08-151-0/+1
| | | | | This is not a perfect solution; we really just want to set a nice default size, but GTK+ does not make that easy.
* Just use a single gridMatthias Clasen2011-08-151-12/+7
| | | | The subgrid didn't really add anything.
* Clean up error handlingMatthias Clasen2011-08-151-7/+9
|
* Rename some staticsMatthias Clasen2011-08-151-8/+8
| | | | gtk_font_chooser_ref_{family,face} -> gtk_font_chooser_set_{family,face}
* Avoid extraneous signals at destroy timeMatthias Clasen2011-08-151-17/+41
| | | | | We need to disconnect the cursor-changed handler before the treeview gets destroyed, to avoid unwanted emissions.
* Simplify a few thingsMatthias Clasen2011-08-151-60/+49
| | | | | Adwaita seems to misrender focus on entries with margins, so use spacing instead. Also, don't use entry buffer unnecessarily.
* Trivial formatting fixesMatthias Clasen2011-08-151-87/+85
| | | | Just committing these is easier than writing them up.
* GtkFontChooser: get_font_name did not return the font sizeAlberto Ruiz2011-08-151-1/+7
|
* GtkFontChooser: Stub code to handle empty list by search.Alberto Ruiz2011-08-151-4/+70
|
* GtkFontChooser: font-name property notification wasn't properly propagated ↵Alberto Ruiz2011-08-151-18/+4
| | | | during size change from the spinbutton
* GtkFontChooser: Using G_N_ELEMENTS instead of a defineAlberto Ruiz2011-08-151-4/+3
|
* GtkFontChooser: Using the widget instead of the private struct as signal ↵Alberto Ruiz2011-08-151-31/+43
| | | | data in all conects
* GtkFontChooser: Fixed coding style wrt spacing around operatorsAlberto Ruiz2011-08-151-5/+5
|
* GtkFontChooser: Using explicit comparisons for g_strcmp0Alberto Ruiz2011-08-151-2/+2
|
* GtkFontChooser: Added missing breaks in switch statementsAlberto Ruiz2011-08-151-0/+2
|
* GtkFontChooser: Setting all ought to be static functions as staticAlberto Ruiz2011-08-151-34/+9
|
* GtkFontChooser: Set correct margin values between UI elementsAlberto Ruiz2011-08-151-0/+5
|
* GtkFontChooser: Fix size synchronization between slider and spin buttonAlberto Ruiz2011-08-151-31/+43
|
* GtkFontChooser: Cleanup comments and fix indentation alignmentsAlberto Ruiz2011-08-151-16/+11
|
* GtkFontChooser: Remove default geometry definesAlberto Ruiz2011-08-151-4/+0
|
* GtkFontChooser: Fix scroll callback connected to treeview instead of previewAlberto Ruiz2011-08-151-2/+2
|
* GtkFontChooser: Remove the themed color for the font titleAlberto Ruiz2011-08-151-14/+1
|
* GtkFontChooser: Use a nested grid to achieve the right layout in the size ↵Alberto Ruiz2011-08-151-20/+27
| | | | controls
* GtkFontChooser: Fix expand and fill properties for the grid layoutAlberto Ruiz2011-08-151-1/+5
|
* GtkFontChooser: Use GtkBox instead of GtkVBox as base class.Alberto Ruiz2011-08-151-3/+3
|
* GtkFontChooser: Add preview entry to the gridAlberto Ruiz2011-08-151-8/+8
|
* GtkFontChooser: Initial work to use GtkGridAlberto Ruiz2011-08-151-39/+11
|
* GtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2Alberto Ruiz2011-08-151-0/+4
|
* GtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to ↵Alberto Ruiz2011-08-151-272/+3
| | | | gtkfontchooserdialog.[ch]
* GtkFontChooser: Use symbolic icons in the filter entryAlberto Ruiz2011-08-151-8/+19
|
* GtkFontChooser: Now shearch filters each individual term rather than the ↵Alberto Ruiz2011-08-151-28/+37
| | | | whole string at once