1. 09 Mar, 2004 7 commits
    • Owen Taylor's avatar
      === Released 2.3.6 === · 49476b24
      Owen Taylor authored
      Tue Mar  9 09:57:25 2004  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.6 ===
      
              * configure.in: Version 2.3.6, interface age 0.
      
              * NEWS: Updates
      49476b24
    • Jonathan Blandford's avatar
      credit · 92c38596
      Jonathan Blandford authored
      92c38596
    • Jonathan Blandford's avatar
      unref the correct icon. · 1aae6878
      Jonathan Blandford authored
      Tue Mar  9 11:01:45 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
      1aae6878
    • Morten Welinder's avatar
      Destroy widgets to reveal leaks. · bf4ca306
      Morten Welinder authored
      2004-03-09  Morten Welinder  <terra@gnome.org>
      
      	* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.
      bf4ca306
    • Soeren Sandmann's avatar
      Add boolean destroying (gtk_menu_destroy): Set priv->destroying · db6cc5f7
      Soeren Sandmann authored
      Tue Mar  9 02:11:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c Fix bug 136446.
      	(struct _GtkMenuPrivate): Add boolean destroying
      	(gtk_menu_destroy): Set priv->destroying
      	(gtk_menu_remove): don't update the table information when the
      	menu is being destroyed.
      
      	* gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix
      
      	* gtk/gtktoolbar.[ch]: Some formatting fixes
      db6cc5f7
    • Matthias Clasen's avatar
      Fix a typo. · 6dcda29e
      Matthias Clasen authored
      Tue Mar  9 01:25:10 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkframe.c (gtk_frame_paint): Fix a typo.
      6dcda29e
    • Federico Mena Quintero's avatar
      Fixes #136080. · 57cbeff0
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #136080.
      
      	* gtk/gtkfilesystemunix.c: Only lstat() if stat() failed due to
      	ENOENT.
      	(filename_get_info): Likewise.
      57cbeff0
  2. 08 Mar, 2004 17 commits
    • Federico Mena Quintero's avatar
      016e1dc8
    • Federico Mena Quintero's avatar
      Use gtk_tree_view_set_cursor(). · caf66b3d
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_initial_focus): Use
      	gtk_tree_view_set_cursor().
      caf66b3d
    • Federico Mena Quintero's avatar
      Patch "1a" from #136185, by Morten Welinder. · 8383c8f7
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	Patch "1a" from #136185, by Morten Welinder.
      
      	* gtk/gtkfilechooserdefault.c (get_file_info): Take in an argument
      	that says whether the caller just wants the display name.
      	(shortcuts_insert_path): We only want the name in the call to
      	get_file_info().
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't request more
      	info than needed from the file_folder.
      8383c8f7
    • Federico Mena Quintero's avatar
      Fixes #136105. · 2247fc66
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #136105.
      
      	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
      	Added an ::initial_focus() method.
      
      	* gtk/gtkfilechooserembed.c
      	(_gtk_file_chooser_embed_delegate_iface_init): Set the
      	initial_focus method.
      	(delegate_initial_focus): Implement.
      	(_gtk_file_chooser_embed_initial_focus): New function.
      
      	* gtk/gtkfilechooserdialog.c
      	(gtk_file_chooser_dialog_constructor): Call
      	_gtk_file_chooser_embed_initial_focus().
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
      	Install the ::initial_focus() handler.
      	(gtk_file_chooser_default_initial_focus): Implement.
      2247fc66
    • Federico Mena Quintero's avatar
      Return a boolean success code. (location_popup_handler): Refocus the file · 4bab88cd
      Federico Mena Quintero authored
      2004-03-08  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (update_from_entry): Return a
      	boolean success code.
      	(location_popup_handler): Refocus the file chooser if appropriate.
      	Fixes #135905.
      	(save_widgets_create): Don't set the text of the save_folder_label
      	here.
      	(update_appearance): Set the text here as appropriate for the save
      	mode.  Also fixes #136387.
      	(update_appearance): Don't show the Create Folder button in
      	SELECT_FOLDER mode.
      	(update_appearance): Show the extra widget in all Save modes
      	correctly.
      4bab88cd
    • Owen Taylor's avatar
      Don't call g_signal_handler_disonnect() if priv->model is NULL. (#136551, · 5ac8b128
      Owen Taylor authored
      Mon Mar  8 11:57:27 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't
              call g_signal_handler_disonnect() if priv->model is
              NULL. (#136551, Damon Chaplin)
      
              * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
              Back out code to set the active item when the first
              item is added to the model; this causes problems for
              GtkComboBoxText. (#136535)
      
              * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy)
              * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
              * gtk/gtkcombobox.c (gtk_combo_box_list_setup):
              * gtk/gtkcombobox.c (gtk_combo_box_menu_setup):
              Remove calls to gtk_combo_box_unset_model.
      
              * gtk/gtkcombobox.c (gtk_combo_box_check_appearance):
              Clean up handling of wrap->width > 0.
      
              * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't
              switch list/menu mode here.
      
              * gtk/gtkcombobox.c (gtk_combo_box_set_model): Protect
              against the same model being set back.
      
              * gtk/gtkcombobox.c (gtk_combo_box_relayout): Call
              gtk_combo_box_menu_fill() rather than duplicating
              a large chunk of code.
      5ac8b128
    • Anders Carlsson's avatar
      If max_depth is 0 then we have a list. · 59708447
      Anders Carlsson authored
      2004-03-08  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
      	If max_depth is 0 then we have a list.
      59708447
    • Morten Welinder's avatar
      If we fail, leave widget unchanged. Explicitly verify final directory. · d558abfe
      Morten Welinder authored
      2004-03-08  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
      	widget unchanged.  Explicitly verify final directory.
      d558abfe
    • Morten Welinder's avatar
      Protect errno. · 74a9f1d2
      Morten Welinder authored
      2004-03-08  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder,
      	get_icon_type, filename_get_info): Protect errno.
      74a9f1d2
    • Marco Pesenti Gritti's avatar
      When an action is selected stop the event to be propagated otherwise the · 59f477ff
      Marco Pesenti Gritti authored
      2004-03-08  Marco Pesenti Gritti  <marco@gnome.org>
      
              * gtk/gtkentry.c: (gtk_entry_completion_key_press):
      
              When an action is selected stop the event to be propagated
              otherwise the activate signal is emitted too. (Bug #133394)
      59f477ff
    • Jonathan Blandford's avatar
      new function to consolidate creating the path_bar. · 59938d92
      Jonathan Blandford authored
      Mon Mar  8 04:50:12 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (create_path_bar): new function to
              consolidate creating the path_bar.
              (gtk_file_chooser_default_set_current_folder): no longer need to
              pass in the filesystem.
      
              * gtk/gtkpathbar.h: Removed unused set_pixbuf functions in favor
              of just setting the filesystem.
      
              * gtk/gtkpathbar.c (gtk_path_bar_finalize): Free root path and
              home_dir.
              (get_button_image): Add images to path_bar.
              (update_button_appearance): use images
              (make_directory_button): Clasify buttons based upon location.
              (_gtk_path_bar_set_path): no longer need a file-system.  Also, add
              rerooting, #135845, #135914
      
              * tests/testfilechooser.c: Fix reused error handling.
      59938d92
    • Anders Carlsson's avatar
      Use better icons for home and desktop. · 683eff48
      Anders Carlsson authored
      2004-03-08  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkfilesystemunix.c: (get_icon_for_directory),
      	(gtk_file_system_unix_render_icon):
      	Use better icons for home and desktop.
      683eff48
    • Anders Carlsson's avatar
      Set the base folder path in the entry. · c47ca597
      Anders Carlsson authored
      2004-03-08  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkfilechooserentry.c:
      	(_gtk_file_chooser_entry_set_base_folder):
      	Set the base folder path in the entry.
      c47ca597
    • Tor Lillqvist's avatar
      Correct localtime_r() emulation on Win32. Remove a couple of unnecessary · 9d55608c
      Tor Lillqvist authored
      2004-03-08  Tor Lillqvist  <tml@iki.fi>
      
      	* tests/testfilechooser.c: Correct localtime_r() emulation on Win32.
      	Remove a couple of unnecessary Win32-only includes.
      9d55608c
    • Christian Neumair's avatar
      Fixed typo in entry completion test. · 4c24377f
      Christian Neumair authored
      4c24377f
    • Tor Lillqvist's avatar
      Update. · 28675887
      Tor Lillqvist authored
      2004-03-08  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update.
      
      	* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
      28675887
    • Matthias Clasen's avatar
      Test dynamic addition/removal. · bc830c88
      Matthias Clasen authored
      Mon Mar  8 01:06:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testentrycompletion.c: Test dynamic addition/removal.
      
      Sun Mar  7 22:38:49 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkframe.c (gtk_frame_paint): Use ythickness, not
      	xthickness in the calculation of vertical dimensions.
      bc830c88
  3. 07 Mar, 2004 8 commits
    • Jonathan Blandford's avatar
      actually use gtk_button_add. · afec1da0
      Jonathan Blandford authored
      Sun Mar  7 17:38:03 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkbutton.c (gtk_button_class_init): actually use
              gtk_button_add.
      
              * gtk/gtkfilechooserdefault.c (error_building_filename_dialog):
              use the uri, not the path, #136317
              (renderer_edited_cb): ditto
              (shortcuts_add_bookmark_from_path): ditto
              (remove_bookmark_button_clicked_cb): ditto
              (gtk_file_chooser_default_remove_shortcut): ditto
              (update_from_entry): ditto
              (up_folder_handler): ditto
      afec1da0
    • Jonathan Blandford's avatar
      set redraw_on_allocate, #135902. · 9e379cfd
      Jonathan Blandford authored
      Sun Mar  7 16:07:08 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): set
              redraw_on_allocate, #135902.
      
              * gtk/gtkfilesystemmodel.c (model_refilter_recurse): Patch from
              Damon Chaplin to set a node to be visible before emitting the
              inserted signal, #135555.
      9e379cfd
    • Matthias Clasen's avatar
      Don't use xthickness in the height calculation. · e2f66ec7
      Matthias Clasen authored
      Sun Mar  7 22:24:28 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
      	height calculation.
      e2f66ec7
    • Jonathan Blandford's avatar
      stop activate from unselecting rows when pressed in multiple-selection · 58db7b1f
      Jonathan Blandford authored
      Sun Mar  7 14:34:04 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate
              from unselecting rows when pressed in multiple-selection mode.
      58db7b1f
    • Hans Breuer's avatar
      some more settings from system, also reflect some name changes done a · 985e3a24
      Hans Breuer authored
      2004-03-07  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting) :
      	some more settings from system, also reflect some name changes
      	done a while ago in the x11 backend
      
      	* gdk/win32/makefile.msc : build gdkspawn-win32.c
      
      	* gtk/gtkdnd.c : gtk_drag_source_[gs]et_target_list, added "Since: 2.4"
      
      	* gtk/makefile.msc.in : build gtkpathbar, link shell32.lib
      
      	* tests/makefile.msc : some more tests get build
      985e3a24
    • Jonathan Blandford's avatar
      if action is SELECT_FOLDER, then return the currentd folder if none is · eb258fe2
      Jonathan Blandford authored
      Sun Mar  7 03:03:57 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c
              (gtk_file_chooser_default_get_paths): if action is
              SELECT_FOLDER, then return the currentd folder if none is
              selected.
              (gtk_file_chooser_default_should_respond): Allow 'Ok' to be hit if
              no directory is selected in SELECT_FOLDER mode.
      eb258fe2
    • Jonathan Blandford's avatar
      remove unneeded elements. (tree_selection_changed): removed · 0b231feb
      Jonathan Blandford authored
      Sat Mar  6 23:31:18 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
              remove unneeded elements.
              (tree_selection_changed): removed
              (tree_name_data_func): removed
              (gtk_file_chooser_default_finalize): don't unref dir model
              (create_folder_tree): removed
              (get_selection): no longer need to abstract away the selection
              function.
              (create_file_list): We now create a tree for all actions.
              (file_pane_create): Make one tree.
              (update_appearance) We really change the mode only, now.
      0b231feb
    • Matthias Clasen's avatar
      Do a size_request on the button and cell_view_frame, otherwise their style · 6d34fb26
      Matthias Clasen authored
      Sun Mar  7 02:38:00 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_size_request): Do a
      	size_request on the button and cell_view_frame, otherwise
      	their style will still be the default here in the initial
      	size_request. (#136301, Mark McLoughlin)
      6d34fb26
  4. 06 Mar, 2004 3 commits
  5. 05 Mar, 2004 5 commits
    • Tor Lillqvist's avatar
      Move check for native Win32 (mingw) a bit earlier. If Win32, disable · 11c87b6a
      Tor Lillqvist authored
      2004-03-05  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Move check for native Win32 (mingw) a bit
      	earlier. If Win32, disable static builds (as in GLib). Remove
      	unnecessary AC_LIBTOOL_WIN32_DLL.
      11c87b6a
    • Tor Lillqvist's avatar
      Add missing entries, thanks to J. Ali Harlow. · 72d622fc
      Tor Lillqvist authored
      2004-03-05  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def: Add missing entries, thanks to J. Ali Harlow.
      
      	* gdk/win32/gdkcursor-win32.c (color_is_white): const-correctness.
      
      	(gdk_cursor_new_from_pixbuf): Copy of the non-Xcursor X11
      	implementation.
      
      	(gdk_display_supports_cursor_alpha,
      	gdk_display_supports_cursor_color): Dummy implementations.
      
      	(gdk_display_get_default_cursor_size,
      	gdk_display_get_maximal_cursor_size): Implement.
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_default_group):
      	Dummy implementation.
      
      	* gdk/win32/gdkevents-win32.c (gdk_net_wm_supports): Dummy
      	implementation.
      
      	* gdk/win32/gdkfont-win32.c (gdk_font_get_display): Implement.
      
      	* gdk/win32/gdkinput-win32.c (gdk_input_motion_events): Remove,
      	not in API.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_get_group): Dummy
      	implementation.
      72d622fc
    • Jonathan Blandford's avatar
      scroll to the new path. · 48bfdd51
      Jonathan Blandford authored
      Fri Mar  5 18:00:36 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): scroll
              to the new path.
      
              * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update the
              allocation when scrolling instead of cancelling editing.
      48bfdd51
    • Matthias Clasen's avatar
      doc updates. · 312f668e
      Matthias Clasen authored
      312f668e
    • Matthias Clasen's avatar
      Clarify the doc comment. (#118602) · 61fd5219
      Matthias Clasen authored
      Fri Mar  5 23:37:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): Clarify the
      	doc comment.  (#118602)
      61fd5219