summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.8.6GTK_2_8_6Matthias Clasen2005-10-04176-5579/+5625
|
* Revert the change from yesterday, since it leads to assertion failures.Matthias Clasen2005-10-043-3/+12
| | | | | | | | 2005-10-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change from yesterday, since it leads to assertion failures. (#317879, Sebastian Bacher)
* Apply a patch to remove context from translations. (#317867, DuarteMatthias Clasen2005-10-042-39/+44
| | | | | | | 2005-10-03 Matthias Clasen <mclasen@redhat.com> * pt.po: Apply a patch to remove context from translations. (#317867, Duarte Henriques)
* Call calendar_compute_days() after setting priv->week_start.Matthias Clasen2005-10-043-2/+12
| | | | | | | 2005-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcalendar.c (gtk_calendar_init): Call calendar_compute_days() after setting priv->week_start.
* Merged from HEAD:Federico Mena Quintero2005-10-034-7/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-03 Federico Mena Quintero <federico@ximian.com> Merged from HEAD: Don't reload the current folder unnecessarily on ::map(). * gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent the reloading state. (struct _GtkFileChooserDefault): Added a "reload_state" field. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Initialize impl->reload_state. (gtk_file_chooser_default_map): Check the impl->reload_state; load a default folder if no folder has been set, or reload the current one only if we had been unmapped first. (gtk_file_chooser_default_update_current_folder): Set the reload_state to RELOAD_HAS_FOLDER. (gtk_file_chooser_default_unmap): Implement, and set the reload_state to RELOAD_WAS_UNMAPPED. (shortcuts_model_create): Don't call shortcuts_add_bookmarks() here; they'll get (re)loaded on ::map() anyway. * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_constructor): Don't set a default folder here. * tests/autotestfilechooser.c (test_action_widgets): Don't take in a dialog; build it ourselves. (test_reload): New test to ensure that we don't load the default folder more than once, and that we reload it when unmapping/remapping. (get_impl_from_dialog): New utility function. (test_widgets_for_current_action): Use get_impl_from_dialog().
* Bump versionMatthias Clasen2005-10-033-2/+6
|
* 2.8.4GTK_2_8_5Matthias Clasen2005-10-03177-4677/+4731
|
* Unref the style when removing it from the hash table. (#314696, BenjaminMatthias Clasen2005-10-033-0/+13
| | | | | | | 2005-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when removing it from the hash table. (#314696, Benjamin Berg)
* Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.Matthias Clasen2005-10-034-3/+11
| | | | | | | | | | 2005-10-03 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): * gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes. (#317225, Sebastien Bacher, Dom Lachowicz)
* In case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable causeTor Lillqvist2005-09-303-2/+38
| | | | | | | | | | | | | | | | | | | 2005-10-01 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause is that the the desktop isn't visible because the session has been switched, the screen is locked, or a terminal server session disconnected, so no error message necessary. (#137796) It is of course remotely possible that BitBlt() failing with ERROR_INVALID_HANDLE might also be caused by some other problem. We could strive for perfection and track whether the desktop is visible by using WTSRegisterSessionNotification() and handling WM_WTSESSION_CHANGE. I think that's overdoing it just for this issue, though. If we would track desktop visibility, we should then avoid even trying to update the display at all while the desktop isn't visible.
* Another attempt to correct the calculations for the first week day. We mayMatthias Clasen2005-09-303-8/+22
| | | | | | | | | 2005-09-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcalendar.c (gtk_calendar_init): Another attempt to correct the calculations for the first week day. We may just have to remove this code if too many locales turn out to have broken data.
* Don't leak pixbuf in some cases. (#317611, Tommi Komulainen)Matthias Clasen2005-09-303-16/+20
| | | | | | | 2005-09-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in some cases. (#317611, Tommi Komulainen)
* Prevent overflow when storing size hints in an unsigned short variable.Matthias Clasen2005-09-303-4/+16
| | | | | | | | 2005-09-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtksocket-x11.c (_gtk_socket_windowing_size_request): Prevent overflow when storing size hints in an unsigned short variable. Tracked down by Ray Strode and Søren Sandmann.
* Check arguments. (#317491, Paolo Borelli)Matthias Clasen2005-09-293-1/+12
| | | | | | | 2005-09-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkbutton.c (gtk_button_set_image): Check arguments. (#317491, Paolo Borelli)
* Stop drags when being grab shadowed. (#317332)Matthias Clasen2005-09-293-5/+35
| | | | | | | 2005-09-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpaned.c (gtk_paned_grab_notify): Stop drags when being grab shadowed. (#317332)
* DLLs are always in bin nowadays, no need to test.Tor Lillqvist2005-09-293-6/+7
| | | | | | 2005-09-29 Tor Lillqvist <tml@novell.com> * gtk-zip.sh.in: DLLs are always in bin nowadays, no need to test.
* The locale directory is passed to bindtextdomain() which isn'tTor Lillqvist2005-09-283-2/+25
| | | | | | | | | 2005-09-29 Tor Lillqvist <tml@novell.com> * gtk/gtkmain.c (_gtk_get_localedir): The locale directory is passed to bindtextdomain() which isn't UTF-8-aware, so convert to system codepage using g_win32_locale_filename_from_utf8(). (#317457, Kazuki Iwamoto)
* Free mult_atoms here. (#317039, Paolo Borelli)Matthias Clasen2005-09-283-0/+8
| | | | | | | 2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms here. (#317039, Paolo Borelli)
* Return the attributes to make this function work as boxed copy function.Matthias Clasen2005-09-284-2/+16
| | | | | | | | | 2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktexttag.h: * gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes to make this function work as boxed copy function. (#317455, Gustavo Carneiro)
* Don't unref NULL. (#316828, Tor Lillqvist)Matthias Clasen2005-09-283-1/+12
| | | | | | | 2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkclipboard.c (request_image_received_func): Don't unref NULL. (#316828, Tor Lillqvist)
* Include <config.h>. (#317444, Kazuki Iwamoto)Tor Lillqvist2005-09-283-0/+11
| | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * modules/input/imime.c: Include <config.h>. (#317444, Kazuki Iwamoto)
* Merged from HEAD:Federico Mena Quintero2005-09-273-16/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-27 Federico Mena Quintero <federico@ximian.com> Merged from HEAD: Do not create the save mode-specific widgets in the open modes, so that we don't carry their baggage around. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor): Don't create the save_widgets here. (save_widgets_create): Set the impl->save_widgets directly here, instead of passing the widgets back to the caller. Also, pack them into the impl's box. (update_appearance): Create or destroy the save widgets as appropriate. Set the action of the save_file_name_entry here. (shortcuts_add_current_folder): Set the active item in the save_folder_combo only if it exists. (gtk_file_chooser_default_set_property): Don't set the action of the save_file_name_entry here. (gtk_file_chooser_default_update_current_folder): Set the base folder of the save_file_name_entry only if the entry exists. (shortcuts_drag_data_received_cb): Cast the selection_data->data to (const char *) since that's what shortcuts_drop_uris() expects. (file_list_drag_data_received_cb): Likewise, for g_uri_list_extract_uris().
* Merged from HEAD:Federico Mena Quintero2005-09-273-1/+32
| | | | | | | | | | | | | | 2005-09-27 Federico Mena Quintero <federico@ximian.com> Merged from HEAD: * gtk/gtkfilechooserdefault.c (update_chooser_entry): If the selection is empty, clear the file name entry only if we are in CREATE_FOLDER mode. In SAVE mode, nothing will be selected when the user starts typeahead in the treeview, and we don't want to clear the file name entry in that case --- the user could be typing-ahead to look for a folder name. Fixes bug #308332, patch by Jürg Billeter.
* Bump versionMatthias Clasen2005-09-273-2/+6
|
* 2.8.4GTK_2_8_4Matthias Clasen2005-09-27177-37208/+46449
|
* Set the shaped flag here, too. (#316871)Tor Lillqvist2005-09-263-1/+20
| | | | | | | | | 2005-09-26 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (gdk_window_shape_combine_mask): Set the shaped flag here, too. (#316871) (gdk_window_shape_combine_region): Currently unimplemented, so don't do anything to the shaped flag here.
* Fix #316871, reported by Dan Winship:Matthias Clasen2005-09-265-2/+35
| | | | | | | | | | | | | | 2005-09-26 Matthias Clasen <mclasen@redhat.com> Fix #316871, reported by Dan Winship: * gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag. * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask) (gdk_window_shape_combine_region): Set it here. * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't remove the child area for shaped windows.
* Updated Italian translation.Alessio Frusciante2005-09-262-875/+832
|
* Updated Swedish translation.Christian Rose2005-09-244-1922/+2073
| | | | | | 2005-09-25 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
* Translation updated by Ivar Smolin.Priit Laes2005-09-242-2/+6
| | | | | | 2005-09-24 Priit Laes <plaes@cvs.gnome.org> * et.po: Translation updated by Ivar Smolin.
* Don't leak expander pixbufs. (#316946, Tommi Komulainen)Matthias Clasen2005-09-233-0/+14
| | | | | | | 2005-09-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): Don't leak expander pixbufs. (#316946, Tommi Komulainen)
* Fix the documentation for the grab-broken-event signal, noticed by DamonMatthias Clasen2005-09-223-1/+11
| | | | | | | 2005-09-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation for the grab-broken-event signal, noticed by Damon Chaplin.
* Don't need to call g_free() on a value known to be NULL.Tor Lillqvist2005-09-201-1/+0
| | | | | | | | 2005-09-21 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkselection-win32.c (_gdk_win32_selection_convert_to_dib): Don't need to call g_free() on a value known to be NULL.
* Free return value from gdk_atom_name().Tor Lillqvist2005-09-203-16/+51
| | | | | | | | | | | | | 2005-09-21 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkselection-win32.c (gdk_selection_convert, gdk_text_property_to_text_list_for_display, gdk_text_property_to_utf8_list_for_display, gdk_win32_selection_add_targets, _gdk_win32_selection_convert_to_dib): Free return value from gdk_atom_name(). (gdk_text_property_to_text_list_for_display): Drop GError variable that isn't actually used after being set.
* Do return the correct owner for CLIPBOARD (i.e., the owner of the WindowsTor Lillqvist2005-09-203-8/+31
| | | | | | | | | | | | 2005-09-20 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkselection-win32.c (gdk_selection_owner_get_for_display): Do return the correct owner for CLIPBOARD (i.e., the owner of the Windows Clipboard, if it is a window GDK knows about). The reason to return NULL seems to have gone when in the fix for bug #163702 the artificial GDK_SELECTION_CLEAR event generation was removed from gdk_selection_send_notify_for_display(). Fixes bug #316552.
* More typo fixesMatthias Clasen2005-09-193-5/+7
|
* Fix a typo in the docs. (#316419, Guillaume Cottenceau)Matthias Clasen2005-09-193-3/+7
| | | | | | | 2005-09-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): Fix a typo in the docs. (#316419, Guillaume Cottenceau)
* Use g_list_nth_data() instead of g_list_nth()->data in multiple places toMatthias Clasen2005-09-193-18/+25
| | | | | | | | 2005-09-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c: Use g_list_nth_data() instead of g_list_nth()->data in multiple places to avoid segfaults if the index is out of range. (#316422, Guillaume Cottenceau)
* fix bug #316180. gtk_window_map_event(): new function to work around lostTim Janik2005-09-163-0/+31
| | | | | | | Fri Sep 16 14:00:20 2005 Tim Janik <timj@imendio.com> * gtk/gtkwindow.c: fix bug #316180. gtk_window_map_event(): new function to work around lost unmap requests.
* Check whether the widget actually is a GtkNotebook before treating it asTor Lillqvist2005-09-153-12/+23
| | | | | | | | | 2005-09-16 Tor Lillqvist <tml@novell.com> * modules/engines/ms-windows/msw_style.c (draw_extension, draw_box_gap): Check whether the widget actually is a GtkNotebook before treating it as such. Drop some unneeded local variables, use parameter with same information instead. (#316412)
* List all the default key bindings. Fix the documentation for theFederico Mena Quintero2005-09-152-16/+76
| | | | | | | | | 2005-09-15 Federico Mena Quintero <federico@ximian.com> * gtk/tmpl/gtkfilechooser.sgml: List all the default key bindings. Fix the documentation for the "location-popup" binding signal; its "path" argument was not listed. Mention a tip to have a crude form of bookmarks accessible through key bindings.
* Updated Lithuanian translation.Žygimantas Beručka2005-09-152-1266/+1282
| | | | | | 2005-09-15 Žygimantas Beručka <zygis@gnome.org> * lt.po: Updated Lithuanian translation.
* Added Entry for Bengali (bn) Translation updation:14/09Runa Bhattacharjee2005-09-142-0/+8
|
* Updated Bengali (bn) Translation:14/09Runa Bhattacharjee2005-09-142-844/+572
|
* Fix a use-after-free bug. (#316256, Alexander Nedotsukov)Matthias Clasen2005-09-143-1/+11
| | | | | | | 2005-09-14 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c (foreach_remove_func): Fix a use-after-free bug. (#316256, Alexander Nedotsukov)
* Turn off profiling for the stable branch (#undef PROFILE_FILE_CHOOSER).Federico Mena Quintero2005-09-133-1/+11
| | | | | | | 2005-09-13 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c: Turn off profiling for the stable branch (#undef PROFILE_FILE_CHOOSER).
* Fix typos in the docs. (#316008, #316027, #316121, Guillaume Cottenceau)Matthias Clasen2005-09-133-3/+11
| | | | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_class_init): (gtk_icon_view_get_dest_item_at_pos): Fix typos in the docs. (#316008, #316027, #316121, Guillaume Cottenceau)
* Add some docs. (#316001, Guillaume Cottenceau)Matthias Clasen2005-09-131-1/+10
| | | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. (#316001, Guillaume Cottenceau)
* Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau)Matthias Clasen2005-09-133-1/+7
| | | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau)
* Add some strings containing multibyte characters.Matthias Clasen2005-09-134-1/+21
| | | | | | | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * tests/testentrycompletion.c (create_simple_completion_model): Add some strings containing multibyte characters. * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): Fix prefix insertion for multibyte characters. (#316095, Tommi Komulainen)