1. 09 Jun, 2006 1 commit
  2. 08 Jun, 2006 3 commits
  3. 07 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Clean up APIs: Make async a setting instead of separate calls. Combine · 9bea3859
      Alexander Larsson authored
      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
      9bea3859
  4. 02 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded · fad69ba0
      Alexander Larsson authored
      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.
      fad69ba0
  5. 01 Jun, 2006 1 commit
  6. 31 May, 2006 1 commit
    • Alexander Larsson's avatar
      Further updates from the GtkPrintContext functions rename. · 50d17b73
      Alexander Larsson authored
      2006-05-31  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* demos/gtk-demo/printing.c:
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.c:
      	Further updates from the GtkPrintContext functions rename.
      
      	* modules/printbackends/cups/gtkcupsutils.c:
      	Always set requesting-user-name when doing cups requests.
      50d17b73
  7. 24 May, 2006 1 commit
  8. 22 May, 2006 2 commits
    • Alexander Larsson's avatar
      Make sure grab-notify is emitted on toplevels as well as child widgets. · d2cb6c6e
      Alexander Larsson authored
      2006-05-22  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkmain.c:
      	Make sure grab-notify is emitted on toplevels as well as
      	child widgets.
      
      	* gtk/Makefile.am:
      	* gtk/gtkwin32embedwidget.[ch]
      	Add new widget used for win32 port to embed gtk+
      	widgets in windows dialog.
      
      	* gtk/gtkmarshalers.list:
      	Add POINTER:VOID
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation.[ch]:
      	Generic support for custom widgets in print dialog.
      
      	* gtk/gtkprintoperation-win32.c:
      	Implement custom widget support for win32.
      
      	* tests/print-editor.c:
      	Allow setting of font using custom widgets in the print dialog.
      d2cb6c6e
    • Behdad Esfahbod's avatar
      Update. · 3023c03a
      Behdad Esfahbod authored
      3023c03a
  9. 20 May, 2006 1 commit
  10. 15 May, 2006 1 commit
    • Alexander Larsson's avatar
      Added gtk_print_job_set/get_track_print_status · 3f529199
      Alexander Larsson authored
      2006-05-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintjob.[ch]:
      	Added gtk_print_job_set/get_track_print_status
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation.[ch]:
      	Add gtk_print_operation_set_track_print_status.
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement track_print_status on unix
      
      	* gtk/gtkprintoperation-win32.c:
      	Implement track_print_status on win32
      
      	* gtk/gtk.symbols:
      	Added symbols
      
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	Implement track_print_status for cups
      
      	* tests/print-editor.c:
      	Test track_print_status.
      3f529199
  11. 12 May, 2006 1 commit
    • Alexander Larsson's avatar
      Fix build errors. · c459feaa
      Alexander Larsson authored
      2006-05-12  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkrecentmanager.c:
      	Fix build errors.
      
      	* gtk/gtk.symbols:
      	* demos/gtk-demo/printing.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.c:
      	Rename functions from nr_of_pages to n_pages, and num_copies to
      	n_copies to match other gtk+ names.
      
      	* gtk/gtkmenu.c: (gtk_menu_popdown):
      	Only re-set window group on popdown if we set it on popup (i.e.
      	if there is a parent menu shell).
      	Fixed part of bug #340401
      
      	* gtk/gtkwindow.c:
      	Add (contruct) property "transient-for" to GtkWindow. This
      	is needed for the fix to bug #340401.
      
      	* gtk/gtkprintunixdialog.c:
      	Use the transient-for property on construction and populate the dialog
      	with widgets after that. This fixes bug #340401.
      	More n_pages renames.
      c459feaa
  12. 05 May, 2006 2 commits
    • Matthias Clasen's avatar
      2.9.0 · 2fba613b
      Matthias Clasen authored
      2fba613b
    • Alexander Larsson's avatar
      Implement per-page paper sizes. · 719050ed
      Alexander Larsson authored
      2006-05-05  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement per-page paper sizes.
      
      	* gtk/gtkprintoperation.c:
      	Implement per-page paper sizes for pdf output.
      	Make gtk_print_operation_set_pdf_target() work again
      
      	* tests/Makefile.am:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.[ch]:
      	Add more test code for printing support.
      	This tests per-page paper sizes & orientation and
      	deriving from GtkPrintOperation.
      719050ed
  13. 04 May, 2006 1 commit
    • Alexander Larsson's avatar
      Added new symbols · c36d8f3c
      Alexander Larsson authored
      2006-05-04  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	Added new symbols
      
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintunixdialog.c:
      	Destroy backends when finalizing dialogs.
      	Fix printer leak in selected_printer_changed.
      
      	* gtk/gtkprintbackend.[ch]:
      	Convert from interface to baseclass.
      	Move printer hashtable here so that the baseclass can handle
      	the slightly complicated ownership model.
      	Add gtk_print_backend_destroy which runs the dispose method,
      	causing the ref-cycles between the backend and its printers
      	to be broken.
      	Add gtk_print_backend_unref_at_idle().
      
      	* gtk/gtkprinter.[ch]:
      	GtkPrinter objects now ref their backend so that its always
      	availible, since its needed for the printer object to work.
      	This causes a reference-cycle that is broken using
      	gtk_print_backend_destroy.
      	Add gtk_printer_compare.
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.c:
      	Implement !show_dialog for unix.
      	Make sure the print data is fully spooled before returning
      	from a sync run_dialog.
      
      
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	Add gtk_cups_request_ipp_add_strings
      
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/cups/gtkprintercups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	Convert backends to derive instead of implementing interface.
      	Move common code into baseclass.
      	CUPS:
      	  Remove the printer polling in dispose, not finalize.
      	  In the cups watch, remove the backend at idle instead of
      	  immediately, since the unref can cause the module to be unloaded.
      	  Limit the number of printer attributes requested
      	  Get printer uri in initial printer listing so that we can use
      	  the printer object immediately.
      
      	* tests/Makefile.am:
      	* tests/testnouiprint.c:
      	Add testcase for !show_dialog.
      c36d8f3c
  14. 03 May, 2006 1 commit
    • Federico Mena Quintero's avatar
      Merged the federico-filename-entry branch, to fix bug #136541. Combined · d955928b
      Federico Mena Quintero authored
      2006-05-03  Federico Mena Quintero  <federico@novell.com>
      
      	Merged the federico-filename-entry branch, to fix bug #136541.
      	Combined ChangeLogs:
      
      	2006-04-17  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
      	Oops, we *do* need to check that we are in OPEN mode before
      	selecting the first row in the file list.  See
      	https://bugzilla.novell.com/show_bug.cgi?id=166906
      	(gtk_file_chooser_default_get_paths): If we are in the case for
      	the file list, and the list has no selected rows, jump to the case
      	for the filename entry.  This is so that
      
      	       1. The user types a filename in the SAVE filename entry
      	          ("foo.txt").
      
      	       2. He then double-clicks on a folder ("bar") in the file
      		  list.
      
      	will yield the expected "bar/foo.txt" selection.
      
      	2006-03-29  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkpathbar.c (gtk_path_bar_init): Reduce the inter-button
      	spacing to 0.
      
      	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Make the
      	location label bold.
      
      	2006-03-29  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserdefault.c (location_mode_set): Just change the
      	location_mode field if we are in SAVE/CREATE_FOLDER modes.
      	(gtk_file_chooser_default_get_paths): Get the path based on the
      	currently focused widget, or the last-focused widget.  This is
      	what we should have been doing in the beginning, but it worked out
      	fine because we didn't have the possibility of a filename entry in
      	OPEN mode.
      	(gtk_file_chooser_default_should_respond): Handle the case where
      	the last focused widget is the location_entry.
      
      	2006-03-28  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechoosersettings.[ch]: New files with a simple
      	framework for saving/loading settings from the file chooser in
      	$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_unmap):
      	Save the current settings.
      	(settings_save): New helper function.  We save the location_mode
      	and show_hidden flags.
      	(gtk_file_chooser_default_map): Load the settings.
      	(settings_load): New helper function.
      
      	* gtk/gtkfilechooserentry.c
      	(_gtk_file_chooser_entry_set_file_part): Oops, don't modify
      	in_change.  Our handlers are what set the file_part, so they
      	*must* be run when we modify the text.
      
      	2006-03-27  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
      	Removed the save_file_name_entry.  We'll make this be the same as
      	the location_entry widget.
      	(struct _GtkFileChooserDefault): Leave only location_button,
      	location_entry_box, location_label, location_entry.  We'll use a
      	single toggle button for the location entry, which will appear
      	below the path bar.
      	(struct _GtkFileChooserDefault): Added a
      	processing_pending_selections flag.
      
      	* gtk/gtkfilechooserdefault.c (save_widgets_create): Destroy the
      	old location_entry if necessary, and hide the location toggle
      	widgets.
      	(update_chooser_entry): In multiple selection mode, just clear the
      	location_entry.
      	(check_save_entry): Allow running in OPEN or SELECT_FOLDER modes
      	if we are in LOCATION_MODE_FILENAME_ENTRY.
      	(gtk_file_chooser_default_should_respond): Switch to a folder if
      	the location_entry contains a folder name in OPEN and SAVE mode,
      	not just SAVE mode.  If the entry doesn't contain a folder name,
      	but is otherwise well-formed, and we are in OPEN mode, return that
      	we should respond with that filename.
      	(gtk_file_chooser_default_initial_focus): Focus the location_entry
      	if appropriate.
      	(browse_widgets_create): Create the location_entry_box and the
      	location_label here.
      	(update_appearance): Call location_mode_set() when switching back
      	to OPEN/SELECT_FOLDER mode.  Hide the location_button when
      	switching to SAVE/CREATE_FOLDER mode.
      	(pending_select_paths_process): Turn the
      	processing_pending_selections flag on and off around changes to
      	the current selection.  Don't special-case OPEN mode anymore,
      	since the new flag will take care of things in
      	update_chooser_entry().
      	(update_chooser_entry): Don't do anything if
      	processing_pending_selections is TRUE.  This keeps the entry from
      	being polluted when changing folders.
      	(location_popup_handler): In OPEN/SELECT_FOLDER modes, toggle
      	between the path bar and the entry.  In SAVE/CREATE_FOLDER modes, simply focus the
      	location_entry.
      	(update_from_entry): Removed.
      	(location_entry_create): Removed.
      	(open_location_cb): Removed.
      	(file_list_build_popup_menu): Don't add an "Open _Location" menu item.
      	(location_entry_set_initial_text): Don't do anything if
      	current_folder is NULL.
      
      	* gtk/gtkfilechooserentry.c
      	(_gtk_file_chooser_entry_set_file_part): Turn in_change on and off
      	around the call to gtk_entry_set_text().  This makes completion
      	not happen when the caller has explicitly set a name.
      
      	2006-03-24  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
      	Added fields location_mode_box, location_pathbar_radio,
      	location_filename_radio, location_widget_box, location_label,
      	location_entry.  The radio buttons will switch between the pathbar
      	and the location entry; the other boxes are for layout purposes.
      	(enum LocationMode): New enum.
      	(struct _GtkFileChooserDefault): Added a location_mode field.
      
      	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Create the
      	location radio buttons to switch between the pathbar and the
      	location entry.  Pack the browse_path_bar in the new
      	location_widget_box instead of a generic hbox.
      	(location_buttons_create): New function.
      	(gtk_file_chooser_default_init): Initialize impl->location_mode.
      	(location_switch_to_path_bar): New function.
      	(location_switch_to_filename_entry): New function.
      
      	* gtk/gtkfilechooserbutton.c (model_add_special): The display_name
      	should not be const.
      d955928b
  15. 26 Apr, 2006 1 commit
  16. 25 Apr, 2006 1 commit
    • Søren Sandmann's avatar
      Create 'composited' label. · b9d1a034
      Søren Sandmann authored
      Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testgtk.c (create_alpha_window): Create 'composited' label.
      
      	* tests/testgtk.c (on_composited_changed): New function, change
      	the label to say whether the screen is composited or not.
      
      	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
      	composited status change, invalidate the window and propagate the signal;.
      
      	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
      	if reset_type_hint is TRUE.
      
      	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
      	the old hints, store a shadow copy in the public window->type_hint
      	bitfield, otherwise set this field to normal. Set the private
      	field to the type hint.
      
      	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint.
      
      	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
      	"reset_type_hint" indicating whether the type hint needs to be
      	reset. New field type_hint containing a GdkWindowTypeHint.
      
      	* gtk/gtkwidget.c (propagate_composited_changed): New function to
      	propagate changes in composited status.
      	(gtk_widget_class_init): Add composited_changed signal.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.
      
      	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.
      
      	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
      	the item belongs to a menubar. Set the type_hint appropriately
      	depending on the outcome.
      
      	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
      	changed on the attach widget.
      
      	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
      	set the transient_for property for menus.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
      	transient for the toplevel.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
      	transient-for, for the popup window.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
      	new window types.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
      	for new window types.
      
      	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
      	New function called whenever the compositing manager comes and goes.
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
      	check_is_composited): New functions
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
      	_gdk_x11_screen_process_owner_change when an
      	XFixesSelectionNotifyEvent is received.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
      	_gdk_x11_screen_request_cm_notification() on all screens.
      
      	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
      	implementation.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
      	'composited-changed'.
      
      	* gdk/gdkwindow.h: Add new EWMH window types.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
      b9d1a034
  17. 21 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Merge the gtk-printing branch. For more detailed ChangeLog entries, see · 27f746fb
      Alexander Larsson authored
      2006-04-21  Alexander Larsson  <alexl@redhat.com>
      
              Merge the gtk-printing branch.
      	For more detailed ChangeLog entries, see the branch.
      
      	* .cvsignore:
      	* Makefile.am:
      	* configure.in:
      	* docs/tools/widgets.c:
      	* gtk+-unix-print-2.0.pc.in:
      	* gtk/Makefile.am:
      	* gtk/gen-paper-names.c:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkenums.h:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkpagesetup.[ch]:
      	* gtk/gtkpagesetupunixdialog.[ch]:
      	* gtk/gtkpapersize.[ch]:
      	* gtk/gtkprint-win32.[ch]:
      	* gtk/gtkprintbackend.[ch]:
      	* gtk/gtkprintcontext.[ch]:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.[ch]:
      	* gtk/gtkprinteroption.[ch]:
      	* gtk/gtkprinteroptionset.[ch]:
      	* gtk/gtkprinteroptionwidget.[ch]:
      	* gtk/gtkprintjob.[ch]:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* gtk/gtkprintunixdialog.[ch]:
      	* gtk/paper_names.c:
      	* gtk/paper_names_offsets.c:
      	Platform independent printing API and implementations
      	for unix and windows.
      
      	* gtk/gtkstock.h:
      	* gtk/stock-icons/24/gtk-orientation-landscape.png:
      	* gtk/stock-icons/24/gtk-orientation-portrait.png:
      	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
      	Add stock icons for page orientation.
      
      	* modules/Makefile.am:
      	* modules/printbackends/Makefile.am:
      	* modules/printbackends/cups/Makefile.am:
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
      	* modules/printbackends/cups/gtkprintercups.[ch]:
      
      	Cups printing backend for unix.
      
      	* modules/printbackends/lpr/Makefile.am:
      	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
      	lpr printing backend for unix.
      
      	* modules/printbackends/pdf/Makefile.am:
      	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
      	print-to-pdf printing backend for unix.
      
      	* tests/.cvsignore:
      	* tests/Makefile.am:
      	* tests/print-editor.c:
      	Test application for printing.
      
      	* gdk/gdk.symbols:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkwin32.h:
      	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
      	mainloop while displaying a win32 common dialog.
      
      	* gdk/directfb/Makefile.am:
      	Whitespace cleanup.
      27f746fb
  18. 20 Apr, 2006 1 commit
  19. 07 Apr, 2006 1 commit
    • Hans Breuer's avatar
      updated · 0c6e0e40
      Hans Breuer authored
      2006-04-07  Hans Breuer  <hans@breuer.org>
      
      	* gtk/makefile.msc.in tests/makefile.msc : updated
      0c6e0e40
  20. 05 Apr, 2006 1 commit
  21. 30 Mar, 2006 1 commit
  22. 29 Mar, 2006 1 commit
  23. 23 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Support subclasses in RC files. (#142417, Todd Berman, patch based on a · ac879843
      Matthias Clasen authored
      2006-03-23  Matthias Clasen  <mclasen@redhat.com>
      
      	Support subclasses in RC files.  (#142417, Todd Berman, patch
      	based on a patch by Benjamin Berg)
      
      	* gtk/gtkrc.h:
      	* gtk/gtkrc.c: Support <classname> elements in widget_class paths
      	in rc files which match any classes derived from named class.
      
      	(_gtk_rc_init): Use the new syntax in the default rc string.
      
      	* gtk/gtkbindings.c: Support the new syntax for bindings too.
      
      	* tests/testrc.c: Tests for widget_class path matching
      ac879843
  24. 22 Mar, 2006 3 commits
  25. 15 Mar, 2006 1 commit
  26. 14 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Add test cases for alignment. · f50363d3
      Matthias Clasen authored
      2006-03-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testcellrenderertext.c: Add test cases for alignment.
      
      	* gtk/gtkcellrenderertext.c: Add an alignment property,
      	and fix some cases where ellipsize_set was being used to
      	mean "we're ellipsizing" even when ellipsize was set to NONE.
      	(#318761, Ross Burton)
      f50363d3
  27. 08 Mar, 2006 2 commits
    • Carlos Garnacho's avatar
      Rename ::tab-added and ::tab-removed signals to ::page-added and · 9fc7bdc3
      Carlos Garnacho authored
      2006-03-08  Carlos Garnacho  <carlosg@gnome.org>
      
              Rename ::tab-added and ::tab-removed signals to ::page-added and
              ::page-removed for not conflicting with other tab reordering
              implementations. Fixes bug #333743.
      
              Also rename ::tab-reordered to ::page-reordered, and emit it in
              gtk_notebook_reorder_child () to make it behave consistently with the
              other two signals.
      
              * gtk/gtknotebook.c (gtk_notebook_class_init): rename signals.
              (gtk_notebook_reorder_tab)
              (gtk_notebook_button_release)
              (gtk_notebook_remove)
              (gtk_notebook_real_insert_page): emit respectively renamed signals
              (gtk_notebook_reorder_child): also emit ::page-reordered here
      
              * tests/testnotebookdnd.c: use renamed signals
      9fc7bdc3
    • Michael Natterer's avatar
      zero-initialize the GValue before calling g_value_init(). · a75c6faf
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* tests/prop-editor.c (unichar_changed): zero-initialize the
      	GValue before calling g_value_init().
      a75c6faf
  28. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  29. 23 Feb, 2006 1 commit
  30. 31 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Actually implement visibility handling, and add · 6e6067d9
      Matthias Clasen authored
      2006-01-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkassistant.h:
      	* gtk/gtkassistant.c: Actually implement visibility handling,
      	and add gtk_assistant_update_buttons_state.
      
      	* tests/testassistant.c: Test visibility handling.
      6e6067d9
  31. 30 Jan, 2006 1 commit
  32. 29 Jan, 2006 1 commit
  33. 26 Jan, 2006 1 commit