Commit Graph

8978 Commits

Author SHA1 Message Date
Tor Lillqvist
6f75426b7d Report whole of (primary) monitor, including any taskbars. Excluding the
2004-08-22  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
	Report whole of (primary) monitor, including any taskbars.
	Excluding the taskbar area from the "root window" reported to GDK
	doesn't seem to be that useful although gdk/win32 had been doing it
	for a very long time. (#149013, see also #145467 and #148526)
2004-08-22 16:56:48 +00:00
Soeren Sandmann
5d5a62f8ef s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
Sun Aug 22 15:46:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkpaned.c (gtk_paned_class_init):
	s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/

	* gtk/gtkfontbutton.c (gtk_font_button_class_init):
	s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/

	Both pointed out by Tommi Komulainen.
2004-08-22 14:04:03 +00:00
Soeren Sandmann
93fed9bb4b Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position
Sun Aug 22 13:44:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
	not PROP_MIN_POSITION for the max_position property. Fix pointet
	out by Tommi Komulainen.
2004-08-22 12:05:54 +00:00
Matthias Clasen
32dba76d50 Fix a mixup in the handling of dest_channels. (#111922, Christophe
Sun Aug 22 03:20:56 2004  Matthias Clasen  <maclas@gmx.de>

	* pixops/pixops.c (pixops_scale_nearest): Fix a mixup in the handling
	of dest_channels.  (#111922, Christophe Fergeau)
2004-08-22 07:25:14 +00:00
Matthias Clasen
f48958e8a8 Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo
Sun Aug 22 00:08:44 2004  Matthias Clasen  <maclas@gmx.de>

	Fix #150406, reported by Fernando San Martín Woerner, patch
	by Gustavo Carneiro.

	* gtk/gtkentrycompletion.c
	(gtk_entry_completion_default_completion_func): Check that
	column is of type G_TYPE_STRING before proceeding.
2004-08-22 04:11:27 +00:00
Matthias Clasen
7a18b8a1d8 Don't use an uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:53:39 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
	uninitialized tree iter.  (#150414, Torsten Schoenfeld)
2004-08-22 03:56:58 +00:00
Matthias Clasen
5e1613d2be Add bug reference 2004-08-22 03:33:29 +00:00
Matthias Clasen
cb004a2e5a Fix macro definitions.
Sat Aug 21 23:29:54 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS):
	* gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS):
	* gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS):
	* gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS):
	* gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS):
	* gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS):
	* gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS):
	* gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions.

Mon Aug 16 01:30:12 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbutton.c (gtk_button_set_focus_on_click): Fix typo in
	the docs.
2004-08-22 03:32:34 +00:00
Owen Taylor
65094784f2 Fix infinite loop that can occur for bad image data (#150601, Chris Evans,
Fri Aug 20 11:59:10 2004  Owen Taylor  <otaylor@redhat.com>

        * io-bmp.c: Fix infinite loop that can occur for bad
        image data (#150601, Chris Evans, Manish Singh)
2004-08-20 18:02:14 +00:00
Laurent Dhima
63f5bcbb87 Updated Albanian translation.
2004-08-20  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2004-08-20 16:56:11 +00:00
Ankitkumar Rameshchandra Patel
77090de17f ankit@redhat.com 20/08/2004 * Proofread gu.po 2004-08-20 10:55:57 +00:00
N Jayaradha
ed0f6a27e8 yet to proof read 2004-08-19 10:47:33 +00:00
Manish Singh
e82cce5275 Initialize height from fixed_height before we do anything, so it always
Wed Aug 18 16:18:00 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height
        from fixed_height before we do anything, so it always has a valid
        value.
2004-08-18 23:17:02 +00:00
Pauli Virtanen
1df3a75ac4 Updated Finnish translation.
* fi.po: Updated Finnish translation.
2004-08-18 22:56:34 +00:00
Federico Mena Quintero
08e9728fa0 Fixes #149251:
2004-08-18  Federico Mena Quintero  <federico@ximian.com>

	Fixes #149251:

	* gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to
	SHORTCUTS_COL_DATA.  Add SHORTCUTS_COL_IS_VOLUME, to determine
	easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a
	GtkFileSystemVolume.
	(shortcuts_model_create): Create a boolean column for
	SHORTCUTS_COL_IS_VOLUME.
	(shortcuts_reload_icons): Simplify with the use of the
	SHORTCUTS_COL_IS_VOLUME column.  Don't leak the pixbuf.
	(shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data.
	(shortcuts_free_row_data): New helper function; frees the data
	columns for an iter.
	(shortcuts_remove_rows): Don't take a callback for freeing the
	data; free everything here instead.  Use
	shortcuts_free_row_data().
	(volume_remove_cb): Removed.
	(remove_bookmark_cb): Removed.
	(remove_row_cb): Make this a single generic function to delete
	rows.
	(shortcuts_add_volumes): Use remove_row_cb().
	(shortcuts_add_bookmarks): Likewise.
	(struct _GtkFileChooserDefault): Removed the
	shortcuts_current_folder_is_volume field.
	(shortcuts_add_current_folder): Oops, don't free the volume.
	(remove_current_folder_cb): Removed.
	(shortcut_find_position): Simplify through the use of the
	SHORTCUTS_COL_IS_VOLUME column.
	(remove_selected_bookmarks): Assert that we don't get a volume.
	(shortcuts_reorder): Likewise; also, plug a leak.
	(gtk_file_chooser_default_remove_shortcut_folder): Simplify
	through the use of shortcuts_remove_rows().
	(gtk_file_chooser_default_list_shortcut_folders): Assert that we
	don't get a volume.
	(shortcuts_activate_iter): Simplify.
	(home_folder_handler): Simplify by using
	shortcuts_activate_iter().
	(shortcuts_free): New function; frees all the data columns.
	(gtk_file_chooser_default_finalize): Unref the
	shortcuts_filter_model and the shortcuts model data first.
2004-08-18 15:27:00 +00:00
Laurent Dhima
965b411861 Updated Albanian translation.
2004-08-18  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2004-08-18 11:02:53 +00:00
Martin Willemoes Hansen
686f3dddad Updated Danish translation.
* da.po: Updated Danish translation.
2004-08-18 10:17:42 +00:00
Sami Pesonen
b203410c34 Finnish translation updated (again) by Sami Pesonen <sampeson@iki.fi> 2004-08-17 21:52:29 +00:00
Sami Pesonen
262b27294b Finnish translation updated by Sami Pesonen <sampeson@iki.fi> 2004-08-17 21:24:32 +00:00
N Jayaradha
cbf3179705 yet to complete 2004-08-17 14:11:47 +00:00
Amanpreet Singh Alam
3401ff3f62 check 2004-08-17 09:40:43 +00:00
Christian Rose
fc27ee6273 Added "bs" to ALL_LINGUAS. Added Bosnian translations by Kenan
2004-08-16  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "bs" to ALL_LINGUAS.
	* po/bs.po, po-properties/bs.po: Added Bosnian translations
	by Kenan Hadžiavdić <kenanh@frisurf.no>.
2004-08-16 17:31:33 +00:00
N Jayaradha
718e8073b4 yet to complete 2004-08-16 13:29:13 +00:00
N Jayaradha
57c4eb6f8d yet to proof read 2004-08-16 12:23:44 +00:00
Matthias Clasen
cf19843f22 Count from the beginning of the line, not from the current position.
Mon Aug 16 01:03:08 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset):
	(gtk_text_iter_set_visible_line_index): Count from the
	beginning of the line, not from the current position.  (#150101,
	Torsten Schoenfeld)
2004-08-16 05:07:12 +00:00
Tor Lillqvist
0a7ad8d681 Fix typo. The gtk.immodules file had never been included in my
2004-08-15  Tor Lillqvist  <tml@iki.fi>

	* gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been
	included in my zipfiles...!

	* gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of
	icon alpha channel (on Windows XP) and mask (older Windows
	versions). (#148641, Tim Evans)
2004-08-15 15:00:49 +00:00
Matthias Clasen
0b710f2617 Make the use of S_ISFIFO and S_ISSOCK conditional. (#150146, Gustavo
Sun Aug 15 02:31:55 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make
	the use of S_ISFIFO and S_ISSOCK conditional.  (#150146,
	Gustavo Carneiro)
2004-08-15 06:37:55 +00:00
Sami Pesonen
2a8625f46e Finnish translation updated by Sami Pesonen <sampeson@iki.fi> 2004-08-14 22:05:52 +00:00
Soeren Sandmann
496fe33399 Bump version number
Sat Aug 14 23:00:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* configure.in: Bump version number
2004-08-14 21:01:31 +00:00
Soeren Sandmann
b34bef2341 === Released 2.4.7 ===
Sat Aug 14 19:15:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === Released 2.4.7 ===

	* gtk/gtkfilechooserdefault.c (selection_check): Return the
	number of files selected, not just whether the selection is empty.
	Fixes #150099, fix pointed out by Tommi Komulainen.
GTK_2_4_7
2004-08-14 19:57:41 +00:00
Tor Lillqvist
c1b7eeefee gtk/gtkfilechooserdefault.c (shortcuts_append_home,
2004-08-14  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkfilechooserdefault.c (shortcuts_append_home,
	shortcuts_append_desktop, set_local_only)
	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon)
	* gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system):
	Guard against g_get_home_dir() returning NULL. (#150007)
2004-08-14 16:44:07 +00:00
Matthias Clasen
4489472e1f Post-release version bump. 2004-08-13 19:40:35 +00:00
Matthias Clasen
bd2f564550 2.4.6 GTK_2_4_6 2004-08-13 19:24:09 +00:00
Matthias Clasen
879386022f Don't install the settings_notify_cb from here, since it may be called
2004-08-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
	Don't install the settings_notify_cb from here, since it
	may be called before the first screen_changed signal,
	confusing the logic in gtk_file_chooser_screen_changed().
	(#148803, Abel Daniel)
2004-08-13 18:03:41 +00:00
Matthias Clasen
3c084768ad Fix a warning. 2004-08-13 14:47:40 +00:00
Matthias Clasen
1e47f687ad Fix the build. 2004-08-13 14:40:57 +00:00
Matthias Clasen
67d71439c5 Updates. 2004-08-13 05:26:14 +00:00
Matthias Clasen
25d90b843d Make fixed height mode handle insertions. (135955, Michael Vogt, testcase
Fri Aug 13 01:06:56 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_row_inserted):
	Make fixed height mode handle insertions.  (135955,
	Michael Vogt, testcase by Tim-Philipp Müller, fix by
	Pawel Salek)
2004-08-13 05:11:09 +00:00
Matthias Clasen
25630a7b6c Fix #149547, Markus Lausser:
Thu Aug 12 23:52:12 2004  Matthias Clasen  <maclas@gmx.de>

	Fix #149547, Markus Lausser:

	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
	* gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't
	crash if size_request or size_allocate are called early.

	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect
	against being allocated too small.
2004-08-13 03:53:19 +00:00
Matthias Clasen
30e654e71b Remove an accidentally added include.
Thu Aug 12 23:18:03 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkhandlebox.c: Remove an accidentally added include.
2004-08-13 03:18:34 +00:00
Matthias Clasen
81df15dbd4 Properly determine the number of colors in an OS/2 BMP file. (#150003,
Thu Aug 12 22:19:12 2004  Matthias Clasen  <maclas@gmx.de>

	* io-bmp.c (DecodeHeader): Properly determine the number of
	colors in an OS/2 BMP file.  (#150003, Jon-Kare Hellan)
2004-08-13 02:30:23 +00:00
Matthias Clasen
f7c5f43a72 Fix the doc comment to generate valid XML.
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (gtk_action_new): Fix the doc comment to generate
	valid XML.
2004-08-12 14:51:02 +00:00
Matthias Clasen
963ceb9356 Remove C99-isms. (#149967, Vincent Noel)
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

	* pixops/pixops.c: Remove C99-isms.  (#149967, Vincent Noel)
2004-08-12 14:15:47 +00:00
Kjartan Maraas
61e13c4c77 Add the file here too.
2004-08-12  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Add the file here too.
2004-08-12 08:39:30 +00:00
Matthias Clasen
82c31ad22b Fix a bug reference 2004-08-12 06:26:08 +00:00
Matthias Clasen
f2a519b6b3 Temporarily park bug references here as well 2004-08-12 06:22:39 +00:00
Matthias Clasen
f4adc0dba4 Updates 2004-08-12 06:21:36 +00:00
Matthias Clasen
4dc5a17c15 Link to information about allowed action names. (#149620, David Malcolm)
Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaction.c (gtk_action_new): Link to information about
	allowed action names.  (#149620, David Malcolm)
2004-08-12 04:08:58 +00:00
Federico Mena Quintero
d00889a3ed Merged from HEAD:
2004-08-11  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fix #149422, #143457:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_should_respond): Rewrite to take the
	current focus into account, the contents of the save entry, and
	the last focus for the shortcuts list.
	(switch_to_selected_folder): We don't need an assertion on the
	action here.
2004-08-12 03:06:52 +00:00
Matthias Clasen
025b50b977 Don't start a drag if the treeview is only a drag destination. (#149836,
Wed Aug 11 19:17:28 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
	Don't start a drag if the treeview is only a
	drag destination.  (#149836, Pawel Salek)
2004-08-11 23:18:59 +00:00