1. 02 Nov, 2001 4 commits
    • Owen Taylor's avatar
      ref/unref around gtk_widget_event() if we are going to set a flag · 55676c57
      Owen Taylor authored
      Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_main_do_event): ref/unref
      	around gtk_widget_event() if we are going to
      	set a flag afterwards. (#63464)
      55676c57
    • Owen Taylor's avatar
      Actually add the missing/broken image icon as the image for the "missing · 05969ed5
      Owen Taylor authored
      Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
      	Actually add the missing/broken image icon as the
      	image for the "missing image" stock icon.
      05969ed5
    • Owen Taylor's avatar
      Set a reasonable default height for the window. · c77203bd
      Owen Taylor authored
      Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	Set a reasonable default height for the window.
      
      	* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
      	bug where subsequent '-' weren't converted to '_'.
      	(#59550, Matthias Clasen)
      
      	* demos/gtk-demo/appwindow.c (menu_items): Don't right
      	justify the Help menu - just include a comment on
      	how to do it. (#63539, 	Marius Andreiana)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
      	list GTK_ICON_SIZE_INVALID.
      
      	* demos/gtk-demo/stock_browser.c: Show the biggest available
      	size, not a fixed size. (Often reported, including #63539,
      	Marius Andreiana)
      c77203bd
    • Jonathan Blandford's avatar
      Fix reorder_fixup, #59583 · a2ff9e41
      Jonathan Blandford authored
      Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
      	#59583
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
      	warning.
      a2ff9e41
  2. 01 Nov, 2001 6 commits
    • Owen Taylor's avatar
      Make GtkFunction return boolean, not gint. (Daniel Elstner). · 2ced30ad
      Owen Taylor authored
      Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
      	(Daniel Elstner).
      2ced30ad
    • Owen Taylor's avatar
      Add: - A ::retrieve_surrounding signal that asks the widget for context · a1fe2ac1
      Owen Taylor authored
      Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontext.[ch]: Add:
      	  - A ::retrieve_surrounding signal that asks the widget for
      	    context around the insertion point.
      	  - A ::delete_surrounding signal that asks the widget to
      	    delete context aroudn the insertion point.
      	  - gtk_im_context_set_context() for widgets to set context
      	    around the insertion point in response to ::retrieve_context.
      	  - gtk_im_context_get_context() for context to get context
      	    around the insertion point
      
      	* gtkmarshal.list: Add BOOL:INT,INT
      
      	* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
      	set_surrounding() methods, and the ::retrieve_surrounding /
      	::delete_surrounding signals.
      
      	* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
      	GtkIMContext::retrieve_surrounding / ::delete_surrounding
      	signals.
      a1fe2ac1
    • Jonathan Blandford's avatar
      it's amazing how well things work sometimes, even when they're completely · 2704ea2b
      Jonathan Blandford authored
      Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
      	it's amazing how well things work sometimes, even when they're
      	completely wrong.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
      	where you could try to collapse a node w/o it having children.
      
      	(gtk_tree_view_class_init): remove Shift L<->R as they already
      	existed for expand/collapse.
      2704ea2b
    • Jonathan Blandford's avatar
      Fix crash found by Matt Wilson. · b852358d
      Jonathan Blandford authored
      Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
      	found by Matt Wilson.
      b852358d
    • Jonathan Blandford's avatar
      Support Shift, Control, and Shift|Control L<->R, #63475 · d63b7cd6
      Jonathan Blandford authored
      Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
      	Control, and Shift|Control L<->R, #63475
      d63b7cd6
    • Jonathan Blandford's avatar
      fix infinite loop noticed by yosh. · e7729de2
      Jonathan Blandford authored
      Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
      	infinite loop noticed by yosh.
      e7729de2
  3. 31 Oct, 2001 14 commits
  4. 30 Oct, 2001 3 commits
  5. 29 Oct, 2001 8 commits
    • jacob berkman's avatar
      automake doesn't support conditionalized LDFLAGS, so put win32 flags in · 7c12bae8
      jacob berkman authored
      2001-10-29  jacob berkman  <jacob@ximian.com>
      
      	* gdk/Makefile.am (LDFLAGS):
      	* gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized
      	LDFLAGS, so put win32 flags in here
      7c12bae8
    • Jonathan Blandford's avatar
      Darn. I can't believe this took this long to fix. · 14a5e057
      Jonathan Blandford authored
      Mon Oct 29 15:41:58 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn.
      	I can't believe this took this long to fix.
      14a5e057
    • Jonathan Blandford's avatar
      fix reordered signal. · b5ccbdfb
      Jonathan Blandford authored
      Mon Oct 29 13:54:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
      	reordered signal.
      b5ccbdfb
    • Owen Taylor's avatar
      Grab the focus to the fileop entry for create dir / rename file. · 326f7715
      Owen Taylor authored
      Mon Oct 29 12:27:51 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
      	the focus to the fileop entry for create dir / rename
      	file.
      326f7715
    • Owen Taylor's avatar
      Don't use AC_CHECK_FILE to check for a file since it always spits warnings · ededbc64
      Owen Taylor authored
      Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Don't use AC_CHECK_FILE to check for a
              file since it always spits warnings about cross compilation,
              use -f instead. It's not like we cross compile properly
              anyways.
      
              * configure.in (gtktargetlib): Move call to AC_PROG_CC
              to suppress autoconf warning.
      
              * acconfig.h: Add some missing #undefs from recent
              Win32 additions.
      ededbc64
    • Owen Taylor's avatar
      Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) · 1493f6f7
      Owen Taylor authored
      Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* m4macros/gtk-2.0.m4: Don't try to use pkg-config
      	when we didn't find it. (#62944, Eric Lemings)
      
      	* m4macros/gtk-2.0.m4: Fix problem with spaces around =
      	sign in assignment. (#63209, Arkadiusz Miskiewicz)
      1493f6f7
    • Anders Carlsson's avatar
      Calculate the buttons size request before using it. Fixes #61696. · 62adef45
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
      	the buttons size request before using it. Fixes #61696.
      62adef45
    • Tor Lillqvist's avatar
      Updates. · 06b4ef65
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Updates.
      
      	* gtk-zip.sh.in: New file, used to build distribution package for
      	Windows.
      
      	* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
      	applicable with GDKVAR.
      
      	* gtk/gtk.def: Update.
      
      	* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
      	gethostname().
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
      	entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
      	GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
      	g_win32_get_package_installation_subdirectory() with the actual
      	DLL name saved above. Redefine above directory name macros to call
      	these functions. Remove some ifdefs.
      
      	* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
      	variable for export on Win32) also to the _vars file.
      
      	Changes for autoconfiscated build on Win32, and addition of Win32
      	backend to the related files:
      
      	* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
      	when forming DLL name in some files. Set MS_LIB_AVAILABLE is
      	lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
      	PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
      	win32 target, using pangowin32. Don't use the
      	-export-symbols-regex option on Win32, we use .def files to list
      	exported symbols. Check <winsock.h> (for gethostname() in
      	gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
      	prevent premature m4 expansion.
      
      	* acconfig.h: Add HAVE_WINTAB.
      
      	* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
      	MS_LIB_AVAILABLE, build MS import library. Install the import
      	libraries. If HAVE_WINTAB, link with the Wintab library.
      
      	* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
      	file. Install import libraries.
      06b4ef65
  6. 28 Oct, 2001 5 commits
    • Anders Carlsson's avatar
      Fix build. · 2933fbda
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Fix build.
      2933fbda
    • Hans Breuer's avatar
      static correct-ness, underscore prefixing of library internal functions · 93f12bd6
      Hans Breuer authored
      2001-10-28  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.c gdk/gdkevents.c
      	  gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
      	  gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
      	  gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
      	  gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
      	  gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
      	  gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
      	  gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
      	static correct-ness, underscore prefixing of library internal
      	functions
      	(applied the undisputed and the win32 part. Of the latter
      	 I'm probably the one who will change it back again, if Owen
      	 decides that the Gdk*Impl types should not be private to Gdk)
      
      	* gdk/gdk.def : added the remaining exported functions
      93f12bd6
    • Matthias Clasen's avatar
      Documentation updates. · c27900c3
      Matthias Clasen authored
              * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
              gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
              gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
      
              * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
              docs/reference/gtk/tmpl/gtkmenu.sgml,
              docs/reference/gtk/tmpl/gtkmenushell.sgml,
              docs/reference/gtk/tmpl/gtkcontainer.sgml,
              docs/reference/gtk/gtk-sections.txt: Updates.
      c27900c3
    • jacob berkman's avatar
      do not call gtk_settings_get_default() here as that requires an X · 96462944
      jacob berkman authored
      2001-10-28  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
      	gtk_settings_get_default() here as that requires an X connection
      	(which breaks doc building with no X connection) and is not
      	multihead safe
      	(gtk_color_selection_init): delay palette loading until realize
      	time
      	(gtk_color_selection_realize): load the palette, and initialize
      	the global palette if it hasn't been already
      
      	* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
      	visual/cmap fields of klass->info since they are gone
      	(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
      	(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
      	(gtk_preview_realize): don't set VISUAL and COLORMAP attributes
      
      	* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
      	cmap fields
      	(gtk_preview_get_visual):
      	(gtk_preview_get_cmap): mark as deprecated
      
      	* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
      	changes
      96462944
    • Owen Taylor's avatar
      un Oct 28 09:15:39 2001 Owen Taylor <otaylor@redhat.com> · 1b6f92f8
      Owen Taylor authored
              * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
              structure to have GObject not GtkObject as
              parent_instance. (Jeff Franks.)
      1b6f92f8