Matthias Clasen
|
6fb69845b0
|
Make the fontchooser dialog come up in a reasonable size
This is not a perfect solution; we really just want to set
a nice default size, but GTK+ does not make that easy.
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
7c4ad1f400
|
Just use a single grid
The subgrid didn't really add anything.
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
43d62c08e3
|
Clean up error handling
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
5b9857d9b9
|
Rename some statics
gtk_font_chooser_ref_{family,face} -> gtk_font_chooser_set_{family,face}
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
8dbdfa7e73
|
Avoid extraneous signals at destroy time
We need to disconnect the cursor-changed handler before the
treeview gets destroyed, to avoid unwanted emissions.
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
96f9b67b51
|
Fix minor issues in the tests
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
97d26ac9c0
|
Simplify a few things
Adwaita seems to misrender focus on entries with margins, so
use spacing instead. Also, don't use entry buffer unnecessarily.
|
2011-08-15 18:57:57 -04:00 |
|
Matthias Clasen
|
a18fab88a1
|
Trivial formatting fixes
Just committing these is easier than writing them up.
|
2011-08-15 18:57:57 -04:00 |
|
Alberto Ruiz
|
a58a2dc0d3
|
GtkFontChooserDialog: GtkFontButton now uses GtkFontChooserDialog instead of GtkFontSelectionDialog
|
2011-08-15 18:57:57 -04:00 |
|
Alberto Ruiz
|
e79842ce94
|
GtkFontChooser: get_font_name did not return the font size
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
d33088a805
|
GtkFontChooser: Stub code to handle empty list by search.
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
66a7add23f
|
GtkFontChooser: font-name property notification wasn't properly propagated during size change from the spinbutton
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
52177f5e0d
|
GtkFontChooser: Missing G_END_DECLS in fontchooser header
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
5795d3d616
|
GtkFontChooser: Using G_N_ELEMENTS instead of a define
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
9245a66e6f
|
GtkFontChooser: Using the widget instead of the private struct as signal data in all conects
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
bf8ad994d4
|
GtkFontChooser: Fixed coding style wrt spacing around operators
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
26fb5c90b1
|
GtkFontChooser: Using explicit comparisons for g_strcmp0
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
ab1ebb072e
|
GtkFontChooser: Added missing breaks in switch statements
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
c36d291acc
|
GtkFontChooser: Setting all ought to be static functions as static
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
bf457d129e
|
GtkFontChooserDialog: Add parent window as a parameter in the constructor
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
523190f69a
|
GtkFontChooserDialog: Fix get_font_chooser public function name
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
23b15254bb
|
GtkFontChooser: Set correct margin values between UI elements
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
a55d2f67b0
|
GtkFontChooserDialog: Use g_object_new to set initial values in the dialog constructor
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
01f279338f
|
GtkFontChooser: Remove outdated Copyright information
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
1dda502bcb
|
GtkFontChooser: Fix size synchronization between slider and spin button
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
cabfcbd18d
|
GtkFontChooser: Cleanup comments and fix indentation alignments
|
2011-08-15 18:57:56 -04:00 |
|
Alberto Ruiz
|
e3f70857af
|
GtkFontChooser: Remove default geometry defines
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
55d50b3cca
|
GtkFontChooser: Fix scroll callback connected to treeview instead of preview
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
9dee34ad27
|
GtkFontChooser: Remove the themed color for the font title
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
f5a00f0c77
|
GtkFontChooser: Use a nested grid to achieve the right layout in the size controls
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
1075b7ac38
|
GtkFontChooser: Fix expand and fill properties for the grid layout
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
d9187472f5
|
GtkFontChooser: Use GtkBox instead of GtkVBox as base class.
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
b37863a5ba
|
GtkFontChooser: Use const instead of G_CONST_RETURN
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
03ab18fa7a
|
GtkFontChooser: Add preview entry to the grid
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
f60d0dc35a
|
GtkFontChooser: Initial work to use GtkGrid
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
4163fa5d29
|
GtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
4add47946b
|
GtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to gtkfontchooserdialog.[ch]
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
8e621f593e
|
GtkFontChooser: Use symbolic icons in the filter entry
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
5ccc66d855
|
GtkFontChooser: Now shearch filters each individual term rather than the whole string at once
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
db2ef8ce51
|
GtkFontChooser: Restore automatic alignment on scroll to selection
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
7067d36adb
|
GtkFontChooser: Removed support for deprecated functionality from GtkFontSelector
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
4bf22639d1
|
GtkFontChooser: Expose the new widget in gtk.h and add test cases
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
334ee81901
|
GtkFontChooser: Renaming the class names and fixing the tests
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
f2376ad401
|
GtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATED
|
2011-08-15 18:57:55 -04:00 |
|
Alberto Ruiz
|
bbe8d13c6e
|
GtkFontChooser: Check if the deprecated widgets are present before updating the size list
|
2011-08-15 18:57:54 -04:00 |
|
Alberto Ruiz
|
1b00a3eb76
|
GtkFontChooser: Update fontlist on style change
|
2011-08-15 18:57:54 -04:00 |
|
Alberto Ruiz
|
6dec212d1d
|
GtkFontChooser: Add a property to control whether the preview entry is shown or not
|
2011-08-15 18:57:54 -04:00 |
|
Alberto Ruiz
|
731120e26e
|
GtkFontChooser: Better test preview text
|
2011-08-15 18:57:54 -04:00 |
|
Alberto Ruiz
|
c34a2d65d0
|
GtkFontChooser: Use GTK_DISABLE_DEPRECATED on the test code
|
2011-08-15 18:57:54 -04:00 |
|
Alberto Ruiz
|
5eb614a25b
|
GtkFontChooser: Add gtk_font_selection_dialog_get_select_button and use GTK_DISABLE_DEPRECATED in gtkfontsel.h
|
2011-08-15 18:57:54 -04:00 |
|