1. 06 Mar, 2004 3 commits
  2. 05 Mar, 2004 20 commits
    • Tor Lillqvist's avatar
      Typo. · efeaeae9
      Tor Lillqvist authored
      efeaeae9
    • 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
    • Tor Lillqvist's avatar
      Add missing entries. Thanks to J. Ali Harlow. · ed1d4349
      Tor Lillqvist authored
      2004-03-05  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk_pixbuf.def: Add missing entries. Thanks to J. Ali Harlow.
      ed1d4349
    • 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
      Remove "internally-used" which sounds like "private". · 1835b5fd
      Matthias Clasen authored
      Fri Mar  5 23:45:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkinvisible.sgml: Remove "internally-used"
      	which sounds like "private".
      
      Tue Mar  2 23:51:24 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkentrycompletion.sgml: Add a bit about actions.
      1835b5fd
    • 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
    • Matthias Clasen's avatar
      Don't let the priv->image pointer dangle. (#136259, Padraig O'Briain) · 20cafaee
      Matthias Clasen authored
      Fri Mar  5 22:37:15 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
      	the priv->image pointer dangle.  (#136259, Padraig O'Briain)
      20cafaee
    • Paisa Seeluangsawat's avatar
      Updated Thai translation. · 9958ce70
      Paisa Seeluangsawat authored
      2004-03-05  Paisa Seeluangsawat  <paisa@users.sf.net>
      
      	* th.po: Updated Thai translation.
      9958ce70
    • Matthias Clasen's avatar
      Don't try to load an alpha channel from the BMP, since there is no · c3b3b3a5
      Matthias Clasen authored
      Fri Mar  5 22:22:25 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* io-bmp.c (OneLine32): Don't try to load an alpha channel
      	from the BMP, since there is no evidence that even 32bit
      	BMPs have an alpha channel.  (#135502)
      c3b3b3a5
    • Federico Mena Quintero's avatar
      Add gboolean return values and GError arguments to ::set_current_folder() · 385bd6a5
      Federico Mena Quintero authored
      2004-03-05  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
      	gboolean return values and GError arguments to
      	::set_current_folder() and ::select_path().
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder):
      	Return a boolean value for success/failure.
      	(gtk_file_chooser_set_current_folder_uri): Likewise.
      	(gtk_file_chooser_select_filename): Likewise.
      	(gtk_file_chooser_select_uri): Likewise.
      	(gtk_file_chooser_set_filename): Likewise.
      	(gtk_file_chooser_set_uri): Likewise.
      	(_gtk_file_chooser_set_current_folder_path): Likewise, plus take
      	in a GError.
      	(_gtk_file_chooser_select_path): Likewise.
      
      	* gtk/gtkfilechooserutils.c (delegate_set_current_folder):
      	Likewise.
      	(delegate_select_path): Likewise.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_select_path): Likewise.
      	(gtk_file_chooser_default_set_current_folder): Likewise.
      	(error_changing_folder_dialog): New helper function.
      	(change_folder_and_display_error): New helper function.
      	(switch_to_selected_folder): Use change_folder_and_display_error().
      	(tree_selection_changed): Likewise.
      	(shortcuts_activate_volume): Likewise.
      	(shortcuts_activate_item): Likewise.
      	(list_row_activated): Likewise.
      	(path_bar_clicked): Likewise.
      	(update_from_entry): Likewise.
      	(up_folder_handler): Likewise.
      	(home_folder_handler): Get the home path from the shortcuts model,
      	and use change_folder_and_display_error().
      
      	* tests/testfilechooser.c (set_current_folder): New helper
      	function; pops up a simple error dialog if necessary.
      	(set_filename): Likewise.
      	(set_folder_nonexistent_cb): Use set_current_folder().
      	(set_folder_existing_nonexistent_cb): Likewise.
      	(set_filename_nonexistent_cb): Use set_filename().
      	(set_filename_existing_nonexistent_cb): Likewise.
      385bd6a5
    • Owen Taylor's avatar
      Improve the docs (reported by Vitaly Tishkov, #74362) Add some comments to · c43e4377
      Owen Taylor authored
      Fri Mar  5 11:17:35 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy):
              Improve the docs (reported by Vitaly Tishkov,
              #74362) Add some comments to the code about the
              row reference handling that are hopefully not entirely
              wrong.
      c43e4377
    • Michael Natterer's avatar
      s/object/widget/. Makes it compile again. · 800f0e61
      Michael Natterer authored
      2004-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
      	s/object/widget/. Makes it compile again.
      800f0e61
    • Jonathan Blandford's avatar
      chain to the extra_widget. · 5d50d3d1
      Jonathan Blandford authored
      Fri Mar  5 03:37:14 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
              chain to the extra_widget.
      5d50d3d1
    • Jonathan Blandford's avatar
      Patch from Damon Chaplin to free models when we're finalized, #134053 · 233b7b8b
      Jonathan Blandford authored
      Fri Mar  5 02:53:41 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
              Patch from Damon Chaplin to free models when we're finalized,
              #134053
      233b7b8b
    • Alexander Larsson's avatar
      Document the fact that there might not be a volume for all paths. · 8a8798bd
      Alexander Larsson authored
      2004-03-05  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
      	Document the fact that there might not be a volume for all
      	paths.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
      	Don't assume there is a volume for all paths.
      8a8798bd
    • Jonathan Blandford's avatar
      insert in the correct place instead of naïvely appending. · 8bb74888
      Jonathan Blandford authored
      Fri Mar  5 01:45:04 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooserdefault.c (shortcuts_append_paths): insert in
              the correct place instead of naïvely appending.
              (shortcuts_add_volumes): refilter the model
              (shortcuts_add_bookmarks): refilter the model
              (gtk_file_chooser_default_add_shortcut_folder): refilter the model
      8bb74888
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 15311f62
      Duarte Loreto authored
      2004-03-05  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      15311f62
    • Federico Mena Quintero's avatar
      New handler. Ask the GtkFileChooser widget if it wants to do something · d64c7c08
      Federico Mena Quintero authored
      2004-03-04  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdialog.c (response_cb):  New handler.  Ask the
      	GtkFileChooser widget if it wants to do something special rather
      	than letting us terminate the dialog.
      	(gtk_file_chooser_dialog_init): Connect to "response"; see the
      	comment in the sources to see why we don't override the method in
      	class_init.
      
      	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
      	Added a ::should_respond() method.
      
      	* gtk/gtkfilechooserembed.c
      	(_gtk_file_chooser_embed_delegate_iface_init): Add a delegate for ::should_respond().
      	(delegate_should_respond): New delegate.
      	(_gtk_file_chooser_embed_should_respond): New function.
      
      	* gtk/gtkfilechooserdefault.c (set_list_model, create_file_list):
      	Use dashes in signal names rather than underscores.
      	(gtk_file_chooser_default_init): Hook up our ::should_respond() implementation.
      	(gtk_file_chooser_default_should_respond): Implement.  go into a
      	folder rather than responding if we are in File mode and the
      	selected file is a folder.
      	(get_selection): New helper function.
      	(add_bookmark_button_clicked_cb): Use get_selection().
      	(bookmarks_check_add_sensitivity): Likewise.
      	(gtk_file_chooser_default_get_paths): Likewise.
      	(check_save_entry): New helper function.
      	(gtk_file_chooser_default_get_paths): Use check_save_entry().
      	(selection_check): Renamed from selection_is_folders().  Now
      	checks whether the selection is empty, all files, all folders.
      	(bookmarks_check_add_sensitivity): Use selection_check().
      d64c7c08
  3. 04 Mar, 2004 10 commits
  4. 03 Mar, 2004 7 commits
    • Christian Rose's avatar
      Updated Swedish translation. · ed7a7464
      Christian Rose authored
      2004-03-04  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      ed7a7464
    • Matthias Clasen's avatar
      Allow to select the last word in the buffer. (#135487, Paolo Borelli) · befe86f1
      Matthias Clasen authored
      Thu Mar  4 00:31:54 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (extend_selection):
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
      	to select the last word in the buffer.  (#135487, Paolo Borelli)
      befe86f1
    • Matthias Clasen's avatar
      Doc update. · 576ce814
      Matthias Clasen authored
      576ce814
    • Owen Taylor's avatar
      Check whether widgets are viewable, not just if they are mapped. (#122912, · 2ddeb7cd
      Owen Taylor authored
      Wed Mar  3 17:30:18 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check
              whether widgets are viewable, not just if they are
              mapped. (#122912, reported by Tim Evans)
      2ddeb7cd
    • Matthias Clasen's avatar
      Move the actual implementation into a new · 19369fea
      Matthias Clasen authored
      Wed Mar  3 23:28:48 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_active): Move the actual
      	implementation into a new gtk_combo_box_set_active_internal()
      	function, which doesn't do the short-circuiting.
      	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Use
      	set_active_internal() here, since the active item may change here,
      	although the index is unchanged.
      
      Wed Mar  3 23:26:49 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_position): Reintroduce the
      	traditional option menu placement of the popup for regular combo
      	boxes. Grids and editable combo boxes use the combo-like placement
      	below the entry.  (#136021)
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_button_press):
      	* gtk/gtkcombobox.c (gtk_combo_box_popup): Call gtk_menu_set_active()
      	before popping up the menu, to make the placement work.
      19369fea
    • Owen Taylor's avatar
      Special case scroll events so that they propagate up the widget heirarchy · 7a9bec28
      Owen Taylor authored
      Wed Mar  3 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmain.c (gtk_propagate_event): Special case
              scroll events so that they propagate up the widget
              heirarchy when received on insensitive widgets.
              (#101102, reported by Geoff Reedy)
      7a9bec28
    • Owen Taylor's avatar
      #109594, reported by Olivier Ripoll · 0d898ffc
      Owen Taylor authored
      Wed Mar  3 16:47:10 2004  Owen Taylor  <otaylor@redhat.com>
      
               #109594, reported by Olivier Ripoll
      
              * gtk/gtkentry.c (gtk_entry_size_request): Use max of
              width and digit width for gtk_entry_set_width_chars,
              and round up.
      
              * gtk/gtkcolorsel.c (gtk_color_selection_init): Set the
              width of the entry to 7 chars.
      0d898ffc