1. 07 Nov, 2002 1 commit
    • Owen Taylor's avatar
      Add ::screen-changed signal. · 100286ac
      Owen Taylor authored
      Thu Nov  7 12:53:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.[ch] gtk/gtkwindow.c gtk/gtkinvisible.c:
              Add ::screen-changed signal.
      
              * gtk/gtkfontsel.c gtk/gtktoolbar.c: Use ::screen-changed
              signal to simplify logic.
      100286ac
  2. 02 Nov, 2002 1 commit
    • Owen Taylor's avatar
      Add startup notification hooks - mostly based on patch by Havoc Pennington · accc3a33
      Owen Taylor authored
      Sat Nov  2 00:22:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              Add startup notification hooks - mostly based on patch
              by Havoc Pennington in #96772.
      
              * gdk/gdk.h gdk/x11/gdkdisplay-x11.c
              gdk/{win32,linux-fb}/gdkmain-*.c: (gdk_notify_startup_complete):
              new function that indicates an application has finished starting
              up.
      
              * gdk/x11/gdkmain-x11.c gdk/x11/gdkdisplay-x11.c
              (_gdk_windowing_set_default_display): store value of
              DESKTOP_STARTUP_ID on the default screen, and clear it from the
              environment.
      
              * gdk/x11/gdkdisplay-x11.c:
              Set _NET_STARTUP_ID hint on display's group leader window.
      
              * gtk/gtkwindow.c (gtk_window_set_auto_startup_notification):
              function to toggle whether we automatically broadcast that we've
              started up, after mapping the first toplevel window.
              (gtk_window_map): call gdk_screen_notify_startup_complete() by
              default, unless enabled by above.
      
              * gtk/gtkmain.c gtk/gtkcombo.c gtk/gtktoolbar.c:
              Couple of warning fixes.
      accc3a33
  3. 29 Oct, 2002 1 commit
  4. 22 Oct, 2002 1 commit
  5. 17 Oct, 2002 3 commits
    • Havoc Pennington's avatar
      fix compiler warnings · 74e51bc1
      Havoc Pennington authored
      2002-10-17  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
      	compiler warnings
      74e51bc1
    • Soeren Sandmann's avatar
      fix typo to make it compile · fc2b515e
      Soeren Sandmann authored
      Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
      	it compile
      fc2b515e
    • Havoc Pennington's avatar
      add g_return_if_fail for monitor number <= 0 · 727eb8af
      Havoc Pennington authored
      2002-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
      	g_return_if_fail for monitor number <= 0
      
      	* gtk/gtkmenu.c (gtk_menu_position): handle case where pointer
      	is outside the screen.
      
      	* gtk/gtkwindow.c (get_monitor_center): factor out
      	the code to position a window in center
      	(gtk_window_compute_configure_request): use here
      	(gtk_window_constrain_position): use here, the
      	code here wasn't multihead-aware
      
      	* gdk/x11/gdkevents-x11.c (get_real_window): function to
      	return the window the event describes, rather than the window
      	that received the event.
      	(gdk_event_translate): use result of that function for
      	filling in GdkEvent::window, which only matters for
      	MapNotify/UnmapNotify and ConfigureNotify, in practice.
      
      	Unbreaks various things using SubstructureNotifyMask.
      727eb8af
  6. 13 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      Documentation fixes. · a130f089
      Soeren Sandmann authored
      Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
      	gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
      	gtktreemodel.sgml,gtktable.sgml, gtktable.c:
      
      	Documentation fixes.
      
      	#85719, #90759, #95169, Owen Taylor;
      	#89221, Yao Zhang, Matthias Clasen;
      	#95592, Joost Faassen;
      	#92637, Vitaly Tishkov;
      	#94616, Ben Martin;
      	#94772, sbaillie@bigpond.net.au;
      a130f089
  7. 10 Oct, 2002 1 commit
  8. 09 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · cb7c950a
      Manish Singh authored
      Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
              gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
              gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup
      cb7c950a
  9. 07 Oct, 2002 1 commit
  10. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  11. 01 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 2eb145c2
      Manish Singh authored
      Tue Oct  1 12:53:44 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkwindow-decorate.c gtkwindow.[ch]: Deprecation cleanup
      2eb145c2
  12. 30 Sep, 2002 2 commits
    • Owen Taylor's avatar
      Add gtk_window_set_icon_from_file(), · 41030b43
      Owen Taylor authored
      Mon Sep 30 14:28:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.[ch]: Add gtk_window_set_icon_from_file(),
              gtk_window_set_default_icon_from_file() convenience
              functions (#75178, suggestion from Havoc Pennington)
      41030b43
    • Owen Taylor's avatar
      Clear initial_pos_set even if it only causes a move, not a resize as well. · da4c14de
      Owen Taylor authored
      Sun Sep 29 20:15:59 2002  Owen Taylor  <otaylor@redhat.com>
      
             * gtk/gtkwindow.c (gtk_window_move_resize): Clear
              initial_pos_set even if it only causes a move, not
              a resize as well. (Missed merge from stable,
              may fix #89562)
      da4c14de
  13. 25 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      fix GtkWindowMnemonic to have a separate typedef · 1689117c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
      	typedef
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
      	FULLSCREEN state
      
      	* tests/testgtk.c (get_state_controls): add
      	fullscreen/unfullscreen test
      
      	* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
      	variable
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
      	variable
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_window_manager_changed): emit
      	window_manager_changed signal
      
      	* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
      	window_manager_changed signal
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_get_window_manager_name): new function
      
      	* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
      	skip_taskbar_hint, skip_pager_hint properties
      	(gtk_window_set_skip_taskbar_hint):
      	(gtk_window_get_skip_taskbar_hint):
      	(gtk_window_set_skip_pager_hint):
      	(gtk_window_get_skip_pager_hint):
      	(gtk_window_fullscreen):
      	(gtk_window_unfullscreen): new functions
      
      	* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
      
      	* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
      	values
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
      	(gdk_window_set_skip_pager_hint):
      	(gdk_window_fullscreen):
      	(gdk_window_unfullscreen): new functions
      	(set_initial_hints): set fullscreen here if appropriate
      1689117c
  14. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  15. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
  16. 12 Jun, 2002 1 commit
  17. 10 Jun, 2002 1 commit
    • Hans Breuer's avatar
      added gdkdisplay and gdkscreen · 6539a7d3
      Hans Breuer authored
      2002-06-10  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc : added gdkdisplay and gdkscreen
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_open_display) :
      	need to gdk_screen_set_default_colormap(). Also un-static
      	some exported gdk_display_*() functions
      
      	* gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h"
      
      	* gdk/win32/gdkscreen-win32.c : implement
      	gdk_screen_get_number, fixed typo, added rewuired headers
      
      	[merge from 2.0.x branch, should we really manifest
      	 GtkPlug as being an X11 only thing this way? See #58541]
      	* gtk/gtkwindow.c (gtk_window_show): Conditionalize
      	GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem
      	reported by Sven Neumann)
      6539a7d3
  18. 07 Jun, 2002 1 commit
  19. 06 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Add a "is_focus" property indicating whether a widget is the focus widget · c0f78ae0
      Owen Taylor authored
      Fri May 17 17:27:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
              property indicating whether a widget is the focus
              widget within the toplevel.
      
              * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
              properties to indicate (separately) the idea of
              being the part of the toplevel with the input focus
              and being the active widget. (Needed for full XEMBED
              compliance.)
      
              * gtk/gtkplug.c gtk/gtksocket.c: Update to work
              in terms of is_active/has_toplevel_focus, and thus
              handle the active/focused XEMBED distinction
              correctly.
      
              * gtk/gtkplug.c (gtk_plug_realize): Remove
              FOCUS_CHANGE_MASK, since we don't need it.
      
      Fri May 17 18:07:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksocket.c (gtk_socket_add_window): Send
              XEMBED_EMBEDDED_NOTIFY.
      
              * gtk/gtksocket.c: Assume windows without _XEMBED_INFO
              property want to be mapped, for better
              current-Qt compatibility.
      c0f78ae0
  20. 28 May, 2002 1 commit
    • Matthias Clasen's avatar
      Markup fixes · 2aaf3c0e
      Matthias Clasen authored
      	* gtk/gtkwindow.c (gtk_window_move): Markup fixes
      
      	* gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
      	for Docbook XML.
      
      	* gtk/*, gdk/*, gdk-pixbuf/*: Create XML, not SGML.
      
      	* gtk/tmpl/*: Remove property documentation which comes from the
      	source now.
      
      	* gtk/building.sgml: Remove traces of gxi.
      2aaf3c0e
  21. 16 May, 2002 2 commits
    • Owen Taylor's avatar
      Only optimize out the full configure handling if we got a gratuitous · 2bf6824f
      Owen Taylor authored
      Thu May 16 19:49:24 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkwindow.c (gtk_window_configure_event): Only
              optimize out the full configure handling if we got
              a gratuitous configure event(configure_request_count == 0)
              and the size didn't change.
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Use
              g_message(), not g_print() for debug spew.b
      
              * gtk/gtkwindow.c (gtk_window_real_set_focus): Ref
              the old and new focus widgets for the scope of
              the function.
      
              * gtk/gtksocket.c gtkplug.c: Remove various #if 0'd
              bits of old code.
      2bf6824f
    • Owen Taylor's avatar
      Thu May 16 18:47:29 2002 Owen Taylor <otaylor@redhat.com> ... · 20be61ee
      Owen Taylor authored
       Thu May 16 18:47:29 2002  Owen Taylor  <otaylor@redhat.com>                                                                                          * gtk/gtkwindow.c (gtk_window_show): Disable the         focus-some-widget code for GtkPlug descendants.                                                             * gtk/gtkplug.c (gtk_plug_focus_event): Eat        focus-in/out events since they can be generated        by keyboard grabs, but are spurious for an embeddded        widget. (#79196, Padraig O'Briain)        * gtk/gtksocket.c (gtk_socket_size_request): Only        pay attention to the minimum size hints, and changes        to that ... ignore the default size.        * gtk/gtksocket.c (gtk_socket_send_configure_event):        Pass in root-window relative coordinates as per        the ICCCM.                                                     * gtk/gtksocket.c (gtk_socket_size_allocate): Send        as many synthetic configures as necessary to make        up for ConfigureRequest events we got. (#78799,        Dave Camp.)
      20be61ee
  22. 14 May, 2002 1 commit
    • Owen Taylor's avatar
      Fix frame_right/frame_top screwup. (Detlef Reichl, #78111) · 7359bb9d
      Owen Taylor authored
      Tue May 14 18:02:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_realize): Fix
              frame_right/frame_top screwup. (Detlef Reichl,
              #78111)
      
              * gtk/Makefile.am (install-data-local): Use
              $(INSTALL_DATA) not $(INSTALL) when installing
              theme files. (#77094, Ben Liblit)
      7359bb9d
  23. 13 May, 2002 1 commit
  24. 01 May, 2002 1 commit
    • Erwann Chenede -'s avatar
      remove virtualization and made it cross platform. fix #79961 fixed · 2325caf9
      Erwann Chenede - authored
      2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
      
        * gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
          remove virtualization and made it cross platform. fix #79961
        * gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
          fixed initialization bugs.
        * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
        * tests/testxinerama.c:
        * gtk/gtkwindow.c (gtk_window_compute_configure_request):
        * gtk/gtkmenu.c (gtk_menu_position):
          take a GdkRectangle argument instead of returning
          a GdkRectangle * and propagated the changes. fix #79974
      2325caf9
  25. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Make it work, even if the window is already realized or mapped. · 087fd22c
      Owen Taylor authored
      Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_screen): Make it
              work, even if the window is already realized or
              mapped.
      
              * tests/testgtk.c: Erwann's multihead changes, slightly
              dumbed down. (Removed logic for pulling windows onto
              the current screen, people can click twice on the demo
              to destroy and create again.)
      
              * tests/prop-editor.c: Set the screen on the property
              editor if the edited object is a widget.
      087fd22c
  26. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  27. 23 Mar, 2002 1 commit
    • Havoc Pennington's avatar
      add more explanatory text to the error message about missing charsets, and · 8d3df4d9
      Havoc Pennington authored
      2002-03-22  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
      	text to the error message about missing charsets, and use
      	g_printerr() not g_warning() since this is typically not a
      	programming error (we do not export any API to ask whether
      	a font set will have missing charsets so apps realistically can't
      	do anything other than try the gdk_fontset_load())
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
      	if the text view isn't editable and the user presses Return,
      	so default buttons and such can be activated, #74937
      
      	* gtk/gtktextbuffer.c (paste_from_buffer): don't insert
      	if the insertion point is not editable and the paste
      	is interactive, #74125
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
      	debug spew
      
      	* gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
      	cut/copied data right before replacing it, when we know we are
      	going to replace it. Fixes #74049
      8d3df4d9
  28. 20 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, · 8acfd1e9
      Owen Taylor authored
      Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
              a lot of warnings with Forte CC, mostly implicit
              casts between void * and function pointers.
      
              * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
              state field is not a GdkModifierType. (Also #73900)
      8acfd1e9
  29. 06 Mar, 2002 1 commit
  30. 05 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Fix docs. · 981574a9
      Matthias Clasen authored
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.
      
      	* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
      	(gtk_window_add_mnemonic):
      	(gtk_window_mnemonic_activate): Add docs.
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
      	typo in docs.
      
      	* test-loaders.c, test-images.h: More random tests.
      
      	* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.
      
      	* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
      981574a9
  31. 04 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Fix to properly take the default window into account by setting a flag and · d3a43f73
      Owen Taylor authored
      Sun Mar  3 18:47:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix
              to properly take the default window into account by
              setting a flag and in gtk_window_compute_configure_request_size ()
              multiplying by the increments and adding in the base
              size. (#72393)
      
              * tests/testgtk.c (create_gridded_geometry): Add a
              test for gridded geometry and for gtk_window_parse_geometry().
      d3a43f73
  32. 26 Feb, 2002 1 commit
  33. 24 Feb, 2002 2 commits
    • Owen Taylor's avatar
      Sanity check default font family name and size. · 23a249a0
      Owen Taylor authored
      Sat Feb 23 22:37:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c (gtk_style_init): Sanity check default
              font family name and size.
      
              * gtk/gtkwindow.c (gtk_window_set_default_size): Remove
              incorrect comment about the geometry widget.
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Unset the
              gtk_window_resize)() information once we've set the size
              once, to avoid it coming back next time we queue a resize.
              (#72359)
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Remove
              setthing of ->need_default_size from here, Havoc
              says that it should correspond more or less exactly
              to GTK_WIDGET_MAPPED (window).
      23a249a0
    • Owen Taylor's avatar
      Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB · 6a802b24
      Owen Taylor authored
      Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement
              accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
              XEMBED_GTK_KEY_UNGRAB pair of messages.
      
              * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().
      
              * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
              widgets.
      6a802b24
  34. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen (#54488) · 53171867
      Owen Taylor authored
      Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Matthias Clasen (#54488)
      
              * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
              and do ::has-focus notifications.
      
              * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
              gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
              Remove unecessary focus_in/out handles and unecessary
              flag setting.
      
              * gtk/gtkwidget.c: Adda missing notification on ::parent.
      53171867
  35. 21 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to · e5e5a521
      Owen Taylor authored
      Thu Feb 21 16:51:17 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add
              GDK_ISO_Next_Group/Prev_Group/Level3_Shift/
              First_Group/Last_Group to list of invalid accelerators.
              (A lot more that should be added, but probably would
              want a range mechanism. These are the ones found in
              the standard XFree86 config files.)
      
              * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem
              that broke bindings for menus.
      
              * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key()
              privately.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use
              _gtk_window_activate_key(), gtk_bindings_activate_event().
      e5e5a521