1. 08 Oct, 2008 1 commit
  2. 07 Oct, 2008 4 commits
    • Matthias Clasen's avatar
      Avoid uninitialized memory warnings · f72dd13a
      Matthias Clasen authored
      svn path=/trunk/; revision=21603
      f72dd13a
    • 11:03:30  Tim Janik's avatar
      keep GtkBox as an abstract type and keep _gtk_box_new() as private · ddd556af
      11:03:30 Tim Janik authored
      2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
              as private function until we settle on the exact semantics.
              renamed _gtk_box_set_old_defaults() as suggested by Mitch.
      
      
      svn path=/trunk/; revision=21599
      ddd556af
    • Michael Natterer's avatar
      reindent static prototypes. · a23bb3bf
      Michael Natterer authored
      2008-10-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbox.c: reindent static prototypes.
      
      
      svn path=/trunk/; revision=21598
      a23bb3bf
    • Michael Natterer's avatar
      Bug 553573 – Add orientation API to GtkBox · 97a9867c
      Michael Natterer authored
      2008-10-07  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553573 – Add orientation API to GtkBox
      
      	* gtk/gtkbox.[hh]: implement the GtkOrientable interface and
      	swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
      	which takes a GtkOrientation argument. Also move the newly
      	added "spacing_set" boolean from struct GtkBox to the new
      	private struct.
      
      	* gtk/gtkhbox.[ch]
      	* gtk/gtkvbox.[ch]: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_box_new().
      
      
      svn path=/trunk/; revision=21596
      97a9867c
  3. 06 Oct, 2008 3 commits
  4. 05 Oct, 2008 2 commits
    • Tor Lillqvist's avatar
      Slight editing of last entry. · 6ee15f8e
      Tor Lillqvist authored
      svn path=/trunk/; revision=21589
      6ee15f8e
    • Tor Lillqvist's avatar
      Bug 132501 - Make utility window translate to tool window in win32 · 55d7d50e
      Tor Lillqvist authored
      2008-10-04  Tor Lillqvist  <tml@novell.com>
      
      	Bug 132501 - Make utility window translate to tool window in win32
      
      	Implement the utility window type hint. Such windows are kept on
      	top of other windows. Makes GIMP's toolbox and dock windows behave
      	more like in GNOME under metacity. Apply the same logic also to
      	windows marked with the dialog window type hint, and windows that
      	are transient for some other window. I'll call such windows
      	"transient-type" below.
      
      	* gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
      	variables.
      
      	(ensure_stacking_on_unminimize)
      	(ensure_stacking_on_window_pos_changing)
      	(ensure_stacking_on_activate_app): New functions to implement the
      	desired stacking order. Make sure that a window that is not
      	transient-type stays below any transient-type windows of the
      	application. When activating a non-transient-type window make sure
      	it rises as high as possible.
      
      	(gdk_event_translate): Call above functions on
      	WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
      	unminimizing. Improve debugging printout.
      
      	* gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
      	Handle utility windows like toolbar windows.
      
      	(gdk_window_new_internal) (update_style_bits): Give utility
      	windows the WS_EX_TOOLWINDOW extended style.
      
      	(gdk_window_set_title): If debugging "misc" or "events", make the
      	handle of top-level windows show up in their title bars. Very
      	useful when looking at debugging output.
      
      	(gdk_window_set_keep_above) (gdk_window_set_keep_below)
      	(gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint)
      	(gdk_window_set_skip_pager_hint): Add and improve debugging
      	printout.
      
      	(gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
      
      2008-10-04  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
      	(_gdk_win32_window_pos_bits_to_string): New debugging printout
      	functions. Decode the WS_EX_* and SWP_* bits.
      
      	* gdk/win32/gdkprivate-win32.h: Declare them. Define
      	GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
      	"misc" or "events".
      
      
      svn path=/trunk/; revision=21587
      55d7d50e
  5. 04 Oct, 2008 1 commit
    • Matthias Clasen's avatar
      Add some debug output. · c135a805
      Matthias Clasen authored
      2008-10-03  Matthias Clasen <mclasen@redhat.com>
      
              * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
              debug output.
      
      
      
      svn path=/trunk/; revision=21583
      c135a805
  6. 03 Oct, 2008 2 commits
    • Matthias Clasen's avatar
      Bug 96431 – Can't cut and paste / DND within invisible entry · b08b6c6a
      Matthias Clasen authored
      2008-10-02  Matthias Clasen <mclasen@redhat.com>
      
              Bug 96431 – Can't cut and paste / DND within invisible entry
      
              * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
              entry. Proposed by Owen Taylor
      
      
      svn path=/trunk/; revision=21582
      b08b6c6a
    • Matthias Clasen's avatar
      Bug 530575 – GtkEntry with invisible chars has a confused cursor in · 3a4fea33
      Matthias Clasen authored
      2008-10-02  Matthias Clasen <mclasen@redhat.com>
      
              Bug 530575 – GtkEntry with invisible chars has a confused cursor in
              overwrite mode
      
              * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
              in the layout when positioning the cursor, not the actual text
              content of the entry. This makes a different when using overwrite
              mode in an invisible entry.
              Problem noticed by Jonathan Blandford
      
              * gtk/gtktextutil.c: Fix a typo in a comment
      
      
      svn path=/trunk/; revision=21580
      3a4fea33
  7. 02 Oct, 2008 7 commits
  8. 01 Oct, 2008 4 commits
  9. 30 Sep, 2008 6 commits
    • Michael Natterer's avatar
      Bug 553582 – Add orientation API to GtkSeparator · 2f628559
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553582 – Add orientation API to GtkSeparator
      
      	* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
      	swallow all code from GtkHSeparator and GtkVSeparator. Add
      	gtk_separator_new() which takes a GtkOrientation argument.
      
      	* gtk/gtkhseparator.c
      	* gtk/gtkvseparator.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_separator_new().
      
      
      svn path=/trunk/; revision=21553
      2f628559
    • Marek Kašík's avatar
      Bug 344522 – support non-local destination files (GtkPrint): · 1d7c1e13
      Marek Kašík authored
      2008-09-30  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 344522 – support non-local destination files (GtkPrint):
      
      	* gtk/gtkprintunixdialog.c
      	* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
      	* modules/printbackends/file/gtkprintbackendfile.c: Add ability
      	to save files on non-local filesystems.
      
      svn path=/trunk/; revision=21552
      1d7c1e13
    • Michael Natterer's avatar
      forgot the G_GNUC_CONST of gtk_orientable_get_type(). · 6a3a9c95
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.symbols: forgot the G_GNUC_CONST of
      	gtk_orientable_get_type().
      
      
      svn path=/trunk/; revision=21551
      6a3a9c95
    • Michael Natterer's avatar
      Bug 541009 – Get rid of separate subclasses for horizontal and vertical · ee3ea1b3
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	Bug 541009 – Get rid of separate subclasses for horizontal and
      	vertical orientation:
      
      	* gtk/Makefile.am
      	* gtk/gtk.symbols
      	* gtk/gtk.h
      	* gtk/gtkorientable.[ch]: add new interface GtkOrientable which
      	will be implemented by everything that can switch orientation.
      
      
      svn path=/trunk/; revision=21550
      ee3ea1b3
    • Christian Dywan's avatar
      Fix a typo in the tutorial. · 885dd3ef
      Christian Dywan authored
      2008-09-30  Christian Dywan  <christian@imendio.com>
      
      	Fix a typo in the tutorial.
      
      	* docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
      
      svn path=/trunk/; revision=21549
      885dd3ef
    • Matthias Clasen's avatar
      Bug 553086 – hard to see current immodule · 1c8da0ca
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 553086 – hard to see current immodule
      
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
              Display the actually selected context in the system menuitem.
              Complaint by Akira Tagoh.
      
      
      svn path=/trunk/; revision=21548
      1c8da0ca
  10. 29 Sep, 2008 7 commits
    • Matthias Clasen's avatar
      Bug 530568 – Entries with visibility=FALSE should warn for caps-lock on · 82e001ea
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
              on
      
              * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
              password entries. The warning is also triggered if an input method
              is active. The warning can be turned off using the
              GtkEntry::caps-lock-warning property.
              Proposed by Owen Taylor
      
      
      svn path=/trunk/; revision=21547
      82e001ea
    • Matthias Clasen's avatar
      Add a getter for the the sealed context_id field. · 680c460f
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
              Add a getter for the the sealed context_id field.
      
      
      svn path=/trunk/; revision=21546
      680c460f
    • Matthias Clasen's avatar
      Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. · 859aaf90
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
      
              * gdk/gdk.symbols:
              * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
              a gdk_keymap_get_caps_lock_state function.
      
              * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
              state-changed when caps lock lockedness changes.
      
              * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
              changes in the XkbSelectEventDetails call.
      
      
      svn path=/trunk/; revision=21545
      859aaf90
    • Kristian Rietveld's avatar
      Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over · 978e7800
      Kristian Rietveld authored
      2008-09-29  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
      	over widget
      
      	* gtk/gtkwidget.c (gtk_widget_set_property): after updating
      	tooltip text or markup, call gtk_widget_trigger_tooltip_query()
      	so that existing visible tooltips are updated.
      
      
      svn path=/trunk/; revision=21544
      978e7800
    • Matthias Clasen's avatar
      Bug 371908 – Password Entry broken Bug 317002 – Disable input method · 41edcd30
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 371908 – Password Entry broken
              Bug 317002 – Disable input method completely in GtkEntry when it's
              in invisible mode.
      
              * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
              properly when invisible.
      
              * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
              invisible.
      
              * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
              methods when making the entry invisible.
      
      
      svn path=/trunk/; revision=21543
      41edcd30
    • Emmanuele Bassi's avatar
      Correctly chain up the finalize implementation. · 2b23dc99
      Emmanuele Bassi authored
      2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
      
      	* gdk/x11/gdkinput.c:
      	(gdk_device_class_init), (gdk_device_finalize): Correctly chain
      	up the finalize implementation.
      
      svn path=/trunk/; revision=21542
      2b23dc99
    • Richard Hult's avatar
      Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c · b29d3d40
      Richard Hult authored
      2008-09-29  Richard Hult  <richard@imendio.com>
      
      	Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
      
      	* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
      	Patch from Jon A. Cruz to initialize the allocated selection data.
      
      svn path=/trunk/; revision=21540
      b29d3d40
  11. 28 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 339367 – Incorrect spotlocation · 3f8d98b9
      Matthias Clasen authored
      2008-09-27  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 339367 – Incorrect spotlocation
      
              * modules/input/gtkimcontextxim.c: Correct the spot location
              for on-the-spot style.
      
      svn path=/trunk/; revision=21537
      3f8d98b9
  12. 27 Sep, 2008 2 commits