Commit Graph

11747 Commits

Author SHA1 Message Date
Matthias Clasen
0ecdad0803 2.8.18 GTK_2_8_18 2006-05-26 16:44:53 +00:00
Kristian Rietveld
348f47b2ce queue a redraw for the full width of the row, not just the width we got
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).
2006-05-26 00:25:12 +00:00
Kristian Rietveld
a220ae37d2 We shouldn't subtract 1 from the depth when calculating the space reserved
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): We shouldn't
	subtract 1 from the depth when calculating the space reserved for
	the expanders.  (#342260, Jorg Schuler).
2006-05-26 00:08:52 +00:00
Kristian Rietveld
dc6f913f9c add missing chunk from patch in #316689, (gtk_tree_view_top_row_to_dy):
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): add missing chunk from
	patch in #316689,
	(gtk_tree_view_top_row_to_dy): set dy to page_size + height in the
	event dy + page_size is about to become bigger than height.
2006-05-26 00:00:12 +00:00
Åsmund Skjæveland
890920b885 Updated Norwegian Nynorsk translation.
2006-05-25  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-05-25 13:35:14 +00:00
Behdad Esfahbod
ef4abea285 Rollback the following changes, to fix it the proper way in Pango:
2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

        Rollback the following changes, to fix it the proper way in Pango:

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 17:10:55 +00:00
Behdad Esfahbod
a8bb6ab65b Add new function _gdk_screen_get_font_map() and have one fontmap per
2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 04:15:42 +00:00
Matthias Clasen
08e382ce00 Avoid warnings if a child is NULL. (#342007, Patrick Monnerat)
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings
	if a child is NULL.  (#342007, Patrick Monnerat)
2006-05-19 20:33:18 +00:00
Matthias Clasen
09bdea1156 Fix a boundary case in scrolling where a tab was not shown. (#168105,
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a
	boundary case in scrolling where a tab was not shown.  (#168105,
	Hiroyuki Ikezoe, patch by Kouhei Sutou)
2006-05-19 15:50:36 +00:00
Damon Chaplin
ed03a29ba3 use atk_relation_add_target() to add the targets, since it sets up weak
2006-05-19  Damon Chaplin  <damon@gnome.org>

	* gtk/gtkfontsel.c (gtk_font_selection_init): use
	atk_relation_add_target() to add the targets, since it sets up weak
	references to avoid crashes. (#305530)
2006-05-19 14:07:22 +00:00
Matthias Clasen
22863b3e5a broken pipe 2006-05-18 19:25:13 +00:00
Matthias Clasen
8e5f2e7fbd Don't produce a stuck drag if shift is held. (#341734, Sebastien Bacher)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher)
2006-05-18 19:24:22 +00:00
Matthias Clasen
a0d6f01036 Always set protocol. (#342003, Tommi Komulainen)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
	Always set protocol.  (#342003, Tommi Komulainen)
2006-05-18 18:15:40 +00:00
Matthias Clasen
184937d212 Only unref the pixbuf if the image has the appropriate storage type.
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
	if the image has the appropriate storage type.  (#342096, Tommi
	Komulainen)
2006-05-18 16:51:37 +00:00
Matthias Clasen
37928c202e Make drops end up at the right spot. (#342072, Yevgen Muntyan)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)
2006-05-18 16:44:24 +00:00
Matthias Clasen
410172783e Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
	an RTL problem with toggles in expander columns.
	(#341896, Roozbeh Pournader)
2006-05-16 02:12:29 +00:00
Benoît Dejean
d19ca84405 Updated French translation.
2006-05-15  Benoît Dejean  <benoit@placenet.org>

	* fr.po: Updated French translation.
2006-05-15 21:14:56 +00:00
Tor Lillqvist
2b72f53e6d Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both
	GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09 15:19:11 +00:00
Hendrik Richter
7c72f54057 Updated German translation.
2006-05-06  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-05-06 13:19:38 +00:00
Michael Natterer
8dd1f19dd2 don't use non-existing local variables.
2006-05-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
	don't use non-existing local variables.
2006-05-03 10:48:59 +00:00
Lorenzo Colitti
aca90ffaa2 Hack to stop the file chooser blocking on network I/O when remote
2006-05-03  Lorenzo Colitti  <lorenzo@colitti.com>

	Hack to stop the file chooser blocking on network I/O when remote
	directories are bookmarked (bug #319532).

	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): if a bookmark is
	not local, don't attempt to get file info or display a custom icon,
	just display the icon for "/"
	(shortcuts_reload_icons): Likewise.
2006-05-03 09:54:08 +00:00
Priit Laes
5ae32f7fe1 Translation updated.
2006-04-29  Priit Laes  <amd@store20.com>

	* et.po: Translation updated.
2006-04-29 09:33:04 +00:00
Behdad Esfahbod
9928583a72 Change colormap to font map in docs. (#340093)
2006-04-29  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout)
        (gtk_widget_get/create_pango_context): Change colormap to font map in
        docs. (#340093)
2006-04-29 06:58:25 +00:00
Behdad Esfahbod
bfe179e048 Fix typo in docs. (#340063)
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
        docs. (#340063)
2006-04-28 21:37:55 +00:00
Behdad Esfahbod
0165163d50 Cast to double before dividing by PANGO_SCALE. (#334582)
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double
        before dividing by PANGO_SCALE. (#334582)
2006-04-28 07:05:12 +00:00
Matthias Clasen
d97257c49b Handle the case of being called after the drag is cancelled. (#339224,
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
        of being called after the drag is cancelled.  (#339224,
        Benjamin Otte)
2006-04-27 05:18:18 +00:00
Åsmund Skjæveland
3dfc58236a Updated Norwegian Nynorsk translation.
2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-04-23 14:10:59 +00:00
Chao-Hsiung Liao
c6d2c2f96d Updated Traditional Chinese translation(Hong Kong). Updated Traditional
2006-04-23  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
	* zh_TW.po: Updated Traditional Chinese translation(Taiwan).
2006-04-23 08:45:10 +00:00
Murray Cumming
3f80f9a403 _GtkFileChooserButtonPrivate: Added has_title flag so we can remember
2006-04-19  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
        Added has_title flag so we can remember whether a title has
        been set.
        (gtk_file_chooser_button_constructor): If no title has been
        set then set it to the default title. This means that the
        default title will be used if the dialog was instantiated with
        g_object_new(), without using the gtk_file_chooser_button_new()
        convenience function. This helps language bindings.
        (gtk_file_chooser_button_set_property): Set has_title when
        setting the title.
2006-04-20 08:34:43 +00:00
Vladimer Sichinava
0526104791 Corected some errors 2006-04-20 01:51:37 +00:00
Vladimer Sichinava
e39beec4fa corrected translation error 2006-04-19 13:47:08 +00:00
Tor Lillqvist
4973b57c7e Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
2006-04-19  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
	to GDK_KP_[0-9]. (#337562)
2006-04-19 09:34:08 +00:00
Priit Laes
2613e591bf Translation updated by Ivar Smolin.
2006-04-19  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-04-19 06:04:33 +00:00
Vladimer Sichinava
201dec5ee3 Updated Georgian Translation 18/04/06 2006-04-18 03:46:59 +00:00
Matthias Clasen
995e010dbe fix another coverity bug 2006-04-16 05:05:03 +00:00
Matthias Clasen
97327de395 fix another coverity bug 2006-04-16 05:00:48 +00:00
Matthias Clasen
8cf275b92e Avoid a NULL dereference. (Coverity)
2006-04-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
        Avoid a NULL dereference.  (Coverity)
2006-04-16 04:47:20 +00:00
Francisco Javier F. Serrador
85ed3284b5 Updated Spanish translation.
2006-04-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-04-14 18:50:56 +00:00
Yair Hershkovitz
7c9b6d7d1b Updated Hebrew translation 2006-04-13 17:12:23 +00:00
Matthias Clasen
e2f29cb987 Reorganize slightly to avoid a possible NULL pointer dereference.
2006-04-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
	to avoid a possible NULL pointer dereference.  (Coverity)
2006-04-13 04:33:04 +00:00
Matthias Clasen
1a8f5c8cad Don't allow passing NULL for x1 or x2, adjust callers.
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
	allow passing NULL for x1 or x2, adjust callers.
2006-04-13 03:56:10 +00:00
Matthias Clasen
5c41cfbab0 Reorganize to avoid a possible NULL pointer dereference. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
	Reorganize to avoid a possible NULL pointer dereference.  (Coverity)
2006-04-13 03:22:56 +00:00
Matthias Clasen
e258b587e1 Add a missing semicolon 2006-04-13 02:32:11 +00:00
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