Commit Graph

9387 Commits

Author SHA1 Message Date
Matthias Clasen
73e7b0838c Clarify documentation for selection modes. (#154188, Jonathan Blandford,
2004-10-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
	modes.  (#154188, Jonathan Blandford, new wording proposed by
	Owen Taylor)
2004-10-06 04:28:42 +00:00
4
2183dbf3c1 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:05:13 +00:00
Tim Janik
229388f26d reverted my last change and applied owen's leaner conditional flag update
Tue Oct  5 21:00:54 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change
        and applied owen's leaner conditional flag update which should be good
        enough to preserve resizing flag invariants.
2004-10-05 19:02:49 +00:00
Matthias Clasen
eac2b41acb Update 2004-10-05 18:42:58 +00:00
Tim Janik
dc5a39b136 fixup conflict indicators 2004-10-05 17:31:10 +00:00
Tim Janik
b9a31bbcb2 removed redundant gtk_entry_get_layout() decl.
Tue Oct  5 19:29:06 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkentry.h: removed redundant gtk_entry_get_layout() decl.
2004-10-05 17:30:03 +00:00
Matthias Clasen
dd0a7ce608 Go back to not scaling up at all. Less magic.
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): Go back to
	not scaling up at all. Less magic.
2004-10-05 17:06:00 +00:00
Tim Janik
841bb40d78 if REQUEST_NEEDED is still set on ::size-allocate, another size-request
Tue Oct  5 17:06:26 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): if REQUEST_NEEDED is still
        set on ::size-allocate, another size-request has been queued since
        ::size-request and needs to be requeued.
2004-10-05 15:10:50 +00:00
Paolo Borelli
1ea4933f3f rename the activate-menu signal to show-menu as discussed in bug #153873.
2004-10-05  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
	show-menu as discussed in bug #153873.
2004-10-05 14:19:54 +00:00
Matthias Clasen
63f3fc79c6 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:12:24 +00:00
Matthias Clasen
221db8e025 Return a new reference to an existing GdkWindow if one already exists.
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display):
	Return a new reference to an existing GdkWindow if one already
	exists.  (#151378, Gustavo Carneiro)
2004-10-05 05:40:42 +00:00
Matthias Clasen
fd32201210 Add gtk_accelerator_get_label().
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_accelerator_get_label().
2004-10-05 05:18:16 +00:00
Matthias Clasen
0dfe684dde Provide access to the string representation of accelerators used in
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	Provide access to the string representation of accelerators used
	in GtkAccelLabel.  (#154068, John Spray)

	* gtk/gtkaccelgroup.h:
	* gtk/gtkaccelgroup.c (gtk_accelerator_get_label): New function
	to return the accelerator label used in GtkAccelLabel.
	(gtk_accelerator_name): Update docs to point to
	gtk_accelerator_get_label().
	* gtk/gtkaccellabel.h:
	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
	New auxiliary function which creates the string representing the
	accelerator.
2004-10-05 05:17:22 +00:00
Matthias Clasen
8e30e2d5c3 Fix bug reporter name 2004-10-05 04:38:38 +00:00
Matthias Clasen
d966036d4d Resize the popup if a new model is set. (#154129, Bernd Damian)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_model): Resize the
	popup if a new model is set.  (#154129, Bernd Damian)
2004-10-05 04:37:29 +00:00
Matthias Clasen
6e6824a06b 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:18:22 +00:00
Matthias Clasen
c6c858dda2 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:52:26 +00:00
Matthias Clasen
9de1565a99 Only set using_themed_icon if we actually got an icon list from the theme.
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_realize_icon): Only set
	using_themed_icon if we actually got an icon list from the
	theme.  (#154472, Morten Welinder)
2004-10-04 15:16:57 +00:00
Matthias Clasen
ce2ddb38d7 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:45 +00:00
Matthias Clasen
69a603cacc 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:47:03 +00:00
Matthias Clasen
49ba32e195 Reset pointers pointing to the old model. (#154350)
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_model): Reset pointers
	pointing to the old model.  (#154350)
2004-10-04 03:33:59 +00:00
Matthias Clasen
a2ca8d5961 Don't leak the sizes array. (#154310, Christian Persch)
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (icon_list_from_theme): Don't leak the
	sizes array.  (#154310, Christian Persch)
2004-10-04 03:09:49 +00:00
David Lodge
fea51bea3e Updated British English translation.
2004-10-03  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.
2004-10-03 21:55:03 +00:00
Matthias Clasen
864c47e7dc 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:12:09 +00:00
Matthias Clasen
41f17245c5 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:19:52 +00:00
Miloslav Trmac
aae6fbcd0f Updated Czech translation.
2004-10-03  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-10-03 00:48:26 +00:00
Paolo Borelli
3fed513283 deactivate the menu before setiing it to something else. Bug #153887.
2004-10-01  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
	to something else. Bug #153887.
2004-10-02 10:10:11 +00:00
Adam Weinberger
a1fc954532 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-02 00:19:38 +00:00
Matthias Clasen
a263e05646 Fix bug #150790:
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	Fix bug #150790:

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Fix the
	calculation of x_offset when ellipsized and in RTL mode.
	(gtk_cell_renderer_text_render): Fix the calculation of the layout
	width when ellipsized.
2004-10-01 21:39:01 +00:00
Tor Lillqvist
8439956a9c Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by
2004-10-01  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
	FALSE, thus enabling tablet input by default.

	* gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
	--use-wintab option again (but without effect, as this is now the
	default, see above). (#153788)

	* modules/input/gtkimcontextime.c: Numerous changes.

	Remove the ifdef UNICODE conditionals. Always use the
	wide-character Imm* API. It is present also in Windows 98 and
	Me. (Not Windows 95, but I think we don't care about that.) Using
	the multibyte API wouldn't work anyway on systems where the system
	codepage doesn't support the language the user uses an IME for, so
	for instance I wouldn't be able to test this module on my English
	Windows 2000 although I do have C, J and K IMEs available.

	Guard against IMM not being active, always check ImmGetContext()
	returning NULL. Work to some extent even without any IME. Fixes
	#153800 at least partially.

	* modules/input/imime.c (ime_info): Rename to "ime" to match the
	naming pattern of other input modules. Make it default for
	ja:ko:zh only.
2004-10-01 19:53:55 +00:00
Matthias Clasen
49174ac1be 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:00:47 +00:00
Matthias Clasen
03646f37b1 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:56:14 +00:00
Matthias Clasen
c1bdbb3eed Fix the spelling of Inuktitut in several places. (#154176, John Austin)
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/iminuktitut.c: Fix the spelling of Inuktitut
	in several places.  (#154176, John Austin)
2004-10-01 13:40:14 +00:00
Paolo Borelli
1cb70ed408 exit on close.
2004-09-30  Paolo Borelli  <pborelli@katamail.com>

	* tests/testellipsize.c: exit on close.
2004-09-30 14:46:21 +00:00
Matthias Clasen
3fd60e6a62 Add Q_ to the keywords recognized by xgettext. (#154062, Damon Chaplin)
2004-09-29  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.in.in: Add Q_ to the keywords recognized by
	xgettext.  (#154062, Damon Chaplin)
2004-09-29 22:48:28 +00:00
Matthias Clasen
63110fc53d Make --g-fatal-warnings a G_OPTION_ARG_NONE, since it doesn't take an
2004-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c: Make --g-fatal-warnings a G_OPTION_ARG_NONE,
	since it doesn't take an argument.
2004-09-29 22:29:21 +00:00
Christopher Blizzard
48252de345 Remove trailing semicolon on G_END_DECLS
2004-09-29  Christopher Blizzard  <blizzard@redhat.com>

       * gtk/gtkmenutoolbutton.h: Remove trailing semicolon on
       G_END_DECLS
2004-09-29 15:08:39 +00:00
Paolo Borelli
26e50e26b3 add a GtkMenuToolButton.
2004-09-29  Paolo Borelli  <pborelli@katamail.com>

	* tests/testtoolbar.c: add a GtkMenuToolButton.
2004-09-29 06:48:00 +00:00
Kwok-Koon Cheung
40c0e94a4b Updated traditional Chinese translation by GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation by GNOME HK Team
2004-09-29 05:54:51 +00:00
Matthias Clasen
fa72b2c93c Handle an empty icon view gracefully. (#152486)
2004-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
	(gtk_icon_view_move_cursor_start_end)
	(gtk_icon_view_move_cursor_page_up_down)
	(gtk_icon_view_move_cursor_up_down): Handle an empty icon
	view gracefully.  (#152486)
2004-09-29 05:29:31 +00:00
Matthias Clasen
9ec74ba55b Add bug reference. 2004-09-29 05:07:28 +00:00
Matthias Clasen
57a61d6f9f Skip selectable labels when looking for the initial focus widget.
2004-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
	looking for the initial focus widget.

	* gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels
	in the regular focus chain again.
2004-09-29 05:04:31 +00:00
Matthias Clasen
53764e43fb Don't reuse insensitive pixbufs across multiple rows. (#153984, Milosz
2004-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't
	reuse insensitive pixbufs across multiple rows.  (#153984, Milosz
	Derezynski)
2004-09-28 19:10:39 +00:00
Matthias Clasen
615342e33b Use gtk_get_option_group() to obtain an option group with correctly set
2004-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_parse_args): Use gtk_get_option_group()
	to obtain an option group with correctly set pre- and post-
	parse hooks, instead of manually calling the hooks. This fixes
	a problem with setting the program class in the gdk preparse
	hook.  (#153788, Robert Ögren)
2004-09-28 04:22:04 +00:00
Matthias Clasen
b3d5231371 Fix #153082:
2004-09-27  Matthias Clasen  <mclasen@redhat.com>

	Fix #153082:

	* gtk/gtkmain.c (do_pre_parse_initialization): Don't call gdk_parse_args()
	here, we don't want to parse args twice.
	(gtk_init_with_args): Add the ugid check here as well.
	(gtk_parse_args): Add the gdk options to the main option group as well.
2004-09-27 18:40:42 +00:00
Paolo Borelli
c7777d8acc add the GtkMenuToolButton widget discussed in bug #151441.
2004-09-27  Paolo Borelli  <pborelli@katamail.com>

	* gtk/Makefile.am:
	* gtk/gtk.h:
	* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
	discussed in bug #151441.

	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/gtk.types:
	* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
	new widget.
2004-09-27 18:37:33 +00:00
Matthias Clasen
e8522b9c47 Emit ::finished-loading.
2004-09-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children):
	Emit ::finished-loading.
2004-09-27 16:51:18 +00:00
Roozbeh Pournader
7e89cfb30b 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 12:32:14 +00:00
Vincent van Adrighem
d7af481e16 Translation updated by Tino Meinen.
2004-09-27  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2004-09-27 10:04:10 +00:00
Matthias Clasen
c7f30d069e Fix typo in docs. (#153811, Billy Biggs)
2004-09-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_append_column): Fix typo in
	docs.  (#153811, Billy Biggs)
2004-09-27 04:13:37 +00:00