1. 18 Jan, 2002 5 commits
    • Raja R Harinath's avatar
      Simplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969> · dcb3638a
      Raja R Harinath authored
      Simplify Makefiles.
      <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
      * gdk/Makefile.am: Remove use of automake conditionals to pick
      library to build.
      * gtk/Makefile.am: Likewise.
      
      * gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib.
      * gtk/Makefile.am (LDFLAGS): Likewise.
      dcb3638a
    • Owen Taylor's avatar
      Fix missing allocation.x/y offsets. (#68962, Jacob Berkman) · a8e2fc30
      Owen Taylor authored
      Thu Jan 17 20:13:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix
      	missing allocation.x/y offsets. (#68962, Jacob
      	Berkman)
      
      	* gtk/gtknotebook.c (gtk_notebook_size_allocate):
      	Queue a redraw on the entire widget if we hide
      	the last page or show the first. (Also #68962)
      a8e2fc30
    • Havoc Pennington's avatar
      change GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it · c6a3df04
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change
      	GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
      	starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work
      	as in the keynav spec, though it makes the interpretation of
      	GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some
      	of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes
      	any sense anyhow.
      c6a3df04
    • Jonathan Blandford's avatar
      For some reason, I was activating a row while just selecting it. Reported · 6bc31ea4
      Jonathan Blandford authored
      Thu Jan 17 16:34:55 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For
      	some reason, I was activating a row while just selecting it.
      	Reported by andersca.
      	(gtk_tree_view_size_request): add a
      	validate_rows_handler to give us a rough width of the widget.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
      	Queue a resize here just in case.  It's needed in over half the
      	cases, and I don't want to do a diff to figure out exactly when
      	it's needed.
      6bc31ea4
    • Matthias Clasen's avatar
      More composite children. · 841e8424
      Matthias Clasen authored
      841e8424
  2. 17 Jan, 2002 10 commits
    • Matthias Clasen's avatar
      Mark children as composite. (#66360) · 77c28630
      Matthias Clasen authored
              * gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
              Mark children as composite. (#66360)
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
              composite children some more. (#66360)
      77c28630
    • Matthias Clasen's avatar
      tiny markup fix · 26b4dd28
      Matthias Clasen authored
      26b4dd28
    • Havoc Pennington's avatar
      new function (which I then decided not to use but I think it's needed to · 9e404f2a
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
      	function (which I then decided not to use but I think it's needed
      	to fix #68963
      	* gtk/gtktextview.c: add page_horizontally action signal and
      	implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
      	hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
      	#53934
      	* gtk/gtkmarshalers.list: add NONE:INT,BOOL
      9e404f2a
    • Owen Taylor's avatar
      Call gtk_selection_remove_all() here, not in destroy/ finalize. (#66636, · cf250934
      Owen Taylor authored
      Thu Jan 17 17:02:38 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
      	gtk_selection_remove_all() here, not in destroy/
      	finalize. (#66636, Sergey Vlasov)
      
      	* gtk/gtkselection.c (gtk_selection_request): Fix
      	reentrancy problem with multiple conversions.
      
      	* gtk/gtkselection.c (gtk_selection_remove_all):
      	Don't remove incrs, we don't need the widget for
      	maintain the incr.
      
      	* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
      	the widget field from here, we don't need it.
      cf250934
    • Owen Taylor's avatar
      Move here, and save/restore the X error handler to allow people using GTK+ · c8698f92
      Owen Taylor authored
      Thu Jan 17 13:08:34 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move
      	here, and save/restore the X error handler to allow
      	people using GTK+ to set the X error handler to something
      	custom without disturbing the operation of GDK.
      
      	* gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push)
      	* gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add
      	dummy implementations.
      
      	* gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c
      	gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop()
      	for all error trapping.
      
      	* gdk/x11/gdkdnd-x11.c: Remove '#if 0' code.
      
      	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix
      	problem where we would add the results anyways,
      	and then add it again if no error occurred, and problem
      	where we could leave _gdk_error_warnings() unset.
      c8698f92
    • Owen Taylor's avatar
      Fix calculation error in the (shouldn't happen) case where · 5ce4d158
      Owen Taylor authored
      Wed Jan 16 12:16:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Fix
              calculation error in the (shouldn't happen) case where
              option_menu->height < child_requisition.height. (Patch
              from Jacob Berkman, #66969)
      5ce4d158
    • Owen Taylor's avatar
      Fix "deleting" filename by adding another boolean parameter to · 9961ddc2
      Owen Taylor authored
      Wed Jan 16 20:28:38 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c: Fix "deleting" filename by adding
      	another boolean parameter to file_selection_populate() -
      	whether to clear the entry. Also, never fill in the
      	entry when the user clicks on something in the
      	directory list. (#6791, Reported by Jos Dehaes and many,
      	many, many others.)
      9961ddc2
    • Havoc Pennington's avatar
      update cursor_y_pos with clamped delta rather than theoretical delta · fe622071
      Havoc Pennington authored
      2002-01-16  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextview.c (gtk_text_view_scroll_pages): update
      	cursor_y_pos with clamped delta rather than theoretical delta
      	(#68788). Also, if we can't page up/down further then jump
      	to top/bottom of the document.
      fe622071
    • Owen Taylor's avatar
      Refresh the dialog on map. (#52877, inspired by request from Murray · 396f5ab1
      Owen Taylor authored
      Wed Jan 16 19:33:41 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_map): Refresh
      	the dialog on map. (#52877, inspired by request from
      	Murray Cumming)
      396f5ab1
    • Owen Taylor's avatar
      Support "optional" bindings. If a binding signal has a boolean return · ee2d7c45
      Owen Taylor authored
      Wed Jan 16 19:23:04 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbindings.c (gtk_binding_entry_activate):
      	Support "optional" bindings. If a binding signal
      	has a boolean return value, and returns FALSE it
      	is as if it didn't exist all.
      
      	* gtk/gtkbindings.c (binding_compose_params): Switch
      	over to GValue.
      
      	* gtk/gtknotebook.[ch]: Make the select_page() and
      	change_current_page() signals only take effect when
      	the focus is on the tab area so that key presses
      	in children pass up to the toplevel correctly.
      ee2d7c45
  3. 16 Jan, 2002 13 commits
  4. 15 Jan, 2002 6 commits
  5. 14 Jan, 2002 6 commits
    • Matthias Clasen's avatar
      Documentation additions. · 322100dc
      Matthias Clasen authored
      
              * gtk/gtkoldeditable.c, gtk/gtkrc.c,
              gtk/gtkstyle.c: Documentation additions.
      
              * gtk/gtkmenu.c (gtk_menu_set_accel_path),
              gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
              gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
      
              * gtk/running.sgml: Add ids to some elements to make them
              addressable as link targets.
      322100dc
    • Matthias Clasen's avatar
      Documentation additions. · 5c886d0b
      Matthias Clasen authored
              * gtk/gtkoldeditable.c, gtk/gtkrc.c,
              gtk/gtkstyle.c: Documentation additions.
      
              * gtk/gtkmenu.c (gtk_menu_set_accel_path),
              gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
              gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
      
              * gtk/running.sgml: Add ids to some elements to make them
              addressable as link targets.
      5c886d0b
    • Owen Taylor's avatar
      Don't mangle sequences of consecutive \n or \r. · 9f95840a
      Owen Taylor authored
      Mon Jan 14 17:14:13 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't
              mangle sequences of consecutive \n or \r.
      9f95840a
    • Jonathan Blandford's avatar
      allow cancel to happen. · cb939843
      Jonathan Blandford authored
      Mon Jan 14 17:42:28 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to
      	happen.
      
      	* gtk/gtktreeview.c (install_presize_handler): only install the
      	handler if we're realized, #68056
      cb939843
    • Owen Taylor's avatar
      Unset initial_pos_set after the first configure request. · 6dc3eb34
      Owen Taylor authored
      Mon Jan 14 16:35:58 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkwindow.c (gtk_window_move_resize): Unset
              initial_pos_set after the first configure request.
      6dc3eb34
    • Owen Taylor's avatar
      Fix problem where widget->requisition was being used instead of · a4d411ee
      Owen Taylor authored
      Sun Jan 13 23:23:22 2002  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
      	widget->requisition was being used instead of
      	gtk_widget_get_child_requisition (), causing geometry widgets
      	with usizes to misbehave.
      a4d411ee