1. 15 Aug, 2003 5 commits
    • Owen Taylor's avatar
      Improve Cedilla handling - based on a patch from Gustavo De Nardin, · d270a00d
      Owen Taylor authored
      Fri Aug 15 16:54:39 2003  Owen Taylor  <otaylor@redhat.com>
      
              Improve Cedilla handling - based on a patch from Gustavo
              De Nardin, #111334
      
              * modules/input/imcedilla.c po/POTFILES.in: Input method that
              produces C_WITH_CEDILLA rather than C_WITH_ACUTE for
              dead_acute+c combinations. Make this the default for
              fr and pt.
      
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
              Use LC_CTYPE instead of LC_MESSAGES to pick the default
              input method.
      
      Fri Aug 15 17:00:19 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimcontextsimple.c: Fix missing compose sequence
              for Multi_key+c+apostrophe.
      d270a00d
    • Kristian Rietveld's avatar
      Merged from stable. · 4254bdbb
      Kristian Rietveld authored
      Fri Aug 15 21:57:34 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): stop editing
      	on vertical scrolling. (#108035, reported by Tim Janik).
      4254bdbb
    • Kristian Rietveld's avatar
      Merged from stable. · 15885321
      Kristian Rietveld authored
      Fri Aug 15 20:06:42 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_model_sort_row_changed),
      	(gtk_tree_model_sort_level_find_insert),
      	(gtk_tree_model_sort_insert_value): fix off-by-one error.
      	(#109292 continued, patch from Yann Rouillard).
      15885321
    • Kristian Rietveld's avatar
      (Note: This is not exactly the same as the patch which went in gtk-2-2). · 2e299387
      Kristian Rietveld authored
      Fri Aug 15 19:43:14 2003  Kristian Rietveld  <kris@gtk.org>
      
      	(Note: This is not exactly the same as the patch which went in
      	 gtk-2-2).
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init),
      	(gtk_tree_view_key_press), (gtk_tree_view_search_key_press_event):
      	Also support the up, down, left, right, home, end, page up and
      	page down keys on the numpad. (#119419, reported by Alex Larsson).
      2e299387
    • Owen Taylor's avatar
      Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai): · e44f6a8a
      Owen Taylor authored
      Fri Aug 15 12:34:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai):
      
              * configure.in (GDK_DEP_LIBS_FOR_X): Make sure that
              we link libgtk against X explicitely, since we
              make GTK+ calls for plug/socket.
      
              * gtk/queryimmodules.c: Use USE_LA_MODULES and
              G_MODULE_SUFFIX here.
      
              * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_image): Protect
              XShmPutImage with #ifdef USE_SHM.
      e44f6a8a
  2. 14 Aug, 2003 2 commits
    • Owen Taylor's avatar
      Don't reposition the cursor when we aren't trying to complete. (Fixes · 03813f36
      Owen Taylor authored
      Thu Aug 14 18:25:39 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_populate):
              Don't reposition the cursor when we aren't trying
              to complete. (Fixes problems with selection on
              startup, #108433, reported by Mark Finlay.)
      
              * gtk/gtkfilesel.c (gtk_file_selection_populate): Remove
              code that tried to position the cursor after the common
              prefix when there was one, it wasn't working, and
              would be hard to fix. Just always put the cursor
              at the end when completing.
      03813f36
    • Owen Taylor's avatar
      If getting the current directory fails because of encoding conversion · 27be4e9b
      Owen Taylor authored
      Thu Aug 14 17:58:23 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (get_current_dir_utf8): If getting
              the current directory fails because of encoding
              conversion problems, walk up textually to parent
              directories until we can convert. (#113627)
      27be4e9b
  3. 13 Aug, 2003 4 commits
    • Owen Taylor's avatar
      Remove usage of menu_shell->ignore leave which was to deal with stray · a6491199
      Owen Taylor authored
      Wed Aug 13 17:01:49 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] (gtk_menu_shell_enter_notify):
              Remove usage of menu_shell->ignore leave which was
              to deal with stray events we no longer get because
              we do grabbing differently. Comment it as unused in
              the header. (#115837, Keith Bissett)
      a6491199
    • Owen Taylor's avatar
      Fix some places that weren't properly Xinerama-ified. · 91d37680
      Owen Taylor authored
      Wed Aug 13 16:32:43 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_position, gtk_menu_window_size_request):
              Fix some places that weren't properly Xinerama-ified.
      
              * gtk/gtkmenu.c: Fix problem with windows that scroll
              at the top of the screen.
      91d37680
    • Owen Taylor's avatar
      connect_after() to key-press-event on the entry, so input methods get · 4001482c
      Owen Taylor authored
      Wed Aug 13 11:34:53 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcombo.c (gtk_combo_init): connect_after() to
              key-press-event on the entry, so input methods get access to
              key presses before GtkCombo customization.
              (#115451, Botond Botyanszki)
      4001482c
    • Anders Carlsson's avatar
      Add an important column. · 296c4b41
      Anders Carlsson authored
      2003-08-13  Anders Carlsson  <andersca@gnome.org>
      
      	* tests/testtoolbar.c: (set_important_func), (important_toggled),
      	(create_items_list):
      	Add an important column.
      296c4b41
  4. 12 Aug, 2003 2 commits
  5. 11 Aug, 2003 3 commits
  6. 10 Aug, 2003 2 commits
  7. 09 Aug, 2003 2 commits
  8. 08 Aug, 2003 6 commits
  9. 07 Aug, 2003 8 commits
    • Matthias Clasen's avatar
      Hide the resize grip when maximized or fullscreen. · 3d0b5b8d
      Matthias Clasen authored
      2003-08-08  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/appwindow.c (do_appwindow): Hide the resize grip when maximized or fullscreen.
      3d0b5b8d
    • Tor Lillqvist's avatar
      gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. · 5155f3ca
      Tor Lillqvist authored
      2003-08-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkinput-win32.h
      	* gdk/win32/gdkinput-win32.c (_gdk_input_configure_event,
      	_gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't
      	used.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller
      	accordingly, in fact an uninitialised variable was dereferenced.
      
      
      	[Win32] Add support for multiple monitors.
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c: New global variables for
      	multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and
      	_gdk_offset_x and _gdk_offset_y.
      
      	* gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New
      	functions, enumeration functions passed to EnumDisplayMonitors().
      
      	(gdk_display_open): If the EnumDisplayMonitors() and
      	GetMonitorInfo() API is present (on Win98, Win2000 and newer), use
      	if to find out monitor info.
      
      	Calculate the offset between Win32 coordinates (relative to the
      	primary monitor's origin (and thus negative on monitors to the
      	left of or above it), and GDK's (visible coordinates should be
      	non-negative).
      
      	* gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors,
      	gdk_screen_get_monitor_geometry): Use information collected above.
      
      	(gdk_window_move, gdk_window_move_resize_window_get_geometry):
      	Subtract _gdk_offset_{x,y} from GDK root window coordinates.
      
      	(gdk_window_get_geometry, gdk_window_get_origin,
      	gdk_window_get_frame_extents): For top-level windows, add
      	_gdk_offset_{x,y} to GDK root window coordinates
      
      	Still need to handle multiple monitors in
      	gdk_window_fullscreen(). Probably should make the window
      	fullscreen on the monitor where the cursor is?
      
      	* gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK
      	root window coordinates in GdkEvents.
      
      
      	[Win32] Fix geometry hint handling. Add support for resize
      	increment and base size, and aspect ratio geometry hints. The
      	"gridded geometry" test in testgtk now works beautifully.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
      	Turns out this function shouldn't actually ever modify the
      	window's size, just store the hints. (Old code kept for a while
      	inside #if 0.)
      
      	(gdk_window_set_hints): Remove presumably broken code that handles
      	the position hints, this function is obsolete anyway.
      
      	* gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root
      	variables, not used.
      
      	(adjust_drag): New function, used to implement resize increment
      	hints.
      
      	(gdk_event_translate): Handle WM_SIZING, implement resize
      	increment and base size, and aspect ratio geometry hints here. The
      	WM_GETMINMAXINFO handler takes care of the minimum and maximum
      	size hints as before. Fix the WM_GETMINMAXINFO handler to take
      	into account window decorations. No need to modify the
      	ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct,
      	the defaults are fine.
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect,
      	_gdk_win32_get_adjusted_client_rect): New helper functions.
      5155f3ca
    • Matthias Clasen's avatar
      Reset the toplevel->have_* flags before iterating over the _NET_WM_STATE · 9bfaab6e
      Matthias Clasen authored
      2003-08-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
      	iterating over the _NET_WM_STATE atoms.  (#119217)
      9bfaab6e
    • Owen Taylor's avatar
      Fix a bug where on theme change, resize/redraw wasn't properly getting · bccfe548
      Owen Taylor authored
      Thu Aug  7 16:49:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c (gtk_widget_set_style_internal):
              Fix a bug where on theme change, resize/redraw wasn't
              properly getting queued on toplevel windows. (#116346,
              Rajkumar Siva)
      
              * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
              Fix bug where wrong coordinates were used for toplevel
              window.
      bccfe548
    • Owen Taylor's avatar
      Remove leftover page_num variable (Archit Baweja) · 6f627e53
      Owen Taylor authored
      Thu Aug  7 16:40:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
              page_num variable (Archit Baweja)
      6f627e53
    • Matthias Clasen's avatar
      Use g_strtod() to cope with C libraries with crippled locale support. · 5708dcee
      Matthias Clasen authored
      2003-08-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
      	crippled locale support.  (#115293)
      5708dcee
    • Hans Breuer's avatar
      finally use TrackMouseEvent (only if the new window not known to Gdk) to · 1ea3b450
      Hans Breuer authored
      2003-08-07  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
      	(only if the new window not known to Gdk) to get proper
      	leave notification, and get rid of the wrong placed
      	tooltips, bug #102283
      
      	(gdk_event_translate) : small code reordering to not get
      	GDK_MOTION_NOTIFY for still mouse and get back tooltips on
      	menus, bug #117367
      1ea3b450
    • Tor Lillqvist's avatar
      gdk/gdk.def Add missing function, trivially implement. · 209dc33b
      Tor Lillqvist authored
      2003-08-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def
      	* gdk/win32/gdkfont-win32.c (gdk_fontset_load_for_display): Add
      	missing function, trivially implement.
      209dc33b
  10. 06 Aug, 2003 3 commits
  11. 05 Aug, 2003 3 commits
    • Hans Breuer's avatar
      set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435 · d2c64e30
      Hans Breuer authored
      2003-08-04  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkwindow-win32.c(gdk_window_set_modal_hint) :
      	set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435
      
      	* gdk/win32/gdkwindow-win32.c : implement gdk_window_[un]fullscreen
      	(gdk_window_{move,resize,move_rezize})) : noop if FULLSCREEN
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
      	against all expectations it is basically ony a call with WM_SETICON
      	needed (the visual effect is there, though colors or mask are
      	still somewhat wrong).
      	* gdk/win32/gdkwindow-win32.h : place to store the HICON
      
      	* gdk/win32/gdkdrawabke.win32.c : readded the conditional end
      	pixel drawing as it was fixed at 1999-08-23
      
      	gtk/gtk.def : updated
      d2c64e30
    • Matthias Clasen's avatar
      Add bug number. · 7ef86d23
      Matthias Clasen authored
      7ef86d23
    • Owen Taylor's avatar
      Add a missing break. (#119156, Callum McKenzie) · 411821fa
      Owen Taylor authored
      Tue Aug  5 10:07:08 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmessagedialog.c (gtk_message_dialog_get_property):
              Add a missing break. (#119156, Callum McKenzie)
      411821fa