1. 04 Apr, 2005 12 commits
    • Johan Dahlin's avatar
      Add GtkTextBuffer::text (#172631) · 6675c29a
      Johan Dahlin authored
          * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
          (gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
          (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)
      6675c29a
    • Manish Singh's avatar
      cast combo->priv->entry to GTK_ENTRY() · 006fcb4a
      Manish Singh authored
      Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
              cast combo->priv->entry to GTK_ENTRY()
      
              * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
              cast completion->priv->tree_view to GTK_TREE_VIEW()
      006fcb4a
    • Matthias Clasen's avatar
      Some trivial doc fixes. · 70d788c7
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbuffer.c: Some trivial doc fixes.
      70d788c7
    • Matthias Clasen's avatar
      Improve the wording of the doc comment. (#172422, Vincent Untz) · db787e72
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve
      	the wording of the doc comment.  (#172422, Vincent Untz)
      db787e72
    • Owen Taylor's avatar
      Covert expander drawing to Cairo. Also always draw the entire triangle · f15a260c
      Owen Taylor authored
      2005-04-04  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander
              drawing to Cairo. Also always draw the entire triangle instead
              of just drawing the center for prelight. (Fixes inconsistent
              drawing in GtkTreeView.)
      f15a260c
    • Johan Dahlin's avatar
      Remove symbols accidentally added. Add boolean property popup_set_width · 3a51a0bc
      Johan Dahlin authored
      2005-04-04  Johan Dahlin  <johan@gnome.org>
      
              * gtk/gtk.symbols: Remove symbols accidentally added.
              * gtk/gtkentryprivate.h: Add boolean property popup_set_width
              * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
              Use object_class instead of gobject_class
      3a51a0bc
    • Søren Sandmann's avatar
      Translate x, y into widget coordinates instead of root coordinates. Patch · 44404f2d
      Søren Sandmann authored
      
      
      Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
      	widget coordinates instead of root coordinates. Patch from Jorn
      	Baayen. (#172236)
      44404f2d
    • Matthias Clasen's avatar
      Add a tooltips property. · d4b80808
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktoolbar.c: Add a tooltips property.
      d4b80808
    • Matthias Clasen's avatar
      Add docs. · b64bc34c
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init):
      	* gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
      
      	* gtk/gtktoggletoolbutton.c: Add an active property.
      b64bc34c
    • Matthias Clasen's avatar
      Allow completion popups to be wider than the entry. (#131916, Ross Burton) · c4e31ace
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	Allow completion popups to be wider than the entry. (#131916,
      	Ross Burton)
      
      	* gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Don't force the popup to have the same width as the entry if
      	popup-set-width is FALSE.
      
      	* gtk/gtk.symbols: Add new functions.
      c4e31ace
    • Matthias Clasen's avatar
      Use gtk_accel_map_change_entry(), so that reusing the same action name · 36388a1f
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
      	Use gtk_accel_map_change_entry(), so that reusing the same
      	action name works.  (#170727, Paolo Borelli)
      36388a1f
    • Tor Lillqvist's avatar
      New debugging function, to log a clipboard format name symbolically. · 0b2ac32c
      Tor Lillqvist authored
      2005-04-04  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
      	function, to log a clipboard format name symbolically.
      	(_gdk_win32_data_to_string): Also new, to log random data bytes.
      
      	Implement delayed rendering on Win32, specifically for transfering
      	images through the clipboard from GTK+ apps to other
      	apps (#168173, implementation by Ivan Wong):
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
      	Handle WM_RENDERFORMAT.
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
      	_delayed_rendering_data and _image_bmp.
      
      	* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
      
      	* gdk/win32/gdkproperty-win32.c (gdk_property_change):
      	Accept formats other than GDK_TARGET_STRING or _utf8_string, and
      	assume they are handled through delayed rendering.
      
      	* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
      	Return all available formats (including those registered by GTK+
      	apps) on request_targets.
      	(gdk_selection_property_get): We should append a zero byte like
      	X11 does.
      	(gdk_win32_selection_add_targets): New function, for
      	gtkselection's use. Win32 requires that the clipboard owner
      	registers all valid formats even if the owner wants delayed
      	rendering.
      	(_gdk_win32_selection_convert_to_dib): New function. Convert
      	images to DIB using gdk-pixbuf.
      
      	* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
      
      	* gtk/gtkselection.c (gtk_selection_add_target,
      	gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
      	to register target formats.
      
      	* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
      0b2ac32c
  2. 03 Apr, 2005 3 commits
    • Hans Breuer's avatar
      [merged from gtk-2-6 branch] let dash_offset shift the start of the line · 0ba6aed7
      Hans Breuer authored
      2005-04-03  Hans Breuer  <hans@breuer.org>
      
      	[merged from gtk-2-6 branch]
      	* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
      	the line pattern not the start of the line. Fixes bug #171641.
      
      	* gtk/makefile.msc.in : follow .symbols changes
      
      	* gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
      	dynamically. (It is not available in _WIN_VER <= 0x0400)
      
      	* gdk/win32/makefile.msc : removed gdkpango-win32.obj
      
      	* gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
      
      	[also applied to gtk-2-6 branch]
      	* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
      
      	* gdk/makefile.msc.in : add gtkmnemonichash.obj
      
      	* test/testgtk.c(set_parent_signal) : use g_message instead of
      	g_print to keep the 'testgtk --bench=all' output clean
      0ba6aed7
    • Matthias Clasen's avatar
      Add a "metric" property. · 74335e88
      Matthias Clasen authored
      2005-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkruler.c: Add a "metric" property.
      74335e88
    • Matthias Clasen's avatar
      Add a "group" property like the one found in radio buttons. · 0908bbcd
      Matthias Clasen authored
      2005-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkradiomenuitem.c: Add a "group" property like
      	the one found in radio buttons.
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
      	a typo in the docs.
      	(gtk_radio_button_set_group): Add change notification.
      0908bbcd
  3. 01 Apr, 2005 2 commits
  4. 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
  5. 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
  6. 29 Mar, 2005 1 commit
  7. 28 Mar, 2005 3 commits
  8. 27 Mar, 2005 1 commit
  9. 26 Mar, 2005 1 commit
  10. 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
  11. 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
  12. 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
  13. 21 Mar, 2005 1 commit