1. 20 Sep, 2001 7 commits
    • Owen Taylor's avatar
      Use the current day, as well as the current month and year. · a1f5f7ee
      Owen Taylor authored
      Thu Sep 20 15:31:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
      	day, as well as the current month and year.
      a1f5f7ee
    • Owen Taylor's avatar
      Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554) · ea77d8d7
      Owen Taylor authored
      Thu Sep 20 15:10:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
      	set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
      ea77d8d7
    • Kristian Rietveld's avatar
      get rid of it, · d6d27da1
      Kristian Rietveld authored
      Thu Sep 20 18:00:56 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * tests/testgtk.c (struct OptionMenuItem): get rid of it,
      
              (build_option_menu): add func argument, connect ::changed
              signal to option menu instead of connecting the ::activate
              signal to the menu items,
      
              (toplevel): get rid of RADIOMENUTOGGLED macro,
      
              (list_toggle_sel_mode), (clist_toggle_sel_mode),
              (ctree_toggle_line_style), (ctree_toggle_expander_style),
              (ctree_toggle_justify), (ctree_toggle_sel_mode),
              (progressbar_toggle_orientation), (progressbar_toggle_bar_style):
              use gtk_option_menu_get_history() instead of RADIOMENUTOGGLED,
      
              (notebook_type_changed): merged standard_notebook(),
              notabs_notebook(), scrollable_notebook() and borderless_notebook()
              into notebook_type_changed()
      
              (create_list), (create_ctree), (create_notebook),
              (create_progress_bar): changed OptionMenuItem arrays into
              gchar * arrays. Removed "Extended" item where used.
      
              Fixes bug #59885
      d6d27da1
    • Sven Neumann's avatar
      configure.in gdk/Makefile.am gtk/Makefile.am gtk/gtkselection.c · b728e2ea
      Sven Neumann authored
      2001-09-20  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* gdk/Makefile.am
      	* gtk/Makefile.am
      	* gtk/gtkselection.c
      	* gtk/gtktreeview.c
      	* gtk/gtkwindow.c: removed remaining traces of nanox GDK backend.
      b728e2ea
    • Owen Taylor's avatar
      Add a missing pango_layout_iter_free (). · 52dd93c4
      Owen Taylor authored
      Thu Sep 20 11:19:42 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Add
      	a missing pango_layout_iter_free ().
      52dd93c4
    • Owen Taylor's avatar
      Small warning cleanups. · 483fca5e
      Owen Taylor authored
      Thu Sep 20 11:03:51 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
              gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
      
              * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
              the function definition so we don't accidentally rely on
              the compat #define from gtk_radio_menu_item_group.
              (#60782, Jeff Franks)
      483fca5e
    • Kristian Rietveld's avatar
      returned incorrect values for top, right and bottom due to cut-and-paste · 1e99d62d
      Kristian Rietveld authored
      Thu Sep 20 16:51:02 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
              incorrect values for top, right and bottom due to cut-and-paste
              bug. Pointed out by Vitaly Tishkov, fixes bug #59008
      1e99d62d
  2. 19 Sep, 2001 11 commits
    • Owen Taylor's avatar
      Set _NET_WM_PID and WM_CLIENT_MACHINE properties on each window, not just · d9b794af
      Owen Taylor authored
      Wed Sep 19 17:59:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set
      	_NET_WM_PID and WM_CLIENT_MACHINE properties on each
      	window, not just on the client leader. (#58463)
      d9b794af
    • Owen Taylor's avatar
      Add missing cast. · 1513d3aa
      Owen Taylor authored
      Wed Sep 19 17:28:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_new): Add missing cast.
      
      	* gtk/gtkmenuitem.[ch] gtk/gtkmenushell.c: Underscore prefix
      	non-public _gtk_menu_item_set_placement.
      
      	* gtk/gtktooltips.h: Deprecate gtk_tooltips_set_delay().
      1513d3aa
    • Owen Taylor's avatar
      Fix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723) · 5a2659c2
      Owen Taylor authored
      Wed Sep 19 16:16:38 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
                gdk/linux-fb/gdkcolor-fb.c:
              Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
      	(#59723)
      5a2659c2
    • Owen Taylor's avatar
      Allow -1 for width/height to mean "width/height of pixbuf" (Patch from · 32b70898
      Owen Taylor authored
      Wed Sep 19 16:12:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpixbuf-render.c: Allow -1 for width/height
      	to mean "width/height of pixbuf" (Patch from Matthias Clasen,
      	#59723)
      32b70898
    • Owen Taylor's avatar
      Patch from Frank Belew #59037 for Solaris compilation. · de24d6cd
      Owen Taylor authored
      Wed Sep 19 16:01:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Frank Belew #59037 for Solaris compilation.
      
      	* gtk/maketypes.awk: Change syntax slightly for a call
      	to sub(), apparently making awk on Solaris happier.
      
      	* gtk/gtktreeview.c: Remove C++ comments.
      de24d6cd
    • Owen Taylor's avatar
      Add xgettext:no-c-format comment to to handle '99% of the time. (#60473, · 2893ea15
      Owen Taylor authored
      Wed Sep 19 15:46:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c: Add xgettext:no-c-format comment to
      	to handle '99% of the time. (#60473, reported by Christian Rose)
      
      	* gtk/gtkwidget.h: Remove prototype for gtk_widget_get_usize()
      	which no longer exists. (#60379, reported by Vitaly Tishkov)
      2893ea15
    • Tim Janik's avatar
      Released 1.3.8. · 3a2027fb
      Tim Janik authored
      Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>
      
              * Released 1.3.8.
      
              * gdk/Makefile.am: kill EXTRA_DIST clearing.
      3a2027fb
    • Tim Janik's avatar
      Released 1.3.8. · 45a5b3d8
      Tim Janik authored
      Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>
      
              * Released 1.3.8.
      45a5b3d8
    • Tim Janik's avatar
      don't use BUILT_SOURCES as its broken in automake 1.4, add explicit object · 77886cc5
      Tim Janik authored
      Wed Sep 19 02:50:40 2001  Tim Janik  <timj@gtk.org>
      
              * demos/Makefile.am ($(testpixbuf_OBJECTS)): don't use BUILT_SOURCES
              as its broken in automake 1.4, add explicit object rule to
              generate this.
      
              * gdk-pixbuf/Makefile.am: fix maintainer and normal cleanfiles.
              get rid of uneccessary stamps, group stuff more logically, and build
              sources due to object rules. fix srcdir!=builddir.
      77886cc5
    • Owen Taylor's avatar
      Fix incorrect parameter to compute_double_length (#58680, patch from · 5a43a59f
      Owen Taylor authored
      Tue Sep 18 20:47:16 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix
              incorrect parameter to compute_double_length
              (#58680, patch from Matthias Clasen)
      
              Fixes for compilation with Forte cc. (#59734, Derek Rafter)
      
              * gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;.
      
              * gdk/gdktypes.h (GdkModifierType): Write 1u << 31
              for GDK_RELEASE_MASK to avoid warnings with Forte.
      
              * gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing
              break; statements.
      5a43a59f
    • Alexander Larsson's avatar
      Don't draw with GTK_STATE_ACTIVE. · 1a46d3d5
      Alexander Larsson authored
      2001-09-18  Alex Larsson  <alexl@redhat.com>
      
              * gtk/gtkcheckbutton.c:
      	* gtk/gtkradiobutton.c:
      	Don't draw with GTK_STATE_ACTIVE.
      
      	* gtk/gtkclist.c:
      	* gtk/gtkctree.c:
      	Draw lines between rows with base_gc[GTK_STATE_NORMAL].
      
      	* gtk/gtktextdisplay.c:
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtkentry.c:
      	Add select all menu-item.
      	Default cursor color is red.
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtklabel.[ch]:
      	Add keynav + menu to selectable lables.
      	Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
      	unfocused with base_gc [GTK_STATE_ACTIVE].
      
      	* gtk/gtkfilesel.c:
      	Add drag and drop support.
      
      	* gtk/gtkstyle.c:
      	(This was checked in earlier)
      	New default values for text/base SELECTED and ACTIVE
      1a46d3d5
  3. 18 Sep, 2001 7 commits
    • Tim Janik's avatar
      up version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8. · 07fd2454
      Tim Janik authored
      Tue Sep 18 23:51:49 2001  Tim Janik  <timj@gtk.org>
      
              * configure.in: up version to 1.3.8, interface age 0,
              binary age 0, depend on glib 1.3.8.
      
              * NEWS: 1.3.8 updates.
      07fd2454
    • Jonathan Blandford's avatar
      remove conflict marker from ChangeLog · 67ff460c
      Jonathan Blandford authored
      67ff460c
    • Jonathan Blandford's avatar
      centralize all the editing code · fa6e6928
      Jonathan Blandford authored
      Tue Sep 18 18:46:54 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_start_editing): centralize all
      	the editing code
      
      	* gtk/gtkcelleditable.c: Got rid of stop_editing, as there was no
      	reason to call it beyond emiting the two signals.
      
      	* gtk/gtkentry.c (gtk_entry_class_init): add "has_frame" property
      	to GtkEntry.
      fa6e6928
    • Owen Taylor's avatar
      Fix up for changes to PangoFontDescription. · a15d5c36
      Owen Taylor authored
      Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
      	  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
      	PangoFontDescription.
      
      	* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
      	gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
      	structure.
      
      	* gtk/gtkfontsel.c: Fix up for new Pango font listing API.
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
        	direct access to style->font. Deprecate gtk_style_ref/unref.
      
       	* gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	Remove gtk_style_ref/unref with g_object_ref/unref.
      
        	* gtk/gtkcalendar.c: Remove leftover macros accessing
        	style->font.
      
        	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
        	variable.
      
        	* gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
      	style->font.
      a15d5c36
    • Jonathan Blandford's avatar
      Get rid of broken "can_edit" and "can_activate" properties in favor of · c45ee0bf
      Jonathan Blandford authored
      Tue Sep 18 13:51:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderer.h (enum): Get rid of broken "can_edit" and
      	"can_activate" properties in favor of
      	GTK_CELL_RENDERER_MODE_INERT, GTK_CELL_RENDERER_MODE_ACTIVATABLE,
      	and GTK_CELL_RENDERER_MODE_EDITABLE
      c45ee0bf
    • Jonathan Blandford's avatar
      Add put for use with editable widgets. This function is private, and · f724f836
      Jonathan Blandford authored
      Tue Sep 18 12:12:43 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_put): Add put for use with
      	editable widgets.  This function is private, and should only be
      	used by GtkTreeView.
      f724f836
    • Matt Wilson's avatar
      don't use += before = · cbae2794
      Matt Wilson authored
      2001-09-18  Matt Wilson  <msw@redhat.com>
      
      	* docs/Makefile.am (EXTRA_DIST): don't use += before =
      
      	* docs/faq/Makefile.am (EXTRA_DIST): likewise
      
      	* docs/tutorial/Makefile.am (EXTRA_DIST): likewise
      
      	* gdk/Makefile.am (MAINTAINERCLEANFILES): likewise
      	(EXTRA_HEADERS): likewise
      
      	* gtk/Makefile.am (MAINTAINERCLEANFILES): likewise
      	(EXTRA_HEADERS): likewise
      	(EXTRA_DIST): likewise
      	(CLEANFILES): likewise
      
      	* gtk/stock-icons/Makefile.am (CLEANFILES): likewise
      
      	* tests/Makefile.am (EXTRA_DIST): likewise
      
      	* Makefile.am (install-data-local): changed to use
      	install-data-hook, which runs after install-pkgconfigDATA, so that
      	the pkgconfigdir will have been created and populated first.
      
      gdk-pixbuf/ChangeLog
      
      2001-09-17  Matt Wilson  <msw@redhat.com>
      
      	* Makefile.am (libpixbufloader_xbm_la_LDFLAGS): removed duplicate
      	LDFLAGS definition, use the -avoid-version one.
      	(libpixbufloader_tga_la_LDFLAGS): likewise
      cbae2794
  4. 17 Sep, 2001 2 commits
    • Jonathan Blandford's avatar
      Add editable interface. This should be the last big GtkTreeView API · a2516791
      Jonathan Blandford authored
      Mon Sep 17 17:39:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcelleditable.[ch]: Add editable interface.  This should
      	be the last big GtkTreeView API change.
      
      	* gtk/gtkcellrenderer.[ch]: Get rid of the "event" vfunc, and
      	replace with "activate" and "start_editing".  Also, added a
      	"can_activate" and "can_edit" property.
      
      	* gtk/gtktreeviewcolumn.c: modify to use above.
      a2516791
    • Alexander Larsson's avatar
      Handle scroll wheel events. · 9c7f0f8c
      Alexander Larsson authored
      2001-09-16  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gtk/gtkoptionmenu.c:
      	Handle scroll wheel events.
      9c7f0f8c
  5. 14 Sep, 2001 2 commits
  6. 13 Sep, 2001 2 commits
  7. 12 Sep, 2001 4 commits
  8. 11 Sep, 2001 4 commits
    • Owen Taylor's avatar
      Implement a search path for GTK+ modules. · 69915aa7
      Owen Taylor authored
      Sat Sep  8 16:19:02 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gtk/gtkmain.c: Implement a search path for GTK+ modules.
      
       	* configure.in gtk/gtkrc.c gtk/Makefile.am: Look for modules
       	in gtk-2.0/<type>/major.minor.(micro-binary_age) rather
       	than in gtk-2.0/major.minor.micro/<type>/. This
       	works better for a search path for modules.
      
       	* gtk+-2.0.pc.in gtk+-2.0-uninstalled.pc.in: Add
       	gtk_binary_version variable holding major.minor.(micro-binary_age).
      
       	* modules/input/Makefile.am (moduledir): Fix installation
       	directory to match change in lookup location.
      
       	* gtk/gtkmain.c (gtk_init_check): Remove OS/2 code for dll
       	suffixes. Needs to be handled in g_module_build_path().
      
      	* gtk/gtkrc.c gtk/queryimmodules.c: Use g_build_filename() where
      	appropriate.
      69915aa7
    • Owen Taylor's avatar
      Fixed reversed comparison causing RC properties not to work. · 40a16c82
      Owen Taylor authored
      Tue Sep 11 13:59:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c (insert_rc_property): Fixed reversed comparison
      	causing RC properties not to work.
      40a16c82
    • Jakub Steiner's avatar
      d442fe57
    • Joshua N Pritikin's avatar
      minor fixes · 4eece537
      Joshua N Pritikin authored
      4eece537
  9. 10 Sep, 2001 1 commit
    • Tim Janik's avatar
      slight fix for g_object_set() not usable for nesting anymore. · 91aa2d92
      Tim Janik authored
      Mon Sep 10 20:47:22 2001  Tim Janik  <timj@gtk.org>
      
              * tests/testgtk.c (create_idle_test): slight fix for
              g_object_set() not usable for nesting anymore.
      
              * gtk/gtkhandlebox.c (gtk_handle_box_class_init):
              * gtk/gtkframe.c (gtk_frame_class_init): deprecate ::shadow
              properties, supply ::shadow_type properties instead as most
              other widgets do.
      91aa2d92