summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Applied patch from Thomas Leonard to make stepper click to scroll takeOwen Taylor2002-02-238-24/+84
| | | | | | | | | | | | | Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.c: Applied patch from Thomas Leonard to make stepper click to scroll take effect immediately, rather than after a delay (#67649). * gtk/gtkrange.c: Remove right-click == step in trough since it isn't a useful binding and it's a large area to hit accidentally. (Leave it on the steppers since its more useful there and less likely to do accidentally.)
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-02-232-198/+215
| | | | | | 2002-02-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
* Updated Danish translation.Ole Laursen2002-02-232-199/+215
| | | | | | 2002-02-23 Ole Laursen <olau@hardworking.dk> * da.po: Updated Danish translation.
* Added Welsh filePablo Saratxaga2002-02-2310-1/+4431
|
* lower case the key_val. (gtk_accel_group_connect_by_path) : ditto.Jody Goldberg2002-02-239-14/+77
| | | | | | | | | | | | 2002-02-23 Jody Goldberg <jody@gnome.org> * gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the key_val. (gtk_accel_group_connect_by_path) : ditto. (gtk_accel_group_disconnect_key) : ditto. * gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify. (gtk_widget_real_key_press_event) : ditto.
* Documented undocumented functions.Jonathan Blandford2002-02-238-1/+98
| | | | | | Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviecolumn.c: Documented undocumented functions.
* Documented undocumented functions.Jonathan Blandford2002-02-232-15/+58
| | | | | | Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c: Documented undocumented functions.
* honor min_width and max_width while resizing columns (pointed out by JornKristian Rietveld2002-02-238-2/+48
| | | | | | | Sat Feb 23 03:10:20 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and max_width while resizing columns (pointed out by Jorn Baayen)
* Patch from Matthias Clasen (#54488)Owen Taylor2002-02-2314-95/+133
| | | | | | | | | | | | | | | | Fri Feb 22 19:17:46 2002 Owen Taylor <otaylor@redhat.com> Patch from Matthias Clasen (#54488) * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here, and do ::has-focus notifications. * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c: Remove unecessary focus_in/out handles and unecessary flag setting. * gtk/gtkwidget.c: Adda missing notification on ::parent.
* Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.Owen Taylor2002-02-2319-17/+157
| | | | | | | | | | | | | | | | | | | | | | Fri Feb 22 18:36:45 2002 Owen Taylor <otaylor@redhat.com> Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. * demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h: Squash trailing commas on enumerations. * gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead of 1 << 31 to work around AIX compiler problem. (C standard seems to imply that compiler is required to use an unsigned type for the enum value in this case.) * gdk/gdkpixbuf-drawable.c: Fix lvalue casts. * gtk/gtkwindow.h: Fix use of enum types for bitfields ... compilers may choose to use a signed type for bitfields.
* Let's mention the bug numberKristian Rietveld2002-02-227-7/+7
|
* leave threads before returningKristian Rietveld2002-02-228-0/+36
| | | | | | | Sat Feb 23 00:34:01 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (validate_rows_handler): leave threads before returning
* Rename icons.Anders Carlsson2002-02-22114-293/+365
| | | | | | | | | | | | | | | | 2002-02-22 Anders Carlsson <andersca@gnu.org> * gtk/stock-icons/*: Rename icons. * gtk/stock-icons/Makefile.am: Update for new icon names. * gtk/gtkiconfactory.c (init_icon_sizes): Set the GTK_ICON_SIZE_BUTTON size to be 20x20. (get_default_icons): Change stock names. 2002-02-22 Anders Carlsson <andersca@gnu.org> * gtk/Makefile.am (HTML_IMAGES): Update for name changes.
* add last_single_clicked and last_single_clicked_2 rowrefs and addKristian Rietveld2002-02-229-12/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Feb 22 22:39:59 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeprivate.h: add last_single_clicked and last_single_clicked_2 rowrefs and add disable_popdown to the bitfield * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff for two new rowrefs (gtk_tree_view_button_press): add some 'advanced' button handling, so double click is being handled right (double click madness was discovered by Anders Carlsson) * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing break (gtk_tree_view_class_init): default value of headers_visible should be TRUE (both pointed out by Damon Chaplin, #71986) * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): connect to populate_popup, (gtk_tree_view_search_disable_popdown): new function, (gtk_tree_view_real_search_enable_popdown): ditto, (gtk_tree_view_search_enable_popdown): ditto, (gtk_tree_view_search_dialog_destroy): check for gtk-tree-view-popdown-disabled (#71868) * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move ->priv->reorderable assignment to bottom. (#72122)
* subtract 1 from line endpoint, to avoid cursor dirt in the text widget.Havoc Pennington2002-02-228-1/+43
| | | | | | | | 2002-02-22 Havoc Pennington <hp@redhat.com> * gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from line endpoint, to avoid cursor dirt in the text widget. zero-width lines appear to draw the endpoint always. #67999
* implement more cleanly by using text_window->allocation.x/y instead ofHavoc Pennington2002-02-228-21/+48
| | | | | | | | 2002-02-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (buffer_to_widget): implement more cleanly by using text_window->allocation.x/y instead of recomputing it. Fixes a bug caused by leaving out the border width here.
* call gtk_size_group_queue_resize to avoid invalidating the widget everyHavoc Pennington2002-02-228-1/+53
| | | | | | | | | 2002-02-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (changed_handler): call gtk_size_group_queue_resize to avoid invalidating the widget every time its requisition changes. Instead we use the btree invalid lines to know what to redraw. Fixes #71429
* remove conflict markerSøren Sandmann Pedersen2002-02-227-7/+0
|
* feedback when check and radio buttons are depressed.Soeren Sandmann2002-02-2212-72/+153
| | | | | | | | Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h, gtktogglebutton.c: feedback when check and radio buttons are depressed.
* remove C++-commented debug spew, reported by David L. CooperHavoc Pennington2002-02-222-1/+5
| | | | | | | 2002-02-21 Havoc Pennington <hp@pobox.com> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove C++-commented debug spew, reported by David L. Cooper
* s/columns/rows/ in docs. (#70199)Matthias Clasen2002-02-2215-37/+99
| | | | | | | | | | | | | | | | | | | * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): s/columns/rows/ in docs. (#70199) * gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in docs. (#71852, #68405) * gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment. * gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in examples. (#71479) * gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as quasi-private. (#69788) * gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and selected_day as one-based. (#57169)
* add keynav handling for unselect all, focus column header, change focusKristian Rietveld2002-02-219-20/+480
| | | | | | | | | Thu Feb 21 23:02:29 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.[ch]: add keynav handling for unselect all, focus column header, change focus with arrow keys in column headers, column reordering, column resizing, small try to fix page up/down (this fixes #70889, and fixes a great deal of #53580)
* Add GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group toOwen Taylor2002-02-2112-16/+146
| | | | | | | | | | | | | | | | | | | | Thu Feb 21 16:51:17 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to list of invalid accelerators. (A lot more that should be added, but probably would want a range mechanism. These are the ones found in the standard XFree86 config files.) * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem that broke bindings for menus. * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key() privately. * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use _gtk_window_activate_key(), gtk_bindings_activate_event().
* Remove some workarounds for +/= and shift key handling.Owen Taylor2002-02-218-24/+35
| | | | | | | Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds for +/= and shift key handling.
* Implement "fuzzy" key binding lookups; allow matches on key and level butOwen Taylor2002-02-2134-137/+1254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; allow matches on key and level but not group. Also, implement ignoring "consumed modifiers correctly." * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using GtkKeyHash. * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in the group for key release events as well as key press events. * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Rename unused_modifiers to consumed_modifiers, make the docs and non-Xkb implementation match the Xkb implementation. * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate doc and parameter name changes. * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): XkbTranslateKeyCode doesn't handle LockMask, we need to handle it ourselves. * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency to allow dealing with ISO_Left_Tab. * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c gtk/gtkpaned.c gtk/gtkcombo.c gtk/gtknotebook.c: Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab or <Shift>Tab both are equivalent as a binding specifier.) * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate GTK_RUN_ACTION, so you can bind an accelerator to it. * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call gdk_unicode_to_keyval on the mnemonic character. * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
* Updated.Fatih Demir2002-02-212-598/+431
|
* inconsitent files are .pngs toojacob berkman2002-02-218-1/+36
| | | | | | | 2002-02-21 jacob berkman <jacob@ximian.com> * gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are .pngs too
* Set the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)Owen Taylor2002-02-2110-4/+61
| | | | | | | | | | Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c (gtk_selection_request): Set the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.) * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties of type ATOM_PAIR as well as properties of type ATOM.
* screenshots of examples.Matthias Clasen2002-02-2140-3772/+653
| | | | | | | | | * docs/tutorial/images/*.png: screenshots of examples. * docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add screenshots, fix chapters 1-4 for GTK+ 2.0. * demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
* Many cleanups and fixes. Draw exclusively in expose handler. Feedback whenSoeren Sandmann2002-02-2010-201/+393
| | | | | | | | | | Thu Feb 21 00:31:41 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively in expose handler. Feedback when buttons are depressed. * gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix spinbuttons for RTL langauges.
* new radio buttons. handle inconsistent state for check- and radiobuttons.Soeren Sandmann2002-02-2012-38/+200
| | | | | | | | | | | | | | | Wed Feb 20 23:00:08 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkstyle.c: new radio buttons. handle inconsistent state for check- and radiobuttons. * gtk/theme-bits/check-13-inconsistent.png, gtk/theme-bits/radio-13-inconsistent.png: new files * gtk/theme-bits/radio-13.png: new radio buttons * gtk/theme-bits/Makefile.am (EXTRA_DIST): add new -inconsistent.png files
* Add a XSETTING mapping for gtk-can-change-accels. (#70218, ThomasOwen Taylor2002-02-208-0/+36
| | | | | | | Wed Feb 20 16:19:49 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for gtk-can-change-accels. (#70218, Thomas Leonard.)
* check handler_id before disconnecting the signal handler since it mightSven Neumann2002-02-208-2/+52
| | | | | | | | | 2002-02-20 Sven Neumann <sven@gimp.org> * gtk/gtkcolorsel.c (gtk_color_selection_finalize): check handler_id before disconnecting the signal handler since it might have never been connected if the GtkColorSelection is destroyed before it was realized.
* Fold back Svens g_signal fixes from the examples.Matthias Clasen2002-02-2010-935/+956
| | | | | | | | | * docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from the examples. * docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c, examples/progressbar/Makefile: Make the progressbar example deprecation-clean.
* gtk/gtk-sections.txt updated for treeviewcolumn changes.Sven Neumann2002-02-193-48/+5
| | | | | | | 2002-02-20 Sven Neumann <sven@gimp.org> * gtk/gtk-sections.txt * gtk/tmpl/gtktreeviewcolumn.sgml: updated for treeviewcolumn changes.
* Another fix -- get bug number right *grumble*Kristian Rietveld2002-02-197-7/+7
|
* fixing ChangeLogKristian Rietveld2002-02-197-28/+21
|
* new function (gtk_tree_view_column_create_button): use g_signal_* insteadKristian Rietveld2002-02-1910-22/+168
| | | | | | | | | | | | | | | | | | Tue Feb 19 22:10:59 2002 Kristian Rietveld <kris@gtk.org> * gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new function (gtk_tree_view_column_create_button): use g_signal_* instead of gtk_signal_*, hook up _mnemonic_activate callback (gtk_tree_view_column_update_button): use gtk_label_set_text_width_mnemonic instead of gtk_label_set_text (#69095) * gtktreeview.c (gtk_tree_view_class_init): remove key bindings for C-f and C-b, let treeview search use C-f (instead of C-s) (#61886) * gtkrc.key.emacs: add some GtkTreeView bindings
* fix bug (skipping all black pixels).Soeren Sandmann2002-02-198-3/+45
| | | | | | | Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all black pixels).
* finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACKSven Neumann2002-02-1952-427/+439
| | | | | | | 2002-02-19 Sven Neumann <sven@gimp.org> * examples/*/*.c: finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK and other assorted changes.
* change gtk_tree_view_column_cell_render, gtk_tree_view_column_cell_focus,Kristian Rietveld2002-02-1911-81/+245
| | | | | | | | | | | | | | | | | | | | | Tue Feb 19 17:36:31 2002 Kristian Rietveld <kris@gtk.org> * gtktreeprivate.h, gtktreeviewcolumn.[ch], gtktreeview.c: change gtk_tree_view_column_cell_render, gtk_tree_view_column_cell_focus, gtk_tree_view_column_cell_draw_focus and gtk_tree_view_column_cell_set_dirty to be private functions. * gtktreeviewcolumn.[ch]: add install_handler argument to _cell_set_dirty to control if _mark_rows_col_dirty (which calls install_presize_handler) gets called, set widths correctly so autosizing works (#71870) * gtktreeview.c (gtk_tree_view_column_autosize): new function, (gtk_tree_view_button_press): make double click on column separator resize the row (#71870) (gtk_tree_view_get_dest_row_at_pos): change DnD threshold to 33% (#71869, suggestion by Anders Carlsson)
* Add routines _gtk_find_module(), _gtk_get_module_path() to look up aOwen Taylor2002-02-1915-200/+303
| | | | | | | | | | | | | | | | | Mon Feb 18 23:16:16 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.[ch]: Add routines _gtk_find_module(), _gtk_get_module_path() to look up a module of an arbitrary type in a standard fashion. (#68474) * gtk/gtkrc.c: Make module_path keyword warn and do nothing. Remove the im_module_path keyword. * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix to return the standard path instead of one determined from im_module_path and GTK_IM_MODULE_PATH. * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.
* Trivial formatting fixes to all examples, simple functional fixes toMatthias Clasen2002-02-1951-1450/+1527
| | | | | * docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting fixes to all examples, simple functional fixes to rangewidgets example.
* Select the right item in the family list. (Reported by Mark Patton, PatchOwen Taylor2002-02-189-31/+197
| | | | | | | | | | | | | | | | | | | | Mon Feb 18 18:27:45 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Select the right item in the family list. (Reported by Mark Patton, Patch from Satajyit Kanungo, #64240) * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Update the size and face entry lists as well, fix memory leak. (Also #64240) * gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Allow fractional sizes, unselect the selected row if none matches. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): Fix a bug where the scrolled window would always get focus when focusing out of the child.
* process WM_PAINT messages for bg_pixmap == GDK_NO_BG, fixes The GIMP'sHans Breuer2002-02-1811-3/+121
| | | | | | | | | | | | | | | | | | 2002-02-18 Hans Breuer <hans@breuer.org> * gdk/win32/gdkevents-win32.c : process WM_PAINT messages for bg_pixmap == GDK_NO_BG, fixes The GIMP's canvas rendering glitches on win32 * gdk/win32/gdkinput-win32.c : use g_object_new to create GdkDevice instead of g_new * gtk/gtkpaned.c : make LAST_SIGNAL the last in enum. This avoids to smash totally unrelated static data and resulting random crashes. (as reported on gtk-devel-list, 2002-02-10 : testgtk crashes) * gtk/gtk.def : add new file selection entry points
* Remove support for the poorly defined text/plain type for now. (#55117)Owen Taylor2002-02-189-2/+35
| | | | | | | Mon Feb 18 17:34:43 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c gtk/gtktextview.c: Remove support for the poorly defined text/plain type for now. (#55117)
* Add some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION.Owen Taylor2002-02-1810-22/+165
| | | | | | | | | | | | | | | | | Mon Feb 18 16:44:00 2002 Owen Taylor <otaylor@redhat.com> * docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION. * gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu to the right place before showing the menu to avoid spurious enter events. * gtk/gtkmenu.c (gtk_menu_realize): Only scroll if there is an active menu item. * gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED ALLOC_NEEDED initially.
* fix the version number in NEWSMatthias Clasen2002-02-188-1/+29
|
* ack, remove conflict markerManish Singh2002-02-187-7/+0
|
* don't comment out the lines to dist the packer example, just simply removeManish Singh2002-02-188-3/+49
| | | | | | | | 2002-02-18 Manish Singh <yosh@gimp.org> * Makefile.am: don't comment out the lines to dist the packer example, just simply remove it. (the continuation line confused make even though it was in the comment, barf)