1. 06 Mar, 2004 1 commit
  2. 28 Feb, 2004 1 commit
  3. 13 Feb, 2004 1 commit
  4. 07 Jan, 2004 2 commits
    • Matthias Clasen's avatar
      Add entry_completion.c · 5c919e50
      Matthias Clasen authored
      Wed Jan  7 23:20:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/Makefile.am (demos): Add entry_completion.c
      
      	* demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion
      	by Anders Carlsson  (#130464).
      5c919e50
    • Matthias Clasen's avatar
      Make s, S, Control-S, p, P, Control-P, i, I, Control-I test · 5119687a
      Matthias Clasen authored
      Wed Jan  7 02:50:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/testpixbuf-save.c: Make s, S, Control-S, p, P, Control-P,
      	i, I, Control-I test gdk_pixbuf_save(), gdk_pixbuf_save_to_buffer()
      	and gdk_pixbuf_save_to_callback() with jpeg, png and ico formats,
      	respectively. Tests #82203.
      5119687a
  5. 08 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Call the do_ functions with the toplevel as argument. · 9c0bc41a
      Matthias Clasen authored
      Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/main.c (row_activated_cb): Call the do_
      	functions with the toplevel as argument.
      
      	* demos/gtk-demo/geninclude.pl.in: Change the signature
      	of GDoDemoFunc to take a widget argument
      
      	* demos/gtk-demo/ui_manager.c (do_ui_manager):
      	* demos/gtk-demo/tree_store.c (do_tree_store):
      	* demos/gtk-demo/textview.c (do_textview):
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	* demos/gtk-demo/sizegroup.c (do_sizegroup):
      	* demos/gtk-demo/pixbufs.c (do_pixbufs):
      	* demos/gtk-demo/panes.c (do_panes):
      	* demos/gtk-demo/menus.c (do_menus):
      	* demos/gtk-demo/list_store.c (do_list_store):
      	* demos/gtk-demo/images.c (do_images):
      	* demos/gtk-demo/hypertext.c (do_hypertext):
      	* demos/gtk-demo/editable_cells.c (do_editable_cells):
      	* demos/gtk-demo/drawingarea.c (do_drawingarea):
      	* demos/gtk-demo/dialog.c (do_dialog):
      	* demos/gtk-demo/colorsel.c (do_colorsel):
      	* demos/gtk-demo/changedisplay.c (do_changedisplay):
      	* demos/gtk-demo/button_box.c (do_button_box):
      	* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
      	as argument, and make new windows or dialogs appear on the
      	same screen.  (#80388)
      9c0bc41a
  6. 27 Oct, 2003 1 commit
  7. 23 Oct, 2003 1 commit
    • Owen Taylor's avatar
      Fix some unused variables. · 3724a591
      Owen Taylor authored
      Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/menus.c (do_menus): Fix some unused
              variables.
      
              * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
              variable warning
      3724a591
  8. 13 Oct, 2003 1 commit
  9. 11 Oct, 2003 1 commit
  10. 10 Oct, 2003 2 commits
    • Matthias Clasen's avatar
      Replace GtkItemFactory by GtkUIManager in the intro (again). · dd548173
      Matthias Clasen authored
      Fri Oct 10 23:02:58 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager
      	in the intro (again).
      dd548173
    • Kristian Rietveld's avatar
      Deprecate. Ditto. · e6100ecd
      Kristian Rietveld authored
      Fri Oct 10 19:10:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombo.h: Deprecate.
      	* gtk/gtkoptionmenu.h: Ditto.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_size_request),
      	(gtk_combo_box_size_allocate): Rework, things behave better now. Still
      	needs some work on requesting enough size when taking the items in
      	the list into account.
      
      	* gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
      	deprecated" guards.
      	* gtk/gtkinputdialog.c: ditto.
      	* gtk/gtkitemfactory.c: ditto.
      	* gtk/gtkoptionmenu.c: ditto.
      
      	* demos/gtk-demo/menus.c: remove the option menu.
      	* demos/gtk-demo/sizegroup.c: replace the option menus with
      	GtkComboBox.
      	* demos/gtk-demo/textview.c: ditto.
      	(A general GtkComboBox demo will be added later on).
      e6100ecd
  11. 07 Oct, 2003 1 commit
    • Matthias Clasen's avatar
      New callback to propertly report radio actions. · cc46d181
      Matthias Clasen authored
      Wed Oct  8 00:06:17 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/ui_manager.c (activate_radio_action): New
      	callback to propertly report radio actions.
      
      	* demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.
      cc46d181
  12. 26 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Turn off GTK_DISABLE_DEPRECATED, since this test uses the · e4507b60
      Matthias Clasen authored
      2003-09-27  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since
      	this test uses the soon-to-be-deprecated GtkItemFactory.
      
      	* demos/gtk-demo/Makefile.am (demos): Add ui_manager.c,
      	remove item_factory.c
      
      	* demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c
      	using GtkUIManager instead of GtkItemFactory.
      e4507b60
  13. 25 Sep, 2003 1 commit
    • Tor Lillqvist's avatar
      Don't use hardcoded DEMOCODEDIR on Windows. · 4a2de86c
      Tor Lillqvist authored
      2003-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows.
      
      2003-09-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (handle_wm_paint): New
      	function. Code split out from gdk_event_translate(). Needed
      	because gdk_event_get_graphics_expose() couldn't do anything
      	sensible otherwise. (Not that I think graphics exposes work anyway
      	in gdk/win32, but at least now the code could work.)
      
      	(gdk_event_get_graphics_expose): Call handle_wm_paint() instead of
      	gdk_event_translate(), which couldn't have worked as it doesn't
      	take any pre-allocated GdkEvent parameter any longer.
      
      	(gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let
      	GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
      4a2de86c
  14. 23 Sep, 2003 1 commit
  15. 15 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Add value parameter to allow setting the currently selected group member · caf380c7
      Matthias Clasen authored
      2003-09-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
      	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
      	setting the currently selected group member before connecting signals.
      	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
      	including a boolean to initialize the action state before connecting
      	signals.
      	(gtk_action_group_add_toggle_actions):
      	(gtk_action_group_add_toggle_actions_full): New functions to construct
      	toggle actions from an array of GtkToggleActionEntries.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c: Adjust to new action group API.
      
      	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
      caf380c7
  16. 27 Aug, 2003 2 commits
    • Matthias Clasen's avatar
      Change the XML format: <Root> element is replaced by <ui>, <menu> element · cbc20c4d
      Matthias Clasen authored
      2003-08-28  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Change the XML format:
      	<Root> element is replaced by <ui>,
      	<menu> element is replaced by <menubar>,
      	<submenu> element is replaced by <menu>,
      	<dockitem> element is replaced by <toolbar>,
      	<popups> element is gone,
      	verb attribute is replaced by action,
      	name defaults to action or the element name.
      
      	* gtk/gtkactiongroup.[hc]: Replace GtkActionGroupEntry by GtkActionEntry
      	and GtkRadioActionEntry. GtkActionEntry is simplified by removing
      	the user_data, entry_type and extra_data fields, GtkRadioActionEntry is
      	further simplified by removing the callback. The user_data can now be
      	specified as an argument to gtk_action_group_add_actions(). There is
      	a new method gtk_action_group_add_radio_actions(), which is similar
      	to gtk_action_group_add_actions(), but takes GtkRadioActionEntrys
      	and a callback parameter in addition to the user_data. The callback
      	is connected to the ::changed signal of the first group member.
      	There are _full() variants taking a GDestroyNotify of
      	gtk_action_group_add_[radio_]actions().
      
      	* gtk/gtkradioaction.[hc]: Add a ::changed signal which gets emitted
      	on every member of the radio group when the active member is changed.
      	Add an integer property "value", and a getter for the value of "value"
      	on the currently active group member.
      
      	* tests/testactions.c:
      	* tests/testmerge.c:
      	* tests/merge-[123].ui:
      	* demos/gtk-demo/appwindow.c: Adjust to these changes.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_append_element): Trivial doc fix.
      cbc20c4d
    • Anders Carlsson's avatar
      Focus the text view, so the tool bar won't have focus. · bebc663c
      Anders Carlsson authored
      2003-08-27  Anders Carlsson  <andersca@gnome.org>
      
      	* demos/gtk-demo/appwindow.c (do_appwindow): Focus the
      	text view, so the tool bar won't have focus.
      bebc663c
  17. 26 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      Use gssize for length, not gsize. · 720bdb8d
      Matthias Clasen authored
      2003-08-26  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
      	for length, not gsize.
      
      	* gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to
      	<ui> and make it optional in strings. Rename verb to action, <dockitem>
      	to <toolbar>, <menu> to <menubar>, <submenu> to <menu>.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c:
      	* tests/merge-1.ui:
      	* tests/merge-2.ui:
      	* tests/merge-3.ui: Adjust to the new XML format.
      720bdb8d
  18. 25 Aug, 2003 1 commit
  19. 24 Aug, 2003 2 commits
    • Matthias Clasen's avatar
      Namespace the enum values properly. Sorry about the resize grip trouble, · 32c6a944
      Matthias Clasen authored
      2003-08-25  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum
      	values properly. Sorry about the resize grip trouble, Owen.  (#120621)
      
      	* gtk/gtkactiongroup.c:
      	* demos/gtk-demo/appwindow.c:
      	* tests/testmerge.c:
      	* tests/testactions.c: Use new GtkActionGroupEntryType enum.
      32c6a944
    • Matthias Clasen's avatar
      A model-view separation for menus and toolbars, using the EggMenu code by · e7e39565
      Matthias Clasen authored
      2003-08-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.[ch]:
      	* gtk/gtktoggleaction.[ch]:
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtkradioaction.[ch]:
      	* gtk/gtkactiongroup.[ch]:
      	* gtk/gtkmenumerge.[ch]: A model-view separation for menus and
      	toolbars, using the EggMenu code by James Henstridge.
      
      	* gtk/gtk.h: Include new headers.
      	* gtk/Makefile.am: Add new files.
      
      	* tests/testactions.c: Test for actions.
      	* tests/testmerge.c: Test for menu merging.
      	* tests/merge-[123].ui: Test data for testmerge.
      	* tests/Makefile.am: Add testactions and testmerge.
      
      	* demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the
      	menubar and toolbar.
      e7e39565
  20. 07 Aug, 2003 1 commit
  21. 05 Aug, 2003 1 commit
  22. 02 Aug, 2003 1 commit
  23. 12 Jul, 2003 1 commit
    • Kristian Rietveld's avatar
      Merged from stable. · c5037bdb
      Kristian Rietveld authored
      Sat Jul 12 16:08:32 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* demos/gtk-demo/editable_cells.c (cell_edited): fixup bad
      	code (#115784, Owen Taylor).
      c5037bdb
  24. 06 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation · ff5da262
      Owen Taylor authored
      Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
      
              * demos/Makefile.am: Conditionalize deendencies for
              gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe).
              Buildtest-inline-pixbufs.h in srcdir. Don't try to build
              test-inline-pixbufs.h if we don't have libpng.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
              Add a dependency on gdk-pixbuf.loaders when not
              cross-compiling, remove the dependency on gdk-pixbuf-csource
              when not cross compiling.
      ff5da262
  25. 06 May, 2003 1 commit
    • Owen Taylor's avatar
      Patch from James Henstridge to update to automake-1.7 (#109542) · 629a0e14
      Owen Taylor authored
      Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>
      
              Patch from James Henstridge to update to automake-1.7
              (#109542)
      
              * autogen.sh: update to call newer tools.
      
              * configure.in: various updates, to use M4 macros to put
              variables that change each release at the top.
              Use AC_HELP_STRING to format help strings.
              Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
      
              * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
              gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
              during distcheck.
      
              * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
              makefile fragment.
      
              * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
              Use BUILT_SOURCES where appropriate.
              Build generated files in builddir rather than srcdir.
              Fix uninstall and distclean targets to satisfy distcheck.
      
              ===
      
              * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
              built first, since we are now using BUILT_SOURCES.
      
              * gdk/Makefile.am: Remove an outdated comment about gdk_headers.
      
              * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
              with geninclude.pl.
      
              * configure.in: Update versions to 2.3.0.
      629a0e14
  26. 21 Apr, 2003 1 commit
  27. 02 Apr, 2003 1 commit
  28. 24 Mar, 2003 1 commit
  29. 06 Mar, 2003 1 commit
    • Matthias Clasen's avatar
      Fix NULL/FALSE confusion (#107648, Morten Welinder) · ce58806c
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
      	* gtk/gtkeditable.c (gtk_editable_get_chars):
      	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
      	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
      	(#107648, Morten Welinder)
      ce58806c
  30. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  31. 01 Feb, 2003 1 commit
  32. 30 Jan, 2003 1 commit
    • Daniel Elstner's avatar
      Explicitely draw an opaque rectangle using the background color rather · 9ca772ac
      Daniel Elstner authored
      2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
      
      	* gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
      	rectangle using the background color rather than relying on
      	gdk_window_clear_area(), so that the palette works properly with
      	pixmap themes.
      
      	* demos/gtk-demo/colorsel.c: Install an "expose_event" handler
      	to fill the drawing area in the background color.
      9ca772ac
  33. 07 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Use octal escapes rather than literal UTF-8. · f9d1107b
      Owen Taylor authored
      Fri Dec  6 19:00:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/testview.c tests/testgtk.c
              tests/testtext.c tests/testtextbuffer.c: Use
              octal escapes rather than literal UTF-8.
      f9d1107b
  34. 09 Nov, 2002 1 commit
  35. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 53620226
      Manish Singh authored
      Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup
      
              * gtk/Makefile.am: Added disable deprecation flags
      
              * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
      53620226
  36. 07 Oct, 2002 1 commit
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec