Commit Graph

11704 Commits

Author SHA1 Message Date
Matthias Clasen
8561c5fe6b Fix another Coverity bug 2006-04-12 21:20:03 +00:00
Matthias Clasen
b898f3379a Handle closed displays correctly. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Handle
        closed displays correctly.  (Coverity)
2006-04-12 20:51:19 +00:00
Matthias Clasen
eb675a98a0 modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)
2006-04-12 19:46:26 +00:00
Matthias Clasen
f9d4a3b061 Make this work for list == NULL. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkselection-x11.c (make_list): Make this work
	for list == NULL.  (Coverity)
2006-04-12 18:39:47 +00:00
Matthias Clasen
d3c0ad6e3d Handle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
	Handle _gtk_text_line_get_data() returning NULL in all
	cases.  (Coverity)
2006-04-12 16:30:17 +00:00
Matthias Clasen
575052ba50 Fix another Coverity bug
Fix another Coverity bug
2006-04-12 04:48:02 +00:00
Matthias Clasen
9400a37437 Fix another Coverity bug 2006-04-12 03:48:50 +00:00
Matthias Clasen
353928893f Remove some unused variables.
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (selection_motion_event_handler): Remove
        some unused variables.

        * gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply
        a patch from David Trowbridge to improve the positioning of the
        search popup.  (#338047)
2006-04-12 02:53:45 +00:00
Matthias Clasen
b6347c107b Handle info being NULL better. (Coverity)
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Handle info
	being NULL better.  (Coverity)
2006-04-11 18:44:15 +00:00
Matthias Clasen
a2c37df9ee Silence compiler warnings.
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
	compiler warnings.

	* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
	dereference info before checking it for NULL.  (Coverity)
2006-04-11 18:06:33 +00:00
Matthias Clasen
7c2b1de418 Bump version 2006-04-08 01:51:44 +00:00
Matthias Clasen
08dd6ec02a 2.8.17 GTK_2_8_17 2006-04-08 01:48:05 +00:00
Priit Laes
13b9cf8419 Translation updated by Ivar Smolin.
2006-04-07  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-04-07 08:02:12 +00:00
Matthias Clasen
e40ff9db74 Fix the build 2006-04-06 11:42:29 +00:00
Tor Lillqvist
6e5e396aac Correct the appearance of non-square icons and cursors: pad them to square
2006-04-06  Tor Lillqvist  <tml@novell.com>

	Correct the appearance of non-square icons and cursors: pad them
	to square so that Windows won't stretch them.

	* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
	(create_color_bitmap): Always create square bitmaps, take only
	side length as argument.
	(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
	Corresponding changes.
2006-04-06 10:29:08 +00:00
Matthias Clasen
1a090ab314 More accidental commits 2006-04-06 03:30:38 +00:00
Matthias Clasen
b3608fc456 Revert accidental changes 2006-04-06 03:08:23 +00:00
Matthias Clasen
1d7c8bcd32 Lower the window, to prevent late-constructed text windows from covering
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (text_window_realize): Lower the window, to
	prevent late-constructed text windows from covering child
	widgets.  (#336796, Yevgen Muntyan)
2006-04-06 02:47:37 +00:00
Matthias Clasen
3362c177d2 Rework the code which emits ::grab-notify signals to ensure that we emit
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify)
	(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
	signals to ensure that we emit enough signals. Also optimize the
	code to not do unnecessary tree walking.

	* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.
2006-04-06 02:24:59 +00:00
Paolo Borelli
ee8e2f5fcc handle the case of \r and \n split across lines. Bug #337022. add unit
2006-04-05  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
	and \n split across lines. Bug #337022.
	* tests/testtextbuffer.c: add unit test.
2006-04-05 18:32:47 +00:00
Tor Lillqvist
7b77675d0c Mention that the Win32 backend should not be used from multiple threads.
2006-04-04  Tor Lillqvist  <tml@novell.com>

	* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
	be used from multiple threads.
2006-04-03 21:02:42 +00:00
Stanislav Brabec
807886746b bn.po, dz.po, ru.po, sk.po, xh.po: Context translation bug fixes (#336645). 2006-04-03 11:28:24 +00:00
Pema Geyleg
b8d205b8e8 *** empty log message *** 2006-04-02 16:12:12 +00:00
Gora Mohanty
0f21dc1077 configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.
2006-04-01 17:38:18 +00:00
Dom Lachowicz
83f1e94ca6 Emulate WinXP's drawing of menu separators
2006-04-01  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/msw_style.c (draw_hline): Emulate WinXP's
	drawing of menu separators
2006-04-01 16:29:56 +00:00
Pawan Chitrakar
5b4350fb5a updated nepali translation with context string removal 2006-04-01 05:47:42 +00:00
Laurent Dhima
d2f6afe6fa Updated Albanian translation.
2006-03-31  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2006-03-31 07:58:19 +00:00
Matthias Clasen
6fd2cacea4 Don't leak the keyfile parser in the error case.
2006-03-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (load_icon_data): Don't leak the
	keyfile parser in the error case.
2006-03-31 05:20:37 +00:00
Stanislav Brabec
222b2848ca cs.po: Progress bar fix (#336645). 2006-03-30 20:45:45 +00:00
Guntupalli Karunakar
22b16241c0 Added Dzongkha translations 2006-03-30 20:10:57 +00:00
Arangel Angov
a4aa4f8761 Updated Macedonian Translation <arangela@cvs.gnome.org> 2006-03-30 19:06:05 +00:00
Matthias Clasen
4d2b2c559b Make sure to get an icon window when constructing the fallback_icon. This
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
	icon window when constructing the fallback_icon. This
	fixes a crash when dragging icons between screens in
	nautilus.  (#325751, Hylke van der Schaaf)
2006-03-30 18:29:04 +00:00
Matthias Clasen
d3a9ab0f2e Handle double queuing, rather than asserting that it does not happen.
2006-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
	double queuing, rather than asserting that it does not
	happen.  (#330617)
2006-03-29 05:40:31 +00:00
Matthias Clasen
75be15a662 Fix drag-selection after double-click. (#323862, Benjamin Berg)
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
	(selection_motion_event_handler): Fix drag-selection after
	double-click.  (#323862, Benjamin Berg)

	* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
	into a function and use it in move_mark_to_pointer_and_scroll,
	drag_scan_timeout and selection_motion_event_handler.
	(Paolo Borelli)
2006-03-28 17:29:00 +00:00
Matthias Clasen
8ad425cded Move the call to gtk_text_view_end_selection_drag() from
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_do_popup)
	(gtk_text_view_grab_notify): Move the call to
	gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
	to gtk_text_view_grab_notify, so that it works not only
	for the text views own popup, but also for other ways in which
	we might become grab-shadowed during a selection drag.
	(#74620, Li Yuan)
2006-03-28 16:03:37 +00:00
Sven Herzberg
8fb38d7c2f reviewed by: Tim Janik
2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik

	* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
	the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
	called from gtk_pixmap_finalize (bug 336254)
2006-03-27 22:55:48 +00:00
Matthias Clasen
74618523e4 Check that the widget is viewable. (#336200, Bastian Nocera)
2006-03-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
	the widget is viewable.  (#336200, Bastian Nocera)
2006-03-27 18:31:41 +00:00
Matthias Clasen
6af9413084 Fix leaks.
2006-03-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_get_property):
	* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks.
2006-03-27 17:03:29 +00:00
Ahmad Riza H Nst
87957bf37b Updated.
2006-03-25  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

	* id.po: Updated.
2006-03-25 04:34:26 +00:00
Matthias Clasen
ec45ba5720 Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
2006-03-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
	gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
	Nicolas Setton)
2006-03-24 15:09:48 +00:00
Matthias Clasen
a6ed6d9fb7 Add some documentation about supported image formats, and how to find out
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c: Add some documentation about
	supported image formats, and how to find out about them.
	(#335536, Murray Cumming)
2006-03-22 20:35:26 +00:00
Matthias Clasen
1dcbc0fd83 Use fg_gc to draw the inter-row drop highlight. Also draw the line all the
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
	draw the inter-row drop highlight. Also draw the line all the
	way across, and flip it in RTL mode. (#334906, Ian McDonald)
2006-03-22 18:50:54 +00:00
Priit Laes
0a798e86f6 Translation updated by Ivar Smolin.
2006-03-22  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-03-22 14:59:12 +00:00
Pawan Chitrakar
31af68ac18 Updated translation 2006-03-22 03:18:55 +00:00
Matthias Clasen
f7dbba7b0c Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
	page->tab_label dangling.
	(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
	(gtk_notebook_destroy): Leave the removal of the children
	to the container destroy method.  (#319032, Yevgen Muntyan)

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
	GTK_IN_DESTRUCTION flag, rather than roll our own.
2006-03-21 00:12:08 +00:00
Vladimer Sichinava
9a14641a68 Updated Georgian translation 2006-03-20 23:36:13 +00:00
Matthias Clasen
b38b436d4b Make sure gettext is initialized before using it. (#335129, Christian
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
	is initialized before using it.  (#335129, Christian Persch)
2006-03-20 05:40:11 +00:00
Matthias Clasen
95f48b33a5 Document that @cell must be one of the renderers of the icon view, warn if
2006-03-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
	@cell must be one of the renderers of the icon view, warn if
	it is not, and ignore @start_editing if @cell is not set.
	(#335001, Emmanuel Rodriguez)
2006-03-20 03:14:48 +00:00
Matthias Clasen
2dc38af2a2 Add a missing comma. (#334774, Peter Breitenlohner)
2006-03-16  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add a missing comma.  (#334774, Peter Breitenlohner)
2006-03-16 16:39:45 +00:00
Matthias Clasen
9be0ea0095 Update the size of the image, by swapping the implementations of
2006-03-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_clear): Update the size of the image,
	by swapping the implementations of gtk_image_clear and
	gtk_image_reset.  (#334657)
2006-03-16 15:29:31 +00:00