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. 05 Mar, 2006 2 commits
  4. 04 Mar, 2006 2 commits
  5. 03 Mar, 2006 6 commits
  6. 02 Mar, 2006 4 commits
  7. 01 Mar, 2006 4 commits
  8. 28 Feb, 2006 2 commits
    • Simos Xenitellis's avatar
      Updated Greek translation · e8bbfbf3
      Simos Xenitellis authored
      e8bbfbf3
    • Anders Carlsson's avatar
      Update documentation now that tiff supports saving. · 38089f43
      Anders Carlsson authored
      2006-02-28  Anders Carlsson  <andersca@imendio.com>
      
              * gdk-pixbuf-io.c:
              Update documentation now that tiff supports saving.
      
              * io-tiff.c:
              (tiff_load_read):
              (tiff_load_write):
              (tiff_load_seek):
              (tiff_load_close):
              (tiff_load_size):
              (tiff_load_map_file):
              (tiff_load_unmap_file):
              (gdk_pixbuf__tiff_image_stop_load):
              Rename callback functions that are used during loading.
      
              (tiff_save_read):
              (tiff_save_write):
              (tiff_save_seek):
              (tiff_save_close):
              (tiff_save_size):
              (create_save_context):
              (free_save_context):
              New callback functions which operate on a memory buffer.
      
              (gdk_pixbuf__tiff_image_save_to_callback):
              Implement saving of pixbufs to tiffs.
      
              (save_to_file_cb):
              (gdk_pixbuf__tiff_image_save):
              New function that saves a pixbuf to a FILE handle. Uses
              save_to_callback.
      
              (fill_vtable):
              Add new functions.
      
              (fill_info):
              Change flags since this module supports writing now.
      38089f43
  9. 27 Feb, 2006 6 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
    • Michael Natterer's avatar
      map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings · 7324be3c
      Michael Natterer authored
      2006-02-27  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
      	"Gtk/TouchscreenMode" XSettings property, remove trailing
      	whitespace.
      
      	* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
      	newlines.
      7324be3c
    • Tim Janik's avatar
      moved and renamed the gdk_settings_names and gdk_settings_map. · e33012b8
      Tim Janik authored
      Mon Feb 27 14:52:50 2006  Tim Janik  <timj@imendio.com>
      
              * gdkevents-x11.c:
              * gdksettings.c: moved and renamed the gdk_settings_names and
              gdk_settings_map.
      
              * gdk/x11/checksettings.c: test program for the gdk_settings_map array.
      
              * gdk/x11/Makefile.am: run checksettings as part of make check.
      e33012b8
    • 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
  10. 26 Feb, 2006 1 commit
  11. 25 Feb, 2006 2 commits
    • PST 2006  Michael Emmel's avatar
      *gdk/directfb/gdkdisplay-directfb.c *gdk/directfb/gdkwindow-directfb.c · ce714a8c
      PST 2006 Michael Emmel authored
      Sat Feb 25 10:35:23 PST 2006  Michael Emmel  <mike.emmel@gmail.com>
          *gdk/directfb/gdkdisplay-directfb.c
          *gdk/directfb/gdkwindow-directfb.c
          Added stubs for shape window functions to fix compile problems
      ce714a8c
    • 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
  12. 24 Feb, 2006 2 commits
  13. 23 Feb, 2006 2 commits
    • Matthias Clasen's avatar
      Add tests · e48a60ce
      Matthias Clasen authored
      e48a60ce
    • 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