1. 27 Aug, 2010 1 commit
  2. 13 Jul, 2010 1 commit
  3. 02 May, 2010 1 commit
  4. 12 Oct, 2009 1 commit
  5. 30 Oct, 2008 1 commit
  6. 01 Jul, 2008 1 commit
  7. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  8. 24 Jun, 2008 1 commit
    • Carlos Garnacho's avatar
      Remove container implementation, which isn't thought for handling · 60e1b3ea
      Carlos Garnacho authored
      2008-06-24  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
              thought for handling non-direct children. Fixes #539732.
              (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
              doesn't provide enough control to API users (removing, reordering...),
              this is better handled through:
              (gtk_dialog_get_content_area): New function which just returns
              dialog->vbox.
              * gtk/gtk.symbols: Modify accordingly.
              * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
              using gtk_dialog_get_[action|content]_area() instead of accessing
              dialog struct members directly.
      
      svn path=/trunk/; revision=20680
      60e1b3ea
  9. 20 Jun, 2008 4 commits
  10. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  11. 29 May, 2006 1 commit
  12. 25 Jul, 2005 1 commit
  13. 03 May, 2005 1 commit
  14. 20 Mar, 2005 1 commit
    • 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
  15. 08 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner) · c8830f25
      Matthias Clasen authored
      2005-03-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.h:
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeviewcolumn.h:
      	* gtk/gtktextbuffer.h:
      	* gtk/gtkobject.h:
      	* gtk/gtkfilechooserdialog.h:
      	* gtk/gtkdialog.h:
      	* gtk/gtkcontainer.h:
      	* gtk/gtkcelllayout.h:
      	* gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
      	appropriate.  (#165682, Marc Meissner)
      c8830f25
  16. 21 Nov, 2004 1 commit
  17. 25 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Add a public setting for button ordering (#74669, Owen Taylor) · 8ab4fd45
      Matthias Clasen authored
      2004-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	Add a public setting for button ordering (#74669, Owen Taylor)
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add a
      	gtk-alternative-button-order setting.
      
      	* gtk/gtkdialog.h:
      	* gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A
      	getter for the alternative button order setting.
      	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order):
      	New function to install an alternative button order for a
      	dialog.
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init):
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons):
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	* gtk/gtkfilechooserdefault.c (location_popup_handler):
      	Set up an alternative button order.
      8ab4fd45
  18. 12 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Don't ignore the return value of gtk_widget_activate(). · edf8e6f5
      Federico Mena Quintero authored
      2004-03-12  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkwindow.c (gtk_window_activate_focus): Don't ignore the
      	return value of gtk_widget_activate().
      	(gtk_window_activate_default): Likewise.  Fixes #137008.
      
      	* gtk/gtkfilechooserdialog.c (response_cb): Act on positive
      	response IDs we recognize, rather than bailing out on cancellation
      	ones.  Fixes #136237; patch by Olivier Andrieu
      	<oliv__a@users.sourceforge.net>.
      	(file_chooser_widget_file_activated): If the dialog doesn't have a
      	default widget, try to find a suitable response widget on our own.
      	People should *really* be using gtk_dialog_set_default_response(),
      	but this is to help lazy programmers.
      
      	* gtk/gtkdialog.c (_gtk_dialog_get_response_for_widget): New
      	internal function.
      	(get_response_data): Add a "create" argument so that we don't
      	unconditionally create the response data.
      edf8e6f5
  19. 03 Feb, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #68938. · d08dd112
      Federico Mena Quintero authored
      2004-02-03  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #68938.
      
      	* gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
      	GtkDialog; right now it only contains an ignore_separator field.
      	(gtk_dialog_class_init): Register the private structure.
      	(gtk_dialog_init): Initialize the priv->ignore_separator field.
      	(_gtk_dialog_set_ignore_separator): New private function.
      	(gtk_dialog_set_has_separator): Ignore the setting if appropriate.
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
      	use_separator style property.
      	(gtk_message_dialog_style_set): Change the dialog's separator
      	based on the style property.
      	(gtk_message_dialog_init): Set the dialog box to ignore the
      	separator setting.
      d08dd112
  20. 11 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · f18d5d35
      Manish Singh authored
      Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
              gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
              gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
              gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
              cleanup
      f18d5d35
  21. 16 Aug, 2002 1 commit
  22. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  23. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  24. 31 Dec, 2001 1 commit
  25. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  26. 07 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      remove trailer (gtk_entry_set_property): remove trailer · 29b902a4
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_get_property): remove trailer
      	(gtk_entry_set_property): remove trailer
      
      	* gtk/gtkentry.c (gtk_entry_set_width_chars):
      	(gtk_entry_get_width_chars): new functions, to set size request to
      	a given number of characters
      
      	* gtk/testgtk.c (create_dialog): beef up the dialog test slightly
      
      	* gtk/gtkdialog.c (gtk_dialog_set_has_separator): new function
      	(gtk_dialog_get_has_separator): new function
              (run_delete_handler): fix to not emit "response" signal
      	because we already did in the delete event handler installed
      	at dialog creation time.
      
      	* gtk/gtkdialog.h: add a has_separator property,
      	add GTK_DIALOG_NO_SEPARATOR flag
      29b902a4
  27. 09 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      handle case where there are no rows in the model · 637c61da
      Havoc Pennington authored
      2001-01-09  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_check_dirty): handle case where
      	there are no rows in the model
      
      	* gtk/gtkliststore.c (gtk_list_store_iter_children): if parent is
      	NULL, then return the start of the list
      
      	* gtk/gtktreeview.c (gtk_tree_view_setup_model): don't build tree
      	if we can't get any rows from an empty model
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): remove
      	extraneous * after function pointer typedef usage
      
      	* Makefile.am: don't specify full path to cp and rm
      
      	* gtk/gtkcellrenderertextpixbuf.c
      	(gtk_cell_renderer_text_pixbuf_get_size): check width/height !=
      	NULL before dereferencing, fixes a segfault that happened from
      	time to time
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
      	use gdk_pixbuf_render_to_drawable_alpha() to get alpha channel,
      	and reindent the function
      	(gtk_cell_renderer_pixbuf_get_size): indentation
      
      	* gtk/gtkdialog.c (gtk_dialog_run): destroy main loop only after
      	we quit it
      	(gtk_dialog_add_buttons_valist): add g_return_if_fail
      	(gtk_dialog_set_default_response): New function, to set default
      	button
      	(gtk_dialog_set_response_sensitive): New function, to set
      	sensitivity of buttons
      
      	* gtk/gtkcellrendererpixbuf.c
      	(gtk_cell_renderer_pixbuf_get_property): allow getting a NULL pixbuf
      	(gtk_cell_renderer_pixbuf_set_property): allow setting a NULL pixbuf
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
      	handle any G_TYPE_OBJECT subclass, not just the base class, and
      	also boxed types.
      	(_gtk_tree_data_list_value_to_node): ditto
      
      	* gtk/gtkrbtree.c: Run _gtk_rbtree_test at strategic points if
      	--gtk-debug=tree
      
      	* gtk/gtkmain.c: add GTK_DEBUG_TREE
      
      	* gtk/gtkdebug.h: add GTK_DEBUG_TREE
      637c61da
  28. 06 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Derive from GtkDialog, and use stock buttons. Should be 100% source · 69f42512
      Havoc Pennington authored
      2000-11-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
      	use stock buttons. Should be 100% source compatible, appropriate
      	filesel fields now point to dialog->vbox and dialog->action_area.
      	On the bizarre side, dialog->action_area and filesel->action_area
      	are not the same widget.
      	(gtk_file_selection_init): Put some padding around the selection
      	entry, so it isn't touching the GtkDialog separator.
      
      	* gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog,
      	use stock buttons, etc. Should also be source compatible.
      	Set the dialog default title in _init not _new().
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	Use stock buttons; don't put a button box inside the existing
      	dialog button box. Don't bother with push/pop colormap anymore.
      
      	* gtk/gtkdialog.h (GtkResponseType): Add a bunch of more
      	specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT
      	for message dialog, and necessary for the font selection and color
      	selection with help and apply buttons.
      
      	* gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer
      	to the created button widget. Set GTK_CAN_DEFAULT on the button.
      	(gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing
      	between buttons, put less padding around the action area.
      	(gtk_dialog_run): Exit on unmap rather than on destroy.
      	This will also exit the loop if the widget is hidden.
      	(gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT
      	instead of GTK_RESPONSE_NONE; since we're already adding a bunch
      	of GTK_RESPONSE_* stuff, this seems cleaner, and lets you
      	special-case delete event.
      
      	* gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment
      	formatting
      69f42512
  29. 20 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      create some stock buttons with the default accel group (create_image): · 1c9f0c0b
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_buttons): create some stock buttons
      	with the default accel group
      	(create_image): test some new GtkImage features
      	(make_message_dialog): test GtkMessageDialog
      	(create_modal_window): fix someone's bizzarro indentation
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Implement
      	GTK_WIN_POS_CENTER_ON_PARENT.
      	Add "destroy with parent" setting, which means the window goes
      	away with its transient parent.
      	(gtk_window_get_default_accel_group): get the default accel group
      	for the window.
      	(gtk_window_set_destroy_with_parent): set/unset destroy with
      	parent flag
      	(gtk_window_read_rcfiles): invalidate icon set caches
      	after reloading rcfiles
      
      	* gtk/gtkenums.h (GtkWindowPosition): add
      	GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog
      	on its parent window when the dialog is mapped for the first time.
      
              * gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add
      	a simple message dialog class
      
      	* gtk/gtkdialog.c (gtk_dialog_init): Connect delete event
      	handler to emit response signal, and maybe later it would
      	honor a hide_on_delete flag - though that isn't there yet.
      	Set border width on the vbox to 2, so we get some padding.
      	Use a button box for the action area.
      	(gtk_dialog_key_press): synthesize a delete event if Esc
      	is pressed and the GtkWidget key press handler didn't
      	handle the escape key.
      	(gtk_dialog_new_with_buttons): new function creates a dialog
      	with some default buttons in it.
      	(gtk_dialog_add_action_widget): add an activatable widget
      	as a button in the dialog - you can also add a non-activatable
      	widget by accessing the action area directly.
      	(gtk_dialog_add_button): add a simple button - stock ID or
      	label - to the action area
      	(gtk_dialog_response): emit response signal
      	(gtk_dialog_run): block waiting for the dialog, return
      	the response. Override normal delete_event behavior, so that
      	delete_event does nothing inside gtk_dialog_run().
      
      	* gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
      	emitted when an action widget is clicked or the dialog gets
      	delete_event
      
      	* gtk/gtk.h: add gtkmessagedialog.h
      
      	* gtk/Makefile.am: add gtkmessagedialog.[hc]
      
      2000-10-20  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Add dialog docs
      1c9f0c0b
  30. 30 Aug, 2000 1 commit
  31. 26 Jul, 2000 1 commit
  32. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  33. 24 Feb, 1999 1 commit
  34. 07 Oct, 1998 1 commit
    • Tim Janik's avatar
      removed all occourances of #pragma } and #pragma { which were in place to · 3322a264
      Tim Janik authored
      Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtk*.h:
              * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
              which were in place to fixup emacs' cc-mode indentation.
              putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
              proper way to achive this and doesn't produce problems for
              stupid pragma-related compiler bugs. ;)
      3322a264
  35. 14 Jul, 1998 1 commit
    • Tim Janik's avatar
      macro and GtkType fixups. · a91be935
      Tim Janik authored
      Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkdialog.h:
              * gtk/gtkseparator.h:
              * gtk/gtkhseparator.h:
              * gtk/gtkvseparator.h: macro and GtkType fixups.
      a91be935
  36. 13 Apr, 1998 1 commit