- 22 Oct, 2001 15 commits
-
-
Havoc Pennington authored
2001-10-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_get_window_type): fix #62436
-
Havoc Pennington authored
2001-10-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_set_border_window_size): Fix #62366
-
Owen Taylor authored
Mon Oct 22 11:47:47 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtklabel.c: Add cursor-position, selection-bound properties. (#62148, reported by Padraig O'Briain) * gtk/gtkentry.c (gtk_entry_class_init): Rename text_position to cursor_position. (1.3.x addition, text_position is an awful name.) Make cursor_position read-only to avoid sticky questions of interaction with selection_bound. (#62636, reported by Padraig O'Briain)
-
Owen Taylor authored
Mon Oct 22 16:25:12 2001 Owen Taylor <otaylor@redhat.com> Fixing popup menus to have "Paste" sensitized correctly. Original patches from Damian Ivereigh, much mangled. * gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(), gtk_selection_data_targets_include_text(). (#60854) * gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if the clipboard has text" function gtk_clipboard_wait_is_text_available. (#60854) * gtk/gtkentry.c: Only enable the paste item if the clipboard contains text. (#60973) * gtk/gtktextview.c: Only enable the paste item if the clipboard contains text. (#60975)
-
Havoc Pennington authored
2001-10-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_class_init): rip out "height_lines" and "width_columns" properties, it doesn't make sense to set the size request on a text view really. #62103
-
Jonathan Blandford authored
Mon Oct 22 15:17:05 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_iter_depth): Realized g_node_depth is broken, and that it's not worth being consistent with it.
-
Havoc Pennington authored
2001-10-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextiter.c (gtk_text_iter_set_line): Clarify behavior in docs, #61777 (gtk_text_iter_forward_search) (gtk_text_iter_backward_search): change the two boolean args to a flags field, so we can extend to add case insensitive, regexp searches later. #61852
-
Jonathan Blandford authored
Mon Oct 22 15:07:17 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_iter_depth): update docs to reflect reality, #62810
-
Jonathan Blandford authored
Mon Oct 22 14:08:26 2001 Jonathan Blandford <jrb@redhat.com> * demos/gtk-demo/appwindow.c: Remove handle_box from App demo. * gtk/gtktreeview.c (size_allocate): Move to a different drawing system. Instead of having a window the size of the tree, we have a window the size of widget->allocation, and simply draw with the offset. (coords_are_over_arrow): ditto. Move to window coordinates. (do_prelight): ditto (do_unprelight): ditto * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Minor fix from Kristian Rietveld to fix unsorted case.
-
jacob berkman authored
2001-10-22 jacob berkman <jacob@ximian.com> * gtk/gtkclist.c (cell_size_request): don't cast a PIXTEXT cell to a PIXMAP cell (fixes crash when using PIXTEXT cells)
-
Owen Taylor authored
Sat Oct 20 18:58:25 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.h: Deprecate gtk_entry_set_editable. (#58768, Vitaly Tishkov) * gtk/gtkobject.h: Deprecate with abandon. (#61942, Vitaly Tishkov, Matthias Clasen) * gtk/gtksignal.h: Deprecate everything. * gtk/gtkmain.h (GTK_PRIORITY_INTERNAL): Deprecate all GTK_PRIORITY_* defines other than GKT_PRIORITY_RESIZE> (#61942, Matthias Clasen) * gtk/gtkstyle.h: Deprecate gtk_draw_*. (#61140, Havoc Pennington) * gtk/gtkitemfactory.h: Deprecate compat functions for GtkMenuFactory code. (#62071) * gdk/gdkdrawable.h: Deprecate gdk_draw_string, gdk_draw_text,gdk_draw_text_wc. (#62071) * gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}: Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls to gtk_clipboard_get().
-
Owen Taylor authored
Mon Oct 22 10:12:08 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c docs/Changes-2.0.txt (gdk_threads_init): Don't call g_thread_init(), we don't want to link to -lgthread if we don't have to.
-
Owen Taylor authored
Mon Oct 22 08:51:02 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdk.[ch] (gdk_threads_init) docs/Changes-2.0.txt: Add a function, gdk_threads_init() that must be explicitely called to enable the GDK thread mutex.
-
Jakub Steiner authored
-
Owen Taylor authored
Sun Oct 21 23:27:00 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Fix problem with g_return_if_fail return value. * gdk/x11/gdkproperty-x11.c docs/Changes-2.0.txt: Move over the virtual atom code from the gdk-multihead branch, removing the per-display part. Virtualizing atoms needs to be done now to prevent compat breakage in direct Xlib accessing code in the future. (#62208) * gdk/x11/gdkx.h: gdk/gdk/x11/gdkproperty-x11.c: Export gdk_x11_xatom_to_atom, gdk_x11_atom_to_xatom(). * gdk/gdktypes.h docs/Changes-2.0.txt: Make GdkAtom an opaque pointer type so the compiler catches attempts to mingle it with X atoms. * gdk/x11/{gdkdnd-x11.c,gdkevents-x11.c,gdkglobals-x11.c, gdkkeys-x11.c, gdkmain-x11.c, gdkprivate-x11.c, gdkproperty-x11.c, gdkselection-x11.c, gdkwindow-x11.c} gtk/{gtkclist.c,gtkctree.c,gtkdnd.c,gtkplug.c,gtksocket.c} tests/testdnd.c,tests/testselection.c: Fix up for above atom changes. * gdk/gdkselection.h (GDK_SELECTION_CLIPBOARD): Add, since we now have the ability to add custom predefines. * gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}: Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls to gtk_clipboard_get(). * gdk/win32/gdkproperty-win32.c: Add CLIPBOARD, fix up for GdkAtom => pointer change. * gdk/linux-fb/gdkproperty-fb.c: Fix handling of predefined atoms, fix for GdkAtom => pointer change.
-
- 21 Oct, 2001 3 commits
-
-
Kristian Rietveld authored
Mon Oct 22 00:26:46 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtkspinbutton.c: remove ARROW_SIZE constant, use new function spin_button_get_arrow_size() instead. * gtk/gtkstyle.c (gtk_default_draw_arrow): actual size of arrow was hardcoded, it's now variable. Fixes bug #50200
-
Manish Singh authored
-
Manish Singh authored
Sat Oct 20 18:16:04 2001 Manish Singh <yosh@gimp.org> * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check for those
-
- 20 Oct, 2001 2 commits
-
-
Owen Taylor authored
* demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_* in favor of g_signal_*, gtk_object_* in favor of g_object_*.
-
Manish Singh authored
Fri Oct 19 18:35:22 2001 Manish Singh <yosh@gimp.org> * gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly from GObject now, we have to use the g_object_* functions, not gtk_object_*.
-
- 19 Oct, 2001 7 commits
-
-
Kristian Rietveld authored
Fri Oct 19 22:46:54 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtktreemodelsort.[ch]: we probably have rows_reordered nailed down now (this code is not yet ready for general consumption)
-
Manish Singh authored
Fri Oct 19 13:44:51 2001 Manish Singh <yosh@gimp.org> * gtk/gtktreeview.c (gtk_treeview_scroll_to_cell): correct docs for use_align
-
Owen Taylor authored
-
Owen Taylor authored
Fri Oct 19 15:08:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkimcontext.c,gtkimcontextsimple.c,gtkimmulticontext.c} modules/input/{gtkimcontextxim.c,imcyrillic-translit.c,iminuktitut.c, imipa.c,imthai-broken.c,imviqr.c}: Make GtkIMContext derive from GObject, not GtkObject. (#62621)
-
Owen Taylor authored
Fri Oct 19 12:49:12 2001 Owen Taylor <otaylor@redhat.com> * tests/testsocket.c: Remove now useless include of unistd.h, fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
-
Owen Taylor authored
Fri Oct 19 12:24:32 2001 Owen Taylor <otaylor@redhat.com> * gdk/linux-fb/gdkfont-fb.c: Fix up for change to Pango font API. #61933. (Untested, even for compilation.)
-
Owen Taylor authored
Fri Oct 19 11:24:58 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.[ch] (gtk_disable_setlocale): Actually export gtk_disable_setlocale(). (Caught by Sven Neumann)
-
- 18 Oct, 2001 9 commits
-
-
Havoc Pennington authored
2001-10-18 Havoc Pennington <hp@redhat.com> * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_lookup): fix compilation
-
Havoc Pennington authored
2001-10-18 Havoc Pennington <hp@redhat.com> * gtk/gtkbutton.c (gtk_button_class_init): Change button signals to GTK_RUN_LAST, #50239
-
Hidetoshi Tajima authored
* gtk/gtkimmodule.c (match_locale): Support "*" for all locales with least priority when to select default im module, #58201
-
Matthias Clasen authored
* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Fix docs. (#61976) * gtk/gtkplug.c (gtk_plug_get_id) : Fix docs. (#62144) * gtk/gtkliststore.c: Fix docs. (#61672, #61675)
-
Matthias Clasen authored
* gdk/gdkwindow.h, gdk/gdkpixmap.h, gdk/x11/gdkx.h, gdk/x11/gdkwindow-x11.c, gdk/x11/gdkpixmap-x11.c, gdk/win32/gdkwin32.h, gdk/win32/gdkwindow-win32.c, gdk/win32/gdkpixmap-win32.c, gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkwindow-fb.c, gdk/linux-fb/gdkpixmap-fb.c: Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and gkd_pixmap_foreign_new to the gdk frontend api. (#62063) * gtk/gtkselection.c: Remove gdk backend dependencies. (#62063)
-
Matthias Clasen authored
* gtk/gtkspinbutton.c (gtk_spin_button_size_request): Don't restrict the width of the spinbutton entry field to 10 digits. (#58681)
-
Jonathan Blandford authored
Thu Oct 18 14:58:14 2001 Jonathan Blandford <jrb@redhat.com> * tests/testtreeflow.c: new test program for the tree.
-
Jonathan Blandford authored
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug reported by (Oleg Maiboroda), #62600
-
Michael Meeks authored
2001-10-18 Michael Meeks <michael@ximian.com> * gtk/gtkentry.c (gtk_entry_set_property), (gtk_entry_get_property): impl 'text' (gtk_entry_class_init): add the 'text' prop. (gtk_entry_insert_text): notify 'text' changed. (gtk_entry_delete_text): ditto.
-
- 17 Oct, 2001 2 commits
-
-
Matthias Clasen authored
* gtk/gtkdnd.c, gtk/gtkclipboard.c, gdk/x11/gdkmain-x11.c: Documentation updates. * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkclipboard.sgml, gdk/tmpl/general.sgml, gdk/tmpl/threads.sgml, gdk/tmpl/x_interaction.sgml: Updates.
-
Owen Taylor authored
Wed Oct 17 15:17:20 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake in truncating length of text to MAX_SIZE. (Found by Padraig O'Briain, #62055)
-
- 16 Oct, 2001 2 commits
-
-
Owen Taylor authored
Tue Oct 16 17:04:44 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to MNEMONIC_ACTIVATE; signal was changed a long time ago. * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): Fix wrong return statement. (Reported by HideToshi Tajima and others.) * gtk/gtklabel.h (struct _GtkLabelClass): Remove left over select_all vfunc.
-
Owen Taylor authored
Tue Oct 16 15:50:03 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Add a utility function to translate coordinates relative to one widget's allocation to coordinates relative to another widget's allocation. * gtk/gtkradiobutton.c: Add a special ->focus() implementation that: - only accepts external focus if there is no active member of the group or the button is active. - makes arrow keys move the active button as well as the focus - make tab tab out directly. This makes a radio button group act as a single focus location. (#53577). * gtk/gtkcontainer.c (gtk_container_focus): Remove prefiltering - it was only a small optimization that didn't matter and made things more complicated. * gtk/gtkcontainer.c (gtk_container_focus_tab): Get rid of custom sorter for FOCUS_TAB as we did for the other focus directions, sort by center of widgets, not upper-left corner. (Shouldn't matter in general.) * gtk/gtkcontainer.c: Restructure code to remove duplicate code from the different types of focusing: encapsulate sorting the widgets for the focus direction into one routine (gtk_container_focus_sort()) and then share the work of moving the focus between the different focus directions. * gtk/gtkcontainer.c: Fix bug where arrow navigation might not work correctly with focus chains containing non-immediate children. Sorting was being done using allocation coordinates for each widget in the focus chain, and if there were intermediate window-widgets, these allocations would not be in the same coordinate system.
-