Commit Graph

3962 Commits

Author SHA1 Message Date
Owen Taylor
4f14fc15e6 If the screen for the menu changes while the menu is torn off, move the
Fri Dec 13 22:55:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (menu_change_screen): If the screen
        for the menu changes while the menu is torn off, move
        the tearoff along with it. (#85669)

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): When
        reattaching, get rid of the get rid of the tearoff window.
2002-12-14 04:07:08 +00:00
Owen Taylor
30b328e79a Handle the case where the pointer is moved between screens during a handle
Fri Dec 13 21:35:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle
        the case where the pointer is moved between screens
        during a handle box drag by resetting the original
        location. (#94562)

        * gtk/gtkinputdialog.c (gtk_input_dialog_get_private):
        Fix a leftover variable name from cut-and-paste.
2002-12-14 02:41:30 +00:00
Owen Taylor
59f712ad5f Change the Escape key binding to only close if the dialog contains a
Fri Dec 13 18:57:20 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdialog.c: Change the Escape key binding to only close
        if the dialog contains a cancel button.  (Patch from
        James Willcox, #74221)
2002-12-14 00:14:54 +00:00
Owen Taylor
137ad5b9ae Use g_utf8_collate_key() to sort in human-friendly order. (#94473)
Fri Dec 13 18:22:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (compare_cmpl_dir): Use
        g_utf8_collate_key() to sort in human-friendly order.
        (#94473)
2002-12-13 23:28:56 +00:00
Owen Taylor
73b15ba391 System fnmatch wasn't going to be UTF-8 clean, neither was our version.
Fri Dec 13 17:45:40 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
        System fnmatch wasn't going to be UTF-8 clean, neither
        was our version. Redo our fnmatch.c to be UTF-8, add
        test cases, fix all sorts of bugs inherited
        from the antique GNU fnmatch code. Change interface
        to get rid of fnmatch.h constants. Fixes basic
        non-workingness of filesel with non-ASCII filenames.

        * gtk/fnmatch.h: No longer needed.
2002-12-13 23:18:03 +00:00
Owen Taylor
72ecdb5ce9 Const warning fix.
Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
        warning fix.
2002-12-13 01:23:42 +00:00
Owen Taylor
829c6708f2 Include "." and ".." in the list of entries; they are needed for correct
Thu Dec 12 19:51:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (open_new_dir): Include "."
        and ".." in the list of entries; they are needed for
        correct handling of .<TAB>, ..<TAB>; were lost
        with the GDir conversion. (Francisco Bustamante,
        #89972)

        * gtk/gtkfilesel.c (open_new_dir): If we hit
        EOF unexpectedly, that's OK... a file was just
        deleted while we were reading the directory.
2002-12-13 01:06:55 +00:00
Owen Taylor
e4fc95abb1 Intercept events of type GDK_SETTING before we check to see if there was
Thu Dec 12 18:02:34 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.c (gtk_main_do_event): Intercept events
        of type GDK_SETTING before we check to see if there
        was an event widget or not. (#97451, Simon Wong,
        Bastien Nocera)
2002-12-12 23:07:45 +00:00
Owen Taylor
7264fdb06a Add C-u/C-h/C-w. (#72245)
Thu Dec 12 17:58:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
2002-12-12 23:02:40 +00:00
Owen Taylor
fcfb638ab0 Skip insensitive widgets. (#84061)
Thu Dec 12 17:01:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
        widgets. (#84061)
2002-12-12 22:06:43 +00:00
Owen Taylor
13712bdc0d Remove unneeded bits of AM_GTK_GNU_TEXT macros.
Thu Dec 12 15:08:01 2002  Owen Taylor  <otaylor@redhat.com>

        * acinclude.m4: Remove unneeded bits of AM_GTK_GNU_TEXT
        macros.
2002-12-12 20:10:46 +00:00
Soeren Sandmann
ab74ab521a return TRUE when button 3 is pressed, fixes #78324.
Thu Dec 12 18:25:17 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtktextview.c (gtk_text_view_button_press_event):
        return TRUE when button 3 is pressed, fixes #78324.
2002-12-12 18:01:06 +00:00
Owen Taylor
437de1aa07 Turn off DEBUG_VALIDATION_AND_SCROLLING that got turned on in an
Thu Dec 12 10:12:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c: Turn off DEBUG_VALIDATION_AND_SCROLLING
        that got turned on in an accidental commit.
2002-12-12 15:14:32 +00:00
Owen Taylor
ac06ccff2f === Released GTK+-2.1.4 ===
Wed Dec 11 18:30:05 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released GTK+-2.1.4 ===

        * NEWS: Updated.

        * modules/input/Makefile.am (INCLUDES): Remove GTK_LOCALEDIR
        from here as well. (Manish Singh)
2002-12-12 00:26:22 +00:00
Tor Lillqvist
5fc015b4e9 gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new, gdk_bitmap_create_from_data,
2002-12-11  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new,
	gdk_bitmap_create_from_data, gdk_pixmap_create_from_data)
	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image):
	Functions now take a GdkDrawable instead of GdkWindow parameter,
	like in X11 and linux-fb backends (#100780)

	* gdk/win32/gdkwindow-win32.c (get_default_title): Do use
	g_get_application_name() (I now have a fresh enough GLib).
2002-12-11 23:04:39 +00:00
Owen Taylor
b98e775ee9 version 2.1.4, interface age 1.
Wed Dec 11 14:04:23 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: version 2.1.4, interface age 1.

        * configure.in: Require GLib-2.1.4, so we will catch
        the need for the new AM_GLIB_DEFINE_LOCALEDIR() in
        an obvious way.

        * configure.in gtk/Makefile.am: Use AM_GLIB_DEFINE_LOCALEDIR()
2002-12-11 19:44:57 +00:00
PST 2002 Manish Singh
1e5d33a29b gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *, not an
Tue Dec 10 15:46:01 PST 2002  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkwindow-x11.c (set_initial_hints):
        gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *,
        not an XDisplay * (obvious typo fix for the previous commit)
2002-12-10 23:48:07 +00:00
Matthias Clasen
428c076fef Delete EWMH properties if no private->state flags are set. (#66754)
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Delete EWMH
	properties if no private->state flags are set.  (#66754)

	* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
	* gtk/gtkcontainer.c (gtk_container_class_find_child_property):
	Doc typo fixes.

	* gtk/tmpl/gtktextview.sgml: Add docs.

	* gtk/tree_widget.sgml: Fix some links.

	* gtk/tmpl/gtkwindow.sgml: Add docs.

	* gtk/tmpl/gtkeditable.sgml: Document GtkEditable as an interface,
	not as an abstract base class.

	* gtk/gtk-docs.sgml: Move GtkEditable from "Abstract Base Classes"
	to "Numeric/Text Data Entry".
2002-12-10 23:25:33 +00:00
Matthias Clasen
14ee65b66a Data constness fixes. (#75754) 2002-12-10 21:39:53 +00:00
Owen Taylor
329c090ec1 Separate out tracking of the X server focus window from tracking our idea
Tue Dec 10 14:37:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate)
          gdk/x11/gdkwindow-x11.h: Separate out tracking of the X server
          focus window from tracking our idea of what the focus window is,
          because the PointerRoot code needs to know the real pointer
          window. (Mostly accidentally committed a bit earlier.)
2002-12-10 20:06:02 +00:00
Owen Taylor
2c3fc13ace Fix typo with hadjustment/vadjustment introduce prior to 2.0.0. (#84621,
Tue Dec 10 12:57:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkclist.c (adjust_adjustments): Fix typo with
        hadjustment/vadjustment introduce prior to 2.0.0.
        (#84621, Charles Kerr)
2002-12-10 18:02:26 +00:00
Soeren Sandmann
439d61b96f new default color scheme based on the GNOME stock icon palette. (#80691,
Tue Dec 10 12:40:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default
	color scheme based on the GNOME stock icon palette. (#80691,
	Tuomas Kuosmanen, Garrett LeSage, Owen Taylor)

	* gtk/gtknotebook.c (gtk_notebook_real_remove): take a new
	parameter, "destroying", and don't emit the switch-page signals
	when it is true (fix #64832, reported by Jarred Keuch)

	* gtk/gtklabel.c (gtk_label_set_property): remove unused
	variable.
2002-12-10 12:02:43 +00:00
Kristian Rietveld
bfb45391db x can be in the range [0, upper], which can be bigger than [0, page_size].
Tue Dec 10 02:14:12 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
        the range [0, upper], which can be bigger than [0, page_size].
        (Fixed #99778, reported and testcase provided by Carlos Garnacho
        Parro).
2002-12-10 01:00:44 +00:00
Owen Taylor
5b3964b91e Remove a couple of places if (widget->window), this function will only
Mon Dec  9 19:49:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Remove
        a couple of places if (widget->window), this function
        will only ever be called on a realized window.
        (#80225)
2002-12-10 00:53:47 +00:00
Kristian Rietveld
5fb6d3b823 implement a working use_align = FALSE implementation (also mentioned in
Tue Dec 10 01:58:43 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (validate_visible_area): implement a working
        use_align = FALSE implementation (also mentioned in #91335, reported
        by Juri Pakaste).

        * gtk/gtktreeview.c (validate_visible_area): only free the
        scroll_to_path if we are done with validating (fixes #93584, reported
        and testcase provided by Erik Simonsen).

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        set the GTK_CELL_RENDERER_FOCUSED flag where appropriate. (fixes
        #75745, reported by Richard Hult).

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_position):
        initialize cellinfo to NULL to silence the compiler.
2002-12-10 00:47:32 +00:00
Owen Taylor
2a455794b7 Remove unused draw_spin_entry_shadow(). (#80229)
Mon Dec  9 19:31:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove
        unused draw_spin_entry_shadow(). (#80229)
2002-12-10 00:34:44 +00:00
Owen Taylor
b658a5d26c Remove selection for DeviceButtonRelease, we no longer need it now that
Mon Dec  9 18:50:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
        Remove selection for DeviceButtonRelease, we no longer need
        it now that gxi is gone. (#32617, reported by Garry
        Osgood)
2002-12-09 23:55:26 +00:00
Kristian Rietveld
00185e7ed1 update to allow a GdkDrawable instead of a GdkWindow.
Tue Dec 10 00:49:35 2002  Kristian Rietveld  <kris@gtk.org>

        * gdk/gdkpixmap.h (gdk_pixmap_new), (gdk_bitmap_create_from_data),
        (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm),
        (gdk_pixmap_create_from_xpm_d),
        (gdk_pixmap_colormap_create_from_xpm_d): update to allow a
        GdkDrawable instead of a GdkWindow.

        * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpm),
        (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm_d),
        (gdk_pixmap_create_from_xpm_d): update to allow a GdkDrawable
        instead of a GdkWindow.

        * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new),
        (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): update
        to allow a GdkDrawable instead of a GdkWindow.

        * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new),
        (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): likewise
2002-12-09 23:34:49 +00:00
Owen Taylor
7c2489e953 Remove unnecessary leftover check that was causing a UMR. (#100768,
Mon Dec  9 17:31:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c (icon_size_lookup_intern): Remove
        unnecessary leftover check that was causing a UMR.
        (#100768, Kjartan Maraas)
2002-12-09 22:34:23 +00:00
Peteris Krisjanis
33a63ce186 2002-12-09 Artis Trops <hornet@navigator.lv> * configure.in: Added Latvian (lv) to ALL_LINGUAS 2002-12-09 17:15:34 +00:00
Owen Taylor
516b7c18ba Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, #100023)
Mon Dec  9 10:44:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private):
        Fix a bug in one of my earlier changes. (From Naofumi Yasufuku,
        #100023)
2002-12-09 15:48:09 +00:00
Owen Taylor
39e143aa68 Fix spacing in a bunch of for (i=0; i<ncolors; i++).
Sun Dec  8 21:43:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of
        for (i=0; i<ncolors; i++).

        * gdk/x11/gdkcolor-x11.c: Various g_return_if_fail()
        cleanup.
2002-12-09 02:51:14 +00:00
Owen Taylor
af36a5e5c1 Fix a lost refcount in the case where we get a duplicate back from the X
Sun Dec  8 21:29:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc1): Fix
        a lost refcount in the case where we get a duplicate
        back from the X server.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_writeable):
        Set success[] for all colors when allocation of colors
        cells via XAllocColorCells succeeds.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private):
        Don't match against colors cells allocated writeable.
2002-12-09 02:41:51 +00:00
Owen Taylor
e4c9e2ebca When allocating non-writeable colors, fill in the flags field of the
Sun Dec  8 21:22:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private):
        When allocating non-writeable colors, fill in the flags
        field of the XColor, and insert the returned color into
        our color hash. (#100023, Naofumi Yasufuku)

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_free_colors):
        Fix a typo (my fault) that slipped in in the last patch.
2002-12-09 02:25:14 +00:00
Owen Taylor
fac76f9426 More fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)
Sun Dec  8 20:32:23 2002  Owen Taylor  <otaylor@redhat.com>

        More fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)

        * gdk/x11/gdkcolor-x11.c (gdk_colors_free)
        (gdk_colormap_free_colors): Don't call XFreeColors() for
        private colorsmaps.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_writeable,
        gdk_colormap_colors_private, gdk_colormap_alloc_colors_shared):
        Fix return values to return number remaining not number
        allocated.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_shared,
        gdk_colormap_alloc_colors_private): Clean up some a stray
        initializations.
2002-12-09 02:02:27 +00:00
Owen Taylor
bb0446a014 Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)
Sun Dec  8 20:19:22 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)

        * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_foreign_new):
        Fix typo that caused us to always return the system
        colormap.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_new): When allocating
        a private colormap and copying the system palette
        to prevent flashing, handle colormap->size greater than
        system_colormap->size.

        * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xdisplay):
        Get rid of the last remains of private->xdisplay
        in favor of using private->screen.
2002-12-09 01:29:34 +00:00
Tor Lillqvist
af9b53fc58 Merge from stable:
2002-12-09  Tor Lillqvist  <tml@iki.fi>

	Merge from stable:

	* gdk/win32/gdkdrawable-win32.c (generic_draw): Don't leak
	stipple_gc. More checks for errors. Use correct ternary ROP when
	blitting the foreground into the tile pixmap onto those pixels
	where the stipple is set. (I didn't notice that I had used the
	wrong one, as it didn't matter on Win2k, where DIB sections
	apparently are zeroed upon creation. But on Win98 they have random
	initial contents. Thanks to Hans Breuer for reporting this.)
	(gdk_win32_draw_rectangle, gdk_win32_draw_arc,
	gdk_win32_draw_polygon): Don't pass the LINE_ATTRIBUTES bits to
	generic_draw() if drawing a filled figure.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_print_dc): Minor cosmetics.
	(_gdk_win32_gcvalues_mask_to_string): Initialize buffer as empty.
	(_gdk_win32_window_state_to_string): New debugging output helper
	function.

	* gdk/win32/gdkevents-win32.c: Minor debugging output changes.
	(gdk_event_translate): Ignore the WM_SHOWWINDOW/SW_OTHERUNZOOM or
	SW_OTHERZOOM messages. Do not generate a GDK_UNMAP event for
	WM_SIZE/SIZE_MINIMIZED messages, they do not really corrspond to
	unmapping on X11. Set window state correctly for all three of
	SIZE_{MINIMIZED,MAXIMIZED,RESTORED}. A maximized and then iconified
	("minimized" in Windows terminology) window still has the
	"maximized" property, i.e. when deiconified, it will reappear as
	maximized. (#10557)

	* gdk/win32/gdkprivate-win32.h: Declare new function.
	(WIN32_API_FAILED, WIN32_GDI_FAILED, OTHER_API_FAILED): Don't use
	__PRETTY_FUNCTION__ if __GNUC__ >= 3, to avoid warning message.

	* gdk/win32/gdkwindow-win32.c (show_window_internal): Handle more
	situations. Add parameter to tell whether deiconifying. Code
	reorg: Return early when appropriate instead of using nested if
	statements. If just deiconifying without raising, restore active
	window. (#10557)

	(gdk_window_hide, gdk_window_withdraw, gdk_window_iconify,
	gdk_window_deiconify, gdk_window_maximize, gdk_window_unmaximize,
	gdk_window_focus): Use _gdk_win32_window_state_to_string() in
	debugging output.

	(gdk_window_iconify): Restore active window after calling
	ShowWindow(). Otherwise the "next" window gets activated.

	(gdk_window_stick, gdk_window_unstick): Don't output any warnings.

	(gdk_window_set_transient_for): Rewrite. Just call SetWindowLong()
	with GWL_HWNDPARENT, which despite its name sets the *owner*
	window, which should be exactly what we want. The PSDK
	documentation is said to be misleading. testgtk's modal window
	test now works much better. (#50586)
2002-12-09 00:43:42 +00:00
Owen Taylor
7bd2340794 Remove left-over NULL checks that were preventing the NULL to "unmodify"
Sun Dec  8 18:28:51 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_modify_fg/bg/base/text/font):
        Remove left-over NULL checks that were preventing the
        NULL to "unmodify" feature from actually working.
2002-12-08 23:32:29 +00:00
Matthias Clasen
3bdc520c48 Reset priv->changing before returning. (#100443)
* gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color):
	(gtk_color_selection_set_previous_alpha): Reset priv->changing
	before returning.  (#100443)
2002-12-08 22:17:22 +00:00
GMT 2002 Tony Gale
47ebb9739a minor fixes
Sat Dec  7 14:45:50 GMT 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml: minor fixes

        * examples/pixmap: don't use deprecated function
2002-12-07 14:48:08 +00:00
Owen Taylor
f9d1107b60 Use octal escapes rather than literal UTF-8.
Fri Dec  6 19:00:59 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/testview.c tests/testgtk.c
        tests/testtext.c tests/testtextbuffer.c: Use
        octal escapes rather than literal UTF-8.
2002-12-07 00:03:34 +00:00
Owen Taylor
a8d58a409e Fix incorrect masks in PACKED_COLOR definition. (#99795, John Finlay)
Fri Dec  6 17:50:57 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect
        masks in PACKED_COLOR definition. (#99795,
        John Finlay)
2002-12-06 22:56:26 +00:00
Owen Taylor
17bbbde74a Use the correct screen for getting the height. (Fix from Stephen Browne,
Fri Dec  6 17:46:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_window_size_request): Use
        the correct screen for getting the height.
        (Fix from Stephen Browne, #96777)
2002-12-06 22:49:56 +00:00
Eric Warmenhoven
9310fe538f Fix gdkenumtypes.h hack
Thu Dec  5 16:01:14 2002  Eric Warmenhoven <eric@warmenhoven.org>

	* gdk/{linux-fb,win32}/Makefile.am: Fix gdkenumtypes.h hack
2002-12-06 00:12:53 +00:00
Matthias Clasen
c4b5d5da11 Add "Since" information.
* gdk/tmpl/x_interaction.sgml:
	* gdk/tmpl/gdkscreen.sgml:
	* gdk/tmpl/gdkdisplaymanager.sgml:
	* gdk/tmpl/gdkdisplay.sgml:
	* gtk/tmpl/gtkstock.sgml:
	* gtk/tmpl/gtkwidget.sgml:
	* gtk/tmpl/gtkmain.sgml:
	* gtk/tmpl/gtkcolorsel.sgml:
	* gtk/tmpl/gtkaccelgroup.sgml:
	* gdk-pixbuf/tmpl/module_interface.sgml: Add "Since" information.

	* gdk/gdkcolor.c:
	* gdk/gdkfont.c: Add some Deprecation info.
2002-12-06 00:10:20 +00:00
Eric Warmenhoven
095bea4512 More proper vt switch handling
Wed Dec  4 19:41:14 2002  Eric Warmenhoven <eric@warmenhoven.org>

	* gdk/linux-fb/gdkglobals-fb.c gdk/linux-fb/gdkkeyboard-fb.c
	gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkprivate-fb.h
	gdk/linux-fb/gdkrender-fb.c: More proper vt switch handling
2002-12-05 16:28:35 +00:00
Owen Taylor
6d5f8224a5 Always look up and create the Motif drag window as a child of the root
Wed Dec  4 14:31:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c: Always look up and create the
        Motif drag window as a child of the root window of screen 0
        rather than the default screen. (#100362, Erwann Chenede)

        * gdk/x11/gdkdnd-x11.c (motif_read_initiator_info):
        Return FALSE, not GDK_FILTER_REMOVE on failure; this
        isn't a filter function.

        * gdk/x11/gdkselection-x11.c gtk/gtkselection.c: Add
        some g_return_if_fail() to catch selection == None more
        gracefully than an X error.
2002-12-04 19:50:57 +00:00
Christian Neumair
d0e6d66633 Fixed typo in gtkcellrendertoggle.c. 2002-12-04 19:32:13 +00:00
Owen Taylor
b295f552ee Add back the monitoring of the selection when the combo isn't popped down;
Wed Dec  4 12:44:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombo.c (gtk_combo_selection_changed): Add
        back the monitoring of the selection when the combo
        isn't popped down; apparently people depended upon
        the side-effect where gtk_combo_set_popdown_strings()
        would wipe out the contents of the list when browse-mode
        autoselected the first item in the list. (#100347)
2002-12-04 18:07:08 +00:00
Owen Taylor
a58708c484 Fix wrong sign for queued translation. (Found by Chris Blizzard, #100274)
Tue Dec  3 17:47:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong
        sign for queued translation. (Found by Chris Blizzard,
        #100274)
2002-12-03 22:54:09 +00:00