Commit Graph

12517 Commits

Author SHA1 Message Date
Alexander Larsson
9bea38595f Clean up APIs: Make async a setting instead of separate calls. Combine
2006-06-07  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.[ch]:
	Clean up APIs:
	Make async a setting instead of separate calls.
	Combine settings like show_dialog, show_preview and pdf_target into
	an action enum that you pass to gtk_print_dialog_run().

	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* demos/gtk-demo/printing.c:
	Update to new APIs
2006-06-07 15:09:03 +00:00
Matthias Clasen
36f7ed300a Remove debugging spew 2006-06-07 13:45:11 +00:00
Bastien Nocera
a92c76e1d4 Update the ATK requirements (#344148)
2006-06-07  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Update the ATK requirements (#344148)
2006-06-07 13:20:53 +00:00
Matthias Clasen
a075c94acb Fix a C99ism 2006-06-07 12:59:05 +00:00
Matthias Clasen
a9d11e9dba make the last change work 2006-06-07 04:16:52 +00:00
Behdad Esfahbod
5d76cdf587 Fix format. 2006-06-07 01:10:47 +00:00
Behdad Esfahbod
bd264faea9 Fix typo. 2006-06-07 01:08:16 +00:00
Behdad Esfahbod
d3874d0918 Bug 337603 – Possible off-by-one in
2006-06-06  Behdad Esfahbod  <behdad@gnome.org>

        Bug 337603 – Possible off-by-one in
        gdk_pango_layout_line_get_clip_region

        * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
        rounding of rect members.  Improved docs.
2006-06-07 01:07:20 +00:00
Changwoo Ryu
e366da90d6 Updated Korean translation.
2006-06-07  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2006-06-06 20:48:03 +00:00
Matthias Clasen
b2b9fc97f8 Small optimization 2006-06-06 20:09:43 +00:00
N Jayaradha
333af74ccf ta.po 2006-06-06 17:03:22 +00:00
Pablo Saratxaga
8ada80e891 updated Walloon file 2006-06-06 12:00:29 +00:00
Ilkka Tuohela
a44c60ed1c Updated Finnish translation 2006-06-06 00:43:33 +00:00
Matthias Clasen
38bc51dfc4 bump version 2006-06-05 20:32:16 +00:00
Matthias Clasen
b2cbfe66a4 2.9.2 2006-06-05 19:33:40 +00:00
Matthias Clasen
7762f490b6 Updates
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

	* gtk/gtkprintoperationpreview.c: Include gtkalias.h

	* gtk/gtk.symbols: Add some forgotten new functions.
2006-06-05 18:39:20 +00:00
Ankitkumar Rameshchandra Patel
f11ed2f324 Updated Gujarati Translations 2006-06-05 04:28:10 +00:00
Ankitkumar Rameshchandra Patel
5657f2dc78 Updated Translation 2006-06-05 04:22:46 +00:00
Matthias Clasen
1a98d20c19 Fix borderline cases in tab visibility calculation. (#168105, Carlos
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
        (gtk_notebook_calc_tabs): Fix borderline cases in tab
        visibility calculation.  (#168105, Carlos Garnacho Parro)
2006-06-05 01:38:49 +00:00
Matthias Clasen
150b52e207 Remove the right XID from the xid table. (#34327, Sampo Savolainen, Tim
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
        XID from the xid table.  (#34327, Sampo Savolainen, Tim Janik)
2006-06-05 01:14:57 +00:00
Behdad Esfahbod
959c272bd4 Add missing G_END_DECLS (#343838)
2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
2006-06-04 18:15:13 +00:00
Francisco Javier F. Serrador
7535de66f3 Updated Spanish translation.
2006-06-03  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-06-03 19:13:13 +00:00
Richard Hult
de10529edc Add spawn functions, copied from the win32 backend.
2006-06-03  Richard Hult  <richard@imendio.com>
	* gdk/quartz/Makefile.am:
	* gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the
	win32 backend.
2006-06-03 17:51:34 +00:00
Rhys Jones
24737a29b4 Updated Welsh translation.
2006-06-03  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2006-06-03 12:27:34 +00:00
Matthias Clasen
67dc5155af Add a GtkPrintOperation::show-preview property 2006-06-03 03:30:21 +00:00
Matthias Clasen
ab882a28af Cleanups 2006-06-03 03:11:31 +00:00
Kristian Rietveld
f6c583f74e Rubber banding for GtkTreeView, #80127. Uses same method as GtkIconView.
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Rubber banding for GtkTreeView, #80127.  Uses same method as
	GtkIconView.

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_get_property),
	(gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
	(gtk_tree_view_get_rubber_banding): add property,
	(gtk_tree_view_button_press): start rubber banding if enabled and
	press is on a non-selected node,
	(gtk_tree_view_button_release): stop rubber banding,
	(gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
	the rubber band,
	(gtk_tree_view_bin_expose): draw rubber band if active,
	(gtk_tree_view_stop_rubberband),
	(gtk_tree_view_update_rubber_band_selection_range),
	(gtk_tree_view_update_rubber_band_selection),
	(gtk_tree_view_update_rubber_band),
	(gtk_tree_view_paint_rubber_band): new functions.

	* gtk/gtktreeview.h: add new set/get function for rubber banding
	property.

	* gtk/gtktreeprivate.h: add a bunch of new private fields.
2006-06-02 20:40:33 +00:00
Kristian Rietveld
29018576b7 revert fix of #164884 because it's not a problem in gtk+ but in
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_leave_notify)P: revert fix of
	#164884 because it's not a problem in gtk+ but in applications and
	it breaks starting drags from the edge of a row.
2006-06-02 19:06:09 +00:00
Kristian Rietveld
a70e666423 Separate sensitive/selectable properties.
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Separate sensitive/selectable properties.

	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
	least one column is sensitive,
	(gtk_tree_selection_real_select_node): remove code which enables
	insensitive rows to always be unselected.

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
	that unselects a node if it just became insensitive.

	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
	based on the at least one column sensitive check from
	_gtk_tree_selection_row_is_selectable(),
	(gtk_combo_box_list_setup): set selection function on tree selection.
2006-06-02 18:55:59 +00:00
Kristian Rietveld
3180e45356 need to use gtk_tree_model_filter_get_iter_full() since the path returned
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c
	(gtk_tree_model_filter_convert_child_path_to_path): need to use
	gtk_tree_model_filter_get_iter_full() since the path returned
	by gtk_real_tree_model_filter_convert_child_path_to_path() includes
	invisible nodes.
2006-06-02 18:39:25 +00:00
Matthias Clasen
125893d77a allow returning partial information 2006-06-02 17:56:37 +00:00
Matthias Clasen
c66612ce00 fix an inconsistency 2006-06-02 17:50:00 +00:00
Matthias Clasen
57a08e9568 Fix a stupid c/p bug 2006-06-02 16:43:41 +00:00
Alexander Larsson
fad69ba06c Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded
2006-06-02  Alexander Larsson  <alexl@redhat.com>

	* gtk/Makefile.am:
	Add gtkprintoperationpreview.[ch]
	Set default preview command. Hardcoded for now.

	* gtk/gtkmarshalers.list:
	Add BOOLEAN:OBJECT,OBJECT,OBJECT

	* gtk/gtkprintbackend.c:
	Add preview command property.

	* gtk/gtkprintcontext.[ch]:
	Make less dependent on PrintOperation for output settings
	Externally set cairo_t and dpi. Resettable.
	Create fontmap without metrics hinting (so that print preview
	text layout doesn't depend on zoom level).

	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.[ch]:
	Initial work on print preview API and default implementation
	using an external preview app.

	* gtk/gtkprintoperation-win32.c:
	Some needed updates. Not done, needs more work.

	* gtk/gtkprintoperationpreview.[ch]:
	New interface used in print preview api.

	* gtk/gtkprintunixdialog.c:
	Add print preview dialog.

	* tests/print-editor.c:
	Test using an custom print preview widget.
2006-06-02 15:16:13 +00:00
Emmanuele Bassi
caf6c4196d Fix a typo (spotted by Paolo Borelli and coverity).
2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Fix a typo (spotted by
	Paolo Borelli and coverity).
2006-06-02 11:45:58 +00:00
Ankitkumar Rameshchandra Patel
baad131df7 Updated Gujarati Translations 2006-06-02 05:48:12 +00:00
Matthias Clasen
36d059c6c2 fix path messup 2006-06-01 20:05:09 +00:00
Matthias Clasen
b900778ffd Small tweaks 2006-06-01 16:41:40 +00:00
Matthias Clasen
9095bd257b Add an icon-spacing style property for the same purpose.
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
	an icon-spacing style property for the same purpose.

	* gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
	style property that allows to adjust the spacing between image
	and label in button.  (#320431, James Moger)
2006-06-01 13:42:14 +00:00
Matthias Clasen
89eb540bd4 *** empty log message *** 2006-06-01 12:38:29 +00:00
Matthias Clasen
09f4906d21 bits from the preview patch 2006-06-01 12:38:07 +00:00
Matthias Clasen
46466176e2 add docs 2006-06-01 05:19:16 +00:00
Matthias Clasen
c8cbe9a1bc Intern signal names. 2006-06-01 05:02:56 +00:00
Matthias Clasen
b79221eea7 more canonical signal names 2006-06-01 04:58:18 +00:00
Matthias Clasen
4d5e99e6ca use canonical signal names 2006-06-01 04:54:49 +00:00
Matthias Clasen
ccb447de94 more doc fixes 2006-06-01 03:56:42 +00:00
Matthias Clasen
df7c74bbb6 more doc fixes 2006-06-01 03:42:56 +00:00
Matthias Clasen
f02a41b0dc Add docs 2006-06-01 03:14:27 +00:00
Matthias Clasen
f1c406424f typo fix 2006-06-01 01:57:01 +00:00
Matthias Clasen
b641d2df47 Don't treat manual_scale like a percentage, its a factor.
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.
2006-05-31 19:46:02 +00:00