1. 15 Dec, 2002 3 commits
    • Owen Taylor's avatar
      Don't call status_window_set_text() if the status window doesn't already · aeb608af
      Owen Taylor authored
      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)
      aeb608af
    • Matthias Clasen's avatar
      Use g_printf instead of system printf. (#99327) · 8ba71578
      Matthias Clasen authored
      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)
      8ba71578
    • Matthias Clasen's avatar
      Add docs. · d745218d
      Matthias Clasen authored
      	* 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.
      d745218d
  2. 14 Dec, 2002 10 commits
    • Matthias Clasen's avatar
      Made Xinerama-aware. (#85711) · 1fafff6c
      Matthias Clasen authored
      2002-12-14  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Made
      	Xinerama-aware.  (#85711)
      1fafff6c
    • Owen Taylor's avatar
      Add a new binding signal, "move_scroll", and use it to hook up · 08a08cf1
      Owen Taylor authored
      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.
      08a08cf1
    • Chema Celorio's avatar
      minor coding style fix. · c7c9ec32
      Chema Celorio authored
      Sat Dec 14 01:51:05 2002  Chema Celorio  <chema@celorio.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding
      	style fix.
      c7c9ec32
    • Soeren Sandmann's avatar
      Don't recalculate the acceleration label in an idle handler. · 41e9cfcd
      Soeren Sandmann authored
      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.
      41e9cfcd
    • Owen Taylor's avatar
      Handle the case where the pointer isn't on the same screen as the widget · ad3ca843
      Owen Taylor authored
      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)
      ad3ca843
    • Owen Taylor's avatar
      gdk/gdkscreen.c (gdk_screen_get_monitor_at_point) Provide a useful · d8bc3181
      Owen Taylor authored
      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()
      d8bc3181
    • Owen Taylor's avatar
      Comitting missed ChangeLog from earlier commit.. · c24ec778
      Owen Taylor authored
      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).
      c24ec778
    • Owen Taylor's avatar
      If the screen for the menu changes while the menu is torn off, move the · 4f14fc15
      Owen Taylor authored
      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.
      4f14fc15
    • Owen Taylor's avatar
      Handle the case where the pointer is moved between screens during a handle · 30b328e7
      Owen Taylor authored
      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.
      30b328e7
    • Owen Taylor's avatar
      Change the Escape key binding to only close if the dialog contains a · 59f712ad
      Owen Taylor authored
      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)
      59f712ad
  3. 13 Dec, 2002 5 commits
    • Owen Taylor's avatar
      Use g_utf8_collate_key() to sort in human-friendly order. (#94473) · 137ad5b9
      Owen Taylor authored
      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)
      137ad5b9
    • Owen Taylor's avatar
      System fnmatch wasn't going to be UTF-8 clean, neither was our version. · 73b15ba3
      Owen Taylor authored
      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.
      73b15ba3
    • Nam SungHyun's avatar
      updated · 8c22e806
      Nam SungHyun authored
      8c22e806
    • Owen Taylor's avatar
      Const warning fix. · 72ecdb5c
      Owen Taylor authored
      Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
              warning fix.
      72ecdb5c
    • Owen Taylor's avatar
      Include "." and ".." in the list of entries; they are needed for correct · 829c6708
      Owen Taylor authored
      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.
      829c6708
  4. 12 Dec, 2002 8 commits
  5. 11 Dec, 2002 9 commits
  6. 10 Dec, 2002 5 commits
    • PST 2002  Manish Singh's avatar
      gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *, not an · 1e5d33a2
      PST 2002 Manish Singh authored
      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)
      1e5d33a2
    • Matthias Clasen's avatar
      Delete EWMH properties if no private->state flags are set. (#66754) · 428c076f
      Matthias Clasen authored
      
      	* 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".
      428c076f
    • Matthias Clasen's avatar
      Data constness fixes. (#75754) · 14ee65b6
      Matthias Clasen authored
      14ee65b6
    • Owen Taylor's avatar
      Separate out tracking of the X server focus window from tracking our idea · 329c090e
      Owen Taylor authored
      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.)
      329c090e
    • Owen Taylor's avatar
      Fix typo with hadjustment/vadjustment introduce prior to 2.0.0. (#84621, · 2c3fc13a
      Owen Taylor authored
      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)
      2c3fc13a