1. 17 Jan, 2002 8 commits
    • 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
  2. 16 Jan, 2002 13 commits
  3. 15 Jan, 2002 6 commits
  4. 14 Jan, 2002 10 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
    • Sven Neumann's avatar
      g_getenv() returns a const string. · 83bcca30
      Sven Neumann authored
      2002-01-14  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkrc.c: g_getenv() returns a const string.
      83bcca30
    • Hasbullah Bin Pit's avatar
      Added ms at ALL_LINGUAS. Added Malay Translation. But not all translated · d8ac56c0
      Hasbullah Bin Pit authored
      
      2002-01-14  Hasbullah Bin Pit  <sebol@ikhlas.com>
      
              * configure.in: Added ms at ALL_LINGUAS.
              * po/ms.po: Added Malay Translation.
        But not all translated :(
      d8ac56c0
    • Matthias Clasen's avatar
      Minor fix. · d9306707
      Matthias Clasen authored
      d9306707
    • Matthias Clasen's avatar
      Documentation. · dee05966
      Matthias Clasen authored
              * gtk/gtkitemfactory.c: Documentation.
      
              * gtk/tmpl/gtkrc.sgml: Minor fixes.
      dee05966
  5. 13 Jan, 2002 3 commits