1. 04 Nov, 2005 3 commits
  2. 03 Nov, 2005 6 commits
    • Tor Lillqvist's avatar
      Typo. · 3f49474e
      Tor Lillqvist authored
      3f49474e
    • Tor Lillqvist's avatar
      Formatting fix. · 5dbd2b16
      Tor Lillqvist authored
      5dbd2b16
    • Tor Lillqvist's avatar
      As there is only one GdkDisplay in the Win32 backend, check that · 72ea12fe
      Tor Lillqvist authored
      2005-11-03  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in
      	the Win32 backend, check that GdkDisplay* parameters are equal to
      	_gdk_display instead of using the unnecessarily general
      	GDK_IS_DISPLAY().
      72ea12fe
    • Tor Lillqvist's avatar
      Rename the variables for the color bitmap to have "color" in their name, · 5551fc67
      Tor Lillqvist authored
      2005-11-03  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_alpha_winxp):
      	Rename the variables for the color bitmap to have "color" in their
      	name, for similarity with pixbuf_to_hbitmaps_normal(). Create a
      	color bitmap for the mask, too, instead of creating a b&w bitmap
      	with CreateBitmap(). Set up the mask bitmap's contents, ones for
      	those pixels in the color bitmap where the alpha is zero, zero for
      	other pixels. We used to use an unitialized mask bitmap! This
      	meant that icons and cursors created presumably worked more or
      	less by accident. Totally blank icons with zero alpha everywhere
      	(as used by gtktrayicon.c) definitely did not work as expected.
      5551fc67
    • Tor Lillqvist's avatar
      Include gtkstatusicon.c on all platforms. · 3d18823a
      Tor Lillqvist authored
      2005-11-03  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/Makefile.am: Include gtkstatusicon.c on all platforms.
      
      	* gtk/gtkstatusicon.c: Implement for Win32. Use code from
      	gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not
      	necessary and can be removed from CVS. It has never been mentioned
      	in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips
      	are used on Win32. One label widget is used (but never shown) as
      	gtk_widget_render_icon() needs a widget.
      
      	Ifdefs used as necessary in several places. It might be cleaner to
      	split out the backend-specific parts to separate files, or at
      	least collect them into separate blocks in the file.
      
      	(wndproc): New function. Window procedure to monitor mouse events
      	in the system tray icon. Call gtk_status_icon_button_press() as
      	needed.
      	(create_tray_observer): New function. Creates a hidden window that
      	only serves as a tray icon message observer.
      3d18823a
    • Tor Lillqvist's avatar
      Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hide · 542aedc1
      Tor Lillqvist authored
      2005-11-03  Tor Lillqvist  <tml@novell.com>
      
      	* tests/teststatusicon.c (icon_activated): Position the dialog
      	with GTK_WIN_POS_CENTER.
      	(do_quit): New function, hide and unref the GtkStatusIcon, and
      	call gtk_main_quit().
      	(popup_menu): Add a Quit menu item that calls do_quit().
      542aedc1
  3. 02 Nov, 2005 4 commits
    • Miloslav Trmac's avatar
      Updated Czech translation. · a9340696
      Miloslav Trmac authored
      2005-11-02  Miloslav Trmac  <mitr@volny.cz>
      
      	* cs.po: Updated Czech translation.
      a9340696
    • Tor Lillqvist's avatar
      gdk/win32/gdkcolor-win32.c gdk/win32/gdkscreen-win32.c Whitespace · c2c55f83
      Tor Lillqvist authored
      2005-11-02  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkscreen-win32.c
      	* gdk/win32/gdkwindow-win32.c: Whitespace consistency
      	fixes. Remove superfluous test for GdkWindow* parameters being
      	non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one
      	GdkScreen and one GdkDisplay in the Win32 backend, use those
      	variables instead of the getter functions. For GdkDisplay* and
      	GdkScreen* parameters, check that they are equal to the
      	corresponding singleton variables instead of the more general
      	GDK_IS_DISPLAY() or GDK_IS_SCREEN().
      c2c55f83
    • Matthias Clasen's avatar
      Remove some g_return_if_fail() from static functions, replace some others · aa70008f
      Matthias Clasen authored
      2005-11-02  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c: Remove some g_return_if_fail() from
      	static functions, replace some others by g_assert().
      
      	* gtk/gtktextview.c (selection_motion_event_handler)
      	(gtk_text_view_start_selection_drag): Keep track of the original
      	selection boundaries during a drag selection, in order to correctly
      	decide when to extend or shrink the selection.  (#320167,
      	reported by Arvind S N, patch by Paolo Borelli)
      aa70008f
    • Matthias Clasen's avatar
      Replace manual offset calculations by g_utf8_offset_to_pointer(). · 6002bc65
      Matthias Clasen authored
      2005-11-02  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
      	* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace
      	manual offset calculations by g_utf8_offset_to_pointer().
      	(#320360, Paolo Borelli)
      6002bc65
  4. 01 Nov, 2005 6 commits
    • Vincent van Adrighem's avatar
      Translation updated by Tino Meinen. · 2b8bac83
      Vincent van Adrighem authored
      2005-11-01  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Tino Meinen.
      2b8bac83
    • Federico Mena Quintero's avatar
      Add a TODO - Federico · 5cac560b
      Federico Mena Quintero authored
      5cac560b
    • Tim Janik's avatar
      get rid of GAllocator usage, allocate and free nodes via the g_slice_*() · d6a9db90
      Tim Janik authored
      Tue Nov  1 16:18:24 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free
              nodes via the g_slice_*() API.
              _gtk_rbtree_new(): fixed wrong node allocation via g_new().
      d6a9db90
    • Tor Lillqvist's avatar
      gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more · 4d1b5589
      Tor Lillqvist authored
      2005-11-01  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more
      	pre-interned GdkAtoms and pre-registered clipboard formats. Sort
      	their declarations, definitions and assignments into a more
      	logical and consistent order.
      
      	* gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the
      	CF_ prefix for the predefined clipboard format names. Put quotes
      	around registered format names to distinguish them.
      
      	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Return
      	immediately with a warning if the property type is STRING, TEXT,
      	COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we
      	should never pretend to handle on Win32. Handle only UTF8_STRING
      	here, other formats with delayed rendering. Use \uc1 instead of
      	\uc0 when generating Rich Text Format for easier testability on
      	XP, where WordPad misinterprets \uc0 encoded characters. Add more
      	GDK_NOTE debugging output for Clipboard operations.
      
      	* gdk/win32/gdkselection-win32.c: Debugging printout improvements.
      	(gdk_selection_convert): Don't pretent to handle STRING, just
      	UTF8_STRING. Streamline error handling, don't unnecessarily have a
      	GError which then isn't used for anything anyway if it gets set.
      	(gdk_win32_selection_add_targets): Skip also STRING, TEXT,
      	COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.
      4d1b5589
    • Tor Lillqvist's avatar
      Sync with what configure produces. · 77769e2e
      Tor Lillqvist authored
      2005-11-01  Tor Lillqvist  <tml@novell.com>
      
      	* config.h.win32.in: Sync with what configure produces.
      77769e2e
    • Tor Lillqvist's avatar
      Don't look for X_PACKAGES unless building for x11. (#313986, John · b3175d19
      Tor Lillqvist authored
      2005-11-01  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in: Don't look for X_PACKAGES unless building for
      	x11. (#313986, John Ehresman)
      b3175d19
  5. 31 Oct, 2005 2 commits
  6. 29 Oct, 2005 2 commits
  7. 28 Oct, 2005 9 commits
  8. 27 Oct, 2005 8 commits