- Oct 07, 2005
-
-
Matthias Clasen authored
-
Federico Mena Quintero authored
2005-10-07 Federico Mena Quintero <federico@ximian.com> Fixes bug #317999: * tests/autotestfilechooser.c (test_reload_sequence): Ensure that the the result of gtk_file_chooser_get_folder() is NULL or non-NULL at the right times. Log the tests. (test_button_folder_states): New test for the initial states of the current folder in GtkFileChooserButton. (main): Test that the number of warnings/errors/critical errors is zero. * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder): Clarify the documentation on when this can return NULL. (gtk_file_chooser_get_current_folder_uri): Likewise. * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate): Added a folder_has_been_set flag; we use it to keep track of whether a folder has been set. (gtk_file_chooser_button_map): Implement. If no folder has been loaded before, we at least try to load $cwd here. (gtk_file_chooser_button_constructor): If the construct-time dialog already has a folder set, turn on our folder_has_been_set flag. (dialog_current_folder_changed_cb): Turn on our folder_has_been_set flag.
-
Michael Natterer authored
2005-10-07 Michael Natterer <mitch@gimp.org> * gtk/gtkfilechooserdefault.c: remove some explicit #defines of PROFILE_FILE_CHOOSER because they break compilation after the removal of <unistd.h>.
-
Matthias Clasen authored
2005-10-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c: Remove a redundant (and unconditional) include of unistd.h (#318211, Kazuki Iwamoto)
-
Matthias Clasen authored
2005-10-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktexttag.c (gtk_text_attributes_ref): Use g_return_val_if_fail(), not g_return_if_fail(). (#318412, Kazuki Iwamoto)
-
Matthias Clasen authored
-
- Oct 05, 2005
-
-
Matthias Clasen authored
2005-10-05 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-xlib-2.0.pc.in (Requires): Require gmodule-no-export-2.0 instead of gmodule-2.0
-
Matthias Clasen authored
2005-10-05 Matthias Clasen <mclasen@redhat.com> * README.in: Start collecting release notes for 2.10.
-
Matthias Clasen authored
2005-10-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory leak fix, since the assertion failures were traced to an xchat bug. (#314696)
-
Matthias Clasen authored
2005-10-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstyle.c (gtk_style_detach): (gtk_style_attach): Documentation improvements. (gtk_style_detach): Assert that the attach_count is > 0.
-
Federico Mena Quintero authored
2005-10-05 Federico Mena Quintero <federico@ximian.com> * gtk/tmpl/gtkfilechooser.sgml: Document the "quick-bookmark" binding signal.
-
Federico Mena Quintero authored
2005-10-04 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a shortcut position, not a ShortcutsIndex, to make the function more generic. (home_folder_handler): Pass the resolved index to switch_to_shortcut(), rather than just SHORTCUTS_HOME. (desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP. (gtk_file_chooser_default_class_init): Add a "quick-bookmark" binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0. These make the respective key switch to the first, second, ..., tenth bookmark. (quick_bookmark_handler): Implement.
-
- Oct 04, 2005
-
-
Federico Mena Quintero authored
2005-10-04 Federico Mena Quintero <federico@ximian.com> * gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder" binding signal.
-
Federico Mena Quintero authored
2005-10-04 Federico Mena Quintero <federico@ximian.com> * gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and Desktop; just use their real names on the file system for the user-visible names. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init): Add a "desktop-folder" binding signal, and bind it to M-d by default. (desktop_folder_handler): Implement the default handler. (home_folder_handler): Use a helper function. (switch_to_shortcut): New helper function. (shortcuts_append_home): Don't special-case the name of "Home"; just use the folder name.
-
Tor Lillqvist authored
2005-10-04 Tor Lillqvist <tml@novell.com> * gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
-
Matthias Clasen authored
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)
-
Matthias Clasen authored
2005-10-03 Matthias Clasen <mclasen@redhat.com> * pt.po: Apply a patch to remove context from translations. (#317867, Duarte Henriques)
-
Matthias Clasen authored
2005-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcalendar.c (gtk_calendar_init): Call calendar_compute_days() after setting priv->week_start.
-
- Oct 03, 2005
-
-
Matthias Clasen authored
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)
-
Matthias Clasen authored
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)
-
- Sep 30, 2005
-
-
Tor Lillqvist authored
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.
-
Adam Weinberger authored
2005-09-30 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
-
Matthias Clasen authored
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.
-
Matthias Clasen authored
2005-09-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in some cases. (#317611, Tommi Komulainen)
-
Matthias Clasen authored
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.
-
- Sep 29, 2005
-
-
Matthias Clasen authored
2005-09-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkbutton.c (gtk_button_set_image): Check arguments. (#317491, Paolo Borelli)
-
Matthias Clasen authored
2005-09-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpaned.c (gtk_paned_grab_notify): Stop drags when being grab shadowed. (#317332)
-
Tor Lillqvist authored
2005-09-29 Tor Lillqvist <tml@novell.com> * gtk-zip.sh.in: DLLs are always in bin nowadays, no need to test.
-
Federico Mena Quintero authored
2005-09-28 Federico Mena Quintero <federico@ximian.com> * tests/autotestfilechooser.c (test_reload_sequence): Oops, return if the unmap test fails. (test_reload_sequence): Use gtk_widget_show_now() instead of gtk_widget_show() for the dialog. Thanks to Tim Janik for noticing these.
-
Federico Mena Quintero authored
-
Federico Mena Quintero authored
2005-09-28 Federico Mena Quintero <federico@ximian.com> * tests/testcellrenderertext.c: New file with a set of tests for GtkCellRendererText. The idea is to run a text renderer through most of its interesting property values to see that it works correctly. * tests/Makefile.am: Added testcellrenderertext. * gtk/gtkfilechooserdefault.c (load_set_model): Mark the entry/exit of this function for profiling. (gtk_file_chooser_default_style_set): Mark the start/end of the calls to the parent class and the the signal emission for profiling.
-
Federico Mena Quintero authored
2005-09-28 Federico Mena Quintero <federico@ximian.com> * tests/testcellrenderertext.c: New file with a set of tests for GtkCellRendererText. The idea is to run a text renderer through most of its interesting property values to see that it works correctly. * tests/Makefile.am: Added testcellrenderertext. * gtk/gtkfilechooserdefault.c (load_set_model): Mark the entry/exit of this function for profiling. (gtk_file_chooser_default_style_set): Mark the start/end of the calls to the parent class and the the signal emission for profiling.
-
- Sep 28, 2005
-
-
Tor Lillqvist authored
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)
-
Matthias Clasen authored
2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms here. (#317039, Paolo Borelli)
-
Matthias Clasen authored
-
Matthias Clasen authored
2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes to make this function work as boxed copy function. (#317455, Gustavo Carneiro)
-
Matthias Clasen authored
2005-09-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkclipboard.c (request_image_received_func): Don't unref NULL. (#316828, Tor Lillqvist)
-
Tor Lillqvist authored
2005-09-28 Tor Lillqvist <tml@novell.com> * modules/input/imime.c: Include <config.h>. (#317444, Kazuki Iwamoto)
-
Federico Mena Quintero authored
2005-09-27 Federico Mena Quintero <federico@ximian.com> 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().
-
- Sep 27, 2005
-
-
Federico Mena Quintero authored
2005-09-27 Federico Mena Quintero <federico@ximian.com> 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().
-