1. 23 Feb, 2005 2 commits
  2. 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
  3. 21 Feb, 2005 3 commits
  4. 17 Feb, 2005 3 commits
  5. 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
  6. 15 Feb, 2005 1 commit
  7. 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
  8. 09 Feb, 2005 1 commit
  9. 08 Feb, 2005 2 commits
  10. 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
  11. 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
  12. 03 Feb, 2005 5 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
    • Matthias Clasen's avatar
      Make the gdk_key array const (#166075, Tommi Komulainen) · 64768cae
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
      	Tommi Komulainen)
      64768cae
  13. 02 Feb, 2005 7 commits
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 1707e510
      Federico Mena Quintero authored
      2005-02-02  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
      	Don't select the first row if the chooser is not mapped.  This
      	happens when it's acting on behalf of GtkFileChooserButton.  Also,
      	don't select the first row if we are in SAVE or CREATE_FOLDER
      	modes --- I had missed that (see the ChangeLog entry from
      	2005-01-18).  Fixes #165264.
      1707e510
    • Tor Lillqvist's avatar
      Implement lazy extended input initialization on Win32, by Robert Ögren. · 8c323acb
      Tor Lillqvist authored
      2005-02-02  Tor Lillqvist  <tml@novell.com>
      
      	Implement lazy extended input initialization on Win32, by Robert
      	Ögren. Fixes #163163, possibly #162334. Lazy initialization would
      	be a good idea in any case even if it didn't fix any visible
      	problems, though.
      
      	The Wacom tablet driver seems to get confused if Wintab is
      	initialized but no window is shown before the process exits. This
      	is the case for some GIMP plug-ins, for instance.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
      	non-static (and renamed).
      	(_gdk_input_init): Don't call _gdk_input_wintab_init_check().
      
      	* gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
      
      	* gdk/win32/gdkinput.c (gdk_devices_list,
      	gdk_display_list_devices, gdk_input_set_extension_events): Call
      	_gdk_input_wintab_init_check() here instead.
      8c323acb
    • Ivan, Wong Yat Cheung's avatar
      Use a FIFO list for storing GdkSelProp of a single window so that · c922869c
      Ivan, Wong Yat Cheung authored
      2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
      
      	* gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
      	of a single window so that gtk_clipboard_request_contents() can be
      	called inside a GtkClipboardReceivedFunc(). (#163844)
      c922869c
    • Matthias Clasen's avatar
      Look for icons in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic) · b6359545
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
      	in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
      b6359545
    • Matthias Clasen's avatar
      Set info->icon_list to NULL after freeing it. (#165800, Damon Chaplin) · adf6e301
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
      	to NULL after freeing it.  (#165800, Damon Chaplin)
      adf6e301
    • Michael Natterer's avatar
      depend on stable pango-1.8, not unstable 1.7 · 92895a41
      Michael Natterer authored
      2005-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on stable pango-1.8, not unstable 1.7
      92895a41
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 4200bed6
      Federico Mena Quintero authored
      2005-02-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkfilechooserdefault.c
      	(browse_files_model_finished_loading_cb): Don't
      	g_assert_not_reached() if we are in any other state.  Another code
      	path may have triggered a folder reload.  Fixes #165556.
      4200bed6
  14. 01 Feb, 2005 2 commits
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 224c47a9
      Federico Mena Quintero authored
      2005-02-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #165770:
      
      	* gtk/gtkfilechooserdefault.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()).
      	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
      	GTK_ICON_SIZE_SMALL_TOOLBAR.
      224c47a9
    • Matthias Clasen's avatar
      Fix many instances of "the the" in docs and comments. (#165815, Masao · 1d0c7ea1
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* */*.c: Fix many instances of "the the" in docs and
      	comments.  (#165815, Masao Mutoh)
      1d0c7ea1