1. 03 Apr, 2005 2 commits
  2. 01 Apr, 2005 2 commits
  3. 31 Mar, 2005 2 commits
    • Sven Neumann's avatar
      Merged from gtk-2-6: · 5fc33854
      Sven Neumann authored
      2005-03-31  Sven Neumann  <sven@gimp.org>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkbutton.c
      	* gtk/gtkiconview.c: fixed gtk-doc comments.
      5fc33854
    • Michael Natterer's avatar
      Allow to pop up menus without grabbing the keyboard. Useful for stuff like · 91cb92c0
      Michael Natterer authored
      2005-03-31  Michael Natterer  <mitch@gimp.org>
      
      	Allow to pop up menus without grabbing the keyboard. Useful for
      	stuff like virtual keyboards. Fixes bug #159890
      
      	* gtk/gtk.symbols
      	* gtk/gtkmenushell.[ch]: added boolean property "take-focus"
      	and public API gtk_menu_shell_set/get_take_focus().
      
      	* gtk/gtkmenu.c (gtk_menu_popup)
      	(popup_grab_on_window): don't grab the keyboard if take_focus
      	is FALSE.
      
      	* gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
      	parent menu_shell's take_focus property to the submenu which is
      	about to be popped up.
      91cb92c0
  4. 30 Mar, 2005 7 commits
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · e1fc6b42
      Federico Mena Quintero authored
      2005-03-30  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #170755:
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
      	if the row which changed is the same as the row being edited.
      e1fc6b42
    • Matthias Clasen's avatar
      Make enable_search control only typeahead, not C-f. (#170435, Sven · 15ea081b
      Matthias Clasen authored
      2005-03-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
      	Make enable_search control only typeahead, not C-f.  (#170435,
      	Sven Neumann)
      	(gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
      15ea081b
    • Matthias Clasen's avatar
      Include cairo.h · bf5561d2
      Matthias Clasen authored
      2005-03-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkpixbuf.h: Include cairo.h
      bf5561d2
    • Matthias Clasen's avatar
      Don't accept n_targets == -1. (clipboard_unset): unref the old_data, not · dd58d233
      Matthias Clasen authored
      2005-03-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
      	Don't accept n_targets == -1.
      	(clipboard_unset): unref the old_data, not the
      	user_data which we have just cleared.  (#172038, Sven
      	Neumann)
      dd58d233
    • Matthias Clasen's avatar
      Forgotten Changelog · 11800340
      Matthias Clasen authored
      11800340
    • Tor Lillqvist's avatar
      Fix event filter handling. If an event filter (global, client message · 681afb7b
      Tor Lillqvist authored
      2005-03-30  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
      	filter handling. If an event filter (global, client message
      	filter, of window-specific) returns GDK_FILTER_CONTINUE,
      	continue as if nothing happened. If it returns
      	GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
      	gdk_event_translate() which means that DefWindowProc() will
      	not be called.
      	(gdk_event_translate): Fix client message handling. Append a
      	GDK_CLIENT_EVENT unless there is a filter that matches and returns
      	something other than GDK_FILTER_CONTINUE. (#135552)
      681afb7b
    • Tor Lillqvist's avatar
      The state field should represent the state before the event, like on X11. · 3618011a
      Tor Lillqvist authored
      2005-03-30  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
      	state field should represent the state before the event, like on
      	X11. (#169753)
      3618011a
  5. 29 Mar, 2005 1 commit
  6. 28 Mar, 2005 3 commits
  7. 27 Mar, 2005 1 commit
  8. 26 Mar, 2005 1 commit
  9. 24 Mar, 2005 1 commit
    • Tor Lillqvist's avatar
      Include the -mms-bitfields flag in GTK_EXTRA_CFLAGS on Win32, so that it · 6323876b
      Tor Lillqvist authored
      2005-03-24  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
      	in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
      	gtk+-2.0.pc file and automatically used by dependents. MSVC users
      	who use pkg-config will have to manually edit it out from
      	gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
      	some kind of conditionals in .pc files?
      6323876b
  10. 23 Mar, 2005 2 commits
    • Matthias Clasen's avatar
      Remove a call whose result was unused and leaked. (#170776, Kjartan · 340cf63e
      Matthias Clasen authored
      2005-03-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserbutton.c (update_combo_box): Remove
      	a call whose result was unused and leaked.  (#170776,
      	Kjartan Maraas)
      340cf63e
    • Matthias Clasen's avatar
      Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify, · c43673f1
      Matthias Clasen authored
      2005-03-23  Matthias Clasen  <mclasen@redhat.com>
      
      	Some cleanups to the GtkDialog code:  (#170746,
      	Morten Welinder)
      	* gtk/gtkdialog.c (action_widget_activated): Simplify,
      	use _gtk_dialog_get_response_for_widget.
      	(gtk_dialog_add_action_widget): Use the correct signal
      	id for non-buttons.
      	(gtk_dialog_set_response_sensitive):
      	(gtk_dialog_set_default_response): Use get_response_data.
      	(gtk_dialog_run): Don't disconnect the signals if the
      	dialog was destroyed while running.
      c43673f1
  11. 22 Mar, 2005 4 commits
    • Manish Singh's avatar
      Use g_return_if_fail, not g_return_val_if_fail. · edc3b135
      Manish Singh authored
      Tue Mar 22 14:16:31 2005  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
              Use g_return_if_fail, not g_return_val_if_fail.
      edc3b135
    • Matthias Clasen's avatar
      Implement bookmark renaming (#136216, Sean Middleditch) · dce8bffc
      Matthias Clasen authored
      2005-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	Implement bookmark renaming  (#136216, Sean Middleditch)
      
      	* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add
      	get_bookmark_label and set_bookmark_label vfuncs.
      
      	* gtk/gtkfilesystem.h:
      	* gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
      	(gtk_file_system_get_bookmark_label): Wrappers for the
      	vfuncs.
      
      	* gtk/gtk.symbols: Add new exported symbols.
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label):
      	(gtk_file_system_unix_get_bookmark_label): Implementations
      	for the Unix backend.
      
      	* gtk/gtkfilechooserdefault.c: Add a context menu to
      	the bookmarks pane, and allow to rename bookmarks.
      dce8bffc
    • Matthias Clasen's avatar
      Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie) · 81ffe540
      Matthias Clasen authored
      2005-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpathbar.c (gtk_path_bar_unmap):
      	* gtk/gtkspinbutton.c (gtk_spin_button_unmap):
      	* gtk/gtknotebook.c (gtk_notebook_unmap):
      	* gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
      	the widget is unmapped.  (#168791, Ryan Lortie)
      81ffe540
    • Matthias Clasen's avatar
      Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE · 269d89c7
      Matthias Clasen authored
      2005-03-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
      	GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
      	their G_ counterparts, but also mark the name, nick
      	and blurb as static.
      
      	* gtk/*.c: Mark param spec strings as static, using
      	the new macros.
      269d89c7
  12. 21 Mar, 2005 3 commits
  13. 20 Mar, 2005 3 commits
    • Tor Lillqvist's avatar
      Silence gcc warnings (unused variables, unhandled enum value in switch). · a2f426f3
      Tor Lillqvist authored
      2005-03-21  Tor Lillqvist  <tml@novell.com>
      
      	* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
      	variables, unhandled enum value in switch). Use g_object_unref()
      	instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
      
      	* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
      	Add missing "case" keyword.
      
      	* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
      	explicitly.
      a2f426f3
    • Tor Lillqvist's avatar
      Return the Terminal Services session number, window station name (always · b459ef88
      Tor Lillqvist authored
      2005-03-20  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
      	Terminal Services session number, window station name (always
      	"WinSta0" in interactive processes), and desktop name (typically
      	"Default"), concatenated with backslash separators.
      	(gdk_display_open): Accept only NULL or the string
      	gdk_display_get_name() returns as display name.
      b459ef88
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  14. 19 Mar, 2005 1 commit
    • Soeren Sandmann's avatar
      Make right-clicks not pop up the menu. · b39b0bfc
      Soeren Sandmann authored
      Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
      	Make right-clicks not pop up the menu.
      b39b0bfc
  15. 18 Mar, 2005 3 commits
    • Owen Taylor's avatar
      Call cairo_surface_finish() · b8663e86
      Owen Taylor authored
      2005-03-18  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
              Call cairo_surface_finish()
      
              * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
              _gdk_windowing_set_surface_device_offset().
      b8663e86
    • Tor Lillqvist's avatar
      On WM_MOUSEMOVE, don't check if this process owns the active window. This · e4515f4d
      Tor Lillqvist authored
      2005-03-18  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_MOUSEMOVE, don't check if this process owns the active
      	window. This makes cross-application widget embedding work better.
      	On WM_MOVE, don't bother checking for window visibility.
      
      	* gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
      	unused variables. Add some casts to silence gcc.
      e4515f4d
    • Owen Taylor's avatar
      Use cairo_set_device_offset(). · 368f15ca
      Owen Taylor authored
      2005-02-24  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c: Use cairo_set_device_offset().
      
      	* gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
      	gdk/win32/gdkpixmap-win32.c:
      	Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the
      	drawable. Add _gdk_drawable_win32_finish() to clean up resources
      	when a drawable is destroyed.
      
      	* gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
      	(blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use
      	acquire/release_dc when getting a DC to use with a GC or for
      	blitting from a pixmap.
      
      	* gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
      
      	* gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
      	Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
      	implementations.
      
      	* gdk/win32/gdkdrawable-win32.c: Remove
      	gdk_draw_rectangle_alpha_libgtk_only()
      368f15ca
  16. 17 Mar, 2005 4 commits