1. 15 Oct, 2005 1 commit
  2. 14 Oct, 2005 2 commits
    • Adam Weinberger's avatar
      Add a bunch of missing files. Updated Canadian English translation. · c1d60579
      Adam Weinberger authored
      
      2005-10-14  Adam Weinberger  <adamw@gnome.org>
      
      	* POTFILES.in: Add a bunch of missing files.
      	* en_CA.po: Updated Canadian English translation.
      c1d60579
    • Tor Lillqvist's avatar
      Remove the clipboard viewer code. It didn't really do anything useful, and · e6fa7394
      Tor Lillqvist authored
      2005-10-14  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code.
      	It didn't really do anything useful, and was just confusing and
      	incomplete. Comments claimed we don't do delayed rendering, but in
      	fact we do, for images. (The delayed rendering code has other
      	problems, though, see #168173.) The clipboard viewer code was
      	probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate
      	the message when necessary). It was just test code, it said so in
      	a comment. Add something similar back later if necessary.
      
      	(_win32_on_clipboard_change,
      	_gdk_win32_register_clipboard_notification): Remove.
      
      	(gdk_display_supports_selection_notification,
      	gdk_display_request_selection_notification): Always just return
      	FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere.
      e6fa7394
  3. 13 Oct, 2005 3 commits
    • Priit Laes's avatar
      Translation updated by Ivar Smolin. · ee5d5f9e
      Priit Laes authored
      2005-10-13  Priit Laes  <plaes@cvs.gnome.org>
      
      	* et.po: Translation updated by Ivar Smolin.
      ee5d5f9e
    • Tor Lillqvist's avatar
      Don't treat Alt-Enter specially. It does not have any special meaning and · d297ff32
      Tor Lillqvist authored
      2005-10-13  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
      	Alt-Enter specially. It does not have any special meaning and
      	should be passed on to the application. (#318378, Tim Evans)
      d297ff32
    • Tor Lillqvist's avatar
      Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows · b25e6c5b
      Tor Lillqvist authored
      2005-10-13  Tor Lillqvist  <tml@novell.com>
      
      	Set visual depth to 24 for 32 bits-per-pixel devices on
      	Win32. This allows gdk_drawable_real_draw_pixbuf() to use the
      	optimized composite_0888() function rather than the slower image
      	dithering functions to draw pixbufs (#313993, John Ehresman)
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use
      	_gdk_windowing_get_bits_for_depth() to initialize
      	GdkImage::bits_per_pixel.
      	(_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use
      	_gdk_windowing_get_bits_for_depth() to initialize
      	BITMAPINFOHEADER::biBitCount.
      
      	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set
      	GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns
      	32.
      b25e6c5b
  4. 12 Oct, 2005 2 commits
  5. 11 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Try to match an off toggle here with the matching on toggle if it · a07a5ecb
      Matthias Clasen authored
      2005-10-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off
      	toggle here with the matching on toggle if it immediately follows.
      	This is a common case, and handling it here prevents quadratic blowup
      	in cleanup_line() below.  (#317125)
      
      	* gtk/gtktextsegment.h:
      	* gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
      	the character counts into this function instead of computing them
      	again.
      a07a5ecb
  6. 10 Oct, 2005 1 commit
  7. 09 Oct, 2005 1 commit
  8. 07 Oct, 2005 6 commits
    • Matthias Clasen's avatar
      fix includes · 6592f00a
      Matthias Clasen authored
      6592f00a
    • Federico Mena Quintero's avatar
      Fixes bug #317999: · cca93029
      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.
      cca93029
    • Michael Natterer's avatar
      remove some explicit #defines of PROFILE_FILE_CHOOSER because they break · cab26ded
      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>.
      cab26ded
    • Matthias Clasen's avatar
      Remove a redundant (and unconditional) include of unistd.h (#318211, · 5b2d546e
      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)
      5b2d546e
    • Matthias Clasen's avatar
      Use g_return_val_if_fail(), not g_return_if_fail(). (#318412, Kazuki · 8725724e
      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)
      8725724e
    • Matthias Clasen's avatar
      Add a has-selection property · b863d240
      Matthias Clasen authored
      b863d240
  9. 05 Oct, 2005 6 commits
  10. 04 Oct, 2005 6 commits
  11. 03 Oct, 2005 2 commits
  12. 30 Sep, 2005 5 commits
    • Tor Lillqvist's avatar
      In case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause · ef2c2326
      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.
      ef2c2326
    • Adam Weinberger's avatar
      Updated Canadian English translation. · 1319ffec
      Adam Weinberger authored
      
      2005-09-30  Adam Weinberger  <adamw@gnome.org>
      
      	* en_CA.po: Updated Canadian English translation.
      1319ffec
    • Matthias Clasen's avatar
      Another attempt to correct the calculations for the first week day. We may · c693b5d6
      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.
      c693b5d6
    • Matthias Clasen's avatar
      Don't leak pixbuf in some cases. (#317611, Tommi Komulainen) · 0d047a35
      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)
      0d047a35
    • Matthias Clasen's avatar
      Prevent overflow when storing size hints in an unsigned short variable. · 51c6eb96
      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.
      51c6eb96
  13. 29 Sep, 2005 4 commits