Commit Graph

6252 Commits

Author SHA1 Message Date
Owen Taylor
aa1715a85b Hard-code GTK_BINARY_VERSION=2.2.0 for now; should stay the same until we
Sun Dec 15 18:39:09 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Hard-code GTK_BINARY_VERSION=2.2.0 for
        now; should stay the same until we branch for 2.3.
2002-12-15 23:42:23 +00:00
Owen Taylor
66a228fb7c Pass TRUE for search_sensitive - prevents a problem where after hitting
Sun Dec 15 18:14:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item):
        Pass TRUE for search_sensitive - prevents a problem
        where after hitting Alt-F to bring up the File menu,
        the mnemonics for the items in the menu might not
        be usable. (#89336)
2002-12-15 23:32:44 +00:00
Christophe Merlet
2940323c40 Updated French translation. 2002-12-15 16:09:38 +00:00
Ole Laursen
748f2efe32 Updated Danish translation.
2002-12-15  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-12-15 15:57:30 +00:00
Eric Warmenhoven
b780b2a39b Minor updates for 2.2.0. (#67820)
2002-12-14  Eric Warmenhoven <eric@warmenhoven.org>

	* gtk/framebuffer.sgml: Minor updates for 2.2.0. (#67820)
2002-12-15 05:47:24 +00:00
Owen Taylor
880f14ff0c Fix a bug with checking the private flag on the wrong window; improve the
Sat Dec 14 22:18:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
        Fix a bug with checking the private flag on the wrong
        window; improve the answer on failure a bit; push
        an error trap around the X operations. (#100933)
2002-12-15 03:28:44 +00:00
Owen Taylor
aeb608afec Don't call status_window_set_text() if the status window doesn't already
Sat Dec 14 22:03:21 2002  Owen Taylor  <otaylor@redhat.com>

	* modules/input/gtkimcontextxim.c (status_window_hide): Don't
	call status_window_set_text() if the status window doesn't
	already exist. (#100933, reported by Anand Subra)

	* modules/input/gtkimcontextxim.c (status_window_show):
	Don't bother creating the status window here, wait for
	the set_text(). (Fixes a warning)
2002-12-15 03:11:40 +00:00
Matthias Clasen
8ba71578f2 Use g_printf instead of system printf. (#99327)
2002-12-15  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcalendar.c:
	* gtk/gtkfilesel.c:
	* gtk/gtkfontsel.c:
	* gtk/gtkhruler.c:
	* gtk/gtkinputdialog.c:
	* gtk/gtkprogress.c:
	* gtk/gtktreemodel.c:
	* gtk/gtkvruler.c:
	* gtk/queryimmodules.c:
	* gtk/theme-bits/decompose-bits.c:
	* gdk-pixbuf/gdk-pixbuf-csource.c:
	* gdk-pixbuf/make-inline-pixbuf.c:
	* gdk-pixbuf/queryloaders.c:
	* gdk/gdkkeynames.c:
	* gdk/gdkrgb.c:
	* gdk/linux-fb/gdkfbmanager.c:
	* gdk/win32/gdkevents-win32.c:
	* gdk/win32/gdkmain-win32.c:
	* gdk/win32/gdkproperty-win32.c:
	* gdk/x11/gdkmain-x11.c: Use g_printf instead of system
	printf.  (#99327)
2002-12-15 01:49:01 +00:00
Matthias Clasen
d745218d72 Add docs.
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
	(gtk_container_child_get_valist):
	(gtk_container_child_get_property):
	(gtk_container_child_set_valist):
	(gtk_container_child_set_property):
	(gtk_container_add_with_properties):
	(gtk_container_child_set):
	(gtk_container_child_get): Add docs.

	* gtk/gtkwindow.c (gtk_window_activate_default):
	(gtk_window_activate_focus): Add docs.
2002-12-15 01:15:52 +00:00
Matthias Clasen
1fafff6ca4 Made Xinerama-aware. (#85711)
2002-12-14  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Made
	Xinerama-aware.  (#85711)
2002-12-14 22:50:38 +00:00
Owen Taylor
08a08cf1b5 Add a new binding signal, "move_scroll", and use it to hook up
Sat Dec 14 14:19:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c: Add a new binding signal, "move_scroll",
        and use it to hook up Home/End/Page_Up/Page_Down keybindings.
        (#80484, Narayana Pattipati, Marius Andreiana)

        * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some
        bugs in the computation of when an item is visible. (#99545)

        * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c:
        Move here, export privately.

        * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export
        privately.

        * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't
        select the item if it is already selected.
2002-12-14 22:43:52 +00:00
Chema Celorio
c7c9ec32d5 minor coding style fix.
Sat Dec 14 01:51:05 2002  Chema Celorio  <chema@celorio.com>

	* gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding
	style fix.
2002-12-14 16:54:08 +00:00
Soeren Sandmann
41e9cfcd95 Don't recalculate the acceleration label in an idle handler.
Sat Dec 14 01:22:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkaccellabel.[ch] (gtk_accel_label_refetch): Don't
	recalculate the acceleration label in an idle handler.
2002-12-14 11:01:08 +00:00
Owen Taylor
ad3ca8430d Handle the case where the pointer isn't on the same screen as the widget
Sat Dec 14 01:00:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_position): Handle the case
        where the pointer isn't on the same screen as the widget
        by centering the menu on the widget's screen. (#94563)
2002-12-14 06:05:00 +00:00
Owen Taylor
d8bc318151 gdk/gdkscreen.c (gdk_screen_get_monitor_at_point) Provide a useful
Fri Dec 13 23:58:06 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkscreen.c (gdk_screen_get_monitor_at_point)
	* gdk/gdkscreen.c (gdk_screen_get_monitor_at_window):
	Provide a useful fallback on failure - return a monitor
	close to the point or window. (#79991)

	* gtk/gtkmenu.c (gtk_menu_position): Remove a now
	unneeded check for failure of
	gdk_screen_get_monitor_at_point()
2002-12-14 05:27:23 +00:00
Owen Taylor
c24ec77864 Comitting missed ChangeLog from earlier commit..
Fri Dec 13 23:10:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkclist.c: Fix a problem with the focus row
        ending up off the list when rows were deleted
        (#94812, Christian Reis, Jon Nelson).
2002-12-14 04:13:34 +00:00
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
Nam SungHyun
8c22e8065e updated 2002-12-13 06:07:22 +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
Yanko Kaneti
e4fcae9b5d Updated Bulgarian translation.
2002-12-12  Yanko Kaneti  <yaneti@declera.com>

	* bg.po: Updated Bulgarian translation.
2002-12-12 06:28:45 +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
Owen Taylor
b12144a46f Fix problem from recent commit where non GNU-format message catalogs would
Wed Dec 11 14:06:50 2002  Owen Taylor  <otaylor@redhat.com>

        * po/Makefile.in.in: Fix problem from recent commit where
        non GNU-format message catalogs would be installed in
        datadir. Remove some leftover setting of PATH=../src:$PATH.
2002-12-11 23:29:50 +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
Pauli Virtanen
769698a6e8 Updated Finnish translation.
2002-12-11 Pauli Virtanen <pauli.virtanen@hut.fi>

	* fi.po: Updated Finnish translation.
2002-12-11 21:49:55 +00:00
Owen Taylor
30b937bb73 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 21:28:22 +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
Matthias Clasen
9c49927100 Fix some links.
* gtk/text_widget.sgml: Fix some links.
2002-12-11 19:26:58 +00:00
Christian Neumair
79f66bd1c6 Updated German translation. 2002-12-11 16:14:56 +00:00
Daniel Yacob
911f479715 Updated Amharic translation. 2002-12-11 01:30:09 +00:00
Matthias Clasen
9716930a72 Add some ids to reduce dangling links. 2002-12-11 00:46:53 +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
Pablo Gonzalo del Campo
808ff67a59 Updated Spanish Translation.
2002-12-10  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish Translation.
2002-12-10 16:54:09 +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