Commit Graph

10524 Commits

Author SHA1 Message Date
Tor Lillqvist
c943c3552a Set the actions and suggested_action fields in the GdkDragContext to
2005-06-17  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
	and suggested_action fields in the GdkDragContext to
	GDK_ACTION_COPY. Otherwise apps that check the suggested_action
	field, like eog, won't accept dropped files.
2005-06-17 19:42:16 +00:00
Matthias Clasen
4131fd4ff8 Resize the popup if necessary. (#308076, Vincent Noel)
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_complete):
	Resize the popup if necessary.  (#308076, Vincent Noel)
2005-06-17 18:27:57 +00:00
Matthias Clasen
4a37701aa1 Queue a draw on the old and new focus widgets, if their defaultness
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
	draw on the old and new focus widgets, if their defaultness
	changes.  (#305607, Billy Biggs)
2005-06-17 17:39:00 +00:00
Chao-Hsiung Liao
4cb6529968 Updated Traditional Chinese translation.
2005-06-17  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-06-17 12:08:25 +00:00
Martin Willemoes Hansen
e3317ac7bb Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-17 07:23:42 +00:00
Adam Weinberger
8d89e24613 Updated Canadian English translation.
2005-06-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-06-17 06:02:22 +00:00
Hendrik Brandt
1a535b4271 Updated German translation.
2005-06-17  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2005-06-16 22:24:09 +00:00
Tor Lillqvist
5e575c6df3 [Win32] Borrow this function from GLib HEAD. (_gtk_get_localedir): [Win32]
2005-06-16  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkmain.c (g_win32_locale_filename_from_utf8): [Win32]
	Borrow this function from GLib HEAD.
	(_gtk_get_localedir): [Win32] Make sure the run-time locale
	directory is in system codepage, as it is passed to the
	non-UTF8-aware gettext library.
2005-06-16 10:16:46 +00:00
Matthias Clasen
0cbd9ae21f Bump version 2005-06-16 04:58:12 +00:00
Matthias Clasen
280c759165 2.6.8 GTK_2_6_8 2005-06-16 04:32:51 +00:00
Theppitak Karoonboonyanan
daf8758fde Updated Thai translation.
2005-06-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-06-16 02:11:04 +00:00
Christian Rose
eda5e94345 Updated Swedish translation.
2005-06-15  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-06-15 20:34:08 +00:00
Hendrik Richter
1d59d2de37 Updated German translation.
2005-06-15  Hendrik Richter  <hendi@gnome-de.org>

	* de.po: Updated German translation.
2005-06-15 10:05:20 +00:00
Funda Wang
0b1975a00b Updated Simplified Chinese translation 2005-06-15 09:18:02 +00:00
Gabor Kelemen
bb2a97986b Hungarian translation updated.
2005-06-15  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-06-15 08:11:21 +00:00
Matthias Clasen
62d707baef Updates 2005-06-15 04:04:38 +00:00
Federico Mena Quintero
17b706067b Fill in with GtkFileChooser bugs.
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	* NEWS: Fill in with GtkFileChooser bugs.
2005-06-15 01:10:25 +00:00
Federico Mena Quintero
18c1567023 Fix #302087:
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	Fix #302087:

	* gtk/gtkfilechooserdefault.c (list_selection_changed): Emit
	"selection-changed" and do the normal housekeeping even if we are
	in SAVE mode and there is nothing selected.  We didn't emit that
	signal if we were in SAVE mode and unselect_all() got called.
	(gtk_file_chooser_default_unselect_all): Call
	pending_select_paths_free() so that we cancel any asynchronous
	selections.
	(gtk_file_chooser_default_set_current_name): Likewise.
2005-06-15 01:01:22 +00:00
Federico Mena Quintero
c8d087ea01 Fixes #307640:
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	Fixes #307640:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_should_respond): Oops, I broke SAVE
	mode.  If the parent path is a folder, only create a subfolder if
	we are in CREATE_FOLDER mode; if we are in SAVE mode, just return
	and respond.  Also, pick up the case where the user types
	"dirname/" instead of "dirname".
	(check_save_entry): Make the return type void.  Add some return
	parameters so that we can do more thorough checking.
	(gtk_file_chooser_default_get_paths): If the file part is empty
	and we are in SAVE mode, return an empty selection.
2005-06-14 23:19:56 +00:00
Gabor Kelemen
0f19aeb0e4 Hungarian translation updated.
2005-06-14  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-06-14 20:42:03 +00:00
Matthias Clasen
53245b3443 Free the data of the row before overwriting it. (#307490, Kjartan Maraas)
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_update_current_folder):
	Free the data of the row before overwriting it.  (#307490,
	Kjartan Maraas)
2005-06-13 13:53:28 +00:00
Matthias Clasen
c212891b0a Don't leak the format names. (#307190, Morten Welinder)
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_add_image_targets):
	Don't leak the format names.  (#307190, Morten Welinder)
2005-06-12 21:03:38 +00:00
Kjartan Maraas
0e7900a0c5 Merge fix for a leak from HEAD. Bug #307281.
2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>

	* gdk/x11/gdkasync.c: (send_event_handler): Merge
	fix for a leak from HEAD. Bug #307281.
2005-06-12 17:25:42 +00:00
Miloslav Trmac
df2fa128a8 Updated Czech translation.
2005-06-12  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-06-12 16:17:20 +00:00
Christophe Merlet
1a521735d4 Updated French translation. 2005-06-12 15:52:05 +00:00
Francisco Javier F. Serrador
86e696bff4 Updated Spanish translation.
2005-06-11  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-06-11 12:01:35 +00:00
Matthias Clasen
50421c7638 Updates
2005-06-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
2005-06-11 03:56:24 +00:00
Åsmund Skjæveland
96eeefd40a Updated Norwegian Nynorsk translation.
2005-06-10  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2005-06-10 13:06:20 +00:00
Federico Mena Quintero
5faa812eff Fixes #162358:
2005-06-09  Federico Mena Quintero  <federico@ximian.com>

	Fixes #162358:

	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
	immediately if we are in CREATE_FOLDER mode, so that we can fill
	the entry with the newly-selected folder.
	(gtk_file_chooser_default_set_property): Warn against turning on
	multiple selection for CREATE_FOLDER mode, or about setting that
	action while multiple selection is on.
	(update_chooser_entry): Change the entry's contents as well if we
	are in CREATE_FOLDER mode.  If nothing is selected, clear the
	chooser entry.
	(trap_activate_cb): Don't trap enter/space if modifiers are
	pressed.  This lets one use Ctrl-space to toggle rows in multiple
	selection mode.
	(gtk_file_chooser_default_should_respond): Clean up the if-chain
	mess of special cases by using an array to determine what to do.
	Also, for the save-entry case in CREATE_FOLDER mode, actually fix
	the bug where the file chooser would switch to an existing folder
	rather than confirming with it, and create the folder ourselves.
	(error_creating_folder_over_existing_file_dialog): New function.

	* gtk/gtkfilechooserentry.c (check_completion_callback): Only
	insert the common prefix if we are in an "open" mode.  Use a
	helper function.
	(append_common_prefix): New helper function; code moved over from
	check_completion_callback().
	(find_common_prefix): New helper function.
	(gtk_file_chooser_entry_focus): Append the common prefix if the
	user requests it explicitly.

2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
	the user time on the window when a drop happens.  (#169364, Alexander
	Hunziker, patch by Elijah Newren)
2005-06-10 05:53:06 +00:00
Federico Mena Quintero
658a94df53 Pass the correct size to realloc(). Fixes
2005-05-28  Federico Mena Quintero  <federico@ximian.com>

	* xdgmime.c (xdg_mime_init_from_directory): Pass the correct size
	to realloc().  Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3506.
2005-06-10 05:23:17 +00:00
Matthias Clasen
5c4b58adfd Don't declare errno, including errno.h is enough. (#304164, Joerg
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimemagic.c: Don't declare errno, including errno.h
	is enough.  (#304164, Joerg Sonnenberger)
2005-06-09 19:55:01 +00:00
Matthias Clasen
246d68e4a5 Update the user time on the window when a drop happens. (#169364,
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
	the user time on the window when a drop happens.  (#169364, Alexander
	Hunziker, patch by Elijah Newren)
2005-06-09 17:15:04 +00:00
Andraz Tori
1fccda06c2 Updated Slovenian translation 2005-06-08 23:44:06 +00:00
Andraz Tori
a839e6e772 Updated Slovenian translation 2005-06-08 23:22:46 +00:00
Matthias Clasen
36c4c40f88 Check for overflow. (#306394, Morten Welinder)
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Check for overflow.
	(#306394, Morten Welinder)
2005-06-08 20:58:25 +00:00
Matthias Clasen
0f440a3d4c Check for negative before appending the index, to avoid double error
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
	negative before appending the index, to avoid double error
	message.  (#306393, Morten Welinder)
2005-06-08 20:26:27 +00:00
Matthias Clasen
f12cb095f8 Don't crash if search_window is NULL. (#304914, Victor Osadci, testcase by
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	Don't crash if search_window is NULL.  (#304914, Victor Osadci,
	testcase by Olaf Vitters)
2005-06-08 20:15:41 +00:00
Priit Laes
ebc2eb15cc Translation updated by Ivar Smolin.
2005-06-08  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-06-08 08:54:08 +00:00
Kjartan Maraas
69bc5b3928 Plug a leak. Closes bug #306754.
2005-06-07  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkfilechooserbutton.c: (update_label_and_image):
	Plug a leak. Closes bug #306754.
2005-06-07 21:20:41 +00:00
Dom Lachowicz
5a901b17f1 Merge from HEAD:
2005-06-03  Dom Lachowicz <cinamod@hotmail.com>

	Merge from HEAD:

	* modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
	* modules/engines/ms-windows/xp_theme.c: Ditto
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
2005-06-05 10:31:27 +00:00
Tor Lillqvist
14b977a1bb modules/engines/Makefile.am Decide whether to build the ms-windows theme
2005-06-05  Tor Lillqvist  <tml@novell.com>

	* modules/engines/Makefile.am
	* modules/input/Makefile.am: Decide whether to build the
	ms-windows theme engine based on the GDK backend, not based on
	platform. (I.e., if building for Cygwin with the X11 backend, we
	shouldn't build the ms-windows engine, but if building for Cygwin
	but with the Win32 backend, we should.) Ditto for the IME
	(Windows) input module. (#305832)
2005-06-04 22:10:04 +00:00
Tor Lillqvist
fd3a70b9d9 gdk/win32/gdkcursor-win32.c gdk/win32/gdkwindow-win32.c Support
2005-06-04  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c
	* gdk/win32/gdkwindow-win32.c
	* gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
	Support cursors with alpha on XP. Use code in common with the
	support for alpha icons that already was present. (#306101, Tim
	Evans)
2005-06-04 21:54:48 +00:00
Tor Lillqvist
73482ea35e Render insensitive icons in a way that more closely matches Windows.
2005-06-04  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.c: Render insensitive icons
	in a way that more closely matches Windows. (#305986, Tim Evans).

	* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
	gdk-pixbuf.
2005-06-04 20:10:11 +00:00
Andraz Tori
97789187ee Updated Slovenian translation 2005-06-02 19:21:31 +00:00
Matthias Clasen
746b7497fb Add credit 2005-05-26 19:51:59 +00:00
Matthias Clasen
795d91c810 Queue the redisplay after modifying the tag in the btree, otherwise we end
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the
	redisplay after modifying the tag in the btree, otherwise
	we end up showing the old tags until the next redraw comes
	around.   (#143537, Gary Kramlich)
2005-05-26 19:51:08 +00:00
Matthias Clasen
b27c1cc6ee Make autoscrolling work at the bottom of the screen.
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make
	autoscrolling work at the bottom of the screen.
2005-05-26 17:24:11 +00:00
Maciej Katafiasz
2fb0904b13 Point to GtkTextView instead of GtkText. Fixes bug #305535 2005-05-26 16:28:38 +00:00
Tor Lillqvist
67f3c55662 If blitting from the root window, take the multi-monitor offset into
2005-05-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
	from the root window, take the multi-monitor offset into
	account. (#305511)
2005-05-26 07:54:32 +00:00
Matthias Clasen
eb2fdda4b9 More demos 2005-05-26 03:21:06 +00:00