1. 15 Sep, 2004 1 commit
  2. 14 Sep, 2004 5 commits
    • Søren Sandmann's avatar
      Call gtk_tool_item_rebuild_menu(). · 59207896
      Søren Sandmann authored
      Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkaction.c (connect_proxy): Call
      	gtk_tool_item_rebuild_menu().
      
      	* gtk/gtktoolitem.c (gtk_tool_item_class_init): Update
      	documentation for GtkToolItem::create_menu_proxy.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New
      	API to make the toolbar update itself when the proxy menu item
      	for a tool item changes.
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call
      	gtk_tool_item_rebuild_menu here()
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
      	Remove redundant check for need_label.
      59207896
    • Matthias Clasen's avatar
      Remove an unused variable, spotted by Morten Welinder. · a91839ad
      Matthias Clasen authored
      2004-09-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmain.c (do_post_parse_initialization): Remove an unused
      	variable, spotted by Morten Welinder.
      a91839ad
    • Matthias Clasen's avatar
      Fix a typo · e1ab5524
      Matthias Clasen authored
      e1ab5524
    • Matthias Clasen's avatar
      Copy code from queryloaders.c which turns backslashes in slashes on win32. · 60f88435
      Matthias Clasen authored
      2004-09-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/queryimmodules.c (escape_string): Copy code from queryloaders.c
      	which turns backslashes in slashes on win32.  (#152608, Kazuki IWAMOTO)
      60f88435
    • Matthias Clasen's avatar
      Set the cursor to the first selected row instead of always to the first · 03a6952c
      Matthias Clasen authored
      2004-09-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor
      	to the first selected row instead of always to the first row if there
      	is no cursor.  (#143270, Jean Bréfort)
      
      	* tests/testfilechooser.c (main): Fix a few typos.
      03a6952c
  3. 13 Sep, 2004 5 commits
  4. 09 Sep, 2004 2 commits
  5. 08 Sep, 2004 1 commit
    • Soeren Sandmann's avatar
      Make dropping of expandable items look nicer. · e0b2ead3
      Soeren Sandmann authored
      Wed Sep  8 18:38:08 2004  Soeren Sandmann  <sandmann@redhat.com>
      
      	Make dropping of expandable items look nicer.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
      	placeholder expand if highlight item is expanding.
      
      	* gtk/gtktoolbar.c (toolbar_content_set_expand): New function.
      
      	* gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only
      	if the item is not disappering.
      e0b2ead3
  6. 07 Sep, 2004 2 commits
  7. 05 Sep, 2004 6 commits
    • Matthias Clasen's avatar
      Add descriptions for the commandline arguments. The actual descriptions · e1077caf
      Matthias Clasen authored
      Sun Sep  5 17:14:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c:
      	* gdk/gdk.c:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c: Add descriptions for the
      	commandline arguments. The actual descriptions are mostly
      	taken from libbonoboui, so translators should be able to
      	copy existing translations from there.
      e1077caf
    • Anders Carlsson's avatar
      Add new functions · 6661399c
      Anders Carlsson authored
      2004-09-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.symbols:
      	* gtk/gtk.symbols:
      	Add new functions
      
      2004-09-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
      	(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
      	(gdk_parse_args):
      	* gdk/gdk.h:
      	* gdk/gdkinternals.h:
      	* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
      	* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
      	* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
      	* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
      	(gtk_arg_module_cb), (gtk_arg_warnings_cb),
      	(do_pre_parse_initialization), (do_post_parse_initialization),
      	(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
      	(gtk_init_with_args), (gtk_parse_args):
      	* gtk/gtkmain.h:
      	Make gtk argument parsing use goption. Add gtk_get_option_group and
      	gtk_init_with_args.
      
      	* tests/testtreemodel.c: (main):
      	Use gtk_init_with_args.
      6661399c
    • Anders Carlsson's avatar
      Make gtk argument parsing use goption. Add gtk_get_option_group and · 04d65a6d
      Anders Carlsson authored
      2004-09-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
      	(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
      	(gdk_parse_args):
      	* gdk/gdk.h:
      	* gdk/gdkinternals.h:
      	* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
      	* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
      	* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
      	* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
      	(gtk_arg_module_cb), (gtk_arg_warnings_cb),
      	(do_pre_parse_initialization), (do_post_parse_initialization),
      	(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
      	(gtk_init_with_args), (gtk_parse_args):
      	* gtk/gtkmain.h:
      	Make gtk argument parsing use goption. Add gtk_get_option_group and
      	gtk_init_with_args.
      
      	* tests/testtreemodel.c: (main):
      	Use gtk_init_with_args.
      04d65a6d
    • Matthias Clasen's avatar
      Allow sorting of tree models to be turned off again. (#151139, Torsten · 71e3cae5
      Matthias Clasen authored
      Sun Sep  5 01:04:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Allow sorting of tree models to be turned off
      	again.  (#151139, Torsten Schoenfeld)
      
      	* gtk/gtktreesortable.h:
      	Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort):
      	* gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if
      	the list store is not sorted.
      71e3cae5
    • Matthias Clasen's avatar
      Fix the Solaris Xinerama checks. (#151754) · 44bfacfc
      Matthias Clasen authored
      Sat Sep  4 23:37:56 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* configure.in: Fix the Solaris Xinerama checks.  (#151754)
      44bfacfc
    • Matthias Clasen's avatar
      Don't refuse to delete text in passwords. (#151723, Owen Taylor) · 3d33052b
      Matthias Clasen authored
        Sat Sep  4 22:45:49 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete
      	text in passwords.  (#151723, Owen Taylor)
      3d33052b
  8. 04 Sep, 2004 3 commits
  9. 03 Sep, 2004 1 commit
    • Tor Lillqvist's avatar
      List the three theme gtkrc files separately, zip doesn't do anything if · f8ef369e
      Tor Lillqvist authored
      2004-09-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: List the three theme gtkrc files separately, zip
      	doesn't do anything if one of the files on its command line
      	doesn't exist.
      
      	Handle changes of screen resolution on Win32. (#151581, reported by
      	Arjohn Kampman)
      
      	* gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init,
      	_gdk_root_window_size_init): Factor out setting the root window's
      	size (as the size of the union of all monitors) to a new function.
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_open,
      	_gdk_monitor_init): Factor out the monitor query to a new
      	function.
      
      	* gdk/win32/gdkprivate-win32.h: Declare above new functions.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate,
      	handle_display_change): Handle WM_DISPLAYCHANGE by calling the
      	above two functions, and emitting the "size_changed" signal on our
      	(only) GdkScreen.
      f8ef369e
  10. 01 Sep, 2004 9 commits
    • Matthias Clasen's avatar
      Document the return value. · f50cab88
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible):
      	Document the return value.
      f50cab88
    • Matthias Clasen's avatar
      Make it possible to specify additional modules to load via a setting. · 8189921f
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make it possible to specify additional modules to load
      	via a setting.  (#117236, Alex Graveley)
      
      	* gtk/gtkmodules.h:
      	* gtk/gtkmodules.c: New files which contain the module
      	handling code which was previously in gtkmain.[hc].
      	Additionally, the code now looks for the gtk-modules
      	setting, which can specify additional modules to load.
      
      	* gtk/gtkmain.c:
      	* gtk/gtkmain.h: Remove all the module handling code.
      
      	* gtk/gtkdebug.h: Add a debug flag for modules.
      
      	* gtk/gtk.h: Include gtkmodules.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
      	(gtk_c_sources): Add gtkmodules.c
      
      	* gtk/gtksettings.c: Add the gtk-modules setting.
      
      	* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
      8189921f
    • Søren Sandmann's avatar
      Make sure children of the toolbar are given positive dimensions. (149540, · 0ac4f283
      Søren Sandmann authored
      Wed Sep  1 19:11:44 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
      	children of the toolbar are given positive dimensions. (149540,
      	Felipe Heidrich).
      0ac4f283
    • Matthias Clasen's avatar
      Protect the unistd.h include by HAVE_UNISTD_H. · 951e6a1e
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkfilechooserbutton.c: Protect the unistd.h include
      	by HAVE_UNISTD_H.
      951e6a1e
    • Matthias Clasen's avatar
      Make accel labels ellipsize correctly. (#151559, Christian Persch) · 7fdd4828
      Matthias Clasen authored
      Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
      	accel labels ellipsize correctly.  (#151559, Christian Persch)
      7fdd4828
    • Matthias Clasen's avatar
      Don't leak the iter of a running animation. (#151542) · 018c353d
      Matthias Clasen authored
      Wed Sep  1 00:55:56 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkimage.c (gtk_image_clear): Don't leak the iter
      	of a running animation.  (#151542)
      018c353d
    • Matthias Clasen's avatar
      Make "ms-windows" the default theme on Win32. · f5ffc36e
      Matthias Clasen authored
      Tue Aug 31 23:40:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make
      	"ms-windows" the default theme on Win32.
      f5ffc36e
    • Matthias Clasen's avatar
      Only start a drag if the left button is pressed. (#151490, Frederic · 3c752563
      Matthias Clasen authored
      Tue Aug 31 23:24:49 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
      	a drag if the left button is pressed.  (#151490, Frederic Croszat)
      3c752563
    • Matthias Clasen's avatar
      Remove debug spew. · 6d5398cc
      Matthias Clasen authored
      Tue Aug 31 23:20:58 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
      6d5398cc
  11. 31 Aug, 2004 2 commits
    • Jonathan Blandford's avatar
      constrain cell area to passed in cell_area, #147867 · 08bc7206
      Jonathan Blandford authored
      Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeviewcolumn.c
              (gtk_tree_view_column_cell_process_action): constrain cell area to
              passed in cell_area, #147867
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
              ellipsizing, get_size is only 3 chars wide.
      
              * docs/tree-column-sizing.png: Add Matthias's excellent image.
      08bc7206
    • Robert Ögren's avatar
      On Win32, do not produce tablet motion or button events while a window is · c0ba86bc
      Robert Ögren authored
      2004-08-28  Robert Ögren  <gtk@roboros.com>
      
      	On Win32, do not produce tablet motion or button events while a
      	window is being moved or resized. (#151090, reported by Shaneyfelt)
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkevents-win32.c: Rename the variable resizing to
      	_sizemove_in_progress and make it extern.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore
      	motion and button events if _sizemove_in_progress is true.
      c0ba86bc
  12. 30 Aug, 2004 3 commits
    • Tor Lillqvist's avatar
      Make the ms-windows theme engine build with mingw. · 585471a4
      Tor Lillqvist authored
      2004-08-30  Tor Lillqvist  <tml@iki.fi>
      
      	Make the ms-windows theme engine build with mingw.
      
      	* configure.in: Expand also modules/engines/ms-windows/Theme/
      	Makefile and .../Theme/gtk-2.0/Makefile.
      
      	* modules/engines/ms-windows/Makefile.am: Adapt for building
      	inside the GTK sources.
      
      	* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
      	GTK and GDK headers. Use correct path for gdkwin32.h header.
      
      	* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
      	API.
      
      	* modules/engines/ms-windows/xp_theme_defs.h
      	* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
      	to xp_theme.c, as they are neither in mingw's nor Platform
      	SDK's tmschema.h.
      
      	* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
      	0x0501 to get the necesssary stuff from mingw's uxtheme.h.
      585471a4
    • Matthias Clasen's avatar
      Integrate the ms-windows theme engine (better known as Wimp) into the · 7feff029
      Matthias Clasen authored
      2004-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	Integrate the ms-windows theme engine (better known as Wimp)
      	into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
      	was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
      	sources have been added to the GTK+ source tree in
      	modules/engines/ms-windows, and there is a ChangeLog detailing
      	the history of Wimp. (#109615, Havoc Pennington)
      
      	* configure.in: Generate modules/engines/Makefile and
      	modules/engines/ms-windows/Makefile.
      
      	* modules/Makefile.am (SUBDIRS): Add engines.
      
      	* modules/engines/Makefile.am: Compile ms-windows for win32.
      7feff029
    • Matthias Clasen's avatar
      Make it compile. · 5210bf17
      Matthias Clasen authored
      2004-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): Make it compile.
      
      2004-08-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #151112, Olexiy Avramchenko:
      
      	* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout):
      	* gtk/gtkiconview.c (scroll_timeout, layout_callback)
      	(gtk_icon_view_item_accessible_idle_do_action):
      	* gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle)
      	(popup_idle): Protect idle callbacks and timeouts with
      	GDK_THREADS_ENTER/_LEAVE.
      
      	* gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
      	call update_dialog() from an idle with the necessary protection.
      5210bf17