1. 15 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Add some more tests for menu placement. · 24a55633
      Matthias Clasen authored
      2005-08-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testtoolbar.c: Add some more tests for menu placement.
      
      	* gtk/gtkmenutoolbutton.c (menu_position_func):
      	* gtk/gtktoolbar.c (menu_position_func): Improve positioning
      	of toolbutton menus and of the overflow menu.  (#312937,
      	#153870, Christian Persch, Paolo Borelli)
      24a55633
  2. 08 Aug, 2005 2 commits
    • Christian Persch's avatar
      Deactivate the menu when the button becomes insensitive, and remove dead · fb382a2b
      Christian Persch authored
      2005-08-08  Christian Persch  <chpe@cvs.gnome.org>
      
      	* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
      	(gtk_menu_tool_button_class_init), (popup_menu_under_arrow),
      	(gtk_menu_tool_button_init):
      
      	Deactivate the menu when the button becomes insensitive, and remove
      	dead code. Fixes bug #312920.
      
      2005-08-08  Matthias Clasen  <mclasen@redhat.com>
      fb382a2b
    • Christian Persch's avatar
      Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE. Surviving part of · 1992b313
      Christian Persch authored
      2005-08-08  Christian Persch  <chpe@cvs.gnome.org>
      
      	* gtk/gtkmenutoolbutton.c:
      	(gtk_menu_tool_button_construct_contents),
      	(button_state_changed_cb), (menu_position_func),
      	(arrow_button_toggled_cb):
      
      	Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE.
      	Surviving part of bug #310589.
      1992b313
  3. 05 Aug, 2005 1 commit
    • Søren Sandmann's avatar
      Set the relief of the arrow button to the value returned by · 87e4eb6b
      Søren Sandmann authored
      Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkmenutoolbutton.c
      	(gtk_menu_tool_button_construct_contents): Set the relief of the
      	arrow button to the value returned by
      	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
      87e4eb6b
  4. 26 Mar, 2005 1 commit
  5. 22 Mar, 2005 1 commit
  6. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  7. 19 Mar, 2005 1 commit
    • Soeren Sandmann's avatar
      Make right-clicks not pop up the menu. · b39b0bfc
      Soeren Sandmann authored
      Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
      	Make right-clicks not pop up the menu.
      b39b0bfc
  8. 17 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Typo fix in the docs. · 7049dbf1
      Matthias Clasen authored
      2005-03-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
      	Typo fix in the docs.
      
      	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
      	Typo fix in the docs.
      
      	* gtk/gtkiconview.c (gtk_icon_view_get_columns)
      	(gtk_icon_view_set_columns, gtk_icon_view_set_item_width)
      	(gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
      	(gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
      	(gtk_icon_view_set_column_spacing, gtk_icon_view_get_row_spacing)
      	(gtk_icon_view_get_column_spacing, gtk_icon_view_set_margin)
      	(gtk_icon_view_get_margin): Add docs.
      
      	* gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
      	Add docs.
      7049dbf1
  9. 01 Mar, 2005 1 commit
  10. 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
  11. 23 Oct, 2004 1 commit
  12. 09 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Fix doc comment. · ff44b010
      Matthias Clasen authored
      
      
      2004-10-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_get_menu): Fix
      	doc comment.
      ff44b010
  13. 05 Oct, 2004 1 commit
  14. 02 Oct, 2004 1 commit
  15. 27 Sep, 2004 1 commit
    • Paolo Borelli's avatar
      add the GtkMenuToolButton widget discussed in bug #151441. · c7777d8a
      Paolo Borelli authored
      2004-09-27  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
      	discussed in bug #151441.
      
      	* docs/reference/gtk/gtk-docs.sgml:
      	* docs/reference/gtk/gtk-sections.txt:
      	* docs/reference/gtk/gtk.types:
      	* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
      	new widget.
      c7777d8a