summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add some new stock items. (#166480, Kristof Vansant)Matthias Clasen2005-06-2513-0/+90
| | | | | | | | | | | | | | | | | | | | | | 2005-06-25 Matthias Clasen <mclasen@redhat.com> Add some new stock items. (#166480, Kristof Vansant) * gtk/stock-icons/stock_fullscreen_16.png: * gtk/stock-icons/stock_fullscreen_24.png: * gtk/stock-icons/stock_leave_fullscreen_16.png: * gtk/stock-icons/stock_leave_fullscreen_24.png: * gtk/stock-icons/stock_info_16.png: * gtk/stock-icons/stock_info_24.png: New icons. * gtk/stock-icons/Makefile.am: Add new icons. * gtk/gtkstock.h: Define names for the new icons. * gtk/gtkstock.c (builtin_items): Register new stock items. * gtk/gtkiconfactory.c (get_default_icons): Register new stock icons.
* Make movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)Matthias Clasen2005-06-244-6/+7
| | | | | | | | 2005-06-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
* Fix up selection of conversion functions for MSB machines:Owen Taylor2005-06-244-13/+24
| | | | | | | | | 2005-06-24 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of conversion functions for MSB machines: convert_0888[_br] now work on bytes so are endian independent. (Reported by David Zeuthen)
* Don't jump to the next line if we are at the end of the line.Matthias Clasen2005-06-244-1/+19
| | | | | | | 2005-06-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't jump to the next line if we are at the end of the line.
* Mention also bug #308413.Tor Lillqvist2005-06-243-6/+6
|
* Improve and simplify line segment rendering on Win32, especially theTor Lillqvist2005-06-246-298/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-23 Tor Lillqvist <tml@novell.com> Improve and simplify line segment rendering on Win32, especially the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes bug #306396. * gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's line_style, cap_style and join_style as such in the GdkGCWin32. Don't need to keep the pen_double_dash flag, we can check the line_style. * gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets up the GDI pen type, style, end cap and join attributes to use based on the pen width, GDK line style, end cap style, and join style. For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end cap style, which typically are used for XOR drawing where it is essential that the last pixel is not drawn, use a GDI cosmetic pen. Only for a cosmetic pen does GDI not draw the last pixel. I deduced this by experimetation, the documentation is rather vague. For other GDK pens use a geometric GDI pen. If the width is 0 or 1 and the GDK end cap style is GDK_CAP_BUTT, and the line style is GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also single-pixel length lines are drawn. (For sngle-pixel width lines roundness as such is of course irrelevant.) For dashed lines, use PS_ENDCAP_FLAT. For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE, respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING. For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to work better than PS_USERSTYLE. For other dashed lines, use PS_USERSTYLE and the dashes as set by the user (or the default four-pixel on-off style). (gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes): Call fixup_pen() to do the pen settings after modifying some of the GDK GC attributes that affect pens. * gdk/win32/gdkdrawable-win32.c (render_line_horizontal, render_line_vertical, draw_segments): Check GdkGCWin32::line_style instead of the the removed pen_double_dash member. Don't use PATCOPY unconditionally in the PatBlt() call, use a raster ope code that depends on the GC function in use. (draw_rectangle, draw_segments, draw_lines): Be more careful in deciding when to do the manual dash rendering. (draw_segments): Don't do any manual "last point" drawing at all. The above changes takes care of narrow line segments being drawn correctly in most cases, at least on NT-based Windows.
* fix language team referenceKwok-Koon Cheung2005-06-244-1740/+1771
|
* Updated Canadian English translation.Adam Weinberger2005-06-232-6/+10
| | | | | | 2005-06-23 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
* Fix an error in the cache timeout logic. (#166601, Morten Welinder)Matthias Clasen2005-06-234-5/+21
| | | | | | | | 2005-06-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): Fix an error in the cache timeout logic. (#166601, Morten Welinder)
* Change the keynav for header reordering and resizing to Alt-arrows andMatthias Clasen2005-06-234-4/+20
| | | | | | | | | 2005-06-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_key_press): Change the keynav for header reordering and resizing to Alt-arrows and Shift-Alt-arrows, following a proposal by the keynav authority. (#308666, Calum Benson)
* Remove a leftover debugging envvar.Matthias Clasen2005-06-234-4/+16
| | | | | | | 2005-06-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove a leftover debugging envvar.
* Fix the big endian case for 3-channel source. (Reported by David Zeuthen)Owen Taylor2005-06-234-3/+21
| | | | | | | | 2005-06-23 Owen Taylor <otaylor@redhat.com> * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the big endian case for 3-channel source. (Reported by David Zeuthen)
* Don't trigger warnings if there are extra references to the hbox.Matthias Clasen2005-06-234-1/+17
| | | | | | | | 2005-06-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkbutton.c (gtk_button_construct_child): Don't trigger warnings if there are extra references to the hbox. (#308677, Dan Winship)
* Use g_file_set_contents(). (#308722, Morten Welinder)Matthias Clasen2005-06-234-65/+40
| | | | | | | 2005-06-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystemunix.c (bookmark_list_write): Use g_file_set_contents(). (#308722, Morten Welinder)
* Use glib-i18n.hMatthias Clasen2005-06-232-14/+5
| | | | | | 2005-06-22 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-i18n.h: Use glib-i18n.h
* Translation updated by Tino Meinen.Vincent van Adrighem2005-06-222-1217/+1230
| | | | | | 2005-06-22 Vincent van Adrighem <adrighem@gnome.org> * nl.po: Translation updated by Tino Meinen.
* Set the time field in the event. (#308573, Morten Welinder)Matthias Clasen2005-06-224-0/+11
| | | | | | | 2005-06-22 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the time field in the event. (#308573, Morten Welinder)
* Remove gratitious differences between the stable branch and HEAD, whichMatthias Clasen2005-06-224-48/+42
| | | | | | * gtk/gtkfilesystemunix.c: Remove gratitious differences between the stable branch and HEAD, which sneaked in with the bookmark renaming.
* Updated Slovak translation.Marcel Telka2005-06-222-545/+557
| | | | | | 2005-06-22 Marcel Telka <marcel@telka.sk> * sk.po: Updated Slovak translation.
* Don't leak the cairo context Closes bug #308581.Kjartan Maraas2005-06-214-1/+17
| | | | | | | 2005-06-22 Kjartan Maraas <kmaraas@gnome.org> * gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context Closes bug #308581.
* Modify all of the GtkMisc widgets to round down on centering calculationsMatthias Clasen2005-06-217-16/+36
| | | | | | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkarrow.c: * gtk/gtkimage.c: * gtk/gtklabel.c: * gtk/gtkpixmap.c: Modify all of the GtkMisc widgets to round down on centering calculations to match the behaviour of other parts of GTK+. (#307419, Ryan Lortie)
* Translation updated by Tino Meinen.Vincent van Adrighem2005-06-212-565/+583
| | | | | | 2005-06-21 Vincent van Adrighem <adrighem@gnome.org> * nl.po: Translation updated by Tino Meinen.
* Connect to button-release-event as well, to handle touchscreen scenariosMatthias Clasen2005-06-214-3/+15
| | | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_source_set): Connect to button-release-event as well, to handle touchscreen scenarios better. (#171490, Markku Vire)
* Fix the buildMatthias Clasen2005-06-211-1/+2
|
* Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, BenoitMatthias Clasen2005-06-2138-225/+124
| | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/*.h: Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, Benoit Carpentier)
* Consistently use gchar. (#303455, Benoit Carpentier)Matthias Clasen2005-06-214-4/+13
| | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.h: Consistently use gchar. (#303455, Benoit Carpentier)
* New function which can be used to implement scrolling in non-windowMatthias Clasen2005-06-218-11/+179
| | | | | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gdk/gdk.symbols: * gdk/gdkwindow.h: * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New function which can be used to implement scrolling in non-window widgets. (#135165, Søren Sandmann)
* Handle missing MAP_FAILED. (#308449, Georg Schwarz)Matthias Clasen2005-06-216-0/+28
| | | | | | | 2005-06-20 Matthias Clasen <mclasen@redhat.com> * xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg Schwarz)
* Bump version numberMatthias Clasen2005-06-204-1/+7
|
* 2.7.0GTK_2_7_0Matthias Clasen2005-06-20372-119256/+151109
|
* Translation updated by Ivar Smolin.Priit Laes2005-06-202-1296/+1457
| | | | | | 2005-06-21 Priit Laes <plaes@cvs.gnome.org> * et.po: Translation updated by Ivar Smolin.
* Updated French translation.Christophe Merlet2005-06-202-543/+791
|
* Updated Danish translation.Martin Willemoes Hansen2005-06-202-130/+153
| | | | * da.po: Updated Danish translation.
* Variant of gtk_window_present which takes a timestamp. (#166379, ElijahMatthias Clasen2005-06-208-8/+63
| | | | | | | | | 2005-06-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkwindow.h: * gtk/gtkwindow.c (gtk_window_present_with_time): Variant of gtk_window_present which takes a timestamp. (#166379, Elijah Newren)
* Ignore some more headers.Matthias Clasen2005-06-202-2/+7
|
* Add a forgotten symbolMatthias Clasen2005-06-204-0/+7
|
* UpdatesMatthias Clasen2005-06-204-28/+53
|
* added a check which avoids processing updates on bin_window and scrollingKristian Rietveld2005-06-194-2/+29
| | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a check which avoids processing updates on bin_window and scrolling if the node is already visible. (#170600, Billy Biggs).
* only keep the row at the same position if the full row is visible.Kristian Rietveld2005-06-194-2/+20
| | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (validate_visible_area): only keep the row at the same position if the full row is visible. (#304623, Jorn Baayen).
* set dy to zero if treeview's height is smaller than the current page_sizeKristian Rietveld2005-06-194-1/+21
| | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero if treeview's height is smaller than the current page_size (just like we do elsewhere).
* Make mousewheel scrolling possible in typeahead mode, suggestion fromKristian Rietveld2005-06-194-0/+54
| | | | | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> Make mousewheel scrolling possible in typeahead mode, suggestion from Reinout van Schouwen (#307898). * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): connect treeview search window to scroll_event signal, (gtk_tree_view_search_scroll_event): implement.
* pass the event on to treeview, so it has a change of selecting a row, etc.Kristian Rietveld2005-06-194-0/+21
| | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass the event on to treeview, so it has a change of selecting a row, etc. (#169677, Kirk Bridger).
* This commit includes a fix for #169463, Stefan Kost.Kristian Rietveld2005-06-196-3/+72
| | | | | | | | | | | | | | | | | | | 2005-06-19 Kristian Rietveld <kris@gtk.org> This commit includes a fix for #169463, Stefan Kost. * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size): when cell_area is set, return cell_area width/height as width/height, so the focus rectangle will be drawn correctly. * gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get of focus-line-width property, (validate_row): take focus_line_width into account. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): also take focus_line_width into account when calculating the cell_area y and height (before, we only took it into account when calculating x and width).
* Fix a warningMatthias Clasen2005-06-191-1/+1
|
* Add an ignore-hidden property with getter and setter. (#171612, ChristianMatthias Clasen2005-06-197-4/+105
| | | | | | | | 2005-06-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtksizegroup.[hc]: Add an ignore-hidden property with getter and setter. (#171612, Christian Neumair)
* Make this work for inserting before/after an existing menuitem orMatthias Clasen2005-06-195-21/+72
| | | | | | | | | | | 2005-06-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this work for inserting before/after an existing menuitem or toolitem. (#155946, Christian Persch) * tests/testmerge.c (delayed_toggle_dynamic): Test the "insert after" functionality of gtk_ui_manager_add_ui.
* Add bug refMatthias Clasen2005-06-193-3/+6
|
* Allow to construct menu tool buttons.Matthias Clasen2005-06-197-32/+129
| | | | | | | | | 2005-06-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c: Allow to construct menu tool buttons. * demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons constructed with GtkUIManager.
* Make this function public. (#64792, Havoc Pennington)Matthias Clasen2005-06-198-3/+44
| | | | | | | | | 2005-06-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkimage.h: * gtk/gtkimage.c (gtk_image_clear): Make this function public. (#64792, Havoc Pennington)
* undo merging of the separate loop setting cell data with cell drawing loopKristian Rietveld2005-06-184-6/+37
| | | | | | | | | 2005-06-18 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging of the separate loop setting cell data with cell drawing loop (introduced in revision 1.280), since this breaks focus handling wrt special cells.