1. 19 Sep, 2005 2 commits
  2. 18 Sep, 2005 4 commits
    • Hans Breuer's avatar
      now handling events by hard-coded g_signal_emit_by_name() - will break · 7e1f4b5e
      Hans Breuer authored
      2005-09-18  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtktrayicon-win32.c : now handling events by hard-coded
      	g_signal_emit_by_name() - will break when gtkstatusicon.c changes.
      7e1f4b5e
    • Hans Breuer's avatar
      export _gdk_win32_pixbuf_to_hicon() as · 99b5586a
      Hans Breuer authored
      2005-09-18  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.symbols gdk/win32/gdkwin32.h gdk/win32/gdkcursorwin32.c : export
      	_gdk_win32_pixbuf_to_hicon() as gdk_win32_pixbuf_to_hicon_libgtk_only()
      	* gtk/gtktrayicon-win32.c : a lot of debug spew but it has started to show
      	the icon and is blinking with teststatusicon. More to come ...
      99b5586a
    • Hans Breuer's avatar
      fix typo for GTK_VER; define HAVE_CONFIG_H cause gtkprogressbar.c has · e5d06c7c
      Hans Breuer authored
      2005-09-18  Hans Breuer  <hans@breuer.org>
      
      	* gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H
      	cause gtkprogressbar.c has #include <config.h> conditionally; less
      	noise from generated gtk.def
      	* gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated
      
      	* gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile.
      	For me it works as well as the *NIX implemenation, that is not at all.
      
      	* gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string()
      
      	* gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use
      	only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall
      	back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0
      	again - if compiled properly.
      
      	* tests/teststatusicon.c : don't use GNOME icons for testing, but icons
      	already coming with Gtk+. Makes it compile on win32.
      e5d06c7c
    • Guilherme de S. Pastore's avatar
      baf847bd
  3. 15 Sep, 2005 4 commits
    • Tor Lillqvist's avatar
      Check whether the widget actually is a GtkNotebook before treating it as · 6c544097
      Tor Lillqvist authored
      2005-09-16  Tor Lillqvist  <tml@novell.com>
      
      	* modules/engines/ms-windows/msw_style.c (draw_extension,
      	draw_box_gap): Check whether the widget actually is a GtkNotebook
      	before treating it as such. Drop some unneeded local variables,
      	use parameter with same information instead. (#316412)
      6c544097
    • Federico Mena Quintero's avatar
      Start a set of automated tests for the file chooser. The only test in · 329bc4e2
      Federico Mena Quintero authored
      2005-09-15  Federico Mena Quintero  <federico@ximian.com>
      
      	* tests/autotestfilechooser.c: Start a set of automated tests for
      	the file chooser.  The only test in there right now doesn't pass
      	yet.  It specifies the intended behavior of the first optimization
      	of a series which I'll do on the file chooser (see
      	http://primates.ximian.com/~federico/news-2005-09.html#14 for the
      	details of this optimization).
      
      	* tests/Makefile.am: Added autotestfilechooser.c.
      
      	* gtk/gtkfilechooserprivate.h (struct
      	_GtkFileChooserDialogPrivate): Move all the file chooser's private
      	structures to here, so that they can be accessed by
      	tests/autotestfilechooser.c:  _GtkFileChooserDialogPrivate,
      	_GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.
      
      	* gtk/gtkfilechooserdialog.c: See above.
      
      	* gtk/gtkfilechooserwidget.c: See above.
      
      	* gtk/gtkfilechooserdefault.c: See above.
      329bc4e2
    • Tim Janik's avatar
      gtk_window_map_event(): new function to work around lost unmap requests. · 71de8c8e
      Tim Janik authored
      Thu Sep 15 15:27:55 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkwindow.c:
              gtk_window_map_event(): new function to work around lost unmap requests.
              fixes bug #316180.
      71de8c8e
    • Federico Mena Quintero's avatar
      Add an easy-to-find profiling marker when starting to create a file · 14bcc53e
      Federico Mena Quintero authored
      2005-09-14  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
      	an easy-to-find profiling marker when starting to create a file
      	chooser.
      	(browse_files_model_finished_loading_cb): Likewise, for when the
      	chooser is finished loading.
      14bcc53e
  4. 14 Sep, 2005 3 commits
  5. 13 Sep, 2005 8 commits
  6. 11 Sep, 2005 2 commits
    • Matthias Clasen's avatar
      Use gdk_atom_intern_static_string() where appropriate. · af89d145
      Matthias Clasen authored
      	* gtk/*.c:  Use gdk_atom_intern_static_string() where
      	appropriate.
      af89d145
    • Matthias Clasen's avatar
      New function to avoid pointless strdups when creating atoms from static · 797c2e6a
      Matthias Clasen authored
      2005-09-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdk.symbols:
      	* gdk/gdkproperty.h:
      	* gdk/x11/gdkproperty-x11.c (gdk_atom_intern_static_string):
      	New function to avoid pointless strdups when creating atoms
      	from static strings.
      
      	* gdk/x11/gdkdisplay-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkevents-x11.c:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/x11/gdkproperty-x11.c:
      	* gdk/x11/gdkselection-x11.c:
      	* gdk/x11/gdkwindow-x11.c: Use gdk_atom_intern_static_string()
      	where appropriate.
      797c2e6a
  7. 10 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Add a cell renderer for displaying and editing accelerators, a port of · 07600fb1
      Matthias Clasen authored
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcellrendererkeys.h:
      	* gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
      	and editing accelerators, a port of EggCellRendererKeys .
      
      	* gtk/gtk.symbols:
      	* gtk/gtk.h:
      	* gtk/Makefile.am: Add the keys cell renderer.
      
      	* tests/Makefile.am:
      	* tests/testkeys.c: Test GtkCellRendererKeys
      07600fb1
  8. 09 Sep, 2005 10 commits
  9. 08 Sep, 2005 1 commit
    • Tor Lillqvist's avatar
      Cache the display name. There is only one GdkDisplay on Win32, and · 0905c73a
      Tor Lillqvist authored
      2005-09-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
      	display name. There is only one GdkDisplay on Win32, and
      	constructing the display name isn't entirely trivial, so cacheing
      	is probably worth it. For instance GIMP calls this function a lot.
      	(gdk_display_open): Call gdk_display_get_name() to prime the
      	cached name.
      	(gdk_display_get_n_screens, gdk_display_get_screen,
      	gdk_display_get_default_screen): Verify parameter correctness like
      	the X11 backend does.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
      	Return a freshly allocated string, as the API specifies. Fixes a
      	heap corruption problem that caused random errors and crashes in
      	GIMP, for instance.
      0905c73a
  10. 07 Sep, 2005 2 commits
  11. 06 Sep, 2005 3 commits