1. 21 Feb, 1999 3 commits
    • Owen Taylor's avatar
      removed debugging statements about embedded XID's. They could have been · 295e763b
      Owen Taylor authored
      Sun Feb 21 14:21:46 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c: removed debugging statements
      	about embedded XID's. They could have been
      	moved to the new PLUGSOCKET debug key, but they weren't
      	really useful anyways.
      
      	* gdk/gdk.h: Added gdk_error_trap_push/pop to provide
      	a clean interface to the gdk_error_code functionality
      	of trapping X errors.
      
      	* gtk/gtkplug.c gtk/gtksocket.c: Add error
      	traps around accesses to foreign windows.
      295e763b
    • Tim Janik's avatar
      marked gtk_window_set_focus, gtk_window_set_default, · e8cfe906
      Tim Janik authored
      Sun Feb 21 15:37:25 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.h: marked gtk_window_set_focus, gtk_window_set_default,
              gtk_window_remove_embedded_xid and gtk_window_add_embedded_xid as
              internal functions.
      e8cfe906
    • Owen Taylor's avatar
      Revise algorithm for scrolling backwards. This one might actually work · 58e63f08
      Owen Taylor authored
      Sun Feb 21 11:39:06 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktext.c (find_line_containing_point): Revise
      	algorithm for scrolling backwards. This one might actually
      	work with one-line-high	Text widgets.
      
      	* gtk/gtkmain.c: Removed a misplaced comment, a few
      	formatting cleanups.
      58e63f08
  2. 20 Feb, 1999 3 commits
    • Tim Janik's avatar
      hm, set_modal doesn't really work with random gtk_grab_add/gtk_grab_remove · b0558e08
      Tim Janik authored
      Sat Feb 20 20:59:25 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c: hm, set_modal doesn't really work with random
              gtk_grab_add/gtk_grab_remove calls. either the window user uses
              the set_modal interface or he places grab_add/grab_remove on his own.
              (gtk_window_set_modal): enforce modality state either way.
              (gtk_window_hide): revert previous change.
      b0558e08
    • Tim Janik's avatar
      increment years and months by two not three on double clicks, patch · 32b008bf
      Tim Janik authored
      Sat Feb 20 20:04:48 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcalendar.c (gtk_calendar_button_press): increment years and
              months by two not three on double clicks, patch provided by Nick Lamb
              <njl98r@ecs.soton.ac.uk>.
      32b008bf
    • Tim Janik's avatar
      added ::modal argument. (gtk_window_hide): reset window->modal from the · e0e893da
      Tim Janik authored
      Sat Feb 20 19:44:36 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c: added ::modal argument.
              (gtk_window_hide): reset window->modal from the current grab state
              (this is only relevant when grab_add/grab_remove is called on the
              window by bypassing gtk_window_set_modal).
              (gtk_window_remove_embedded_xid):
              (gtk_window_add_embedded_xid): don't use g_print() but g_message()
              within #ifdef G_ENABLE_DEBUG. when the hack got these functions
              added (ChangeLog doesn't know them)?
      e0e893da
  3. 19 Feb, 1999 2 commits
  4. 18 Feb, 1999 3 commits
    • Owen Taylor's avatar
      When queueing clears relative to widget->window, actually store · b60c8a83
      Owen Taylor authored
      Thu Feb 18 17:26:09 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_queue_clear_area):
      	 When queueing clears relative to widget->window,
      	 actually store widget->window so we know that
      	 the coordinates are window-relative.
      b60c8a83
    • Owen Taylor's avatar
      Fix glib_config_args gtk_config_args confusion. (pointed out by Roland · 213c5160
      Owen Taylor authored
      Thu Feb 18 11:46:57 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk.m4: Fix glib_config_args gtk_config_args
      	  confusion. (pointed out by
      	  Roland Dreier <droland@mail.math.okstate.edu>)
      
      	* gtk/gtksocket.c gtk/gtkmain.c gtk/gtkdebug.h
      	  (gtk_socket_filter_func): Move the plug-socket
      	  debugging code to a new "plugsocket" debug keys
      	  from the previous hardcoded DPRINTF.
      213c5160
    • Tim Janik's avatar
      added widget arg ::titles_active. · 63e669a7
      Tim Janik authored
      Thu Feb 18 00:54:46 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.c: added widget arg ::titles_active.
      63e669a7
  5. 17 Feb, 1999 3 commits
  6. 16 Feb, 1999 9 commits
    • Szabolcs Ban's avatar
      Shooby Ban <bansz@szif.hu> · b46aed94
      Szabolcs Ban authored
       * Added lang hu
      b46aed94
    • Szabolcs Ban's avatar
      Shooby Ban <bansz@szif.hu> · db2f396b
      Szabolcs Ban authored
       * Added hungarian translations
      db2f396b
    • CST 1999 Shawn T. Amundson's avatar
      version = 1.1.16 · f15ea702
      CST 1999 Shawn T. Amundson authored
      Tue Feb 16 14:25:44 CST 1999 Shawn T. Amundson <amundson@gtk.org>
      
              * INSTALL
                README
                configure.in
                gtk+.spec
                docs/gtk-config.1: version = 1.1.16
      
              * Makefile.am: removed colorsel example since it
                doesn't actually exist.
      
              * Released GTK+ 1.1.16
      f15ea702
    • Vincent Renardias's avatar
      Tue, 16 Feb 1999 12:51:56 +0100 · 89b9ff8b
      Vincent Renardias authored
      * Complete translation + some contributed fixes.
      89b9ff8b
    • Owen Taylor's avatar
      Use a ScrolledWindow test how Text widgets work within ScrolledWindow. · bf39d4cd
      Owen Taylor authored
      Mon Feb 15 23:55:27 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testgtk.c (create_text): Use a ScrolledWindow
      	 test how Text widgets work within ScrolledWindow.
      	 (POLICY_AUTOMATIC drew very badly, so it uses
      	  POLICY_ALWAYS for the vscrollbar)
      
      	* gtk/gtktext.c (gtk_text_unrealize): Free the cache
      	 in the unrealize handler. Some code in gtktext.c
      	 assumes that if text->line_start_cache is non-NULL,
      	 the widget is realized. We'll recompute it again
      	 anyways if we later re-realize.
      bf39d4cd
    • Owen Taylor's avatar
      When setting styles, remove unecessary explicits draws and clears. · fd2c0c56
      Owen Taylor authored
      Fri Feb 12 15:47:20 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c
      	  gtk/gtknotebook.c gtk/gtktext.c  gtk/gtkviewport.c
      	  gtk/gtkwidget.c:
      
      	 When setting styles, remove unecessary explicits draws
      	 and clears.
      
      	* gtk/gtkrange.c: Ugly fix so the steps get the
      	 correct background.
      fd2c0c56
    • Owen Taylor's avatar
      Updated for 1.1.16. · 3a5883b7
      Owen Taylor authored
      Mon Feb 15 22:55:50 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* NEWS: Updated for 1.1.16.
      3a5883b7
    • Owen Taylor's avatar
      Free label->label_wc. · 0101a46d
      Owen Taylor authored
      Mon Feb 15 19:36:57 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_finalize): Free
      	 label->label_wc.
      0101a46d
    • 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
  7. 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
  8. 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
  9. 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
  10. 09 Feb, 1999 2 commits
  11. 08 Feb, 1999 1 commit
    • Lars Hamann's avatar
      changed to 64 (gtk_clist_draw_focus) (hadjustment_value_changed) · b43de0cb
      Lars Hamann authored
      Mon Feb  8 21:00:20 1999  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (CLIST_OPTIMUM_SIZE): changed to 64
      	(gtk_clist_draw_focus) (hadjustment_value_changed) (draw_row):
       	few fixes to respect GTK_CAN_FOCUS flag.
      
      	* gtk/gtkctree.c (draw_row):
       	respect GTK_CAN_FOCUS flag.
      b43de0cb