1. 18 Jun, 1998 2 commits
    • Federico Mena Quintero's avatar
      Use pointer<->int conversion macros to avoid warnings. · 25bd56b9
      Federico Mena Quintero authored
      1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
      	g_return_val_if_fail, because the function *does* return a value.
      25bd56b9
    • Tim Janik's avatar
      yeppers, accelerator changes to fix the gimp. commit message dedicated to · f83d57e9
      Tim Janik authored
      
      yeppers, accelerator changes to fix the gimp.
      commit message dedicated to sopwith ;)
      
      Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
              request the size of the accelerator portion of an accel label.
              (gtk_accel_label_size_request): don't request for the accelerators size.
              (gtk_accel_label_expose_event): only draw the accelerator if we got
              enough extra space.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
              width from children.
      
              * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
              object (after removal has been requested) check if there is still an
              accelerator remaining to avoid adding two accelerators on an object.
              this can happen for locked accelerators (or accelerator-frozen widgets).
              (gtk_menu_size_request): feature childrens accelerator width in size
              requests.
      
              * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
              gtk_widget_freeze_accelerators() for dynamically created menu items.
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
              which will return a handler_id > 0 if the specified function is pending
              for `signal_id'.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
              a signal handler function to stop accelerator addition.
              added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
              which will prevent (undo) any accelerators from being added to or
              removed from a widget.
      f83d57e9
  2. 17 Jun, 1998 5 commits
  3. 16 Jun, 1998 6 commits
  4. 15 Jun, 1998 2 commits
    • Owen Taylor's avatar
      Actually add in the files... · 4079c878
      Owen Taylor authored
      4079c878
    • Owen Taylor's avatar
      gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl · 48a9f44f
      Owen Taylor authored
      Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
      	  gtk/Makefile.am gtk/makenums.pl
      
      	Removed out the G_ENUM/FLAGS mechanism in favor
      	of a perl script that parses the standard headers
      	(with occasional /*< nick=foo >*/ style overrides)
      	and extracts the enumerations.
      
      	  gtk/maketypes.awk: Small improvments to the
      	  translation of names. (Avoid splitting gc into
      	  g_c_.)
      
      Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c:
      	Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget,
              and a simple example for testgtk.
      
      Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkentry.c:
      	- Restored gtk_entry_adjust_scroll to static
      	- Changed text positioning code so that we always
      	  display as large a portion of the text as possible.
      
      Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtktext.c (gtk_text_finalize): Free internal
      	structures of text widget. Also, unreference pixmaps
      	when unrealizing.
      
      Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkinputcommon.h (gdk_input_device_new): Change
      	3.3.1 bug workaround to number keys starting at 1.
      
      Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* docs/gtk_tut.sgml: Fixed urls for complete example
      	source for scribble+widget-writing examples.
      48a9f44f
  5. 14 Jun, 1998 5 commits
  6. 13 Jun, 1998 4 commits
  7. 12 Jun, 1998 2 commits
    • Tim Janik's avatar
      renamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be · 1dc1b050
      Tim Janik authored
      Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkpacker.h:
              * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
              and GtkSideType, to be consistent with the rest of Gtk's enum
              definitions. wrapped the enum definitions with the G_ eunm wrappers.
              spelled out the GTK_ANCHOR_* enum values, since single letters don't
              work out corectly as nick-names (left the old values as aliases).
              some signdness corrections (border-width, spacing), could stand more.
      1dc1b050
    • CDT 1998 Shawn T. Amundson's avatar
      Added gtkpacker · cab220ee
      CDT 1998 Shawn T. Amundson authored
      Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
                Added gtkpacker
      
              * examples/packer/pack.c, examples/packer/Makefile: Added
                gtkpacker example
      cab220ee
  8. 11 Jun, 1998 7 commits
  9. 10 Jun, 1998 7 commits
    • Raja R Harinath's avatar
      Remove last remaining file · 122ca000
      Raja R Harinath authored
      122ca000
    • Owen Taylor's avatar
      glib/* Moved to glib module · 7086e475
      Owen Taylor authored
      Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* glib/* Moved to glib module
      
      	* INSTALL Makefile.am acconfig.h autogen.sh configure.in
      	  gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
      
      	  configuration changes for the above:
      
      	  - Use AM_PATH_GLIB by default to find glib; also accept
      	    a --with-glib option for using an uninstalled glib.
      
      	  - Put --enable-debug information into config.h so
      	    that we rebuild when it changes. (was in glibconfig.h)
      7086e475
    • Lars Hamann's avatar
      adapted clist pixmap clipping · 6b61461a
      Lars Hamann authored
              * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
      
              * gtk/gtknotebook.h (struct _GtkNotebookClass):
              * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
              added missing argument (according to Joseph Coleman's bug report)
      
              * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
              function to fix notebook focus handling
      6b61461a
    • Owen Taylor's avatar
      Renamed g_const_pointer => gconstpointer. · 344572dc
      Owen Taylor authored
      344572dc
    • Tim Janik's avatar
      prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this · b70abe38
      Tim Janik authored
      Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
      
              * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
              invoked with (NULL, NULL); (this worked sometime ago).
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: enum and flags type creation can now be done
              through gtk_type_register_enum() and gtk_type_register_flags(),
              which allow to specify the enum value arrays directly.
              the NULL terminated value arrays can be retrived through
              gtk_type_enum_get_values() and gtk_type_flags_get_values();
              (gtk_type_children_types): new function to query derived types.
      b70abe38
    • Tim Janik's avatar
      enum and flags type creation can now be done through · 6430ad63
      Tim Janik authored
      Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: enum and flags type creation can now be done
              through gtk_type_register_enum() and gtk_type_register_flags(),
              which allow to specify the enum value arrays directly.
              the NULL terminated value arrays can be retrived through
              gtk_type_enum_get_values() and gtk_type_flags_get_values();
      6430ad63
    • Raja R Harinath's avatar
      c4865409