summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make it compileMatthias Clasen2005-08-241-1/+1
|
* Fix #314335Matthias Clasen2005-08-244-3/+22
|
* Fix for #314004, reported by Michael Reinsch:Owen Taylor2005-08-249-88/+331
| | | | | | | | | | | | | | | | | | | | 2005-08-23 Owen Taylor <otaylor@redhat.com> Fix for #314004, reported by Michael Reinsch: * gdk/gdk.symbols: * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only() Add gdk_screen_get/set_resolution_libgtk_only() * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set the options for the screen on the newly created context. * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: Move font options and dpi code from gtkwidget.c to gtksettings.c, set the font options on the screen. * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get the font options from the screen and set them on the context.
* Hungarian translation updated.Gabor Kelemen2005-08-232-116/+123
| | | | | | 2005-08-23 Gabor Kelemen <kelemeng@gnome.hu> * hu.po: Hungarian translation updated.
* don't bother inserting new rows in a level with a zero refcount andKristian Rietveld2005-08-234-0/+24
| | | | | | | | 2005-08-23 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't bother inserting new rows in a level with a zero refcount and immediately free the level. (Fixes #312350, reported by Markku Vire).
* Translation updated by Ivar Smolin.Priit Laes2005-08-232-80/+94
| | | | | | 2005-08-23 Priit Laes <plaes@cvs.gnome.org> * et.po: Translation updated by Ivar Smolin.
* Complain when there is no index.theme file in the specified directory,Matthias Clasen2005-08-237-49/+84
| | | | | | | | 2005-08-23 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c: Complain when there is no index.theme file in the specified directory, unless --force is used. Also add an --index-only option to create caches without image data.
* Fix a C99ism. (#314262, Robert Jeff Mitchell)Matthias Clasen2005-08-234-1/+17
| | | | | | | 2005-08-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a C99ism. (#314262, Robert Jeff Mitchell)
* Fixed Lithuanian translation.Žygimantas Beručka2005-08-232-550/+562
| | | | | | 2005-08-23 Žygimantas Beručka <zygis@gnome.org> * lt.po: Fixed Lithuanian translation.
* add Punjabi (pa) by amanpreet Singh Brar AlamwaliaAmanpreet Singh Alam2005-08-231-1778/+1777
|
* add declaration for _gtk_icon_theme_check_reload.Manish Singh2005-08-225-6/+25
| | | | | | | | 2005-08-22 Manish Singh <yosh@gimp.org> * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload. * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
* Implement a clientmessage based scheme for makeing sure that all GTK+Matthias Clasen2005-08-225-9/+97
| | | | | | | | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_client_event): * gtk/gtkicontheme.c (ensure_valid_themes) (_gtk_icon_theme_check_reload): Implement a clientmessage based scheme for makeing sure that all GTK+ applications notice if an icon theme has been updated. This should prevent multiple versions of an icon theme cache to be mapped in memory at the same time, which can cause excessive memory consumption. (#313156, Chris Lahey)
* Add a note regarding icon theme changes.Matthias Clasen2005-08-225-1/+52
| | | | | | | | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note regarding icon theme changes. * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning pixbufs which are backed by the mmapped memory of an icon cache, increase the refcount of the icon cache, so that the memory is not munmapped away underneath the pixbuf upon icon theme changes. (#314170, Kjartan Maraas)
* Add GTK_DEP_LIBS, in order to link against Xext. (#314062)Matthias Clasen2005-08-224-1/+11
| | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order to link against Xext. (#314062)
* One more fix to prevent buffer overruns. (#314081, Hans Breuer)Matthias Clasen2005-08-224-0/+16
| | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer overruns. (#314081, Hans Breuer)
* Updated Korean translation.Changwoo Ryu2005-08-222-863/+728
| | | | | | 2005-08-22 Changwoo Ryu <cwryu@debian.org> * ko.po: Updated Korean translation.
* update by amanpreetalam@yahoo.comAmanpreet Singh Alam2005-08-221-978/+924
|
* Clarify that the returned layout must not be modified.Matthias Clasen2005-08-214-2/+17
| | | | | | | 2005-08-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the returned layout must not be modified.
* clear scroll_to_path if the model changes.Jonathan Blandford2005-08-205-11/+114
| | | | | | | | | | | | | | Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_model): clear scroll_to_path if the model changes. * gtk/gtkiconview.c: (gtk_icon_view_destroy), (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor), (gtk_icon_view_scroll_to_path): Handle scrolling to a path before we're realized, #312798 (gtk_icon_view_set_model): clear scroll_to_path if the model changes.
* Make it compileMatthias Clasen2005-08-201-4/+4
|
* Don't queue a draw if the layout has not changed. (#313991, Benjamin Berg)Matthias Clasen2005-08-204-6/+60
| | | | | | | | 2005-08-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrange.c (gtk_range_adjustment_changed) (gtk_range_adjustment_value_changed): Don't queue a draw if the layout has not changed. (#313991, Benjamin Berg)
* Remove duplicate lines. (#313344, Benoit Carpentier)Matthias Clasen2005-08-194-2/+9
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeitem.c: Remove duplicate lines. (#313344, Benoit Carpentier)
* Fix a typo.Matthias Clasen2005-08-194-1/+10
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * modules/engines/ms-windows/msw_style.c (setup_system_styles): Fix a typo.
* Handle pixbuf being NULL without warnings. Also, don't leak pixbufMatthias Clasen2005-08-194-3/+24
| | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (change_icon_theme) (model_add_special, model_add_special, model_add_volumes): Handle pixbuf being NULL without warnings. Also, don't leak pixbuf references when the icon theme is changed.
* Don't access the user data on destroyed windows, since at best it can be aMatthias Clasen2005-08-194-1/+22
| | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmain.c (gtk_get_event_widget): Don't access the user data on destroyed windows, since at best it can be a stale pointer. (#313953, Robin Green)
* Avoid a buffer overrun. (#313900, Sebastien Bacher)Matthias Clasen2005-08-194-2/+11
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun. (#313900, Sebastien Bacher)
* Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)Matthias Clasen2005-08-194-0/+12
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
* After checking XLib sources, XGetWindowProperty does set data to NULL.Matthias Clasen2005-08-191-1/+0
|
* Free data returned from XGetWindowProperty.Matthias Clasen2005-08-195-5/+44
| | | | | | | | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) (xdnd_read_actions, get_client_window_at_coords_recurse): Free data returned from XGetWindowProperty. * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) Free data returned from XGetWindowProperty. (313867, Kjartan Maraas) * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free children in all cases. (#313862, Kjartan Maraas)
* Free children in all cases. (#313862, Kjartan Maraas)Matthias Clasen2005-08-194-1/+14
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free children in all cases. (#313862, Kjartan Maraas)
* Store GtkIconData structs in the per-directory hash, even if they comeMatthias Clasen2005-08-194-10/+41
| | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs in the per-directory hash, even if they come from the icon cache. We tried to avoid that before, but as a result leaked icon data structs. (#313852, Kjartan Maraas)
* Disconnect signal handlers on destroy, not on finalize. (#313759, BrettMatthias Clasen2005-08-184-9/+48
| | | | | | | 2005-08-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect signal handlers on destroy, not on finalize. (#313759, Brett Atoms)
* Check for overflow in one more place. (#313818, Tommi Komulainen)Matthias Clasen2005-08-182-1/+14
| | | | | | | 2005-08-18 Matthias Clasen <mclasen@redhat.com> * io-ico.c (DecodeHeader): Check for overflow in one more place. (#313818, Tommi Komulainen)
* Fix an example. (#313595, Olexiy Avramchenko)Matthias Clasen2005-08-172-3/+8
| | | | | | | 2005-08-16 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtktreemodel.sgml: Fix an example. (#313595, Olexiy Avramchenko)
* Translation updated by Ivar Smolin.Priit Laes2005-08-162-548/+560
| | | | | | 2005-08-16 Priit Laes <plaes@cvs.gnome.org> * et.po: Translation updated by Ivar Smolin.
* Updated Spanish translation.Francisco Javier F. Serrador2005-08-152-684/+607
| | | | | | 2005-08-16 Francisco Javier F. Serrador <serrador@cvs.gnome.org> * es.po: Updated Spanish translation.
* Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config files for x11/xext.Owen Taylor2005-08-154-1/+16
| | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config files for x11/xext. (Jonas Bonn)
* Updated Ukrainian translation.Maxim Dziumanenko2005-08-154-1930/+1887
| | | | | | 2005-08-15 Maxim Dziumanenko <mvd@mylinux.ua> * Updated Ukrainian translation.
* Put debugging printout inside GTK_NOTE.Tor Lillqvist2005-08-154-3/+21
| | | | | | | 2005-08-15 Tor Lillqvist <tml@novell.com> * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout inside GTK_NOTE.
* Fix have_base_pc / have_base_x_pc typo.Owen Taylor2005-08-156-10/+43
| | | | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Fix have_base_pc / have_base_x_pc typo. * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes. (#313417, James Andrewartha) * configure.in: Add fontconfig to X_PACKAGES, since we use it for FcNameConstant(). (More of #313417)
* When using gtk_dialog_run() for modal dialogs, make sure to inherit theMatthias Clasen2005-08-156-5/+39
| | | | | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for modal dialogs, make sure to inherit the window group from the parent, since we don't inherit window groups across transient parents currently. (#312918, Christian Persch) * gtk/gtkmessagedialog.c (gtk_message_dialog_new): * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
* Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>Mugurel Tudor2005-08-152-1292/+1282
| | | | | | | 2005-08-15 Mugurel Tudor <mugurelu@gnome.ro> * ro.po: Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>
* Handle paths of depth 0 gracefully. (#312796, Jonathan Blandford)Matthias Clasen2005-08-154-8/+22
| | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_select_path) (gtk_icon_view_scroll_to_path): Handle paths of depth 0 gracefully. (#312796, Jonathan Blandford)
* Add some more tests for menu placement.Matthias Clasen2005-08-156-19/+120
| | | | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * tests/testtoolbar.c: Add some more tests for menu placement. * gtk/gtkmenutoolbutton.c (menu_position_func): * gtk/gtktoolbar.c (menu_position_func): Improve positioning of toolbutton menus and of the overflow menu. (#312937, #153870, Christian Persch, Paolo Borelli)
* Use g_path_get_dirname() instead of the nonportable <libgen.h> andTor Lillqvist2005-08-154-5/+20
| | | | | | | 2005-08-15 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c: Use g_path_get_dirname() instead of the nonportable <libgen.h> and dirname().
* Pay attention to the libjpeg error code and report OOM errors as such.Matthias Clasen2005-08-152-1/+10
| | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * io-jpeg.c (fatal_error_handler): Pay attention to the libjpeg error code and report OOM errors as such. (#312674, Tommi Komulainen)
* Use object data to mark widgets and groups as visited, so that we avoidMatthias Clasen2005-08-154-9/+62
| | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtksizegroup.c: Use object data to mark widgets and groups as visited, so that we avoid constant extra list traversals. Also allocate quarks in class_init. (#311618, Michael Natterer)
* Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>Mugurel Tudor2005-08-152-648/+643
| | | | | | | 2005-08-15 Mugurel Tudor <mugurelu@gnome.ro> * ro.po: Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>
* Correct the download location for the hicolor icon theme. (#313475, OlexiyMatthias Clasen2005-08-154-1/+23
| | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the download location for the hicolor icon theme. (#313475, Olexiy Avramchenko)
* Handle pixmap == NULL when checking for a colormap. (Allin Cottrell).Owen Taylor2005-08-156-3/+27
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Handle pixmap == NULL when checking for a colormap. (Allin Cottrell).