1. 07 Feb, 2002 2 commits
    • Padraig O'Briain's avatar
      Change popup_menu signal to return gboolean instead of void. This allows · 5bc23500
      Padraig O'Briain authored
      * gtk/gtkwidget.[ch]:
      Change popup_menu signal to return gboolean instead of void. This
      allows the keypress which invokes the signal to be propagated to the
      focus widgets ancestors if not handled by the focus widget.
      
      * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c:
      Change signature of popup_menu signal handler to return gboolean
      instead of void and return TRUE in the signal handler
      5bc23500
    • Anders Carlsson's avatar
      Free the setting name. · a166fcbe
      Anders Carlsson authored
      2002-02-07  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
      	the setting name.
      a166fcbe
  2. 06 Feb, 2002 5 commits
    • Kristian Rietveld's avatar
      Fixes #70708 · 1c0e6dd0
      Kristian Rietveld authored
      Wed Feb  6 23:28:39 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #70708
      
              * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): we're dealing
              with widget coordinates here, so take the header height into
              account while converting
              (gtk_tree_view_widget_to_tree_coords): take header height into
              account
              (gtk_tree_view_tree_to_widget_coords): ditto
              (gtk_tree_view_get_dest_row_at_pos): we were passing coords
              relative to the tree with _get_path_at_pos, while that function
              wants coords relative to the widget
      1c0e6dd0
    • Havoc Pennington's avatar
      remove unused variable (gtk_text_view_get_window): add warning about how · e58c6eca
      Havoc Pennington authored
      2002-02-06  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): remove unused variable
      	(gtk_text_view_get_window): add warning about how you
      	can't get the private window. #70683, and avoid default: in the
      	switch so we get "enum value unhandled" warnings
      e58c6eca
    • Havoc Pennington's avatar
      Add warnings if you try to use a child anchor that isn't inside a buffer. · 99b7d4a1
      Havoc Pennington authored
      2002-02-06  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextchild.c: Add warnings if you try to use a child
      	anchor that isn't inside a buffer. Really kind of lame;
      	we should separate the anchor from the buffer. But not worth
      	fixing for now. #70601
      99b7d4a1
    • Kristian Rietveld's avatar
      rip out all the debugging ifdefs, as modelsort seems to be stable (and · 2d1b1a62
      Kristian Rietveld authored
      Wed Feb  6 18:25:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c: rip out all the debugging ifdefs, as
              modelsort seems to be stable (and nobody complained :)
      2d1b1a62
    • Owen Taylor's avatar
      Keep the length of the anti-expose queue finite, by if it gets too long, · 9a8f790e
      Owen Taylor authored
      Tue Feb  5 19:13:42 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkgeometry-x11.c (gdk_window_queue): Keep
              the length of the anti-expose queue finite, by if
              it gets too long, first doing a XSync() and checking
      	the event queue, and if that doesn't work, simply
              discarding all anti-expose items in the queue.
      
      	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix ordering
      	on ConfigureNotify (#56349, Thomas Leonard)
      9a8f790e
  3. 05 Feb, 2002 4 commits
  4. 04 Feb, 2002 4 commits
  5. 03 Feb, 2002 4 commits
    • Anders Carlsson's avatar
      Add flipping support to the expanders. · 4eca4af1
      Anders Carlsson authored
      2002-02-03  Anders Carlsson  <expander-master@gtk.org>
      
      	* gtk/gtkstyle.c (gtk_default_draw_expander): Add
      	flipping support to the expanders.
      4eca4af1
    • Owen Taylor's avatar
      RC file lookup improvements (#68234, suggestions from Matthias Clasen.) · ab65e779
      Owen Taylor authored
      Sat Feb  2 21:54:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              RC file lookup improvements (#68234, suggestions
              from Matthias Clasen.)
      
              * gtk/gtkrc.c (gtk_rc_parse_file): Look for the
              locale suffix variants (gtkrc.en_US, gtkrc.en) for
              all RC files we parse, not just the default RC
              files.
      
              * gtk/gtkrc.c (gtk_rc_parse_default_files): Remove
              support for charset specific RC files.
      ab65e779
    • Owen Taylor's avatar
      Non-exported _gtk_menu_select_first() function that selects the first item · ae7521bd
      Owen Taylor authored
      Sat Feb  2 20:16:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.c (_gtk_menu_shell_select_first):
              Non-exported _gtk_menu_select_first() function that
              selects the first item of the menu in a standard
              way. (Skipping tearoffs.)
      
              * gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c
              gtkmenuitem.c: Use _gtk_menu_shell_select_first().
      
              * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember
              if we are starting the timeout from a keypress so
              we can set menushell->ignore_enter properly.
      
              * gtk/gtknotebook.c (focus_child_in): Return something
              meaningful if there are no children.
      
              * gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence
              problem.
      ae7521bd
    • Owen Taylor's avatar
      Fix some bugs in the determination of xgrab_shell. · 0ed21b67
      Owen Taylor authored
      Sat Feb  2 19:15:42 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
              the determination of xgrab_shell.
      0ed21b67
  6. 02 Feb, 2002 11 commits
    • Owen Taylor's avatar
      Add a GtkSetting (gtk-entry-select-on-focus) controlling whether the · d6622d38
      Owen Taylor authored
      Sat Feb  2 17:43:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
      	(gtk-entry-select-on-focus) controlling whether the
      	contents of an entry are selected on focus in.
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): Add a GtkSetting
      	(gtk-can-change-accels) controlling whether accelerators can be
      	changed on the fly or not. (#51902)
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): Allow unmodified
      	accelerators, now that accelerator changing can be turned
      	off for those who won't expect it. (#61285)
      
      	* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
      	Backspace/Delete/KP_Delete as valid accelerators.
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): Allow setting of
      	Delete/Backspace as accelerators by making them toggle
      	the menu item between empty and the pressed key.
      	(#58605)
      
      	* tests/testgtkrc: Remove the objectionably short cursor blink
      	time setting.
      d6622d38
    • Owen Taylor's avatar
      To get around the fact that we may have a owner_events = FALSE grab in · 2ee08d8e
      Owen Taylor authored
      Sat Feb  2 16:43:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_popup): To get around the fact
              that we may have a owner_events = FALSE grab in effect
              when we pop up a window, make a temporary grab on a
              different window, then grab on the real window. Fixes
              a problem where if a context menu popped up under the
              cursor, the first item would be stuck unselected.
              (#59812, reported by Arnaud Charlet.)
      2ee08d8e
    • Peter Williams's avatar
      Install gtkrc.default from $(srcdir) for when $(builddir) is different. · 9e31153e
      Peter Williams authored
      2002-02-02  Peter Williams  <peterw@ximian.com>
      
      	* gtk/Makefile.am (install-data-local): Install gtkrc.default
      	from $(srcdir) for when $(builddir) is different.
      9e31153e
    • Kristian Rietveld's avatar
      remove TESTGTK_RCFILE define · ea9e0c77
      Kristian Rietveld authored
      Sat Feb  2 19:00:39 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/Makefile.am: remove TESTGTK_RCFILE define
      ea9e0c77
    • Owen Taylor's avatar
      Remove the "select first item if popped up from keypress" hack -- was · 67ad0298
      Owen Taylor authored
      Sat Feb  2 11:37:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_popup): Remove the
              "select first item if popped up from keypress" hack --
              was causing more problems than it was worth
              (#53191, #68483)
      
              * gtk/gtktextview.c (popup_targets_received):
               gtk/gtkentry.c (popup_targets_received): If activated
              from keyboard, select first item of popup menu.
      67ad0298
    • Kristian Rietveld's avatar
      set upper member of vadjustment correct, so the vscrollbars of lists · 7bb3d17a
      Kristian Rietveld authored
      Sat Feb  2 18:07:51 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member
              of vadjustment correct, so the vscrollbars of lists smaller than
              1 page are somewhat saner (#66905)
      
              * gtk/gtkliststore.c (gtk_list_store_remove_silently): do not
              increment the stamp, liststore is a model with persisting iters
      7bb3d17a
    • Owen Taylor's avatar
      Support engine "" {} to mean override to the default engine. (#70205) · a9981124
      Owen Taylor authored
      Fri Feb  1 23:54:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.[ch] (gtk_rc_parse_engine): Support
              engine "" {} to mean override to the default
              engine. (#70205)
      a9981124
    • Owen Taylor's avatar
      Parse the RC string here when the first object is created rather than in · 1c9b8649
      Owen Taylor authored
      Fri Feb  1 23:25:33 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktooltips.c (gtk_tooltips_init): Parse the
      	RC string here when the first object is created
      	rather than in the class_init to not break doc
      	building. (#70341, Havoc Pennington.)
      
      	* gtk/gtkrc.c (parse_include_file): Use the directories
      	for the currently parsed files as the starting point
      	to look for include files. (#59975)
      1c9b8649
    • Manish Singh's avatar
      use gtk_label_new_with_mnemonic for labels that actually have mnemonics · 47a43e8f
      Manish Singh authored
      Fri Feb  1 20:21:56 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels
              that actually have mnemonics
      47a43e8f
    • Owen Taylor's avatar
      Fix use of ! in shell. · caf1d424
      Owen Taylor authored
      Fri Feb  1 19:57:59 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Fix use of ! in shell.
      
      	* gtk/gtktooltips.c (gtk_tooltips_class_init) gtkrc.default:
      	Move the setting of default tooltips colors to gtktooltips.c
      	from gtkrc.default. (Use default priority so themes will
      	override.) (#58542)
      caf1d424
    • Owen Taylor's avatar
      Fix ordering of priorities so that priorities take precendence over the · 5288e079
      Owen Taylor authored
      Fri Feb  1 17:48:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of
              priorities so that priorities take precendence over
              the ordering by type. (#70205)
      
              * test/testgtkrc tests/testgtk.c (create_rc_file): Add
              some labels to test priorities in testgtkrc.
      5288e079
  7. 01 Feb, 2002 10 commits