1. 01 Sep, 2003 1 commit
  2. 31 Aug, 2003 6 commits
    • Matthias Clasen's avatar
      Make this public again, since it's occasionally useful. (#121128, Marco · 7cddc693
      Matthias Clasen authored
      2003-09-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
      	this public again, since it's occasionally useful.  (#121128,
      	Marco Pesenti Gritti)
      
      	* gtk/gtkaction.c: Add an "is_important" property and propagate
      	it to toolitem proxies.  (#121058, Marco Pesenti Gritti)
      7cddc693
    • Soeren Sandmann's avatar
      connect to "delete_event" so the application will actually quit when you · 53257cbd
      Soeren Sandmann authored
      Mon Sep  1 00:32:30 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/testtoolbar.c (main): connect to "delete_event" so the
      	application will actually quit when you close the window
      53257cbd
    • Matthias Clasen's avatar
      g_return_if_fail() if path is NULL. (gtk_ui_manager_get_node): Avoid a · 4e3936c7
      Matthias Clasen authored
      2003-09-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c (gtk_ui_manager_get_widget)
      	(gtk_ui_manager_get_action): g_return_if_fail() if
      	path is NULL.
      	(gtk_ui_manager_get_node): Avoid a segfault if path is empty.
      	(gtk_ui_manager_finalize): Remove the idle on finalize. (#121125,
      	Marco Pesenti Gritti)
      4e3936c7
    • Matthias Clasen's avatar
      Fix some typos in docs. · 9d13ef76
      Matthias Clasen authored
      	* gtk/gtktoolitem.c: Fix some typos in docs.
      9d13ef76
    • Matthias Clasen's avatar
      Add gtktoggleactionprivate.h · 2c41fc09
      Matthias Clasen authored
      2003-08-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/Makefile.am (IGNORE_HFILES): Add gtktoggleactionprivate.h
      
      	* gtk/tmpl/gtkuimanager.sgml:
      	* gtk/gtk-sections.txt: Replace gtk_ui_manager_activate by
      	gtk_ui_manager_get_action.
      
      	* gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function,
      	replaces gtk_ui_manager_activate().  (#120658)
      
      	* tests/testmerge.c: Use gtk_ui_manager_get_action() instead of
      	gtk_ui_manager_activate().
      2c41fc09
    • Matthias Clasen's avatar
      Additions. · 320bba9f
      Matthias Clasen authored
      2003-08-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkuimanager.sgml:
      	* gtk/tmpl/gtkactiongroup.sgml:
      	* gtk/tmpl/gtkaction.sgml:
      	* gtk/tmpl/gtktoggleaction.sgml:
      	* gtk/tmpl/gtkradioaction.sgml: Additions.
      
      	* gtk/gtk-sections.txt: Updates.
      
      	* gtk/gtk.types: Add GtkAction, GtkActionGroup, GtkToggleAction,
      	GtkRadioAction and GtkUIManager.
      
      	* gtk/gtkaction.c:
      	* gtk/gtkactiongroup.c: Some doc tweaks.
      
      	* gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
      	wasn't emitted anyway. Some doc tweaks.
      320bba9f
  3. 30 Aug, 2003 2 commits
    • Matthias Clasen's avatar
      Add some docs. · 0a49f658
      Matthias Clasen authored
      2003-08-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.c: Add some docs.
      
      	* gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
      	wasn't emitted anyway.
      0a49f658
    • Matthias Clasen's avatar
      Connect to "destroy" on toolbar, rather than to "remove" on handlebox. · e5eaa52b
      Matthias Clasen authored
      2003-08-30  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c (add_widget): Connect to "destroy" on toolbar,
      	rather than to "remove" on handlebox.
      
      	* gtk/gtkuimanager.[hc] (gtk_ui_manager_activate): New method to
      	activate an action found by following a path.  (#120658)
      
      	* tests/testmerge.c: Add a button to test gtk_ui_manager_activate().
      e5eaa52b
  4. 29 Aug, 2003 17 commits
  5. 28 Aug, 2003 1 commit
  6. 27 Aug, 2003 3 commits
    • Matthias Clasen's avatar
      Improve PointerHint docs. Explain is_hint field in GdkEventMotion. · ce940e61
      Matthias Clasen authored
      2003-08-28  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/tmpl/events.sgml: Improve PointerHint docs.
      	* gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion.
      	(#120542)
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
      	fix in the docs.
      ce940e61
    • 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
  7. 26 Aug, 2003 6 commits
    • cinamod's avatar
      tooltips, handle boxes, menus, toolbars · ccdf6b9b
      cinamod authored
      ccdf6b9b
    • Raymond Penners's avatar
      0.3.0 · b1b4498b
      Raymond Penners authored
      b1b4498b
    • Owen Taylor's avatar
      Fix variable declaration not at start of block. (#120371, Damien Carbery) · d8c62d66
      Owen Taylor authored
      Tue Aug 26 09:57:38 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
              declaration not at start of block. (#120371, Damien Carbery)
      d8c62d66
    • Frédéric Crozat's avatar
      a3344d22
    • 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
    • Owen Taylor's avatar
      Since we add one to the layout's reported width to account for the cursor, · 2be259b2
      Owen Taylor authored
      Mon Aug 25 19:55:55 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (gtk_text_view_update_layout_width):
              Since we add one to the layout's reported width to
              account for the cursor, we need to subtract one when
              setting the wrap width for the layout. (Fixes infinite
              loop (#120325, Federico Crozat)
      
              * gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
              Be a bit more careful about rounding when converting
              wrapped width from Pango units to pixels.
      2be259b2
  8. 25 Aug, 2003 4 commits
    • Matthias Clasen's avatar
      Rename GtkMenuMerge to GtkUIManager · 5e8c9634
      Matthias Clasen authored
      5e8c9634
    • Matthias Clasen's avatar
      Rename GtkMenuMerge to GtkUIManager. · 77af2d63
      Matthias Clasen authored
      77af2d63
    • Matthias Clasen's avatar
      Make the previous commit compile. · 3cb958de
      Matthias Clasen authored
      3cb958de
    • Owen Taylor's avatar
      Send the focus on to the parent when there was no focus widget before and · eb410261
      Owen Taylor authored
      Wed Aug 20 21:26:49 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_focus): Send the focus on
              to the parent when there was no focus widget before
              and no focus widget after - that is, when there are
              no focusable widgets. (#108678, help tracking it
              down from Padraig O'Briain, Federico Mena Quintero, )
      
              * gtk/gtkxembed.[ch]: Move various shared utilities
              for the XEMBED protocol eused by GtkPlug and GtkSocket
              here.
      
              * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement
              a flag bit that is sent with focus mesages to indicate
              that the focus has wrapped around on the toplevel;
              use this bit to catch infinite loops when there is no
              focusable widget at ll in the entire toplevel.
      
              * tests/testsocket.c (child_read_watch): Remove an
              extraneous unref.
      
              * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h:
        ...
      eb410261