Commit Graph

1094 Commits

Author SHA1 Message Date
Carsten Haitzler
2abc008e51 file arrow_up1.png was initially added on branch themes-2. 1998-08-11 03:05:25 +00:00
Carsten Haitzler
d6aa14f9ac file arrow_right3.png was initially added on branch themes-2. 1998-08-11 03:05:24 +00:00
Carsten Haitzler
2e8dae28fd file arrow_right2.png was initially added on branch themes-2. 1998-08-11 03:05:23 +00:00
Carsten Haitzler
19cc4bc416 file arrow_right1.png was initially added on branch themes-2. 1998-08-11 03:05:22 +00:00
Carsten Haitzler
708e45dd43 file arrow_left3.png was initially added on branch themes-2. 1998-08-11 03:05:20 +00:00
Carsten Haitzler
965e34a43c file arrow_left2.png was initially added on branch themes-2. 1998-08-11 03:05:19 +00:00
Carsten Haitzler
874b1d06e7 file arrow_left1.png was initially added on branch themes-2. 1998-08-11 03:05:18 +00:00
Carsten Haitzler
a698395064 file arrow_down3.png was initially added on branch themes-2. 1998-08-11 03:05:17 +00:00
Carsten Haitzler
e53b16ed74 file arrow_down2.png was initially added on branch themes-2. 1998-08-11 03:05:16 +00:00
Carsten Haitzler
fe7211b9c2 file arrow_down1.png was initially added on branch themes-2. 1998-08-11 03:05:15 +00:00
Lars Hamann
3184f21f0a Fix for resize bug. Call gtk_widget_size_allocate instead of
Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
        gtk_widget_size_allocate instead of gtk_widget_queue_resize
        if the visibility state of a scrollbar changes.
1998-08-10 17:56:43 +00:00
Tim Janik
d86059ea5a fixed an #include statement (reported by Eric Kidd).
Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
1998-08-10 10:52:08 +00:00
Shawn Amundson
c355f84a19 file gtk_vbox.pod was initially added on branch gtk-1-0. 1998-08-07 03:12:10 +00:00
Shawn Amundson
25884cfbf5 file gtk_hbox.pod was initially added on branch gtk-1-0. 1998-08-07 03:12:09 +00:00
Shawn Amundson
123d1f2673 file gtk.pod was initially added on branch gtk-1-0. 1998-08-07 03:12:06 +00:00
Tim Janik
c493091772 hm, someone changed an enum and didn't update auto-files... 1998-08-07 02:54:23 +00:00
Stefan Jeske
b7afebffed Renamed my_merge and my_mergesort to gtk_clist_merge and
Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkclist.c: Renamed my_merge and my_mergesort to
 	gtk_clist_merge and gtk_clist_mergesort. :)
1998-08-06 20:49:24 +00:00
Raph Levien
2a98c4a504 Fixed some minor comment typos and added myself to AUTHORS in gtk+. 1998-08-06 04:09:40 +00:00
Martin Baulig
123709106e Renamed merge' -> my_merge' and mergesort' -> my_mergesort'.
1998-08-06  Martin Baulig  <martin@home-of-linux.org>

	* gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
	`mergesort' -> `my_mergesort'.
1998-08-06 02:20:47 +00:00
Stefan Jeske
c8df83a2fe new enum GtkSortType.
Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkenums.h: new enum GtkSortType.

	* gtk/gtkclist.h:
	* gtk/gtkclist.c:
	Added sorting capabilities to GtkCList. New APIs :
	gtk_clist_set_compare_func, gtk_clist_set_sort_column,
	gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
	New internal functions : default_compare, merge, mergesort.

	(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.

	(gtk_clist_insert): Modified to handle gtk_clist_append and the
	auto sort flag. Changed the return value from void to gint to
	return the row number where the element was actually inserted.

	(gtk_clist_swap_rows): Return immediately if auto sort flag is set.

	* gtk/gtkctree.h:
	* gtk/gtkctree.c:
	Removed the auto_sort flag, replaced ctree->node_compare with
	clist->compare all over the place, modified default_compare to
	match clist's needs. Removed APIs : gtk_ctree_set_auto_sort,
	gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.

	* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
	sorting. The lists can be sorted by a column by clicking the
	corresponding title button.
1998-08-05 20:02:32 +00:00
PDT 1998 Shawn T. Amundson
e48d4e7159 Released GTK+ 1.1.1
Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.1
1998-08-05 05:04:30 +00:00
Lars Hamann
e3b8e18524 changed to return a gboolean (gtk_ctree_insert_gnode): new function for
Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkctree.h:
        * gtk/gtkctree.c:
        (gtk_ctree_find): changed to return a gboolean
        (gtk_ctree_insert_gnode): new function for recursive insertion of a
        GNode tree.
        (gtk_ctree_real_select_recursive): fix for extended selection
        (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
        (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
1998-08-05 02:11:32 +00:00
Tim Janik
c4b3014e09 version bump to 1.1.1, binary age 0, interface age 0. GLib version 1.1.1
Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>

        * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
        GLib version 1.1.1 is now required at minimum.

        * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
        of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
1998-08-04 23:44:27 +00:00
Owen Taylor
ed3c12aa5f Added missing else 1998-08-04 15:07:55 +00:00
Owen Taylor
f7a5303612 Undraw the cursor before (possibly) deleting the cursor's text property.
Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>

 	* gtk/gtktext.c (gtk_text_forward_delete): Undraw the
 	  cursor before (possibly) deleting the cursor's text
 	  property.

 	* gtk/gtktext.c (correct_cache_delete): More attempts
 	  to clean the line-start cache up after inserting
 	  a property. Among other things, make sure to
 	  fix up text->current_line, since it is used to
 	  refetch the changed lines.
1998-08-04 14:56:44 +00:00
Owen Taylor
790a6ae5b2 Empty rows/columns of the table should not have been marked as being able
Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktable.[ch]: Empty rows/columns of the table
        should not have been marked as being able to shrink.
	(Fixes prorlem with shrinking scrollbarless GIMP canvases)
1998-08-04 14:55:04 +00:00
Michael Fulbright
fb8cd9520f Changed a %postun to a %preun, should get rid of errors when uninstalling
Dr Mike <msf@redhat.com>
1998-08-04 14:34:23 +00:00
Federico Mena Quintero
f8a40e214a New public function to find a row by its data pointer using a custom
1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
	function to find a row by its data pointer using a custom
	comparison function.
1998-08-03 19:50:23 +00:00
Vincent Renardias
08d246be89 Mon, 3 Aug 1998 20:08:46 +0200 [Vincent]
* French version of the Gtk+ tutorial contributed by Eric Jacoboni <jaco@dotcom.fr>
1998-08-03 18:05:06 +00:00
George Lebl
2a1cd0c42e don't you hate it when you apply the wrong patch and discover it only
after applying it and committing
-George
1998-08-03 06:22:41 +00:00
George Lebl
fba2b02b10 draw the buttons during a "draw" as well, this fixes a bug when the whole
Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>

        * gtk/gtkclist.c: draw the buttons during a "draw" as well,
          this fixes a bug when the whole widget is made non-sesitive
          the buttons weren't redrawn
1998-08-03 05:58:49 +00:00
Lars Hamann
c3c5e72151 reset drag_pos after abort removed a few unneeded lines fixed compiler
Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
	* gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
	* gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
1998-08-02 22:18:20 +00:00
Owen Taylor
d597937560 Change window_private->parent pointer when reparenting.
Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>

        * gdk/gdkwindow.c (gdk_window_reparent): Change
          window_private->parent pointer when reparenting.
1998-08-02 07:15:00 +00:00
Raph Levien
7ba4ba0d2f Made some config changes to make it work better both as a standalone
module (i.e. with Gtk 1.0) and as a module under Gtk 1.1+, i.e. harmonized
with the separate GdkRgb release.
1998-08-02 05:39:47 +00:00
Lars Hamann
8ad52d1024 Few fixes for column resize. Store resize column in clist->drag_pos.
Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
        (gtk_clist_button_release) (new_column_width): Few fixes for
        column resize. Store resize column in clist->drag_pos.

Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkctree.h
        * gtk/gtkctree.c
        * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
        to GtkCTreeNode *node.

        * gtk/gtklist.h : added extended selection mode and auto scrolling.
        (struct _GtkList): removed unneeded variables timer, button,
        selection_start_pos, selection_end_pos, scroll_direction, have_grab.
        Added new variables undo_selection, undo_unselection, last_focus_child,
        undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
        drag_selection, add_mode.

        New functions :
        (gtk_list_extend_selection), (gtk_list_start_selection),
        (gtk_list_end_selection), (gtk_list_select_all),
        (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
        (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
        (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
        (gtk_list_undo_selection), (gtk_list_end_drag_selection)

        * gtk/gtklist.c :
        (gtk_list_enter_notify): removed, because auto scrolling now works
        with gtk_list_motion_notify

        New functions, needed for auto scrolling :
        (gtk_list_motion_notify) (gtk_list_move_focus_child)

        New functions for extended selection support :
        (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
        (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
        (gtk_list_focus_lost)

        (gtk_list_set_focus_child): modified gtk_container_set_focus_child
        function to support auto scrolling, and avoid out-of-sync errors in
        case auf GTK_SELECTION_BROWSE
        (gtk_list_focus): modified gtk_container_focus function to avoid out
        off sync errors in case auf GTK_SELECTION_EXTENDED

        * gtk/gtklistitem.h
        * gtk/gtklistitem.c :
        New signal functions for key binding support :
        (toggle_focus_row), (select_all), (list_item), (unselect_all)
        (list_item), (undo_selection), (start_selection), (end_selection)
        (extend_selection), (scroll_horizontal), (scroll_vertical),
        (toggle_add_mode)
        (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
        GDK_KEY_RELEASE_MASK
        (gtk_list_item_draw_focus): modify gc if parent has add_mode set.

        * gtk/gtkcombo.c :
        (gtk_combo_popup_button_press):  grab pointer for combo->list
        (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
        (gtk_combo_list_key_press): take care of which child HAS_GRAB
        (gtk_comb_init): don't connect combo->button with button_release_event
1998-07-31 20:48:06 +00:00
Carsten Haitzler
cf7b958af5 file pixmap_theme_main.c was initially added on branch themes-2. 1998-07-31 16:47:50 +00:00
Carsten Haitzler
1616d67d81 file pixmap_theme_draw.c was initially added on branch themes-2. 1998-07-31 16:47:49 +00:00
Carsten Haitzler
c312e81604 file pixmap_theme.h was initially added on branch themes-2. 1998-07-31 16:20:32 +00:00
Carsten Haitzler
bd745719cf file b_full.png was initially added on branch themes-2. 1998-07-30 18:53:11 +00:00
Carsten Haitzler
e884fc143d file b3.png was initially added on branch themes-2. 1998-07-30 18:53:10 +00:00
Carsten Haitzler
0e6bf066c6 file b2.png was initially added on branch themes-2. 1998-07-30 18:53:09 +00:00
Carsten Haitzler
0d1978edbf file b1.png was initially added on branch themes-2. 1998-07-30 18:53:08 +00:00
Carsten Haitzler
ddabef3c49 file b0.png was initially added on branch themes-2. 1998-07-30 18:53:07 +00:00
Carsten Haitzler
dcc96c09bd file _rulev.png was initially added on branch themes-2. 1998-07-30 18:53:06 +00:00
Carsten Haitzler
032196b9dd file _ruleh.png was initially added on branch themes-2. 1998-07-30 18:53:04 +00:00
Carsten Haitzler
f6665c9c0a file _prog_vgrad.png was initially added on branch themes-2. 1998-07-30 18:53:03 +00:00
Carsten Haitzler
e6f7751958 file _option2.png was initially added on branch themes-2. 1998-07-30 18:53:02 +00:00
Carsten Haitzler
93ab7875e4 file _option1.png was initially added on branch themes-2. 1998-07-30 18:53:01 +00:00
Carsten Haitzler
b7ab832906 file _focus.png was initially added on branch themes-2. 1998-07-30 18:53:00 +00:00
Carsten Haitzler
b5658eeaef file _check2.png was initially added on branch themes-2. 1998-07-30 18:52:59 +00:00