Commit Graph

12660 Commits

Author SHA1 Message Date
Matthias Clasen
8a763ca49d Fix handling of stock items without icons in action-based ui. (#342458,
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	Fix handling of stock items without icons in action-based
	ui.  (#342458, Callum McKenzie)

	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set
	the stock id even if there is no icon for it.

	* gtk/gtkaction.c (connect_proxy):
	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
	construct a stock icon if the stock item has an icon.
2006-06-20 18:01:23 +00:00
Christian Persch
0bce4d271a Convert input to filename encoding and construct an URI from that. Add
2006-06-20  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkprinteroptionwidget.c: (filesave_changed_cb),
	(alternative_set), (construct_widgets): Convert input to filename
	encoding and construct an URI from that.
	* gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys.
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines.
	Step 1 from bug #339592.
2006-06-20 17:36:55 +00:00
Matthias Clasen
2406a5b256 Better fix.
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better
	fix.
2006-06-20 14:12:15 +00:00
Matthias Clasen
59862b0901 broken pipe 2006-06-20 13:35:07 +00:00
Matthias Clasen
e9f1c1db8c Remove unused print-to-file setting.
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintsettings.h:
	* gtk/gtkprintsettings.c: Remove unused print-to-file setting.
2006-06-20 13:31:35 +00:00
Theppitak Karoonboonyanan
8ab92dd9b1 Updated Thai translation.
2006-06-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2006-06-20 12:16:26 +00:00
Carlos Garnacho
1cd8afc8ad unset the pressed button here. (gtk_notebook_grab_notify): stop reorder
2006-06-20  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_stop_reorder): unset the pressed
        button here.
        (gtk_notebook_grab_notify): stop reorder when the widget becomes
        shadowed. Fixes bug #335873
2006-06-20 11:48:21 +00:00
Christian Persch
847d09cc9f Set default action area spacing to HIG-compliant 6px. Bug #345106,
2006-06-18  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkdialog.c: (gtk_dialog_class_init): Set default action area
	spacing to HIG-compliant 6px. Bug #345106, follow-up from bug #163850.
2006-06-20 11:39:07 +00:00
Ankitkumar Rameshchandra Patel
e39bd25bb8 Updated Translation 2006-06-20 10:31:41 +00:00
Felix I
657047249f Tamil Translation updated 2006-06-20 09:12:45 +00:00
Rajesh Ranjan
8a37f30e30 updated by rranjan@redhat.com 2006-06-20 07:05:35 +00:00
Ankitkumar Rameshchandra Patel
ed5e89b51f Updated Gujarati Translations 2006-06-20 05:30:12 +00:00
Matthias Clasen
2492d43d5d Small doc fix. (#345176, Claudio Saavedra)
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest):
	Small doc fix.  (#345176, Claudio Saavedra)
2006-06-20 04:35:29 +00:00
Matthias Clasen
72c77cf67c Update the docs. (#345194, Yevgen Muntyan)
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_functions): Update
	the docs. (#345194, Yevgen Muntyan)
2006-06-20 04:30:11 +00:00
Matthias Clasen
103bba09e4 (gtk_tree_view_set_column_drag_info): Don't crash if the
column_drop_func says always no.  (#344850, Christian Weiske)
2006-06-20 03:28:36 +00:00
Matthias Clasen
a5aaf6b8a5 Don't leak dash_list.
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Don't leak
	dash_list.
2006-06-20 01:57:26 +00:00
Matthias Clasen
219aa66d5d Make transparent tray icons work. (#320034, based on a patch by Dan
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	Make transparent tray icons work.  (#320034, based on a
	patch by Dan Winship)

	* gtk/gtktrayicon-x11.c (gtk_tray_icon_init): Make trayicons
	app-paintable and non-double buffered.

	* gtk/gtkrc.c (_gtk_rc_init): Give tray icons a parent-relative
	background in the default style.
2006-06-19 23:53:28 +00:00
Francisco Javier F. Serrador
e13ccaa957 Updated Spanish translation.
2006-06-20  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-06-19 23:47:05 +00:00
Matthias Clasen
eb6f79d516 Marks strings for translation. (#314278, Claudio Saavedra) `
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c: Marks strings for translation.  (#314278,
	Claudio Saavedra)
`
2006-06-19 22:32:03 +00:00
Matthias Clasen
7969d88c42 Forgotten files 2006-06-19 22:18:38 +00:00
Matthias Clasen
cb7144f250 Don't call g_str_has_prefix on a NULL strung. (#344897, Tommi Komulainen)
* gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix): Don't
	call g_str_has_prefix on a NULL strung.  (#344897, Tommi Komulainen)
2006-06-19 21:20:56 +00:00
Matthias Clasen
894b902206 Avoid a near-duplicate string and add some translator comments. (#345320,
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c:
	Avoid a near-duplicate string and add some
	translator comments.  (#345320, #345321, Hendrik Richter)
2006-06-19 17:43:59 +00:00
Matthias Clasen
2b125d2284 Avoid a near-duplicate string. (#345320, Hendrik Richter)
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder):
	Avoid a near-duplicate string.  (#345320, Hendrik Richter)
2006-06-19 17:40:43 +00:00
Matthias Clasen
c8747d974d Document GtkPrinterFunc
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkprinter.sgml: Document GtkPrinterFunc

	* gtk/gtk-sections.txt: Add gtk_enumerate_printers
2006-06-19 17:32:46 +00:00
Federico Mena Quintero
05d785685b Clarify the use of these functions, to avoid the case where a chooser is
2006-06-19  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder)
	(gtk_file_chooser_get_current_folder_uri): Clarify the use of
	these functions, to avoid the case where a chooser is in
	SELECT_FOLDER mode and people mistakenly use _get_current_folder()
	to get the selection:  they should use _get_filename() instead.
2006-06-19 17:16:14 +00:00
Alexander Larsson
ff865a441f Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and a
2006-06-19  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtklabel.[ch]:
	Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and
	a wrap-mode property that lets you set the PangoWrapMode.
2006-06-19 14:27:50 +00:00
Hendrik Richter
f1191fdf33 Updated German translation.
2006-06-19  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-06-19 14:10:13 +00:00
Matthias Clasen
6b67e2b67b Another forgotten change. 2006-06-19 11:43:34 +00:00
Matthias Clasen
3742f415ea Forgotten file 2006-06-19 11:42:28 +00:00
Rajesh Ranjan
1e69c86ab0 updated by rranjan@redhat.com for hindi 2006-06-19 10:33:29 +00:00
Felix I
eecdae32b1 Tamil Translation updated 2006-06-19 06:59:20 +00:00
Felix I
3bc26167a6 Tamil transaltion updated 2006-06-19 06:12:39 +00:00
Ankitkumar Rameshchandra Patel
a7af6a464a Updated Gujarati Translations 2006-06-19 06:11:10 +00:00
Matthias Clasen
7a44ce3366 Add a capabilities argument to the printer_get_options method and to the
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c (_gtk_printer_get_options):
	* gtk/gtkprintbackend.h: Add a capabilities argument to the
	printer_get_options method and to the _gtk_printer_get_options
	function

	* modules/printbackends/lpr/gtkprintbackendlpr.c
	(lpr_printer_get_options):
	* modules/printbackends/pdf/gtkprintbackendpdf.c
	(pdf_printer_get_options):
	* modules/printbackends/cups/gtkprintbackendcups.c
	(cups_printer_get_options):
	* gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust
	callers and implementations.
2006-06-19 05:09:49 +00:00
Matthias Clasen
2858512ebe Add a GENERATE_PS capability. And use it here.
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintjob.h: Add a GENERATE_PS capability.
	* gtk/gtkprintunixdialog.c (is_printer_active): And use it here.
2006-06-19 04:21:22 +00:00
Francisco Javier F. Serrador
faef652d37 Updated Spanish translation.
2006-06-19  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-06-19 04:16:56 +00:00
Matthias Clasen
e6cdab1bfc Don't open a display connection.
2006-06-18  Matthias Clasen  <mclasen@redhat.com>

	* tests/testnouiprint.c (main): Don't open a display connection.

	* gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make
	this work without a display connection.  (339702, Alexander Larsson)
2006-06-19 03:52:10 +00:00
Matthias Clasen
b57f1571de doc improvement 2006-06-19 02:02:49 +00:00
Rhys Jones
bd5fa38f76 Updated Welsh translation.
2006-06-18  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2006-06-18 21:38:35 +00:00
Benoît Dejean
2d02d2f861 Updated French translation.
2006-06-18  Benoît Dejean  <benoit@placenet.org>

	* fr.po: Updated French translation.
2006-06-18 10:36:11 +00:00
Changwoo Ryu
e6d71649fa Updated Korean translation.
2006-06-17  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2006-06-17 06:33:26 +00:00
Matthias Clasen
374e181734 Fix a typo: s/Extention/Extension/.
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo:
	s/Extention/Extension/.
2006-06-17 05:19:18 +00:00
Matthias Clasen
9ee7d66fa3 ~
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c: Clean up the handling of
	printer-specific options. There is just one extension point on the
	main tab now, and all options in the GtkPrintDialogExtension
	group are put there.
2006-06-17 05:15:49 +00:00
Matthias Clasen
320660fb81 Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE which is semantically the same as
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprinteroption.h:
	* gtk/gtkprinteroption.c: Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE
	which is semantically the same as PICKONE, but is intended to
	show all options all the time.

	* gtk/gtkprinteroptionwidget.c: Implement ALTERNATIVE as radio
	group.
2006-06-17 04:53:22 +00:00
Matthias Clasen
505c6149cc Use stock print icons; make it compile 2006-06-17 01:04:50 +00:00
Matthias Clasen
f09e64b335 Fix a warning 2006-06-16 22:59:39 +00:00
Matthias Clasen
b69212f681 Don't grow additional columns.
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
	additional columns.
2006-06-16 18:33:29 +00:00
Matthias Clasen
956bcb4393 Add a GtkPrintSettings parameter to the printer_create_cairo_surface
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the
	printer_create_cairo_surface method.

	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* gtk/gtkprinter.c (_gtk_printer_create_cairo_surface):
	* gtk/gtkprinter-private.h:
	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.
2006-06-16 18:29:09 +00:00
Matthias Clasen
a0063d39d2 Don't leak match data. (#345107, Christian Weiske)
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
	leak match data.  (#345107,  Christian Weiske)
2006-06-16 17:42:40 +00:00
Matthias Clasen
bae05d11d4 Move the conflict label out of the button box. (#339456, Christian Persch)
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
	label out of the button box.  (#339456, Christian Persch)
2006-06-16 17:38:00 +00:00