1. 09 Mar, 2006 3 commits
  2. 08 Mar, 2006 4 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
      gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added · 5afb4f0f
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkscreen.h
      	* gdk/x11/gdkscreen-x11.c
      	* gdk/gdk.symbols: added gdk_screen_get_active_window() and
      	gdk_screen_get_window_stack() (patch from maemo-gtk).
      	Fixes bug #320881.
      
      	* gdk/directfb/gdkscreen-directfb.c
      	* gdk/quartz/gdkscreen-quartz.c
      	* gdk/win32/gdkscreen-win32.c: added the functions as stubs.
      5afb4f0f
    • 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
    • Michael Natterer's avatar
      make sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan · 3961acfb
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
      	text_area_width is always >= 0. Fixes bug #316712 (Dan Winship).
      3961acfb
  3. 07 Mar, 2006 4 commits
    • Federico Mena Quintero's avatar
      Cancel drags when the grabs get broken. Fixes bug #333056: · 712dc6b8
      Federico Mena Quintero authored
      2006-03-07  Federico Mena Quintero  <federico@novell.com>
      
      	Cancel drags when the grabs get broken.  Fixes bug #333056:
      
      	* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
      	a guint, not guint32.
      	(gtk_drag_source_event_cb): Return gboolean, not gint.
      	(gtk_drag_anim_timeout): Likewise.
      	(gtk_drag_motion_cb): Likewise.
      	(gtk_drag_key_cb): Likewise.
      	(gtk_drag_button_release_cb): Likewise.
      	(gtk_drag_abort_timeout): Likewise.
      	(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
      	ipc_widget.
      	(gtk_drag_source_info_destroy): Disconnect from the
      	"grab-broken-event" callback.
      	(gtk_drag_end): Likewise.
      	(gtk_drag_grab_broken_event_cb): New callback.  We cancel the drag
      	if the grab was broken and not regrabbed by the DnD code.
      
      2006-03-07  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
      	Hack to let the treeview's button-press-event handler run before
      	ours.  This lets the selection be updated before we pop up a
      	context menu.
      712dc6b8
    • Tim Janik's avatar
      depend on glib-2.10.1. · 11ca120a
      Tim Janik authored
      Tue Mar  7 17:16:34 2006  Tim Janik  <timj@gtk.org>
      
              * configure.in: depend on glib-2.10.1.
      
              * gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags.
              this requires glib-2.10.1.
      11ca120a
    • 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
  4. 06 Mar, 2006 3 commits
  5. 04 Mar, 2006 2 commits
  6. 03 Mar, 2006 3 commits
  7. 02 Mar, 2006 3 commits
  8. 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
  9. 27 Feb, 2006 5 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
      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 3 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
    • 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
  14. 22 Feb, 2006 4 commits