1. 26 May, 2007 5 commits
    • Richard Hult's avatar
      Fix typo to get the build working. · b12112dd
      Richard Hult authored
      2007-05-26  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
      	build working.
      
      svn path=/trunk/; revision=17926
      b12112dd
    • Matthias Clasen's avatar
      More of the same · 2470acff
      Matthias Clasen authored
      svn path=/trunk/; revision=17925
      2470acff
    • Matthias Clasen's avatar
      Require gtk-doc 1.6, for signal and property links. · b80b5260
      Matthias Clasen authored
      2007-05-26  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.6, for signal and property links.
              * gtk/gtkbox.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkdialog.c:
              * gtk/gtkentry.c:
              * gtk/gtkimage.c:
              * gtk/gtklabel.c:
              * gtk/gtkmisc.c:
              * gtk/gtksettings.c:
              * gtk/gtkwidget.c: Documentation improvements, link signals
              and properties where it makes sense.
      
      svn path=/trunk/; revision=17924
      b80b5260
    • Matthias Clasen's avatar
      Formatting fixes. · d8e3fc2b
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextmark.c:
              * gtk/gtktextbuffer.c: Formatting fixes.
      
      
      
      svn path=/trunk/; revision=17923
      d8e3fc2b
    • Matthias Clasen's avatar
      Allow to separate GtkTextMark creation from buffer insertion. (#132818, · 6ac30db0
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Allow to separate GtkTextMark creation from buffer insertion.
              (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
      
              * gtk/gtktextmarkprivate.h:
              * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
              create a GtkTextMark.
      
              * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
              function to add an existing mark to a buffer.
      
              * gtk/gtktextbtree.c: Allow adding existing marks.
      
              * gtk/gtk.symbols: Add new functions.
      
              * tests/testtextbuffer.c: Add some tests for new mark
              functionality.
      
      
      svn path=/trunk/; revision=17922
      6ac30db0
  2. 25 May, 2007 6 commits
  3. 24 May, 2007 2 commits
  4. 23 May, 2007 4 commits
    • Matthias Clasen's avatar
      Add some missing symbols. · 451b0a7b
      Matthias Clasen authored
      2007-05-23   Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gdk/x11/xsettings-common.h:
              * gdk/gdk.symbols: Add some missing symbols.
      
              * gtk/paper_names_offsets.c:
              * gtk/gen-paper-names.c: Make variables static.
      
              * gtk/gtktooltip.[hc]:
              * gtk/gtkvolumebutton.c:
              * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
      
      svn path=/trunk/; revision=17899
      451b0a7b
    • Yevgen Muntyan's avatar
      missing #include <ctype.h>. · 1a534510
      Yevgen Muntyan authored
      2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint):
      	* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
      	* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
      	* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
      	* gtk/gtkpreview.c (gtk_preview_finalize):
      	* gtk/gtknotebook.c (gtk_notebook_set_group_id):
      	* tests/testnotebookdnd.c (window_creation_function):
      	* tests/testiconview.c (do_popup_menu):
      	Fixed some compiler warnings (#440689).
      
      svn path=/trunk/; revision=17898
      1a534510
    • Kristian Rietveld's avatar
      translate coordinates from the window they were received on to the event · 5e59105e
      Kristian Rietveld authored
      2007-05-23  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
      	from the window they were received on to the event widget's window;
      	correct for no-window widgets after that, bail out on failure.  This
      	makes the coordinates given by GtkWidget::query-tooltip truly relative
      	to widget->window.  (#435188).
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
      	GtkWidget::query-tooltip.
      
      
      svn path=/trunk/; revision=17896
      5e59105e
    • Behdad Esfahbod's avatar
      Don't create new pango fontmaps. Use the default pangocairo fontmap and · 4fd4f44d
      Behdad Esfahbod authored
      2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
      
              * gtk/gtkprintcontext.c (gtk_print_context_finalize),
              (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
              (gtk_print_context_set_cairo_context),
              (gtk_print_context_get_pango_fontmap),
              (gtk_print_context_create_pango_context):
              Don't create new pango fontmaps.  Use the default pangocairo
              fontmap and set resolution on PangoContext instead. (#417707)
      
      
      svn path=/trunk/; revision=17893
      4fd4f44d
  5. 21 May, 2007 3 commits
    • Michael Natterer's avatar
      revert last change. · b3ce266b
      Michael Natterer authored
      2007-05-21  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
      
      
      svn path=/trunk/; revision=17886
      b3ce266b
    • Tim Janik's avatar
      removed redundant check. · 1ba507f0
      Tim Janik authored
      Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
      
      
      
      svn path=/trunk/; revision=17885
      1ba507f0
    • Tor Lillqvist's avatar
      Make it work better with multiple monitors. · dcf81c53
      Tor Lillqvist authored
      2007-05-21  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
      	multiple monitors.
      
      
      svn path=/trunk/; revision=17881
      dcf81c53
  6. 19 May, 2007 6 commits
    • Bastien Nocera's avatar
      Add the GtkVolumeButton widget, a button that pops up a scale when clicked · 9477c918
      Bastien Nocera authored
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
      	a button that pops up a scale when clicked (Closes: #415775)
      	* tests/Makefile.am:
      	* tests/testvolumebutton.c: Add a test program for the
      	volume button
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* POTFILES.in: Add volume button to the list
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
              * gtk/gtk-sections.txt: Add the GtkVolumeButton widget
      	to the docs
      
      
      svn path=/trunk/; revision=17877
      9477c918
    • Bastien Nocera's avatar
      reviewed by: Matthias Clasen <mclasen@redhat.com> · 6baa568f
      Bastien Nocera authored
      2007-05-19  Bastien Nocera  <hadess@hadess.net>
      
      	reviewed by: Matthias Clasen <mclasen@redhat.com>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
      	a button that pops up a scale when pressed
      
      2007-05-19  Bastien Nocera  <hadess@hadess.net>
      
      	* POTFILES.in: Add scale button to the list
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* gtk/gtk-docs.sgml:
      	* gtk/gtk-sections.txt: add the GtkScaleButton widget
      	to the docs
      
      
      svn path=/trunk/; revision=17876
      6baa568f
    • Matthias Clasen's avatar
      Deprecate gtk_notebook_[gs]et_group_id in favour of new functions · 40d59813
      Matthias Clasen authored
      2007-05-19  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
              in favour of new functions gtk_notebook_[gs]et_group, which
              takes a pointer as group identifier and makes it easier to
              avoid group id collisions.  (#386930, Christian Hammond)
      
              * tests/testnotebookdnd.c: Use new grouping api.
      
      
      
      svn path=/trunk/; revision=17873
      40d59813
    • Matthias Clasen's avatar
      Warn and refuse to add actions with duplicate names. (#150877, Tommi · 924d6fdc
      Matthias Clasen authored
      2007-05-18  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkactiongroup.c: Warn and refuse to add actions with
              duplicate names.  (#150877, Tommi Komulainen)
      
      
      
      svn path=/trunk/; revision=17872
      924d6fdc
    • Matthias Clasen's avatar
      Add gtk_entry_[gs]et_cursor_hadjustment() to allow automatic scrolling in · 4c1173b7
      Matthias Clasen authored
      2007-05-18  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
              to allow automatic scrolling in response to cursor movements
              in the entry.  (#438651, Nate Nielsen)
      
      
      
      svn path=/trunk/; revision=17871
      4c1173b7
    • Matthias Clasen's avatar
      Fix the build · 5d5e5459
      Matthias Clasen authored
      svn path=/trunk/; revision=17870
      5d5e5459
  7. 18 May, 2007 10 commits
    • Matthias Clasen's avatar
      Add a toggle-cursor-visibility keybinding signal, and bind F7 to it. · 26e5d4d6
      Matthias Clasen authored
      2007-05-18  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
              signal, and bind F7 to it.  (#380048, Tim Miao)
      
      
      
      svn path=/trunk/; revision=17869
      26e5d4d6
    • Matthias Clasen's avatar
      Add a function to look up an icon from a list of icon names. (#396901, · b82c9dc5
      Matthias Clasen authored
      2007-05-18  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkicontheme.h:
              * gtk/gtkicontheme.c: Add a function to look up an icon from
              a list of icon names.  (#396901, Luca Ferretti)
      
      
      
      svn path=/trunk/; revision=17868
      b82c9dc5
    • Emmanuele Bassi's avatar
      Reset the state on dispose. · 52119349
      Emmanuele Bassi authored
      2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserdefault.c:
      	(gtk_recent_chooser_default_dispose): Reset the state on dispose.
      
      	(cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
      	is a valid state, if the main loop never had the chance to
      	properly spin at least once. (#438671)
      
      svn path=/trunk/; revision=17866
      52119349
    • Emmanuele Bassi's avatar
      Mark string for translation. (#439437) · 963067da
      Emmanuele Bassi authored
      2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
      	string for translation. (#439437)
      
      svn path=/trunk/; revision=17865
      963067da
    • Matthias Clasen's avatar
      Fix a typo · 46703032
      Matthias Clasen authored
      svn path=/trunk/; revision=17864
      46703032
    • Carlos Garnacho's avatar
      remove c++ style comment. · 5938f6ad
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkexpander.c: remove c++ style comment.
      
      
      svn path=/trunk/; revision=17862
      5938f6ad
    • Carlos Garnacho's avatar
      Make combobox menu popdown keybindable (#433593) · 1dc2df15
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              Make combobox menu popdown keybindable (#433593)
      
              * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
              signal and keybindings.
              (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
              handler.
              (gtk_combo_box_menu_key_press):
              (gtk_combo_box_list_key_press): forward the event to the combobox if
              it wasn't handled by the menu.
      
      
      svn path=/trunk/; revision=17861
      1dc2df15
    • Carlos Garnacho's avatar
      Allow widgets up in the hierarchy to run their DnD handlers if the target · b2128325
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
              (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
              their DnD handlers if the target doesn't match with anything the
              notebook manages. (#350665, Joakim Lundborg).
      
      
      svn path=/trunk/; revision=17860
      b2128325
    • Carlos Garnacho's avatar
      Refactor GtkFileChooserDialog sizing. · 7bb7cfb2
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              Refactor GtkFileChooserDialog sizing.
      
              * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
              (_gtk_file_chooser_embed_get_resizable_hints):
              s/resizable_hints/resizable/, return just one boolean value to
              determine whether the filechooser should be resizable or not.
      
              * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
              variables related to the GtkFileChooserEmbed get_default_size() and
              get_resizable() implementations.
              (struct GtkFileChooserDefault): Move default size management here.
      
              * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
              Added, store currently allocated size to calculate default size later.
              (gtk_file_chooser_default_get_resizable_hints):
              s/resizable_hints/resizable/.
              (gtk_file_chooser_default_set_property): Reload settings if the file
              chooser action changes, this way the save expander state will be known
              before mapping the window, avoiding wrong window positioning and
              flickering. (#424299, #424309)
              (find_good_size_from_style): Only get size from style if it wasn't set
              previously.
              (gtk_file_chooser_default_get_default_size): return default size based
              on stored default size and preview/extra widget sizes.
      
              * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
              (file_chooser_widget_realized_size_changed)
              (file_chooser_widget_unrealized_size_changed): simplified to
              (file_chooser_widget_size_changed): set window size and resizability
              based on the GtkFileChooserEmbed interface implementation. (Bug
              #420285, Tomeu Vizoso)
              (gtk_file_chooser_dialog_map): force a dialog size change, so it's
              clamped for sure to the 75% of the screen size.
      
      
      svn path=/trunk/; revision=17859
      7bb7cfb2
    • Carlos Garnacho's avatar
      Do not unset the brand new current page if there was none set previously. · a1498f76
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
              the brand new current page if there was none set previously. Fixes
              #425138 (Reported by Michail Crayson). Some code simplifications.
              (gtk_notebook_draw_arrow): code style fix.
      
      
      svn path=/trunk/; revision=17858
      a1498f76
  8. 16 May, 2007 1 commit
  9. 15 May, 2007 1 commit
  10. 14 May, 2007 2 commits