Commit Graph

10807 Commits

Author SHA1 Message Date
Matthias Clasen
933ae28567 Updates 2005-06-14 20:57:16 +00:00
Matthias Clasen
daab95c294 Add a stub for the no-Xcursor case. (noticed by Luis Villa)
2005-06-14  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_name): Add a
	stub for the no-Xcursor case. (noticed by Luis Villa)
2005-06-14 20:43:20 +00:00
Matthias Clasen
920b5749b3 Use named cursors for the DND cursors, the names are "dnd-none",
2005-06-14  Matthias Clasen  <mclasen@redhat.com>

	Use named cursors for the DND cursors, the names are "dnd-none",
	"dnd-copy", "dnd-link", "dnd-move" and "dnd-ask". Also use an RGBA
	cursor instead of cursor+window when possible. This saves
	roundtrips during the drag operation, and makes translucent icons
	possible.

	* gtk/gtkdndcursors.h: New file, containing inlined pixbufs
	for the default dnd cursors.

	* gtk/gtkdnd.c (struct _GtkDragSourceInfo): Store the cursors
	used during the drag here, also store the icon pixbuf here.

	* gtk/gtkdnd.c (drag_cursors): Store the cursor names here. Also
	switch the default cursors from xbm to inlined pixbufs.

	* gtk/gtkdnd.c (gtk_drag_get_cursor): This function now takes the
	GtkDragSourceInfo as well, since it has to composite the
	drag-specific cursors. The cursors combined from the image of
	the themed cursor and the icon_pixbuf stored in the info.

	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't set the default
	icon if there is an icon_pixbuf, which will be composited into
	the cursor later.

	* gtk/gtkdnd.c (set_icon_stock_pixbuf): If appropriate, store
	the pixbuf in the info struct for later compositing into the
	cursor instead of creating an icon window.

	* gtk/gtkdnd.c (gtk_drag_drop_finished): If we used an
	RGBA cursor for the drag, and need to display the cancel
	animation, construct the icon window here.

	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Unref the
	drag-specific cursors and the icon_pixbuf when done with
	the drag.
2005-06-14 19:58:10 +00:00
Matthias Clasen
d1f2cb63d9 Use a named cursor with the name "color-picker", when available.
2005-06-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorsel.c (make_picker_cursor): Use a named cursor
	with the name "color-picker", when available.
2005-06-14 17:16:15 +00:00
Matthias Clasen
2fad80a6bd Forgotten file 2005-06-14 16:05:52 +00:00
Matthias Clasen
6b5b269844 New functions to construct named cursors and to get the image used for a
2005-06-14  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.symbols:
	* gdk/gdkcursor.h:
	* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image)
	(gdk_cursor_new_from_name): New functions to construct named
	cursors and to get the image used for a cursor.
2005-06-14 15:10:13 +00:00
Martin Willemoes Hansen
e5dab4ac8f Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-14 09:12:06 +00:00
Hubert Figuiere
cde31863f7 file Makefile.am was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
5ed636a4c4 file gdkdisplay-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
6b3346d084 file gdkdisplay-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
2ba385cd59 file gdkdrawable-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
df3553892d file gdkevents-macosx.c was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
0c099a014d file gdkevents-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
304142d003 file gdkgc-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
678643f039 file gdkmacosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
0b31c196ce file gdkmain-macosx.c was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
4896d79de2 file gdknsview-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
d757e0ca09 file gdkpango-macosx.c was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
c880c2b371 file gdkpixmap-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
78fce4d995 file gdkprivate-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
3896a3f545 file gdkscreen-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
94fe6e8a3b file gdkscreen-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
6599ff588c file gdkwindow-macosx.h was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Hubert Figuiere
1ec60bab08 file gdkwindow-macosx.m was initially added on branch gtk-2-6-macosx. 2005-06-14 02:25:58 +00:00
Matthias Clasen
60113bedc9 Rework the way in which rerooting of the path bar is done, implementing
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
	path bar is done, implementing the following principles:
	(#137289, patch by Benjamin Otte)

	1. Re-root only if $HOME is an ancestor of the current path.

	2. When re-rooting, make sure the Left arrow appears in the path
	bar, so that you can navigate up from $HOME to /.  In that case,
	make sure the Right arrow doesn't appear if the sub-hierarchy from
	$HOME to the cwd fits in the window.

	3. Make sure that hitting Alt-Up takes you always one folder up,
	even when the path bar is re-rooted.
2005-06-13 19:18:54 +00:00
Matthias Clasen
9962a15cba Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
	Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)
2005-06-13 19:09:06 +00:00
Theppitak Karoonboonyanan
7c885b9057 Don't translate placeholders, to be consistent with other packages.
2005-06-13  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Don't translate placeholders, to be consistent with other
	packages.
2005-06-13 16:43:22 +00:00
Terance Sola
49160b1b37 Updated Norwegian Bokml translation. Same.
2005-06-13  Terance Sola  <terance@yse.net>

	* nb.po: Updated Norwegian Bokml translation.
	* no.po: Same.
2005-06-13 16:02:25 +00:00
Matthias Clasen
ae1e9866d0 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:50:49 +00:00
Kjartan Maraas
58b9aed17a Don't leak the cairo context. Closes bug #307426.
2005-06-13  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
	leak the cairo context. Closes bug #307426.
2005-06-13 07:57:02 +00:00
Matthias Clasen
2e3ff48627 Add new functions.
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add new functions.
2005-06-13 05:23:41 +00:00
Matthias Clasen
4b14b2d4bd Make invisible text work a bit better (#66194, patch by Jeroen
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	Make invisible text work a bit better (#66194, patch by
	Jeroen Zwartepoorte)

	* gtk/gtk.symbols:
	* gtk/gtktextiter.[hc]: Add function to move by
	visible lines.

	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal):
	Skip invisible text when moving by paragraphs.

	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
	Skip invisible lines here too.
2005-06-13 05:15:10 +00:00
Matthias Clasen
f66144459c Some more details (#307384, Billy Biggs)
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfontsel.sgml: Some more details (#307384, Billy
	Biggs)
2005-06-13 04:23:20 +00:00
Matthias Clasen
8cdee385b9 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:01:21 +00:00
Kjartan Maraas
5ee5b7c4b5 Plug a leak. Closes bug #307281.
2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>

	* gdk/x11/gdkasync.c: (send_event_handler): Plug
	a leak. Closes bug #307281.
2005-06-12 16:24:10 +00:00
Miloslav Trmac
272d6d3b63 Updated Czech translation.
2005-06-12  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-06-12 16:17:42 +00:00
Martin Willemoes Hansen
0194df88a3 Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-12 13:53:15 +00:00
Terance Sola
04dba161e9 Updated Norwegian translation. Updated Norwegian translation.
2005-06-12  Terance Sola  <terance@lyse.net>

	* nb.po: Updated Norwegian translation.
	* no.po: Updated Norwegian translation.
2005-06-12 13:47:05 +00:00
Theppitak Karoonboonyanan
db04099523 Updated Thai translation.
2005-06-12  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-06-12 10:20:41 +00:00
Matthias Clasen
605073b0b9 Allow localization of the format in which the year is displayed. (#135451,
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (calendar_paint_header):
	(gtk_calendar_size_request): Allow localization of the
	format in which the year is displayed.  (#135451, Paisa
	Seeluangsawat)
2005-06-12 06:59:43 +00:00
Matthias Clasen
3febaff1e4 Try to handle the situation that the borders are larger than the area we
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c (theme_pixbuf_render): Try to
	handle the situation that the borders are larger
	than the area we are rendering.  (#169731,
	Benjamin Otte)
2005-06-12 06:04:40 +00:00
Matthias Clasen
411241fb26 Cleanup. (#169648, Fabricio Barros Cabral)
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/*.h: Cleanup.  (#169648, Fabricio Barros Cabral)
2005-06-12 05:32:25 +00:00
Matthias Clasen
28bebc863a Small doc additions.
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcairo.c: Small doc additions.
2005-06-12 05:20:04 +00:00
Matthias Clasen
793591fcf0 Check start_button_mask before starting a drag. (#149058, Andreas Volz)
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
	Check start_button_mask before starting a drag.  (#149058,
	Andreas Volz)
2005-06-12 05:13:54 +00:00
Matthias Clasen
7c631d5cb0 Support .hidden files. (#129170, Sayamindu Dasgupta, patch by Jan Arne
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c: Support .hidden files.  (#129170,
	Sayamindu Dasgupta, patch by Jan Arne Petersen)
2005-06-12 04:48:16 +00:00
Matthias Clasen
e3bf3653ac Updates.
2005-06-11  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates.
2005-06-12 03:38:02 +00:00
Marcel Telka
b9b369944b Updated Slovak translation.
2005-06-11  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-06-11 20:16:28 +00:00
Funda Wang
f53d23cfaf Updated Simplified Chinese translation 2005-06-11 18:08:14 +00:00
Francisco Javier F. Serrador
373ceb4adf Updated Spanish translation.
2005-06-11  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-06-11 11:53:43 +00:00
Martin Willemoes Hansen
33cd846e9a Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-11 08:52:09 +00:00