1. 16 Feb, 1999 1 commit
    • Owen Taylor's avatar
      Some coding style fixups. · f1a61ecc
      Owen Taylor authored
      Mon Feb 15 18:02:22 1999  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c: Some coding style fixups.
      
      	* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set a flag
      	 so that we destroy the icon window that we created
      	 when the drag ends.
      f1a61ecc
  2. 15 Feb, 1999 3 commits
    • Owen Taylor's avatar
      When we find a match, stop searching. (Because we assume pspec != NULL in · 0c9af82e
      Owen Taylor authored
      Thu Feb 11 18:43:12 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbindings.c (gtk_binding_set_add_path): When
      	  we find a match, stop searching. (Because we
      	  assume pspec != NULL in the search).
      
      Wed Feb 10 01:18:22 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix
      	  up painting of "ghosts".
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
      	  Add double-click reattachment.
      
      	* gtk/gtkhandlebox.c: Grab on widget->window,
      	  not on handlebox->bin_window. This means we don't
      	  have to worry about ungrabbing while reparenting.
      
      	  Don't make a GTK+ grab - that wasn't necessary.
      
      	* gtk/gtkhandlebox.c: Only compute the root -> desk
      	  offset once, when starting the drag, instead
      	  of continuously. This should solve the *Bad Window*
      	  errors that were occurring because of race conditions
      	  with the WM.
      
      	* gtk/gtkhandlebox.c: Completely reworked the
      	  the logic of reattachment. We introduce the
      	  concept of the "snap edge", which is an edge
      	  that needs to be aligned for reattachmed.
      	  We set a reasonable default from
      	  handlebox->handle_position, but an application
      	  might want to change this in some circumstances.
      
      	* gtk/gtkhandlebox.[ch]: Add settors:
                  gtk_handle_box_set_handle_position  ();
                  gtk_handle_box_set_snap_edge        ();
      0c9af82e
    • Owen Taylor's avatar
      gtk/gtkwidget.c (gtk_widget_real_grab_focus): · 063bad00
      Owen Taylor authored
      Mon Feb 15 11:13:01 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_focus):
      	  gtk/gtkwidget.c (gtk_widget_real_grab_focus):
      
      	If the focus widget is the same, but does not currently
      	have the focus, call gtk_window_set_focus(). This is needed
      	so that click focusing with GtkPlug works correctly.
      063bad00
    • Tim Janik's avatar
      default to yes for development trees. · 3d23ab25
      Tim Janik authored
      Mon Feb 15 07:45:28 1999  Tim Janik  <timj@gtk.org>
      
              * configure.in (--enable-debug): default to yes for development trees.
      3d23ab25
  3. 11 Feb, 1999 2 commits
    • Lars Hamann's avatar
      don't autoselect focus_row in case of GTK_SELECTION_EXTENDED · 1f85d83e
      Lars Hamann authored
      Fri Feb 12 00:08:01 1999  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtklist.c (gtk_list_remove_items_internal): don't autoselect
              focus_row in case of GTK_SELECTION_EXTENDED
      
              * gtk/testgtk.c : few changes in list example.
      
              * gtk/gtklistitem.c (gtk_list_item_class_init):
              * gtk/gtkctree.c (gtk_ctree_class_init):
              * gtk/gtkclist.c (gtk_clist_class_init):
              fixed indentation, removed unused key bindings
      1f85d83e
    • Pablo Saratxaga's avatar
      updated spanis hlanguage file · ed219818
      Pablo Saratxaga authored
      ed219818
  4. 10 Feb, 1999 9 commits
    • Lars Hamann's avatar
      don't autoselect focus_row in case of GTK_SELECTION_EXTENDED · 64759740
      Lars Hamann authored
      Wed Feb 10 01:02:46 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (real_remove_row):
      	* gtk/gtkctree.c (gtk_ctree_remove_node): don't autoselect focus_row
      	in case of GTK_SELECTION_EXTENDED
      
      	* gtk/testgtk.c : few changes in clist/ctree examples.
      64759740
    • Tim Janik's avatar
      applied patch from Paolo Molaro to fix GTK_TYPE_POINTER args of · 1183c0ea
      Tim Janik authored
      Wed Feb 10 15:49:16 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c (gtk_window_class_init):
              * gtk/gtkctree.c (gtk_ctree_class_init): applied patch from Paolo
              Molaro to fix GTK_TYPE_POINTER args of ::tree_collapse and
              ::set_focus signals.
      
              * docs/gtk_tut.sgml: s/menufactory/itemfactory, minor fixups
              to the item factory example.
      1183c0ea
    • Owen Taylor's avatar
      Reverted coding style "fixups" · d8eb880d
      Owen Taylor authored
      Wed Feb 10 11:05:53 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c: Reverted coding style "fixups"
      d8eb880d
    • Owen Taylor's avatar
      Supplement the existing WMNormalHints, don't overwrite them. · c9312d02
      Owen Taylor authored
      Wed Feb 10 10:43:50 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_set_icon, gdk_window_set_group):
      	 Supplement the existing WMNormalHints, don't
      	 overwrite them.
      c9312d02
    • Tim Janik's avatar
      asure that ->value_buf always points to an allocated area. · 88c112cd
      Tim Janik authored
      Wed Feb 10 08:35:36 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): asure that
              ->value_buf always points to an allocated area.
              (gtk_color_selection_drag_end): new function hooked up to drag_end to
              destroy the drag_window.
      
              * gtk/gtkdnd.c: some coding style fixups.
      
      Wed Feb 10 06:47:17 1999  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkwindow.c: various indentation fixes.
      
              * gdk/gdkevents.c: coding style fixups.
              NULL initialize event_func, event_notify and event_chunk.
              (expose_predicate): made this function static.
              (gdk_event_handler_set): perform destroy notification even if no
              event_func is set.
      
              * gdk/gdkrectangle.c (gdk_rectangle_union): added g_return_if_fail
              statements.
      88c112cd
    • Owen Taylor's avatar
      Fixed some bugs with set_default_size. · d1bda8d5
      Owen Taylor authored
      Sun Feb  7 19:49:21 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): Fixed some
      	  bugs with set_default_size.
      
      Sat Feb  6 13:23:51 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/Changes-1.2.txt: Added information about
      	 the change to gtk_widget_size_request().
      
      	* gtk/gtkentry.c: Call gtk_widget_get_child_requisition
      	 explicitely since we differentiate between the usize
      	 set by the user and what we got. (Ugh)
      
      	* gtk/gtkwidget.[ch] (gtk_widget_get_child_requisition):
      	 New function to return the effective size of a widget
      	 as it looks to its parent.
      
      	* gtk/gtkwidget.c (gtk_widget_size_request): Leave
      	 widget->requisition set to exactly what the widget
      	 asked for, and then make a copy of that into
      	 the requisition argument. Allow a NULL requisition
      	 argument, and, if G_ENABLE_DEBUG, warn if
      	 requisition == &widget->requisition.
      
      	* gtkalignment.c gtkaspectframe.c gtkbutton.c gtkclist.c
      	  gtkcontainer.c gtkentry.c gtkeventbox.c gtkfixed.c
      	  gtkframe.c gtkhandlebox.c gtkhbox.c gtkhpaned.c
      	  gtklayout.c gtklist.c gtklistitem.c gtkmenu.c
      	  gtkmenubar.c gtkmenuitem.c gtknotebook.c
      	  gtkoptionmenu.c gtkpacker.c gtkscrolledwindow.c
      	  gtktable.c gtktoolbar.c gtktree.c gtktreeitem.c
      	  gtkvbox.c gtkviewport.c gtkvpaned.c gtkwindow.c
      
      	 Avoid calling gtk_widget_size_request with
      	 requisition == widget->requisition; use
      	 gtk_widget_get_child_requisition to get the
      	 size of children.
      d1bda8d5
    • Owen Taylor's avatar
      Removed extraneous line that crept in in previous commit. · 84d9f5f9
      Owen Taylor authored
      Tue Feb  9 19:49:46 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (LDFLAGS): Removed extraneous line
      	  that crept in in previous commit.
      84d9f5f9
    • Owen Taylor's avatar
      Moved entry->visible into editable class. (Leave it behind deprecated for · c3a4205c
      Owen Taylor authored
      Tue Feb  9 19:39:32 1999  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.[ch] gtk/gtkeditable.h: Moved
      	  entry->visible into editable class. (Leave it
      	  behind deprecated for compatibility)
      
      	* gtk/gtkeditable.c: If not editable->visible,
      	  return *'s for clipboard and selection.
      c3a4205c
    • Owen Taylor's avatar
      If we can't find helvetica, fall back to "fixed". If we can't find · 72d58438
      Owen Taylor authored
      Tue Feb  9 19:11:43 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkstyle.c (gtk_style_new): If we can't find
      	  helvetica, fall back to "fixed". If we can't
      	  find "fixed", exit cleanly.
      72d58438
  5. 09 Feb, 1999 2 commits
  6. 08 Feb, 1999 7 commits
  7. 07 Feb, 1999 1 commit
  8. 06 Feb, 1999 3 commits
  9. 05 Feb, 1999 2 commits
    • Owen Taylor's avatar
      Adjust saved positions of children when resizing a guffaw_gravity = TRUE · eb437560
      Owen Taylor authored
      Fri Feb  5 13:23:50 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_move_resize): Adjust
      	saved positions of children when resizing a
      	guffaw_gravity = TRUE window.
      
      	* gtk/gtkdnd.c (gtk_drag_highlight): Rework the
      	 highlighting so that it is done in callbacks for
      	 draw and expose. This should solve problems with
               multiple highlights for the same GdkWindow.
      
      	* gtk/gtkdnd.c (gtk_drag_highlight): Fix bug where
      	the highlight was being drawn with an incorrect
      	width/height for !NO_WINDOW widgets.
      eb437560
    • Owen Taylor's avatar
      Don't assume any more that the gtkwidget.c code will queue a redraw on us · 915f2c5e
      Owen Taylor authored
      1999-02-05  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
      	Don't assume any more that the gtkwidget.c code
      	will queue a redraw on us during a size_allocate -
      	queue clear/draws as appropriate for our groove.
      915f2c5e
  10. 04 Feb, 1999 5 commits
  11. 02 Feb, 1999 4 commits
    • Owen Taylor's avatar
      Make sure we set the icon window position before it is shown to prevent · 902de9d4
      Owen Taylor authored
      Tue Feb  2 12:39:42 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c: Make sure we set the icon window position
      	 before it is shown to prevent annoying flicking to 0,0.
      	 Make it consistent that info->cur_x/y do not include
      	 info->hot_x/y displacement.
      902de9d4
    • GMT 1999 Tony Gale's avatar
      new sections on Layout and SpinButton [nice widget] · 7e68d71f
      GMT 1999 Tony Gale authored
      Tue Feb  2 08:59:16 GMT 1999 Tony Gale  <gale@gtk.org>
      
              * docs/gtk_tut.sgml: new sections on Layout and
                SpinButton [nice widget]
      
              * examples/spinbutton/*: example code
      7e68d71f
    • Owen Taylor's avatar
      Put in some information about 'gtk-config --libs gthread'. · 22a54ddf
      Owen Taylor authored
      Mon Feb  1 19:25:54 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/gtk-config.txt (testinput_SOURCES): Put
      	in some information about 'gtk-config --libs gthread'.
      
      	* docs/Changes-1.2.txt: Updated section on threads.
      22a54ddf
    • Lars Hamann's avatar
      in case of GTK_SELECTION_BROWSE select first inserted row. · a19e373b
      Lars Hamann authored
      Tue Feb  2 00:28:44 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkctree.c (gtk_ctree_insert_node): in case of
      	GTK_SELECTION_BROWSE select first inserted row.
      	(resync_selection): select rows in correct order.
      
      	* gtk/gtkclist.c (real_insert_row): in case of GTK_SELECTION_BROWSE
       	select first inserted row.
      	(resync_selection): select rows in correct order.
      
      	* gtk/gtklist.c (gtk_list_end_selection): select rows in correct order.
      a19e373b
  12. 01 Feb, 1999 1 commit