Commit Graph

11645 Commits

Author SHA1 Message Date
Matthias Clasen
1460b38700 Also strip (_F) without a space 2005-12-26 07:54:32 +00:00
Matthias Clasen
b29a1d0f7e Mention the stripping of (_F) suffixes.
2005-12-26  Matthias Clasen  <mclasen@redhat.com>

	* README.in: Mention the stripping of (_F) suffixes.

	* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Strip a suffix of
	the form " (_<single character>)", since this is the preferred way
	for some languages to indicate accelerators.  (#323956, Yang Hong)
2005-12-26 07:52:43 +00:00
Matthias Clasen
168ad4bc79 Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use
2005-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
	setting.
	(gtk_label_grab_focus): And use it here to select the contents of
	the label when appropriate.
	(gtk_label_class_init): Use the same keybindings for select all/
	unselect all as GtkEntry and GtkTextView.

	* gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
	focus, avoid leaving a selection in a label.
2005-12-26 07:02:51 +00:00
Matthias Clasen
ad26705e70 Documentation fixes. (#324815, Ross Burton)
2005-12-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkwindow.c: Documentation fixes.  (#324815,
        Ross Burton)
2005-12-26 05:07:53 +00:00
Matthias Clasen
c587f439f7 Require GLib 2.9.2
2005-12-25  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Require GLib 2.9.2
2005-12-26 04:56:36 +00:00
Adam Weinberger
d61347af59 Updated Canadian English translation.
2005-12-25  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-12-25 06:38:23 +00:00
Matthias Clasen
8083b8ef6a Inline docs, use g_assert(), avoid extra allocation for rectangular
2005-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkregion-generic.c:
	* gdk/gdkpolyreg-generic.c:
	* gdk/gdkregion.h:
	* gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid
	extra allocation for rectangular regions.
2005-12-24 07:29:00 +00:00
Matthias Clasen
7f00877312 Inline docs.
2005-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkrectangle.c: Inline docs.
2005-12-24 07:00:47 +00:00
Tim Janik
fcf514baec fixup line i swallowed earlier ;) 2005-12-22 18:14:58 +00:00
Tim Janik
b805119dd1 renamed GUnowned to GInitiallyUnowned.
Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.
2005-12-22 17:58:40 +00:00
Tim Janik
f079466536 parent type fixups in structure declarations.
Thu Dec 22 17:55:11 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.h: parent type fixups in structure declarations.
2005-12-22 16:55:44 +00:00
Tim Janik
75e6b53a78 derive GtkObject from GUnowned, so it initially has a floating reference
Thu Dec 22 16:01:27 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkobject.c: derive GtkObject from GUnowned,
        so it initially has a floating reference count.
        gtk_object_class_init(): installa floating flag handler with
        libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
        in the ->flags member.

        * tests/floatingtest.c: test floating flag uses.
2005-12-22 15:10:05 +00:00
Matthias Clasen
fe0fb8966d Use the slice allocator for regions. Still todo: avoid extra allocations
2005-12-21  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkregion-generic.c: Use the slice allocator
	for regions. Still todo: avoid extra allocations for
	the single-rectangle case.
2005-12-21 21:10:41 +00:00
Matthias Clasen
2962480b2c Update class_n_properties after installing color-hash, since other classes
2005-12-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (gtk_settings_class_init): Update
	class_n_properties after installing color-hash, since
	other classes install settings, too.

	* gtk/gtkctree.c:
	* gtk/gtkclist.c: Fix some mistakes in the conversion
	from mem chunks to slice allocator.
2005-12-21 21:05:22 +00:00
Matthias Clasen
95d8688bf3 Adjust the wrap-width also if an explicit item width is set. (#322475,
2005-12-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
	wrap-width also if an explicit item width is set.
	(#322475, Alex Graveley)
2005-12-21 18:14:59 +00:00
Matthias Clasen
5578b91968 Reset pressed_button to -1 after handling a double click, so that motion
2005-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
	pressed_button to -1 after handling a double click, so that
	motion events occurring between here and the release event
	don't trigger DND.  (#324588, Dave Andreoli)
2005-12-20 18:21:21 +00:00
Matthias Clasen
960b82eb29 Fix the build 2005-12-20 17:05:33 +00:00
Matthias Clasen
f2685563ac Updates 2005-12-20 05:47:43 +00:00
Matthias Clasen
a800cb7906 Doc updates 2005-12-20 05:44:07 +00:00
Matthias Clasen
7347c8800a Doc updates 2005-12-20 05:36:10 +00:00
Matthias Clasen
d126427e67 Another doc update 2005-12-20 05:35:15 +00:00
Matthias Clasen
55e3f9bc32 Doc updates 2005-12-20 05:34:32 +00:00
Matthias Clasen
7fe23c05cf Documentation updates 2005-12-20 05:33:19 +00:00
Matthias Clasen
7138fb8561 Documentation updates 2005-12-20 05:27:17 +00:00
Matthias Clasen
bfbbd57c76 Documentation updates 2005-12-20 05:11:30 +00:00
Matthias Clasen
2ae9783809 Fix typo 2005-12-20 04:55:16 +00:00
Matthias Clasen
b5cc099058 Small additions/fixes.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/tmpl/module_interface.sgml:
	* gdk-pixbuf/gdk-pixbuf-sections.txt:
	* gdk-pixbuf/tmpl/animation.sgml: Small additions/fixes.
2005-12-19 21:13:49 +00:00
Matthias Clasen
b9c479ba56 Small additions/fixes
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/input.sgml:
	* gdk/tmpl/rgb.sgml:
	* gdk/tmpl/x_interaction.sgml:
	* gdk/tmpl/windows.sgml: Small additions/fixes

	* gdk/Makefile.am (IGNORE_HFILES): Add quartz

	* gdk/gdk-sections.txt: Add gdk_window_get_type_hint
2005-12-19 21:02:08 +00:00
Matthias Clasen
189d195c8d Add GtkStatusIcon so it gets an object hierarchy.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add GtkStatusIcon so it gets
	an object hierarchy.
2005-12-19 20:22:04 +00:00
Matthias Clasen
e60ff3dfd7 Remove inlined documentation
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkbutton.sgml: Remove inlined documentation
2005-12-19 20:19:19 +00:00
Matthias Clasen
f886daa7ed Documentation fixes.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodel.c:
	* gtk/gtkplug.c:
	* gtk/gtkwindow.c: Documentation fixes.
2005-12-19 20:13:34 +00:00
Matthias Clasen
b4d4e8cadd Documentation fixes.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkplug.c:
	* gtk/gtkwindow.c: Documentation fixes.
2005-12-19 20:07:08 +00:00
Matthias Clasen
19c1116351 Explicitly document GtkStatusIcon as a non-widget. (#324181, Maciej
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkstatusicon.sgml: Explicitly document GtkStatusIcon
	as a non-widget.  (#324181, Maciej Katafiasz)
2005-12-19 19:48:21 +00:00
Michael Natterer
f41db86239 implement boolean property "truncate-multiline" which, when enabled,
2005-12-19  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkentry.c: implement boolean property "truncate-multiline"
	which, when enabled, truncates multi-line pastes or drops to their
	first line. Fixes bug #322252.

	* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): enable
	truncate-multiline here.
2005-12-19 19:03:51 +00:00
Matthias Clasen
af467cfb65 Fix a crash 2005-12-19 05:28:49 +00:00
Francisco Javier F. Serrador
d88e9fe58d Updated Spanish translation.
2005-12-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-12-18 22:13:52 +00:00
Matthias Clasen
0a876523eb Use G_MODULE_BIND_LAZY when opening modules.
2005-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
	* gtk/gtkimmodule.c (gtk_im_module_load):
	* gtk/gtkthemes.c (gtk_theme_engine_load):
	* gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
	opening modules.
2005-12-16 19:06:09 +00:00
Matthias Clasen
bc190f2a70 Rework the way the color scheme setting is inherited. Now the overriding
2005-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.[hc]: Rework the way the color scheme setting
	is inherited. Now the overriding is done on a per-color basis,
	rather than for the setting as a whole. This has the effect
	that themes can declare defaults for all the symbolic colors they
	use by specifying a value for the gtk-color-scheme setting in
	their rc file, while still allowing the XSetting to override
	"standard" symbolic colors. The hash table is now available
	through the color-hash property.

	* gtk/gtkrc.c: Use the new color-hash property.
2005-12-16 18:45:31 +00:00
Christophe Merlet
9abfb245c5 Updated French translation. 2005-12-14 22:15:18 +00:00
Matthias Clasen
d095fa575d Skip unrealized children when doing focus sorting. (#323995, Dan Winship)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized
	children when doing focus sorting.  (#323995, Dan Winship)
2005-12-14 19:39:44 +00:00
Rodney Dawes
c5cc9b7162 Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
2005-12-14  Rodney Dawes  <dobey@novell.com>

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
	Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
	(get_icon_for_mime_type): Look up the mime type icons according to the
	Icon Naming Specification and then fall back to the gnome-mime- prefix
	for the mime type icons

	Fixes #323655
2005-12-14 19:29:50 +00:00
Matthias Clasen
2ea833db9f Warn if the icon cannot be loaded. (#323504, Kjartan Maraas)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
	cannot be loaded.  (#323504, Kjartan Maraas)
2005-12-14 19:14:14 +00:00
Matthias Clasen
b540c366cc Add docs for the row-activated signal. (#324044, Davyd Madeley)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs
	for the row-activated signal.  (#324044, Davyd Madeley)
2005-12-14 18:12:36 +00:00
Michael Natterer
c151ab9c67 Move stuff to correct ChangeLog. 2005-12-14 16:37:52 +00:00
Michael Natterer
e675ca627f new utility function which factors out massive code duplication from the
2005-12-14  Michael Natterer  <mitch@imendio.com>

	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load_lines): new
	utility function which factors out massive code duplication from
	the commit below.
2005-12-14 13:58:02 +00:00
Michael Natterer
49e4882358 applied patch from maemo-gtk which avoids the allocation of an
2005-12-14  Michael Natterer  <mitch@imendio.com>

	* gdk-pixbuf/io-jpeg.c: applied patch from maemo-gtk which avoids
	the allocation of an intermediate buffer for non-progressive
	jpegs. Fixed bug #305894.

	* tests/test-images/valid_jpeg_progressive_test: new test image so
	we can test both loading code paths in io-jpeg.c
2005-12-14 12:47:49 +00:00
Sunil Mohan Adapa
2d53f52106 Updated Telugu translation done by Prajasakti Localisation Team <localisation@prajasakti.com>. 2005-12-14 06:31:16 +00:00
Tim Janik
0eec1a1b88 added a link to the fgloating reference docs in the 2.10 release NEWS
Tue Dec 13 09:47:20 2005  Tim Janik  <timj@gtk.org>

        * README.in: added a link to the fgloating reference docs in the
        2.10 release NEWS section.
2005-12-13 08:48:02 +00:00
Matthias Clasen
a1577e964c Speed this function up, using the fact that visibility is constant across
2005-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index):
	Speed this function up, using the fact that visibility is
	constant across segments. (#321548, Paolo Borelli)
2005-12-12 19:33:23 +00:00
Matthias Clasen
104772f87a Speed up stepping backwards. (#320638, Larry Ewing, Paolo Borelli)
2005-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
	* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Speed up
	stepping backwards.  (#320638, Larry Ewing, Paolo Borelli)
2005-12-12 19:16:00 +00:00