1. 26 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Use templates for glib-mkenums calls instead of complicated commandlines · 736f86b3
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              Use templates for glib-mkenums calls instead of
              complicated commandlines in Makefiles.  (#429910)
      
              * gdk-pixbuf/Makefile.am:
              * gdk/Makefile.am:
              * gtk/Makefile.am:
              * perf/Makefile.am: Use templates for glib-mkenums
      
              * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
              * gdk/gdkenumtypes.[ch].template:
              * gtk/gtktypebuiltings.[ch].template:
              * perf/typebuiltins.[ch].template: The templates
      
      
      svn path=/trunk/; revision=19053
      736f86b3
  2. 22 Nov, 2007 1 commit
    • 15:39:40  Tim Janik's avatar
      call g_test_init() from gtk_test_init(). · 2dc08ada
      15:39:40 Tim Janik authored
      2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>
      
              * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
      
              * gtk/tests/testing.c: use g_test_add_func() to register tests and use
      	g_test_run() to run the tests to integrate with the testing framework.
      
              * gtk/tests/Makefile.am: removed exemplary testing rules.
      
              * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
              * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
              * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
              * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
              * docs/reference/Makefile.am, docs/tools/Makefile.am:
              * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
              * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
              * demos/gtk-demo/Makefile.am, demos/Makefile.am:
              * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
              * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
              * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
              * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
              * modules/engines/ms-windows/Theme/Makefile.am:
              * modules/engines/ms-windows/Makefile.am:
              * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
              * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
              * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
              * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
              * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
              * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
      	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
      
      
      
      svn path=/trunk/; revision=19033
      2dc08ada
  3. 22 Dec, 2006 1 commit
  4. 08 Oct, 2006 1 commit
  5. 18 Jul, 2006 1 commit
    • Federico Mena Quintero's avatar
      Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the location · 3f498adf
      Federico Mena Quintero authored
      2006-07-18  Federico Mena Quintero  <federico@novell.com>
      
      	Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
      	location entry in Save mode preserve the stuff from
      	set_filename(); it was overwriting it with $cwd.
      
      	This is the same fix for
      	http://bugzilla.gnome.org/show_bug.cgi?id=347066
      
      	* tests/autotestfilechooser.c: (test_black_box): Added black-box
      	test for set_filename() and set_current_name().
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
      	GClassInitFunc in the call to g_type_register_static_simple(), to
      	avoid a compiler warning.
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
      	Added a browse_files_last_selected_name field.  We'll copy the
      	logic from gtkfilesel.c to see when to clear the location entry.
      	(struct _GtkFileChooserDefault): Removed the
      	processing_pending_selections field.
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
      	Free impl->browse_files_last_selected_name.
      	(pending_select_paths_process): Don't use
      	impl->processing_pending_selections.
      	(update_chooser_entry): Keep track of the name that was last
      	selected in the file list.  We use this to know when to clear the
      	location entry.  The logic is similar to that of
      	gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
      	get rid of the processing_pending_selections flag.
      	(update_chooser_entry): Clear the entry if we didn't have a
      	selection before.
      	(location_switch_to_filename_entry): Do not set $cwd as the
      	contents of the location entry here...
      	(location_popup_handler): ... but do it here instead, only as the
      	result of the user asking to turn on the location entry.
      	(gtk_file_chooser_default_get_paths): If the location entry is
      	empty, do the fallback of seeing if it is sensible to say that
      	$cwd is the selected path.
      	(gtk_file_chooser_default_update_current_folder): Don't set the
      	text of the location entry; this is no longer needed with the
      	fixes above.
      	(shortcuts_activate_iter): Clear the location entry when
      	activating a shortcut if we are not in SAVE mode.  This keeps the
      	contents of the location entry consistent even when switching
      	folders via the shortcuts.
      3f498adf
  6. 14 Jun, 2006 2 commits
  7. 29 Jan, 2006 1 commit
  8. 17 Nov, 2005 1 commit
  9. 26 Oct, 2005 1 commit
  10. 03 Aug, 2005 1 commit
  11. 01 Aug, 2005 1 commit
  12. 29 Jul, 2005 1 commit
    • Federico Mena Quintero's avatar
      Update for the new API of the profiler. · b4f52020
      Federico Mena Quintero authored
      2005-07-28  Federico Mena Quintero  <federico@ximian.com>
      
      	* perf/README: Update for the new API of the profiler.
      
      	* perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
      	object.  This is the old content of timers.[ch] turned into a nice
      	object, with signals for creation and reporting.  The profiler
      	needs to maintain some state when reusing the widget, so it's
      	useful to turn it into a real object.
      
      	Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
      	GTK_WIDGET_PROFILER_REPORT_EXPOSE.
      
      	* perf/main.c: Refactor to use GtkWidgetProfiler.
      
      	* perf/appwindow.c (content_area_new): Make this just create a
      	notebook, instead of a complex arrangement of panes.
      
      	* perf/widgets.h: New header file for all the "create a widget"
      	utility functions.
      
      	* perf/treeview.c: New file.  Moved the tree view part from
      	appwindow.c over to here; GtkTreeView really needs its own tests.
      	(tree_view_new): Set the shadow type to IN.
      
      	* perf/textview.c: Likewise moved over from appwindow.c, but for
      	GtkTextView.
      	(text_view_new): Set the shadow type to IN.
      
      	* perf/Makefile.am (testperf_SOURCES): Add the new source files;
      	remove appwindow.h and timers.[ch].
      
      	* perf/timers.[ch]: Removed.
      
      	* perf/appwindow.h: Removed.
      b4f52020
  13. 27 Jul, 2005 1 commit
  14. 26 Jul, 2005 1 commit