1. 01 Oct, 2003 2 commits
    • Federico Mena Quintero's avatar
      Added fields for the shortcuts tree and its model. (create_file_list): · 39e208d8
      Federico Mena Quintero authored
      2003-09-30  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (struct _GtkFileChooserImplDefault):
      	Added fields for the shortcuts tree and its model.
      	(create_file_list): Don't call
      	gtk_tree_view_column_set_sort_column_id() twice.
      	(create_shortcuts_model): New function.
      	(list_icon_data_func): Use an ICON_SIZE macro instead of a
      	hardcoded value.
      	(list_row_activated): Use _gtk_file_chooser_set_current_folder_path()
      	to avoid converting the GtkFilePath to a URI string.
      	(gtk_file_chooser_impl_default_set_current_folder): Select the
      	appropriate item from the shortcuts list when the current folder
      	changes, to let the user know where he is.
      	(tree_selection_changed): Likewise.
      
      	* gtkfilesystem.h (struct _GtkFileSystemIface): Added methods for
      	::supports_shortcuts(), ::list_shortcuts(), ::set_shortcuts().
      39e208d8
    • Matthias Clasen's avatar
      Fix signal doc comments to pacify gtk-doc. · e8ea4808
      Matthias Clasen authored
      	* gtk/gtktoolitem.c (gtk_tool_item_class_init): Fix signal doc
      	comments to pacify gtk-doc.
      e8ea4808
  2. 30 Sep, 2003 13 commits
    • Matthias Clasen's avatar
      Add two missing signals. · c34b0a09
      Matthias Clasen authored
      	* gdk/tmpl/keys.sgml: Add two missing signals.
      c34b0a09
    • Matthias Clasen's avatar
      Doc formatting tweaks. · dbdc43be
      Matthias Clasen authored
      2003-10-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c: Doc formatting tweaks.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
      
      	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
      	Use the same parameter names as in .c file, to pacify gtk-doc.
      
      	* gtk/gtktoggletoolbutton.[hc]:
      	* gtk/gtktoolbutton.[hc]:
      	* gtk/gtktoolitem.[hc]:
      	* gtk/gtktoolbar.[hc]:
      	* gtk/gtkcolorbutton.[hc]:
      	* gtk/gtkfontbutton.[hc]:
      	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
      	source, not in the header.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
      	Document these as 2.4 API additions.
      
      	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
      
      	* gtk/gtk-sections.txt: Additions.
      
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
      dbdc43be
    • Kristian Rietveld's avatar
      Add API doc comments. · 881df5c4
      Kristian Rietveld authored
      Tue Sep 30 23:42:56 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_set_completion),
      	(gtk_entry_get_completion): Add API doc comments.
      
      	* gtk/gtkentrycompletion.c: Fix #includes and add API doc comments.
      881df5c4
    • Matthias Clasen's avatar
      Add hint to use #GtkUIManager instead. · f99ba6c7
      Matthias Clasen authored
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
      f99ba6c7
    • Kristian Rietveld's avatar
      Add "Since: 2.4" to all API doc comments. · b65b8538
      Kristian Rietveld authored
      Tue Sep 30 23:12:34 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreemodelfilter.c: Add "Since: 2.4" to all API doc comments.
      b65b8538
    • Kristian Rietveld's avatar
      Some API doc comment fixes. · 1c88b37f
      Kristian Rietveld authored
      Tue Sep 30 22:59:58 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreeviewcolumn.c: Some API doc comment fixes.
      
      	* gtk/gtkcellayout.c: Fix #include and oooooh API doc comments!
      1c88b37f
    • Matthias Clasen's avatar
      Test handling of empty menus. · 57f13d81
      Matthias Clasen authored
      2003-09-30  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/merge-*.ui:
      	* tests/testmerge.c: Test handling of empty menus.
      
      	* gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
      	whether a menu is empty. Used in gtkaction.c.
      	(update_smart_separators): Also update the visibility of empty menus.
      	(update_node): When creating a new menu proxy, insert an "Empty" menu
      	item which only gets shown if the menu is empty.
      
      	* gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
      	"is_important" for menu proxies.
      	(_gtk_action_sync_menu_visible): New function to sync the visibility
      	of menu proxies. Used in gtkuimanager.c.
      	(gtk_action_sync_visible): New function to sync the visibility of
      	proxies.
      57f13d81
    • Kristian Rietveld's avatar
      set popup_in_progress to TRUE, (gtk_combo_box_menu_show): and back to · 039c6b3b
      Kristian Rietveld authored
      Tue Sep 30 21:43:34 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set
      	popup_in_progress to TRUE,
      	(gtk_combo_box_menu_show): and back to FALSE here; the menu now
      	won't disappear on the first button release. (Reported by Matthias
      	Clasen).
      039c6b3b
    • Kristian Rietveld's avatar
      actually show the child. · b78ee57e
      Kristian Rietveld authored
      Tue Sep 30 21:08:43 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543,
      	Marco Pesenti Gritti).
      b78ee57e
    • Murray Cumming's avatar
      The render vfunc takes a GdkDrawable* instead of a GdkWindow*, because · fa7b7509
      Murray Cumming authored
      2003-09-30  Murray Cumming  <murrayc@usa.net>
      
              * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable*
              instead of a GdkWindow*, because that what it is given. The
              documentation was already correct. This should cause no API/ABI
              breakage with C compilers.
              * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c,
              gtkcellrenderertogger.c: Updated the declarations of the render vfunc
              implementation accordingly.
      fa7b7509
    • Gustavo Maciel Dias Vieira's avatar
      Applied revision by Augusta Marques da Silva <augusta.marques@gmx.net>. · 9cec9f2b
      Gustavo Maciel Dias Vieira authored
      2003-09-30  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>
      
              * pt_BR.po: Applied revision by Augusta Marques da Silva
              <augusta.marques@gmx.net>.
      9cec9f2b
    • cinamod's avatar
      add gtksetting · f81a63fd
      cinamod authored
      f81a63fd
    • Matthias Clasen's avatar
      Document the "direction-changed" and "keys-changed" signals. · f582c04a
      Matthias Clasen authored
      2003-09-30  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkkeys.c (gdk_keymap_class_init): Document the
      	"direction-changed" and "keys-changed" signals.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): Document the
      	"size-changed" signal.
      
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
      	Document the "display-opened" signal.
      
      	* gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
      	(gdk_display_class_init): Document the "closed" signal.
      
      	* gdk/tmpl/keys.sgml: Small addition.
      
      	* gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass.
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
      f582c04a
  3. 29 Sep, 2003 1 commit
  4. 27 Sep, 2003 2 commits
  5. 26 Sep, 2003 4 commits
    • Matthias Clasen's avatar
      Deprecate GtkItemFactory in favor of GtkUIManager. Just leave · 08573c08
      Matthias Clasen authored
      2003-09-27  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkitemfactory.h: Deprecate GtkItemFactory in favor
      	of GtkUIManager. Just leave GtkTranslateFunc undeprecated,
      	since GtkActionGroup uses it.
      08573c08
    • 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
    • Matthias Clasen's avatar
      Demonstrate the use of the connect-proxy signal. · eeed9d18
      Matthias Clasen authored
      2003-09-27  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c: Demonstrate the use of the
      	connect-proxy signal.
      
      	* gtk/gtkaction.c (connect_proxy): Add connect-proxy and
      	disconnect-proxy signals to do small customizations
      	like displaying tooltips in the statusbar without
      	custom actions.  (#122894, Philip Langdale)
      
      	* gtk/gtkuimanager.c (update_node): Don't leak tooltip.
      eeed9d18
    • Kristian Rietveld's avatar
      Landing the new ComboBox. Note that only gtkcombobox.h and · c920afd9
      Kristian Rietveld authored
      Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Landing the new ComboBox. Note that only gtkcombobox.h and
      	gtkcomboboxentry.h are public.
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
      
      	* gtk/Makefile.am, gtk/gtk.h: adding the new files.
      
      	* tests/testcombo.c: and a new test.
      
      	* tests/Makefile.am: adding the new test.
      c920afd9
  6. 25 Sep, 2003 3 commits
    • 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
    • cinamod's avatar
      set delay on popdown menus · 97f1b098
      cinamod authored
      97f1b098
    • cinamod's avatar
      set delay on popdown menus · 86b43475
      cinamod authored
      86b43475
  7. 24 Sep, 2003 1 commit
  8. 23 Sep, 2003 2 commits
    • Matthias Clasen's avatar
      Demonstrate tooltips on toolitems. · 33164c02
      Matthias Clasen authored
      2003-09-24  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/appwindow.c (do_appwindow): Demonstrate tooltips
      	on toolitems.
      33164c02
    • Matthias Clasen's avatar
      Sync tooltips on toolitems. · a93cee89
      Matthias Clasen authored
      2003-09-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c (connect_proxy): Sync tooltips on toolitems.
      
      	* gtk/gtkuimanager.c (update_node): Don't complain about missing
      	actions on popups. Re-set "tooltip" property on toolitems after
      	adding them to parent to trigger proxy update.
      a93cee89
  9. 22 Sep, 2003 3 commits
  10. 21 Sep, 2003 2 commits
    • Matthias Clasen's avatar
      Changes to make cross-process merging feasible: · d381967d
      Matthias Clasen authored
      2003-09-21  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make cross-process merging feasible:
      
      	* gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
      	merged UI definition. Remove the "changed" signal, since its role
      	is now filled by "notify::ui". Instead add a "actions-changed" signal
      	which gets emitted when the set of actions changes.
      
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
      	Add a "draw_as_radio" property to toggle actions so that they can be
      	used as proxies for radio actions much like the "draw_as_radio"
      	property on check menu items enables them to operate as proxies for
      	radio actions.
      
      	Prevent the "show_all" trap for action-based menus (see
      	http://mail.gnome.org/archives/gtk-devel-list/2003-September/
      	msg00260.html):
      
      	* gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
      	calls from static functions.
      
      	* gtk/gtkuimanager.c (update_node):
      	* gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
      	widgets whose visibility is externally controlled.
      
      	* gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean
      	"no_show_all" property with setter and getter. When TRUE, it keeps
      	gtk_widget_{hide,show}_all() from modifying the visibility of the
      	widget and its children.
      d381967d
    • Soeren Sandmann's avatar
      Add new "tab moves focus" property (#122709) · 8be8d7f6
      Soeren Sandmann authored
      Sun Sep 21 23:13:37 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktextview.[ch]: Add new "tab moves focus" property (#122709)
      8be8d7f6
  11. 20 Sep, 2003 2 commits
    • Tor Lillqvist's avatar
      Don't use zip -r on the etc directory, to avoid including editor backup · 71e847d1
      Tor Lillqvist authored
      2003-09-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
      	including editor backup files. List files we want explicitly.
      
      	* gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
      	calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
      	LC_ALL, LC_CTYPE and LANG environment variables, than calls
      	g_win32_getlocale().
      
      	(gtk_get_default_language): Code snippet moved to above function,
      	call it.
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
      	* gtk/gtkrc.c (gtk_rc_context_parse_file): Call
      	_gtk_get_lc_ctype() instead of setlocale().
      71e847d1
    • Raymond Penners's avatar
      0.4.3 · e95ad99a
      Raymond Penners authored
      e95ad99a
  12. 19 Sep, 2003 5 commits