1. 15 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Use _gtk_menu_item_popup_submenu() to make keynav into submenus work · 8b927c6f
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first)
      	(gtk_real_menu_shell_activate_current): Use
      	_gtk_menu_item_popup_submenu() to make keynav into submenus work
      	instantaneously, independent of the popup delay.  (#161140)
      
      	* gtk/gtkmenuitem.[hc]: _-prefix gtk_menu_item_popup_submenu() and
      	make it non-static.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove unused variables.
      8b927c6f
  2. 07 Dec, 2004 2 commits
  3. 29 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Don't call gtk_cell_view_set_cell_data() from here. · ec6454bf
      Matthias Clasen authored
      2004-11-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
      	gtk_cell_view_set_cell_data() from here.
      
      	* gtk/gtk.symbols: Remove gtk_cell_view_set_cell_data()
      
      	* gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): Call
      	gtk_cell_view_set_cell_data() from here.
      	(gtk_cell_view_set_cell_data): Make static.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_popup): Make menu mode
      	work better when resizing the combo box.
      ec6454bf
  4. 19 Nov, 2004 1 commit
    • Manish Singh's avatar
      gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c · 60b30ff5
      Manish Singh authored
      Fri Nov 19 14:54:09 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/linux-fb/gdkgc-fb.c
              * gdk/win32/gdkgc-win32.c
              * gdk/win32/gdkwindow-win32.c
              * gtk/gtkaboutdialog.c
              * gtk/gtkaction.c
              * gtk/gtkactiongroup.c
              * gtk/gtkcellrendererprogress.c
              * gtk/gtkcellview.c
              * gtk/gtkcolorbutton.c
              * gtk/gtkcombobox.c
              * gtk/gtkcomboboxentry.c
              * gtk/gtkentrycompletion.c
              * gtk/gtkfilechooserbutton.c
              * gtk/gtkmenutoolbutton.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktoggletoolbutton.c
              * gtk/gtktoolbutton.c
              * gtk/gtktoolitem.c
              * gtk/gtktreemodelfilter.c
              * gtk/gtktreeselection.c
              * gtk/gtktreeviewcolumn.c
              * gtk/gtkuimanager.c: get rid of unnecessary casts.
      
              * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
              cast away the const for g_value_set_enum. This is after the g_warning,
              so this is a hack to begin with.
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
              add a cast to GTK_FILE_CHOOSER for impl here.
      60b30ff5
  5. 25 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Fix the doc formatting. · e18bbad7
      Matthias Clasen authored
      2004-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the
      	doc formatting.
      
      	* gtk/gtkcellview.[hc]: Make function parameter names consistent.
      e18bbad7
  6. 15 Oct, 2004 2 commits
  7. 09 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Add docs. · 1488c493
      Matthias Clasen authored
      
      2004-10-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcellview.c: Add docs.
      1488c493
  8. 01 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Silently ignore info being NULL. This is unavoidable with the current · 03646f37
      Matthias Clasen authored
      2004-10-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes):
      	Silently ignore info being NULL. This is unavoidable with the
      	current design where we have every implementation of layout_clear
      	call layout_clear_attributes, and also delegate calls to dependent
      	cell layouts.  (#154191, Martyn Russell)
      03646f37
  9. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  10. 02 Aug, 2004 1 commit
  11. 23 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Remove unnecessary checks. (#148175, Morten Welinder) · a3553969
      Matthias Clasen authored
      Fri Jul 23 10:28:43 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c (gtk_tree_view_finalize):
      	* gtk/gtkradioaction.c (gtk_radio_action_finalize):
      	* gtk/gtkfontsel.c (gtk_font_selection_finalize):
      	* gtk/gtkcellview.c (gtk_cell_view_finalize):
      	* gtk/gtkcalendar.c (gtk_calendar_finalize):
      	* gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
      	unnecessary checks.  (#148175, Morten Welinder)
      a3553969
  12. 22 Jul, 2004 1 commit
  13. 27 May, 2004 1 commit
  14. 29 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      Add a missing cat. (#141070, Chris Sherlock) · 3f571c18
      Matthias Clasen authored
      2004-04-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testentrycompletion.c (main): Add a missing
      	cat.  (#141070, Chris Sherlock)
      
      	* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
      	variable.  (#141022, Chris Sherlock)
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
      	cast.  (#141013, Chris Sherlock)
      
      	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
      	unused variable.  (#141011, Chris Sherlock)
      3f571c18
  15. 14 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      Make the arrow and separator regular children of an hbox inside the · b18a684f
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c: Make the arrow and separator regular
      	children of an hbox inside the button, and propagate state
      	changes from the button to the cell view.  (part of the fix
      	for #138650, should also fix #137535)
      
      	* gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
      	state to gtk_cell_renderer_render() when prelighted. (part
      	of the fix for #138650)
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
      	Use PRELIGHT state when appropriate.  (part of the fix for
      	#138650)
      b18a684f
  16. 14 Mar, 2004 1 commit
    • Matthias Clasen's avatar
      Align this function with gtk_tree_view_column_set_cell_data(); call the · 6cfcae49
      Matthias Clasen authored
      Sun Mar 14 01:01:18 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Align
      	this function with gtk_tree_view_column_set_cell_data();
      	call the cell data func after setting the attributes.
      
      Sun Mar 14 01:00:08 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcellview.c (gtk_cell_view_expose): One more try;
      	make sure not to call gtk_cell_view_set_cell_data() when
      	displayed_row is NULL.
      6cfcae49
  17. 13 Mar, 2004 2 commits
  18. 10 Mar, 2004 1 commit
  19. 06 Mar, 2004 1 commit
  20. 02 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Always connect to the changed signals on the model, update the active item · 1d64b555
      Owen Taylor authored
      Tue Mar  2 11:45:50 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcombobox.c: Always connect to the changed
              signals on the model, update the active item as
              appropriate when rows are inserted/deleted/reordered,
              re-layout the menu on ::rows-reordered.
      
              * gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
              Allow %NULL for path to unset and leave no current
              path.
      1d64b555
  21. 09 Feb, 2004 1 commit
  22. 06 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Actually free the lists. Pointed out by Morten Welinder. · 738eeba8
      Matthias Clasen authored
      Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_check):
      	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes):
      	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
      	Actually free the lists. Pointed out by Morten Welinder.
      738eeba8
  23. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  24. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  25. 19 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes #108458. · 2f4326e4
      Kristian Rietveld authored
      Fri Dec 19 23:36:00 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #108458.
      
      	* gtk/gtkcelllayout.[ch]: added a reorder method.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init),
      	(gtk_tree_view_column_cell_layout_reorder): implement reorder.
      
      	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_init),
      	(gtk_cell_view_cell_layout_reorder): ditto.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
      	(gtk_combo_box_cell_layout_reorder): ditto.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init),
      	(gtk_entry_completion_reorder): ditto.
      2f4326e4
  26. 12 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      Combo box flipping support. · 375ccb28
      Kristian Rietveld authored
      Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Combo box flipping support.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_position),
      	(gtk_combo_box_size_allocate): support RTL flipping (#126518,
      	patch from Matthias Clasen),
      	(gtk_combo_box_popup): fix popup window alignment if there's a
      	cell view frame visible (#126518, patch from Semion Chichelnitsky).
      
      	* gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
      	(#128348, patch from Semion Chichelnitsky).
      375ccb28
  27. 08 Dec, 2003 1 commit
    • Owen Taylor's avatar
      === Released 2.3.1 === · 85c05a86
      Owen Taylor authored
      Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.1 ===
      
              * NEWS: Updates for 2.3.1
      
              * configure.in: Version 2.3.1, interface age 0, binary age 301.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
              Rename from gtk_menu_item_real_can_activate_accel() to
              match GTK+ convention, improve comment.
      
              * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
              can ::can-activate-accel signal.
      
              * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
              in comment.
      
              * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
              up comment.
      
              * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
              into the .c file.
      
      Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c (find_builtin_icon): Fix a
              missing 'else'. (#128816, Jorn Baayen)
      85c05a86
  28. 18 Nov, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes based on comments from Owen Taylor, #125264. · e9154691
      Kristian Rietveld authored
      Tue Nov 18 19:47:59 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes based on comments from Owen Taylor, #125264.
      
      	* gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
      	variable,
      	(gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
      	a resize,
      	(gtk_cell_view_get_size_of_row): new function,
      	(gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
      	(gtk_cell_view_set_values), (gtk_cell_view_set_model),
      	(gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
      	s/cellview/cell_view/ in the function definitions, so they match
      	with the header file.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
      	flag again (:, and use gtk_cell_view_get_size_of_row instead of
      	the measurer, remove _set_size_request call,
      	(gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
      	instead of the measurer,
      	(gtk_combo_box_style_set): queue a resize,
      	(gtk_combo_box_size_request): update of _remeasure call,
      	(gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
      	(gtk_combo_box_cell_layout_pack_end),
      	(gtk_combo_box_cell_layout_clear),
      	(gtk_combo_box_set_model): get rid of the measurer,
      	(gtk_combo_box_cell_layout_add_attribute),
      	(gtk_combo_box_cell_layout_set_cell_data_func),
      	(gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
      	resize instead of calling _remeasure.
      e9154691
  29. 16 Nov, 2003 1 commit
  30. 24 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix licensing (I managed to put it under GPL licensing instead of · 2e2b780f
      Kristian Rietveld authored
      Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
      	gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
      	under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
      	Sandmann).
      2e2b780f
  31. 23 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix includes. · 3a5b5a0f
      Kristian Rietveld authored
      Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
      	gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
      	gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
      3a5b5a0f
  32. 01 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      implement the GtkCellLayout interface, drop packing/attribute/cell data · 40743e12
      Kristian Rietveld authored
      Wed Oct  1 22:43:40 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop
      	packing/attribute/cell data functions from the header,
      	(gtk_cell_view_set_cell_data): added support for cell data funcs.
      
      	* gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop
      	packing/attribute/cell data functions from the header, implemented
      	cell data func support.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated
      	for the move to GtkCellLayout.
      
      	* tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
      40743e12
  33. 26 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Landing the new ComboBox. Note that only gtkcombobox.h and · c920afd9
      Kristian Rietveld authored
      Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Landing the new ComboBox. Note that only gtkcombobox.h and
      	gtkcomboboxentry.h are public.
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
      
      	* gtk/Makefile.am, gtk/gtk.h: adding the new files.
      
      	* tests/testcombo.c: and a new test.
      
      	* tests/Makefile.am: adding the new test.
      c920afd9