Commit Graph

5637 Commits

Author SHA1 Message Date
Matthias Clasen
eb8ae3642c Clear the iter instead of returning it unmodified. (#154186, Jonathan
2004-10-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Clear
	the iter instead of returning it unmodified. (#154186, Jonathan Blandford)
2004-10-06 18:47:57 +00:00
Matthias Clasen
46f404dd2d Pop up the completions again after tab. (#147700, Jens Bech Madsen)
2004-10-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
	the completions again after tab.  (#147700, Jens Bech Madsen)
2004-10-06 18:18:23 +00:00
Matthias Clasen
f252b50818 Set the cursor before changing the selection to make the file chooser
2004-10-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
	before changing the selection to make the file chooser preview
	update work better.  (#143826, Tommi Komulainen)
2004-10-06 17:05:23 +00:00
4
895a93c9cd check the iteration window variable, not just the window passed in. fixes
Wed Oct  6 00:45:04 2004    <timj@birnet.org>

        * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
        variable, not just the window passed in. fixes #145270.
2004-10-05 23:06:39 +00:00
Tim Janik
7b69898bd4 applied owen's patch for conditional ALLOC_NEEDED flag updates to preserve
Tue Oct  5 21:00:54 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): applied owen's patch
        for conditional ALLOC_NEEDED flag updates to preserve resizing
        flag invariants.
2004-10-05 21:42:34 +00:00
Matthias Clasen
00fc8b0d54 Set action_name. (#154526, John Finlay)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set
	action_name.  (#154526, John Finlay)
2004-10-05 14:10:44 +00:00
Matthias Clasen
7c01e990d0 Warn if the window is not foreign after all. (#151378, Gustavo Carneiro)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display):
	Warn if the window is not foreign after all.  (#151378,
	Gustavo Carneiro)
2004-10-05 05:31:09 +00:00
Matthias Clasen
8577819a60 Make the code work as intended for unthemed icons; don't scale them up too
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf):
	Make the code work as intended for unthemed icons; don't scale
	them up too much. Allow to scale them down, and do so
	exactly.  (#154142, Ross Burton)
	(gtk_icon_info_load_icon): Amend docs.
2004-10-05 03:19:55 +00:00
Matthias Clasen
22ff6e3f7b Improve docs. (#154504, Dave Cook)
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcelllayout.c (gtk_cell_layout_clear): Improve
	docs.  (#154504, Dave Cook)
2004-10-05 02:53:37 +00:00
Matthias Clasen
f53c911a0d Ref the new icons before unreffing the old ones. (#154468, Morten
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_icon_list):
	(gtk_window_set_default_icon_list): Ref the new
	icons before unreffing the old ones.  (#154468, Morten Welinder)
2004-10-04 14:52:22 +00:00
Matthias Clasen
caae5c8123 Ref the new icons before unreffing the old ones. (#154468, Morten
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
	before unreffing the old ones.  (#154468, Morten Welinder)
2004-10-04 14:48:57 +00:00
Matthias Clasen
718b7b0f48 Set sort_indicator to FALSE when appropriate. (#153714, Reinout van
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c
	(gtk_tree_view_column_setup_sort_column_id_callback):
	Set sort_indicator to FALSE when appropriate.  (#153714,
	Reinout van Schouwen)
2004-10-03 06:10:12 +00:00
Matthias Clasen
14fa6c2604 Fix positioning near the monitor boundaries. (#154341, Ken Harris)
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_search_position_func):
	Fix positioning near the monitor boundaries.  (#154341,
	Ken Harris)
2004-10-03 05:23:44 +00:00
Tor Lillqvist
24b8bee242 Enable wintab (tablets) by default.
2004-10-01  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkglobals-win32.c: Enable wintab (tablets) by
	default.
2004-10-01 19:25:07 +00:00
Matthias Clasen
7142292fa2 Add a comment regarding cell renderers to the docs.
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding
	cell renderers to the docs.
2004-10-01 19:01:11 +00:00
Matthias Clasen
7ff7a6c7c1 Silently ignore info being NULL. This is unavoidable with the current
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes):
	Silently ignore info being NULL. This is unavoidable with the
	current design where we have every implementation of layout_clear
	call layout_clear_attributes, and also delegate calls to dependent
	cell layouts.  (#154191, Martyn Russell)
2004-10-01 18:54:33 +00:00
Matthias Clasen
523c9393c9 Prevent a crash if the entry is finalized before the sorting idle is
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_finalize):
	Prevent a crash if the entry is finalized before the sorting
	idle is removed, noticed by Frederic Crozat.
2004-10-01 14:05:36 +00:00
Abel Cheung
9bd1e7d6dd Added "ang" to ALL_LINGUAS.
2004-09-29  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Added "ang" to ALL_LINGUAS.
2004-09-29 05:40:53 +00:00
Matthias Clasen
b915fe54f9 Turn off sorting while inserting batches of new files, since sorting is
2004-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserentry.c (update_current_folder_files): Turn
	off sorting while inserting batches of new files, since sorting
	is slow with the current list store implementation. The sorting
	is turned back on in an idle since the gnome-vfs backend returns
	directory contents in chunks of 100 files, and we don't want to
	turn sorting back on until the whole directory is read.
2004-09-28 21:16:59 +00:00
Matthias Clasen
0aaac89cfd Turn off sorting while inserting batches of new files, since sorting is
2004-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserentry.c (update_current_folder_files): Turn
	off sorting while inserting batches of new files, since sorting
	is slow with the current list store implementation.
2004-09-28 19:19:49 +00:00
Matthias Clasen
851a9de3f3 Allow to disable sorting. 2004-09-28 02:47:57 +00:00
Matthias Clasen
98769cab15 Emit GtkFileFolder::finished-loading.
2004-09-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children):
	Emit GtkFileFolder::finished-loading.
2004-09-27 16:50:10 +00:00
Roozbeh Pournader
e8665cab15 Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS. Added Iranian
2004-09-27  Roozbeh Pournader  <roozbeh@farsiweb.info>

	* configure.in: Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS.
	* po/az_IR.po, po-properties/az_IR.po: Added Iranian Azerbaijani
	translation by Amir Hedayaty <amir@bamdad.org>.
2004-09-27 13:00:32 +00:00
Matthias Clasen
a04fa6d9c6 Add a missing _ to the name of the has_secondary_backward_stepper
2004-09-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_class_init): Add a missing _
	to the name of the has_secondary_backward_stepper property.
	Noticed by Michèle Garoche.
2004-09-27 03:41:34 +00:00
Robert Ögren
c7a75ce4fe Set lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a
2004-09-25  Robert Ögren  <gtk@roboros.com>

	* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
	lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
	a further fix for bug #145467.
2004-09-25 20:25:25 +00:00
Matthias Clasen
745f5693f3 Don't access attr[-1]. (#153628, Padraig O'Briain)
2004-09-25  Matthias Clasen  <mclasen@x1-6-00-50-fc-70-9f-e0>

	* gtk/gtktextiter.c (inside_word_func): Don't access
	attr[-1].  (#153628, Padraig O'Briain)
2004-09-25 04:27:47 +00:00
Matthias Clasen
6c3a8d215d Don't use bitops on booleans. (gtk_file_chooser_default_should_respond):
2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
	bitops on booleans.
	(gtk_file_chooser_default_should_respond): Make it easier to
	select folders in SELECT_FOLDER mode.
2004-09-22 20:15:45 +00:00
Matthias Clasen
6b3f5d0d67 Don't use bitops on booleans.
2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
	bitops on booleans.
2004-09-22 19:28:13 +00:00
Matthias Clasen
7745b5ff2e Don't leak the frame pixbuf.
Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
	pixbuf.
2004-09-22 04:53:26 +00:00
Matthias Clasen
fd83f1c36d Don't assert that current_focus != NULL, just return FALSE.
2004-09-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
	Don't assert that current_focus != NULL, just return FALSE.
2004-09-21 20:37:43 +00:00
Matthias Clasen
ea747c393d Give the path bar arrow buttons some more room.
2004-09-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (gtk_path_bar_size_request): Give the path
	bar arrow buttons some more room.
2004-09-21 20:22:38 +00:00
Matthias Clasen
062d21fe58 Fix typos in signal docs. (#153224, John Finlay)
2004-09-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c: Fix typos in signal docs.  (#153224,
	John Finlay)
2004-09-21 17:46:22 +00:00
Matthias Clasen
5ba902e605 Don't return FALSE from a void function. (#153185, Joel Fredrikson)
Mon Sep 20 19:27:48 2004  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
	return FALSE from a void function.  (#153185, Joel Fredrikson)
2004-09-20 23:33:05 +00:00
Federico Mena Quintero
0216ec037d Removed the GTK_FILE_PATH() and GTK_IS_FILE_PATH() macros. They are not
2004-09-18  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystem.h: Removed the GTK_FILE_PATH() and
	GTK_IS_FILE_PATH() macros.  They are not supposed to exist, as
	GtkFilePath is not an object.  And they never worked, anyway.
2004-09-18 20:08:46 +00:00
Matthias Clasen
1800ebb2b9 Bump version 2004-09-18 19:22:21 +00:00
Matthias Clasen
35fe7f27f9 2.4.10 2004-09-18 18:46:33 +00:00
Marco Pesenti Gritti
6f33202c91 Make numeric pad enter activate the selected completion entry. Fix bug
2004-09-18  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkentry.c: (gtk_entry_completion_key_press):

        Make numeric pad enter activate the selected completion
        entry. Fix bug 143486 reported by Edd Dumbill.
2004-09-18 10:05:29 +00:00
Matthias Clasen
7f0210fd09 More updates. 2004-09-17 19:40:22 +00:00
Matthias Clasen
434e95da34 Scroll to the selected row. (#143868, Christian Persch)
2004-09-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
	row.  (#143868, Christian Persch)
2004-09-17 19:04:36 +00:00
Matthias Clasen
17dcc1ac18 Improve the behaviour of the file chooser in save mode. Fixes bugs
2004-09-17  Matthias Clasen  <mclasen@redhat.com>

	Improve the behaviour of the file chooser in save mode. Fixes bugs
	#151031, #151608, #151994 reported by Owen Taylor and Alexander
	Larsson.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
	(location_entry_create): Propagate the action to the file
	chooser entries.
	(gtk_file_chooser_default_should_respond): Switch folders if
	the user enters a directory name in the entry and clear the entry
	after switching folders.
	(gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb):
	Move focus to the file list when activating a shortcut.
	(gtk_file_chooser_default_should_respond): Handle the case where the
	user clicks on "Save" after selecting a folder in the file list.

	* gtk/gtkfilechooserentry.h:
	* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
	(_gtk_file_chooser_entry_get_action): New functions to propagate
	the GtkFileChooserAction of the file chooser to the file chooser
	entry.
	(check_completion_callback): If we are in save mode, only do
	inline completion for directories.
2004-09-17 17:52:01 +00:00
Matthias Clasen
b2484c8f95 Warn if a UTF8_STRING property contains invalid UTF-8. (#152845, Owen
Thu Sep 16 23:10:37 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING
	property contains invalid UTF-8. (#152845, Owen Taylor)
2004-09-17 03:11:52 +00:00
Tor Lillqvist
7418f2c815 Remove bogus code that tried to do what the X11 backend does in its
2004-09-15  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
	Remove bogus code that tried to do what the X11 backend does in
	its version of this function. There are no "frame windows" (for
	toplevel window decoration) on Windows. The desktop ("root")
	window is not the parent of a toplevel window. (#152481)
2004-09-15 18:33:16 +00:00
Matthias Clasen
3a146d9a5e Updates 2004-09-15 17:17:52 +00:00
Matthias Clasen
7034622b6e Copy code from queryloaders.c which turns backslashes in slashes on win32.
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)
2004-09-14 20:03:46 +00:00
Matthias Clasen
fdb93e840a Set the cursor to the first selected row instead of always to the first
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.
2004-09-14 19:34:20 +00:00
Matthias Clasen
b532358bed Change the default expander size to 12 to compensate for the recent change
2004-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkexpander.c:
	* gtk/gtktreeview.c: Change the default expander size to 12 to compensate
	for the recent change to gtk_default_draw_expander().

	* gtk/gtkstyle.c (gtk_default_draw_expander): Use a linewidth of one
	for expander sizes up to 16.
2004-09-14 14:31:48 +00:00
Matthias Clasen
a02bdaa351 Resize the popup if the model is replaced. (#152333)
2004-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): Resize the
	popup if the model is replaced.  (#152333)
	(_gtk_entry_completion_resize_popup):
	Improve positioning of entry completion popup.
2004-09-13 18:05:29 +00:00
Matthias Clasen
b2882aad44 Update sensitivity of the "Select all" button.
2004-09-09  Matthias Clasen  <mclasen@redhat.com>

	* tests/testfilechooser.c (main): Update sensitivity of the "Select all"
	button.
2004-09-09 12:45:01 +00:00
Matthias Clasen
1c9d78fd2e Draw expanders a bit better.
2004-09-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
	better.
2004-09-08 21:07:56 +00:00
Matthias Clasen
6d657772ef Use the proper node type for placeholders in toolbars. (#151963, Olivier
2004-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
	for placeholders in toolbars.  (#151963, Olivier Andrieu)
2004-09-07 17:55:07 +00:00