1. 16 Dec, 1998 3 commits
    • Lars Hamann's avatar
      removed clist flag : GTK_CLIST_DRAG_SELECTION added flags : · 8a202e6f
      Lars Hamann authored
      Tue Dec 15 22:30:44 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.h :
      	removed clist flag : GTK_CLIST_DRAG_SELECTION
      	added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
      	GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
      	(GtkCListDragPos) : new enum for DND
       	(GtkButtonAction) : new enum of possible mouse button actions
      	(struct _GtkCList): added button_actions array.
       	Added drag_button and click_cell struct, to store cell and
       	mouse button of last button_press_event
      
      	(struct _GtkCListClass): new class method draw_drag_highlight.
      	(gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
      	new functions. Moved from gtkctree.h. Now clist is reorderable
      	as well.
      	(gtk_clist_set_button_actions) new function to customize mouse
      	button actions.
      
      	* gtk/gtkclist.c:
      	(gtk_clist_drag_begin)
      	(gtk_clist_drag_motion)
      	(gtk_clist_drag_leave)
      	(gtk_clist_drag_end)
      	(gtk_clist_drag_drop)
      	(gtk_clist_drag_data_get)
      	(gtk_clist_drag_data_received) : new dnd widget methods to
      	implement clists reorderability via DND
      
      	(remove_grab) : new function. remove mouse grab if necessary.
      	(draw_drag_highlight) : new method. Draw dnd highlight depending
      	on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
      
      	(gtk_clist_class_init): added object args "reorderable" and
       	"use_drag_icons"
      
      	(gtk_clist_button_press) (gtk_clist_button_release) :
      	use button_actions array to decide which action to perform.
      	(gtk_clist_motion) : start reorder operation if necessary.
      
      	* gtk/gtkctree.h :
      	(struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
      	drag_row, drag_source, drag_target, reorderable, use_icons,
      	in_drag, drag_rect
      	(gtk_ctree_set_reorderable) :  deprecated function.
       	use gtk_clist_set_reorderable instead.
      	(gtk_ctree_set_use_drag_icons) : deprecated function.
       	use gtk_clist_set_use_drag_icons instead.
      
      	* gtk/gtkctree.c :
      	(gtk_ctree_class_init): removed object args "reorderable" and
      	and "use_drag_icons"
      
      	(draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
      	(tree_toggle_selection) (set_mouse_cursor) : removed
      
      	(draw_drag_highlight) : new clist method. replacement for
      	draw_xor_line and draw_xor_rect functions
      	(check_drag) renamed check_cursor function
      
      	(gtk_ctree_drag_begin)
      	(gtk_ctree_drag_motion)
      	(gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
      	reorderability via DND
      
      	(gtk_ctree_button_release)
      	(gtk_ctree_button_motion) : removed.
      
      	* gtk/testgtk.c:
      	(create_clist) : added new reorderable toggle button
      8a202e6f
    • Owen Taylor's avatar
      Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in · 1566d988
      Owen Taylor authored
      Tue Dec 15 19:50:41 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
      	base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
      	used in detergent commercials.
      1566d988
    • Jeff Garzik's avatar
      96501b34
  2. 15 Dec, 1998 17 commits
    • Elliot Lee's avatar
      Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for · a8e00e21
      Elliot Lee authored
      1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
      
      	* gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
      	as the mask for checking for GDK_INPUT_EXCEPTION events.
      a8e00e21
    • Martin Baulig's avatar
      Make the gettext check for for libc5 systems. · 3f1ffdac
      Martin Baulig authored
      1998-12-15  Martin Baulig  <martin@home-of-linux.org>
      
      	* acinclude.m4: Make the gettext check for for libc5 systems.
      3f1ffdac
    • Martin Baulig's avatar
      Not running gettextize fails on a fresh CVS checkout and we'll get a lot · cc7eba32
      Martin Baulig authored
      1998-12-15  Martin Baulig  <martin@home-of-linux.org>
      
      	* autogen.sh: Not running gettextize fails on a fresh CVS checkout
      	and we'll get a lot of bug reports tomorrow, so I add it back.
      cc7eba32
    • Martin Baulig's avatar
      Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to · 7b105fea
      Martin Baulig authored
      1998-12-15  Martin Baulig  <martin@home-of-linux.org>
      
      	* acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
      	AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
      	warnings.
      7b105fea
    • Owen Taylor's avatar
      Moved gtk_label_set() compatiblity define from <gtkcompat.h> to · d56a55a4
      Owen Taylor authored
      Tue Dec 15 16:54:09 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.h: Moved gtk_label_set() compatiblity
      	define from <gtkcompat.h> to <gtklabel.h> for
      	compatibility.
      d56a55a4
    • Owen Taylor's avatar
      Provide a hacked version of the gettext macros that never use the included · dabb02d2
      Owen Taylor authored
      Tue Dec 15 16:06:15 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* acinclude.m4: Provide a hacked version of the
      	  gettext macros that never use the included gettext.
      
      	* Makefile.am configure.in: Remove references
      	  to intl/
      
      	* autogen.sh: Don't run gettextize.
      dabb02d2
    • Owen Taylor's avatar
      Added gdk_text_extents_wc() · a3c1e86f
      Owen Taylor authored
      Tue Dec 15 14:30:35 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()
      
              * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
      	  to label. (Based on patch from Jeff Dairiki
      	  <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)
      
      	- Adds new function gtk_label_set_line_wrap()
      	- implement GTK_JUSTIFY_FILL.
      	- rename gtk_label_set to gtk_label_set_text() add
      	   gtk_label_set() to gtkcompat.h.
      
      	* Use an internal wc representation in the label, so
      	  that we handle underlining and line breaks correctly
      	  for multi-byte strings.
      a3c1e86f
    • Owen Taylor's avatar
      Added GTK_USER_DRAW flag. · 7eec796c
      Owen Taylor authored
      Tue Dec 15 13:32:28 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.h: Added GTK_USER_DRAW flag.
      
      	* gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.
      
      	* gtk/gtkdrawwindow.c gtk/Makefile.am: Removed
      	GtkDrawWindow, which GTK_USER_DRAW obsoletes.
      7eec796c
    • Owen Taylor's avatar
      Fixed up some warnings. · cceabe57
      Owen Taylor authored
      Tue Dec 15 11:37:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c: Fixed up some warnings.
      
      Tue Dec 15 10:32:01 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtk{h,v,}paned.{c,h}: Add new functions
      	gtk_paned_set_position(),
      	gtk_paned_pack1/2(). The latter take a
      	shrink and resize parameters, that allows setting
      	minimum sizes and getting 'relative' resizing.
      cceabe57
    • Owen Taylor's avatar
      Keep separate putback_events and queued_events queues so that we get both · 1bf27c35
      Owen Taylor authored
      Tue Dec 15 10:26:23 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkevents.c: Keep separate putback_events and
      	queued_events queues so that we get both FIFO and
      	preemptive behavior for	gdk_event_put().
      1bf27c35
    • Owen Taylor's avatar
      Removed unused variable, fixed minor memory leak. · 9a9f4591
      Owen Taylor authored
      Tue Dec 15 09:22:44 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkrc.c (gtk_rc_init): Removed unused
      	variable, fixed minor memory leak.
      
      	* gdk/gdk.c: Fixed another merge problem.
      9a9f4591
    • Owen Taylor's avatar
      Remove gdk_signal, which crept back in in last commit. · a2fc714a
      Owen Taylor authored
      Tue Dec 15 08:53:38 1998  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.c (gdk_get_display): Remove gdk_signal,
              which crept back in in last commit.
      
      gdk/gdkevents.c: File missed on last commit.
      
      CVS
      a2fc714a
    • Owen Taylor's avatar
      Commented out testthreads from the build process, since we won't have any · a0c84d68
      Owen Taylor authored
      Tue Dec 15 01:38:53 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am: Commented out testthreads from
      	the build process, since we won't have any idea
      	how to create a thread.
      
      	* configure.in (LIBS): use glib-config ... gthread
      	so we always build a thread-compatible library.
      
              * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
      	  gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
      	  gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
      	  gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
      	  gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
      
      	Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
      	and idles to account for the fact that they are no
      	longer called within the GTK+ lock.
      
      	* gtk/gtkprivate.h: Added definitions for locking
      	the main GTK+ mutex.
      
      	* gtk/gtkmain.c: Re-implement the main loop
      	in terms of the GLib main loop.
      
      	* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
      	functionality, as it seems better to subsume GDK within the
      	GTK+ lock than vice-versa.
      
              * gdk/gdkevents.c: New file, containing event handling bits
      	from gdk.c.
      
      	* gdk/gdkevents.c: Implement event source for GDK
      	events.
      
      	* configure.in gdk/gdkevents.c: Removed attempts to
      	subtract base_id, which were already non-functional.
      a0c84d68
    • Manish Singh's avatar
      acconfig.h removed IPC_RMID_DEFERRED_RELEASE check · 58475f05
      Manish Singh authored
      * acconfig.h
      * configure.in: removed IPC_RMID_DEFERRED_RELEASE check
      
      * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
      after XShmAttach, and nobody complained
      
      -Yosh
      58475f05
    • Manish Singh's avatar
      autoconf says we need AC_ISC_POSIX. Whiner. · 30b9a287
      Manish Singh authored
      -Yosh
      30b9a287
    • Tim Janik's avatar
      include -lintl in LIBS · 931b25f2
      Tim Janik authored
      931b25f2
    • Sven Neumann's avatar
      Replaced the crappy de.po with a valid one. · d1edd7e4
      Sven Neumann authored
      (Bring me the haed of ...)
      
      
      --Sven
      d1edd7e4
  3. 14 Dec, 1998 7 commits
    • Owen Taylor's avatar
      Append locale-specific suffixes to default rc file names, and look these · 698a11c6
      Owen Taylor authored
      Mon Dec 14 16:10:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c (gtk_rc_init): Append locale-specific
      	suffixes to default rc file names, and look these
      	up in addition to the base filename, to facilitate
      	having the correct fontset per-locale.
      
      	move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc
      
      	* gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
      	New function to set a function to translate menu paths.
      
      	* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
      	results of g_strsplit().
      698a11c6
    • Nuno Ferreira's avatar
      Added Portuguese translation. · c46265c8
      Nuno Ferreira authored
      * Added Portuguese translation.
      c46265c8
    • Stefan Jeske's avatar
      Only call gtk_spin_button_update if the spinbutton is editable. · c242e9e3
      Stefan Jeske authored
      Mon Dec 14 20:04:31 1998  Stefan Jeske  <stefan@gtk.org>
      
      	* gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
       	the spinbutton is editable.
      c242e9e3
    • Owen Taylor's avatar
      Added gettext-10.35 · 7facb75c
      Owen Taylor authored
      Mon Dec 14 12:24:13 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* HACKING: Added gettext-10.35
      
      	* autogen.sh: Run gettextize.
      
      Wed Dec  9 16:29:06 1998  Owen Taylor  <otaylor@redhat.com>
      
              Applied gtk-egger-981010-[12]
      	[ Daniel.Egger@t-online.de (Daniel Egger) ]
      
      	* gtk/gtkintl.h: New file - defines for localization.
      
      	* gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
      	for internationalization.
      
      	* gtk/gtkmain.c: call bindtextdomain
      
      	* po/ - directory for translations. Initially includes
      	German translation.
      7facb75c
    • Tim Janik's avatar
      made GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuff · edc14768
      Tim Janik authored
      Mon Dec 14 02:42:11 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
              RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
              gtk_widget_real_grab_focus() so a signal is always emitted
              if the focus is grabbed on a widget.
      edc14768
    • Tim Janik's avatar
      fixed submenu popup timeouts, we decide whether or not to delay the · 7ea8bb92
      Tim Janik authored
      Mon Dec 14 02:13:01 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
              not to delay the submenu popup from a menu item deselection time stamp.
              the code looks even more hackish than before, but in practice "feels"
              very well.
      7ea8bb92
    • Federico Mena Quintero's avatar
      Added a "grab_focus" signal for widgets. When the signal is emitted, the · 3441c3f2
      Federico Mena Quintero authored
      1998-12-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
      	signal for widgets.  When the signal is emitted, the widget will
      	grab the focus.  This is needed to let the user press an
      	accelerator key in a dialog box and have the corresponding widget
      	be focused.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
      	signal.  The default handler is simply gtk_widget_grab_focus().
      3441c3f2
  4. 13 Dec, 1998 2 commits
  5. 12 Dec, 1998 2 commits
  6. 11 Dec, 1998 6 commits
    • Owen Taylor's avatar
      Added "style_set" handlers. · 11a80511
      Owen Taylor authored
      Fri Dec 11 08:59:12 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklistitem.c (gtk_list_item_style_set):
      	* gtk/gtklist.c     (gtk_list_style_set):
      	Added "style_set" handlers.
      11a80511
    • Owen Taylor's avatar
      Add in a "style_set" handler so that the background of the clist changes · 84b2d43d
      Owen Taylor authored
      Fri Dec 11 05:49:30 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
      	handler so that the background of the clist changes
      	with the theme.
      84b2d43d
    • CST 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.7 · 353a7158
      CST 1998 Shawn T. Amundson authored
      Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 1.1.7
      
              * INSTALL:
                NEWS:
                README:
                configure.in:
                gtk+.spec:
                gtk/gtkfeatures.h.in:
                docs/gtk-config.1: Version to 1.1.7
      353a7158
    • Manish Singh's avatar
      avoid void pointer math · 6af277b5
      Manish Singh authored
      * gtk/gtkclist.c: avoid void pointer math
      
      * gtk/gtkhscale.c
      * gtk/gtkhscrollbar.c
      * gtk/gtkvscale.c
      * gtk/gtkvscrollbar.c: removed trailing , from enums
      
      * gtk/gtksignal.c: can't use enums as a bitfield type, use guint
      
      * gtk/testgtk.c: removed C++ comment added by owenpoo
      
      -Yosh
      6af277b5
    • Owen Taylor's avatar
      Added gtk_drag_source_unset() · 939c8183
      Owen Taylor authored
      Thu Dec 10 21:48:34 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
      939c8183
    • Owen Taylor's avatar
      Use gdk_window_get_origin() instead of gdk_window_get_position, because · ba17081c
      Owen Taylor authored
      Thu Dec 10 20:42:22 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
      	gdk_window_get_origin() instead of gdk_window_get_position,
      	because get_position is unreliable for plugs.
      
      	This is a bad hack, maybe we need GDK_WINDOW_PLUG?
      ba17081c
  7. 10 Dec, 1998 2 commits
  8. 09 Dec, 1998 1 commit