1. 07 Mar, 2006 2 commits
    • 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
    • Matthias Clasen's avatar
      Take cursor width into account when calculating the area to be · 1f5c2948
      Matthias Clasen authored
      2006-03-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (text_window_invalidate_cursors): Take
      	cursor width into account when calculating the area to
      	be invalidated.  (#333377, #323401 Steve Frécinaux)
      1f5c2948
  2. 06 Mar, 2006 5 commits
  3. 04 Mar, 2006 1 commit
  4. 03 Mar, 2006 2 commits
    • Tor Lillqvist's avatar
      Avoid emitting superfluous preedit_changed signals. Thanks to Matthias. · 87ff791d
      Tor Lillqvist authored
      2006-03-03  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_commit_char)
      	(gtk_im_context_simple_reset): Avoid emitting superfluous
      	preedit_changed signals. Thanks to Matthias. (#319407)
      87ff791d
    • Michael Natterer's avatar
      Applied modified patch from maemo-gtk which makes separators more · 43cb6010
      Michael Natterer authored
      2006-03-03  Michael Natterer  <mitch@imendio.com>
      
      	Applied modified patch from maemo-gtk which makes separators more
      	themeable. Fixes bug #332022.
      
      	* gtk/gtkwidget.c: added style properties "wide-separators",
      	"separator-width" and "separator-height".
      
      	* gtk/gtkhseparator.c
      	* gtk/gtkvseparator.c
      	* gtk/gtkmenuitem.c
      	* gtk/gtktoolbar.c: honor the new settings and paint separators
      	using gtk_paint_box() if wide-separators is true.
      43cb6010
  5. 02 Mar, 2006 3 commits
  6. 01 Mar, 2006 1 commit
    • Kristian Rietveld's avatar
      rename to _gtk_tree_selection_row_is_selectable and export internally, · 2e6ba401
      Kristian Rietveld authored
      2006-03-01  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeselection.c (row_is_selectable): rename to
      	_gtk_tree_selection_row_is_selectable and export internally,
      	(gtk_tree_selection_real_select_node): changed so it is always
      	possible to unselect insensitive nodes, changed the logic a bit to
      	be more clear.
      
      	* gtk/gtktreeprivate.h: add _gtk_tree_selection_row_is_selectable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_changed): Unselect a row if
      	it became insensitive.
      2e6ba401
  7. 27 Feb, 2006 4 commits
    • Federico Mena Quintero's avatar
      Check that the fontsel has a screen assigned before doing anything. This · 563bfa81
      Federico Mena Quintero authored
      2006-02-27  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Check that
      	the fontsel has a screen assigned before doing anything.  This
      	will at least warn the caller of what is wrong, since we only
      	populate the family_list until we get a screen.  Also, put the
      	reference docs here.  Fixes bug #332756.
      	(gtk_font_selection_dialog_get_font_name): Document this here.
      	(gtk_font_selection_get_font_name): Document this here; mention
      	that the font names get normalized, so the result of this function
      	may not be the same as what you set with
      	gtk_font_selection_set_font_name().
      563bfa81
    • Matthias Clasen's avatar
      Fix symbol lists for make check. · 2da390bc
      Matthias Clasen authored
      2006-02-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtktrayicon-x11.c: Fix symbol lists for make check.
      2da390bc
    • Matthias Clasen's avatar
      slight cleanup · 01f9d21e
      Matthias Clasen authored
      01f9d21e
    • Matthias Clasen's avatar
      Comment out some unused code, and fix the reference point of composited · aaed59e2
      Matthias Clasen authored
      2006-02-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused
      	code, and fix the reference point of composited drag cursors.
      	(#320132, Christian Neumair)
      aaed59e2
  8. 25 Feb, 2006 1 commit
    • Federico Mena Quintero's avatar
      Make the column header visible, and make it be "_Places". Changed the · 50d9a067
      Federico Mena Quintero authored
      2006-02-24  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Make the
      	column header visible, and make it be "_Places".  Changed the
      	accessible object name to Places as well.  Fixes bug #331306.
      	(file_pane_create): Do not create the path bar and "create folder"
      	button here...
      	(browse_widgets_create): ... but create them here instead.  This
      	moves the path bar to be above both the hpaned, giving it the full
      	width of the dialog.  Fixes bug #327733.
      50d9a067
  9. 24 Feb, 2006 1 commit
  10. 23 Feb, 2006 2 commits
    • Matthias Clasen's avatar
      Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook. · 2bec6c3f
      Matthias Clasen authored
      2006-02-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.h: Add a reorder_tab keynav signal and an
      	insert_page vfunc to GtkNotebook.
      
      	* gtk/gtk.symbols:
      	* gtk/gtknotebook.c: Support notebook DND. New API includes
      	gtk_notebook_set_window_creation_hook,
      	gtk_notebook_[gs]et_group_id,
      	gtk_notebook_[gs]et_tab_reorderable,
      	gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)
      2bec6c3f
    • Matthias Clasen's avatar
      Fix macro declaration · 6560be3b
      Matthias Clasen authored
      2006-02-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextiter.c: Fix macro declaration
      
      	* gtk/gtkaboutdialog.c: Remove an accidentally included function.
      6560be3b
  11. 22 Feb, 2006 6 commits
  12. 21 Feb, 2006 1 commit
  13. 20 Feb, 2006 3 commits
    • Matthias Clasen's avatar
      Properly update internal state when child visibility changes. (#331785, · f6eedc86
      Matthias Clasen authored
      2006-02-20  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtknotebook.c: Properly update internal state
              when child visibility changes.  (#331785, Sebastien Bacher)
      f6eedc86
    • Matthias Clasen's avatar
      Support input shapes: (#331070) · 1ad93a68
      Matthias Clasen authored
      2006-02-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Support input shapes:  (#331070)
      
      	* gdk/gdk.symbols:
      	* gdk/gdkdisplay.h:
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes)
      	(gdk_display_supports_input_shapes): Functions to determine
      	if a display supports shaped windows or input shapes.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region):
      	(gdk_window_input_shape_combine_mask):
      	(gdk_window_set_child_input_shapes):
      	(gdk_window_merge_child_input_shapes): Input shape versions
      	of the window shape API.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwidget.h:
      	* gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask):
      	New function to set an input shape on a widget.
      1ad93a68
    • Matthias Clasen's avatar
      Fix a cast. · 2447b036
      Matthias Clasen authored
      2006-02-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtklinkbutton.c (gtk_link_button_class_init): Fix
      	a cast.
      2447b036
  14. 17 Feb, 2006 2 commits
    • Matthias Clasen's avatar
      DND keynav support: · 94cb364c
      Matthias Clasen authored
      2006-02-17  Matthias Clasen  <mclasen@redhat.com>
      
              DND keynav support:
      
              * gtk/gtkdnd.c (gtk_drag_update_idle): Protect against
              info->last_event being NULL.
              (gtk_drag_key_cb): Handle arrow keys to move the drag icon
              and space or enter to drop.
      94cb364c
    • Kristian Rietveld's avatar
      Only update the virtual root if the child path is an ancestor of the · 2acb0491
      Kristian Rietveld authored
      2006-02-17  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
      	Only update the virtual root if the child path is an ancestor
      	of the virtual root.  (Patch from Markku Vire).
      2acb0491
  15. 16 Feb, 2006 1 commit
  16. 14 Feb, 2006 2 commits
  17. 13 Feb, 2006 1 commit
  18. 11 Feb, 2006 1 commit
  19. 10 Feb, 2006 1 commit