1. 16 Mar, 2006 4 commits
  2. 15 Mar, 2006 2 commits
  3. 14 Mar, 2006 2 commits
    • 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
    • Matthias Clasen's avatar
      Make return and release work again to commit a hex sequence. Additionally, · 98569f6e
      Matthias Clasen authored
      2006-03-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimcontextsimple.c: Make return and release work again
      	to commit a hex sequence. Additionally, make escape reset the
      	im context when in a hex sequence.  (#334423, Behdad Esfahbod)
      98569f6e
  4. 13 Mar, 2006 2 commits
    • Matthias Clasen's avatar
      Make actions work with named icons. (#323484, Jorn Baayen) · fe7a5ebb
      Matthias Clasen authored
      2006-03-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make actions work with named icons.  (#323484, Jorn Baayen)
      
      	* gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry
      	does not contain a registered stock id, interpret it as an
      	icon name.
      
      	* gtk/gtkaction.c: Add an icon-name property to actions and
      	use it for icons if a stock-id is not specified.
      fe7a5ebb
    • Matthias Clasen's avatar
      Don't for the creation of geometry info here. (#114533) · a83b6158
      Matthias Clasen authored
      2006-03-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_compute_configure_request): Don't
      	for the creation of geometry info here.  (#114533)
      a83b6158
  5. 11 Mar, 2006 5 commits
  6. 10 Mar, 2006 7 commits
    • Matthias Clasen's avatar
      Avoid a mnemonic conflict. (#163850, Dennis Cranston) · 33fcc832
      Matthias Clasen authored
      2006-03-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): Avoid a mnemonic
      	conflict.  (#163850, Dennis Cranston)
      33fcc832
    • Matthias Clasen's avatar
      Make the behaviour of the about dialog consistent with other dialogs in · 80ee4131
      Matthias Clasen authored
      2006-03-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Make the behaviour
      	of the about dialog consistent with other dialogs in gtk. If the
      	dialog is constructed with gtk_about_dialog_new(), the creator
      	is reponsible for handling the response by hiding or closing the
      	dialog. gtk_show_about_dialog() handles it by hiding the dialog.
      	(#333360, Daniel Drake)
      
      	* README.in: Mention this change.
      80ee4131
    • Matthias Clasen's avatar
      Apply a patch from Dennis Cranston to make dialogs more consistent · 03dcf45d
      Matthias Clasen authored
      2006-03-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Apply a patch from Dennis Cranston to make dialogs more
      	consistent  (#163850)
      
      	* gtk/gtkcolorsel.c (make_label_spinbutton): Left-align labels.
      
      	* gtk/gtkfontsel.c (gtk_font_selection_init):
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
      	* gtk/gtkcolorsel.c (gtk_color_selection_init):
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	* gtk/gtkinputdialog.c (gtk_input_dialog_init): Update the layout
      	of the dialog to follow HIG recommendations. Also update labels.
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): HIG-compatible
      	spacing.
      	(gtk_message_dialog_font_size_change): Merged into
      	 gtk_message_dialog_style_set.
      03dcf45d
    • Matthias Clasen's avatar
      Remove g_return_if_fail() checks from static functions. · 1f9bbaf3
      Matthias Clasen authored
      2006-03-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkstyle.c: Remove g_return_if_fail() checks
      	from static functions.
      1f9bbaf3
    • Federico Mena Quintero's avatar
      Make Shift-P and Shift-N activate typeahead in GtkTreeView (i.e. they are · bb7fd954
      Federico Mena Quintero authored
      2006-03-10  Federico Mena Quintero  <federico@novell.com>
      
      	Make Shift-P and Shift-N activate typeahead in GtkTreeView
      	(i.e. they are just normal capital letters).  Fixes bug #334098.
      
      	* gtk/gtktreeview.c (gtk_tree_view_add_move_binding): Add an
      	"add_shifted_binding" argument which determines whether we'll add
      	the same binding with GDK_SHIFT_MASK.
      	(gtk_tree_view_class_init): Use add_shifted_binding=FALSE for GDK_p
      	and GDK_n; use TRUE for all the rest.
      bb7fd954
    • Michael Natterer's avatar
      Corrected my email address. · c50d1cfe
      Michael Natterer authored
      c50d1cfe
    • Michael Natterer's avatar
      applied refactored patch from maemo-gtk that replaces the INNER_BORDER · 1d2bcff9
      Michael Natterer authored
      2006-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtkentry.[ch]: applied refactored patch from maemo-gtk that
      	replaces the INNER_BORDER define by an "inner-border" style
      	property of type GtkBorder. Additionally, add an "inner-border"
      	object property plus API which allows to override any theme
      	border, to allow pixel-perfect positioning of entries for inline
      	editing. Fixes bug #333922.
      
      	* gtk/gtk.symbols: add the new public functions.
      1d2bcff9
  7. 09 Mar, 2006 5 commits
  8. 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
  9. 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...
      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
  10. 06 Mar, 2006 3 commits
  11. 04 Mar, 2006 2 commits