1. 25 Feb, 2005 2 commits
    • Matthias Clasen's avatar
      Don't leak a path here. (#168443, Morten Welinder) · af12141d
      Matthias Clasen authored
      2005-02-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
      	path here.  (#168443, Morten Welinder)
      af12141d
    • Robert Ögren's avatar
      Implement better handling of Wintab tablet context overlap on Win32. · 81c1b1da
      Robert Ögren authored
      2005-02-24  Robert Ögren  <gtk@roboros.com>
      
      	Implement better handling of Wintab tablet context overlap on
      	Win32. (#167298)
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
      	function that brings any tablet contexts to the top of the overlap
      	order.
      	* gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
      	Call _gdk_input_set_tablet_active when a window is activated (on
      	WM_ACTIVATE)
      81c1b1da
  2. 24 Feb, 2005 8 commits
  3. 23 Feb, 2005 2 commits
  4. 22 Feb, 2005 2 commits
    • Manish Singh's avatar
      #include <config.h> · 79f9f133
      Manish Singh authored
      Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>
      
              * gtk/updateiconcache.c: #include <config.h>
      79f9f133
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 9b3fb6c3
      Federico Mena Quintero authored
      2005-02-22  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #164940, patch by Ben Maurer and Tommi Komulainen.
      
      	* gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
      	(gdk_rgb_convert_565_d): Likewise.
      	(DM_565): Made a static const precomputed array to avoid
      	allocating it at runtime.
      	(gdk_rgb_preprocess_dm_565): #ifdef out.
      9b3fb6c3
  5. 21 Feb, 2005 3 commits
  6. 17 Feb, 2005 3 commits
  7. 16 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Fixes for #143829, Tommi Komulainen, Christian Persch: · a0c5253c
      Matthias Clasen authored
      2005-02-16  Matthias Clasen  <mclasen@redhat.com>
      
      	Fixes for #143829, Tommi Komulainen, Christian Persch:
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
      	typeselect_flush_timeout when destroying the widgets
      	it is operating on.
      	(gtk_tree_view_ensure_interactive_directory): Add the
      	popup to the window group of the toplevel it belongs to.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
      	(gtk_combo_box_popup): Do the same here.
      a0c5253c
  8. 15 Feb, 2005 1 commit
  9. 11 Feb, 2005 4 commits
    • Matthias Clasen's avatar
      Stop scrolling when the pathbar goes away. (#167094, Rodney Dawes) · f5739c8e
      Matthias Clasen authored
      
      2005-02-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
      	when the pathbar goes away.  (#167094, Rodney Dawes)
      	(change_icon_theme): Use GTK_ICON_SIZE_MENU here as
      	well  (Vincent Noel)
      f5739c8e
    • Matthias Clasen's avatar
      9f338821
    • Matthias Clasen's avatar
      Support vertical menubars (#166632): · 812e0cfd
      Matthias Clasen authored
      
      2005-02-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Support vertical menubars  (#166632):
      
      	* gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
      	directions, with values for left-to-right, right-to-left,
      	top-to-bottom and bottom-to-top.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkmenubar.h:
      	* gtk/gtkmenubar.c: Add two properties, pack-direction and
      	child-pack-direction, which specify how children and
      	grandchildren of a menubar are packed, with getters and setters.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_set_property):
      	(gtk_menu_bar_get_property): Implement set_property and get_property.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_size_request):
      	(gtk_menu_bar_size_allocate): Take pack direction into account.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
      	move_current here move all the menubar-specific direction
      	tweaking from the generic menushell implementation here.
      
      	* gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific
      	direction tweaking from the generic menushell implementation here.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_size_request):
      	(gtk_menu_bar_size_allocate): Take pack direction into account.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
      	(gtk_image_menu_item_size_allocate):
      	(gtk_image_menu_item_toggle_size_request): Take child pack
      	direction into account and pack the image vertically if
      	necessary.
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
      	Set the submenu direction to left-right for menuitems in
      	vertical menubars.
      	(gtk_real_menu_shell_move_current): Simplify by moving
      	direction tweaking to menu- and menubar-specific
      	implementations. Take pack direction into account when
      	doing fallbacks.
      
      	* tests/testmenubars.c: Test menubars in various packing
      	direction combinations.
      
      	* tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
      812e0cfd
    • Matthias Clasen's avatar
      Complete the fix for #165770, Vincent Untz: · 1c10200c
      Matthias Clasen authored
      2005-02-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Complete the fix for #165770, Vincent Untz:
      
      	* gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
      	fallback size be 16, to be equal to the default for
      	GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
      	(gtk_file_chooser_button_init):
      	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
      	GTK_ICON_SIZE_SMALL_TOOLBAR.
      1c10200c
  10. 09 Feb, 2005 1 commit
  11. 08 Feb, 2005 2 commits
  12. 07 Feb, 2005 1 commit
    • Hans Breuer's avatar
      build with Cairo dependency. The patch to acually use Cairo on win32 will · 4c1cab8d
      Hans Breuer authored
      2005-02-05  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
      	build with Cairo dependency. The patch to acually use Cairo
      	on win32 will be on gtk-devel-list soon.
      	* tests/makefile.msc : add testcairo building
      
      	* gtk/stock-icons/makefile.msc : split command line into two to
      	work with the shells default
      4c1cab8d
  13. 04 Feb, 2005 6 commits
    • Manish Singh's avatar
      remove unused function. · cbf21238
      Manish Singh authored
      Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
              function.
      
              * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
              Add some extra parens for bitop order of operations disambiguiation.
      
              * gtk/gtkstock.c: Fix const confusion, make our own copy of the
              domain when setting a translate function.
      
              * tests/testcombo.c: removed unused variable.
      cbf21238
    • Matthias Clasen's avatar
      Handle item->translation_domain being NULL. (#166179, Diego Gonzalez) · 8ccd6cba
      Matthias Clasen authored
      2005-02-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
      	being NULL.  (#166179, Diego Gonzalez)
      8ccd6cba
    • Matthias Clasen's avatar
      Work better when there is not enough space. This avoids a nasty size · 46a5bd82
      Matthias Clasen authored
      2005-02-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpaned.c (gtk_paned_compute_position): Work better
      	when there is not enough space. This avoids a nasty size
      	allocation loop in the file chooser.  (#154007, reported
      	by Milosz Derezynski, patch by Robert Ögren)
      46a5bd82
    • Owen Taylor's avatar
      Revert gtk_binary_version to 2.4.0. Fix up comment to talk only about · de90ed58
      Owen Taylor authored
      2005-02-04  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Revert gtk_binary_version to 2.4.0. Fix
              up comment to talk only about backwards compat, not
              forward/backwards compat. (#166293, reported by Vincent Noel)
      de90ed58
    • Matthias Clasen's avatar
      Avoid spurious selection of RTL direction if the widget does not have · 2d655717
      Matthias Clasen authored
      2005-02-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
      	selection of RTL direction if the widget does not have
      	focus.  (#164125, Frederic Crozat)
      2d655717
    • Manish Singh's avatar
      #include cairo-xlib.h · 5c271537
      Manish Singh authored
      Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
      5c271537
  14. 03 Feb, 2005 4 commits
    • Owen Taylor's avatar
      Add gdk_drawable_set_cairo_target(). · 93344f6d
      Owen Taylor authored
      2005-02-03  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
              gdk_drawable_set_cairo_target().
      
              * tests/testtreeflow.c (enum): Use grand not rand as a variable
              name because one of the cairo headers is pulling in stdlib.h.
      
              * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
              example.
      
              * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
      
              * Require libpangocairo for all backends.
      93344f6d
    • Tor Lillqvist's avatar
      Use the wide character version of ImmGetCompositionString() here, too. · 8a5d05e2
      Tor Lillqvist authored
      2005-02-03  Tor Lillqvist  <tml@novell.com>
      
      	* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
      	wide character version of ImmGetCompositionString() here,
      	too. (#165278, Takuro Ashie)
      8a5d05e2
    • Matthias Clasen's avatar
      Don't do one roundtrip per motion event. (#166173, pointed out by Chris · a03c10fa
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
      	one roundtrip per motion event.  (#166173, pointed out
      	by Chris Lee, patch by Søren Sandmann)
      a03c10fa
    • Matthias Clasen's avatar
      New function which allows to change the function used for translation · 45c38b44
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkstock.h:
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	New function which allows to change the function used for
      	translation stock labels, on a per-domain basis. Use this
      	functionality to switch the GTK+ stock items to use Q_()
      	prefixed msgids.  (#166179, Funda Wang)
      45c38b44