1. 12 Jun, 2005 4 commits
  2. 11 Jun, 2005 5 commits
  3. 10 Jun, 2005 9 commits
    • Matthias Clasen's avatar
      Allow setting paragraph background. (#81045, Gustavo Carneiro, patch by · 43f263a0
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Allow setting paragraph background.  (#81045, Gustavo
      	Carneiro, patch by Jeroen Zwartepoorte)
      
      	* gtk/gtktextlayout.c (set_para_values): Propagate
      	pg_bg_color to the display struct.
      	(gtk_text_layout_free_line_display): Free it here.
      
      	* gtk/gtktextdisplay.c (render_para): If pg_bg_color
      	is set, draw a rectangle in that color behind
      	the paragraph.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): Add
      	paragraph-background, paragraph-background-gdk and
      	paragraph-background-set properties.
      	(set_pg_bg_color): A setter for paragraph-background.
      
      	* gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add
      	pg_bg_color.
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): Add
      	pg_bg_color.
      	(struct _GtkTextTag): Add pg_bg_color_set.
      43f263a0
    • Kjartan Maraas's avatar
      Destroy the cairo surface when done with it. Plugs a fairly large leak in · 3003d2ed
      Kjartan Maraas authored
      2005-06-10  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
      	cairo surface when done with it. Plugs a fairly large leak in
      	some cases.
      	==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
      	826 blocks are definitely lost in loss record 25239 of 25250
      	Like this from nautilus.
      3003d2ed
    • Michael Natterer's avatar
      gtk/gtk.symbols new function to get an action's accel_closure (Fixes · e4384dca
      Michael Natterer authored
      2005-06-10  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.symbols
      	* gtk/gtkaction.[ch] (gtk_action_get_accel_closure): new function
      	to get an action's accel_closure (Fixes #141750 and #148106).
      e4384dca
    • Matthias Clasen's avatar
      Generate N_() calls for translatable key names. · 79d82223
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gen-keyname-table.pl: Generate N_() calls for
      	translatable key names.
      
      	* gdk/keynames.txt: Mark some key names as translatable.
      
      	* gdk/keyname-table.h: Regenerated.
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add
      	some context to the msg ids for keyboard modifiers and
      	key names.
      	(_gtk_accel_label_class_get_accelerator_label): Try to
      	translate key names.  (#300224, Christian Rose)
      79d82223
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · ab44ea2b
      Federico Mena Quintero authored
      2005-06-10  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fixes #162358:
      
      	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
      	immediately if we are in CREATE_FOLDER mode, so that we can fill
      	the entry with the newly-selected folder.
      	(gtk_file_chooser_default_set_property): Warn against turning on
      	multiple selection for CREATE_FOLDER mode, or about setting that
      	action while multiple selection is on.
      	(update_chooser_entry): Change the entry's contents as well if we
      	are in CREATE_FOLDER mode.  If nothing is selected, clear the
      	chooser entry.
      	(trap_activate_cb): Don't trap enter/space if modifiers are
      	pressed.  This lets one use Ctrl-space to toggle rows in multiple
      	selection mode.
      	(gtk_file_chooser_default_should_respond): Clean up the if-chain
      	mess of special cases by using an array to determine what to do.
      	Also, for the save-entry case in CREATE_FOLDER mode, actually fix
      	the bug where the file chooser would switch to an existing folder
      	rather than confirming with it, and create the folder ourselves.
      	(error_creating_folder_over_existing_file_dialog): New function.
      
      	* gtk/gtkfilechooserentry.c (check_completion_callback): Only
      	insert the common prefix if we are in an "open" mode.  Use a
      	helper function.
      	(append_common_prefix): New helper function; code moved over from
      	check_completion_callback().
      	(find_common_prefix): New helper function.
      	(gtk_file_chooser_entry_focus): Append the common prefix if the
      	user requests it explicitly.
      ab44ea2b
    • Matthias Clasen's avatar
      · 80bf176f
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand):
      	* gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow):
      	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment):
      	* gtk/gtkscrolledwindow.h:
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus):
      80bf176f
    • Matthias Clasen's avatar
      Doc fixes. · 1a15d98c
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkiconview.c (gtk_icon_view_set_margin):
      	* gtk/gtkicontheme.c (gtk_icon_info_load_icon):
      	* gtk/gtkcalendar.c (gtk_calendar_thaw): Doc fixes.
      1a15d98c
    • Matthias Clasen's avatar
      Small markup fixes. · 0a833115
      Matthias Clasen authored
      0a833115
    • Matthias Clasen's avatar
      Add docs. (#306212, Steve Chaplin, docs provided by Billy Biggs) · abf069c0
      Matthias Clasen authored
      2005-06-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add docs.
      	(#306212, Steve Chaplin, docs provided by Billy Biggs)
      abf069c0
  4. 09 Jun, 2005 5 commits
  5. 08 Jun, 2005 5 commits
  6. 07 Jun, 2005 1 commit
  7. 05 Jun, 2005 1 commit
  8. 04 Jun, 2005 3 commits
    • Tor Lillqvist's avatar
      modules/engines/Makefile.am Decide whether to build the ms-windows theme · b6094053
      Tor Lillqvist authored
      2005-06-05  Tor Lillqvist  <tml@novell.com>
      
      	* modules/engines/Makefile.am
      	* modules/input/Makefile.am: Decide whether to build the
      	ms-windows theme engine based on the GDK backend, not based on
      	platform. (I.e., if building for Cygwin with the X11 backend, we
      	shouldn't build the ms-windows engine, but if building for Cygwin
      	but with the Win32 backend, we should.) Ditto for the IME
      	(Windows) input module. (#305832)
      b6094053
    • Tor Lillqvist's avatar
      gdk/win32/gdkcursor-win32.c gdk/win32/gdkwindow-win32.c Support · d42fa02b
      Tor Lillqvist authored
      2005-06-04  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkcursor-win32.c
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
      	Support cursors with alpha on XP. Use code in common with the
      	support for alpha icons that already was present. (#306101, Tim
      	Evans)
      d42fa02b
    • Tor Lillqvist's avatar
      Render insensitive icons in a way that more closely matches Windows. · 3dde3638
      Tor Lillqvist authored
      2005-06-04  Tor Lillqvist  <tml@novell.com>
      
      	* modules/engines/ms-windows/msw_style.c: Render insensitive icons
      	in a way that more closely matches Windows. (#305986, Tim Evans).
      
      	* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
      	gdk-pixbuf.
      3dde3638
  9. 03 Jun, 2005 1 commit
  10. 26 May, 2005 6 commits