1. 10 Sep, 2009 1 commit
    • Matthias Clasen's avatar
      Cleanups · be22a621
      Matthias Clasen authored
      This commit removes dead code, mostly pointed out by clang.
      be22a621
  2. 03 Sep, 2009 1 commit
  3. 31 Aug, 2009 4 commits
  4. 10 Aug, 2009 1 commit
  5. 03 Aug, 2009 1 commit
  6. 10 Jul, 2009 1 commit
    • Marek Kašík's avatar
      Add paper size combo and orientation combo to print dialog · 0ef74c93
      Marek Kašík authored
      Paper size combo and orientation combo can be added by
      gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog
      now. This function induce calling of
      gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of
      dialog. These two functions control embed-page-setup-dialog properties
      in GtkPrintOperation and in GtkPrintUnixDialog.
      There is also new function gtk_print_unix_dialog_get_page_setup_set()
      which says whether page setup was set by user.
      Selected page setup is stored as default page setup in
      GtkPrintOperation.
      New class is added, its name is GtkCustomPaperUnixDialog. The class
      manages custom sizes. It is derived from GtkPageSetupUnixDialog's
      CustomPaperDialog structure.
      Page layout preview is modified, so, it shows dimensions of current
      page setup (mm or inch - depends on locale). It also shows the name of
      actual paper if page setup dialog is not embedded (paper size combo is
      not visible).
      gtk-demo is actualized to include this new feature.
      0ef74c93
  7. 09 Jul, 2009 1 commit
    • Stef Walter's avatar
      GtkEntryBuffer holds text for GtkEntry · eab02f69
      Stef Walter authored
      Adds a 'model' type buffer for GtkEntry in which the actual
      textual data is stored. GtkEntryBuffer can be subclassed.
      
      Among other things, this allows GtkEntry to be used for secrets
      that need to be stored in non-pageable memory. It also allows
      buffers to be shared by entries.
      
      See bug #576801.
      eab02f69
  8. 28 Jun, 2009 1 commit
  9. 25 Jun, 2009 2 commits
  10. 17 Jun, 2009 1 commit
    • Benjamin Otte's avatar
      fix compile warnings · 1a385c50
      Benjamin Otte authored
      Fallout from running make CFLAGS="-Werror"; mostly missing casts and
      constness issues.
      1a385c50
  11. 05 Jun, 2009 1 commit
  12. 11 May, 2009 2 commits
  13. 04 May, 2009 1 commit
  14. 11 Apr, 2009 1 commit
  15. 27 Mar, 2009 1 commit
    • Behdad Esfahbod's avatar
      Bug 437533 – Implement draw_shape PangoRenderer method · d21f55fe
      Behdad Esfahbod authored
      2009-03-27  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 437533 – Implement draw_shape PangoRenderer method
      
              * gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
              (gdk_pango_renderer_class_init): Implement draw_shape
      
              * demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
              (create_fancy_attr_list_for_layout), (rotated_text_expose_event),
              (do_rotated_text):
              1) Port to pangocairo
              2) Also show a rotated label
              3) Install a custom shape renderer on both.  The second one goes
              through gdkpango and hence tests the patch above.  It's working.
      
      
      svn path=/trunk/; revision=22592
      d21f55fe
  16. 01 Mar, 2009 1 commit
  17. 17 Feb, 2009 1 commit
    • Andre Klapper's avatar
      Fix deprecated glib call. · aa22f6c5
      Andre Klapper authored
      2009-02-17  Andre Klapper  <a9016009@gmx.de>
      
      	* demos/gtk-demo/main.c:
      	Fix deprecated glib call.
      
      
      svn path=/trunk/; revision=22349
      aa22f6c5
  18. 18 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      End the search if the window is closed. · ade90af5
      Matthias Clasen authored
             * demos/gtk-demo/search_entry.c: End the search if the window
              is closed.
      
              * demos/gtk-demo/search_entry.c:
              * demos/gtk-demo/entry_completion.c: Group the entry examples
              under "Entry".
      
      
      svn path=/trunk/; revision=22132
      ade90af5
  19. 31 Dec, 2008 1 commit
  20. 26 Dec, 2008 1 commit
  21. 12 Aug, 2008 1 commit
    • Michael Natterer's avatar
      define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. · e0d30ee1
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
      	global CFLAGS.
      
      	* gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
      	visible for GDK_PIXBUF_COMPILATION.
      
      	* contrib/gdk-pixbuf-xlib/Makefile.am
      	* demos/Makefile.am
      	* demos/gtk-demo/Makefile.am
      	* gdk-pixbuf/pixops/Makefile.am
      	* gdk/Makefile.am
      	* gdk/x11/Makefile.am
      	* gtk/Makefile.am
      	* gtk/tests/Makefile.am
      	* gtk/theme-bits/Makefile.am
      	* modules/engines/ms-windows/Makefile.am
      	* modules/engines/pixbuf/Makefile.am
      	* modules/input/Makefile.am
      	* perf/Makefile.am
      	* tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
      
      
      svn path=/trunk/; revision=21096
      e0d30ee1
  22. 11 Aug, 2008 2 commits
    • Sven Neumann's avatar
      demos/gtk-demo/changedisplay.c demos/gtk-demo/clipboard.c · 092187e9
      Sven Neumann authored
      2008-08-11  Sven Neumann  <sven@gimp.org>
      
      	* demos/gtk-demo/changedisplay.c
      	* demos/gtk-demo/clipboard.c
      	* demos/gtk-demo/drawingarea.c
      	* demos/gtk-demo/iconview.c
      	* demos/gtk-demo/images.c
      	* demos/gtk-demo/pixbufs.c: use canonical signal names in the 
      demos.
      
      
      svn path=/trunk/; revision=21074
      092187e9
    • Michael Natterer's avatar
      don't use the deprecated gtk_box_pack_start_defaults(). · 36b3bed6
      Michael Natterer authored
      2008-08-11  Michael Natterer  <mitch@imendio.com>
      
      	* demos/gtk-demo/textscroll.c (create_text_view): don't use the
      	deprecated gtk_box_pack_start_defaults().
      
      
      svn path=/trunk/; revision=21062
      36b3bed6
  23. 18 Jul, 2008 1 commit
    • Federico Mena Quintero's avatar
      Don't do funny casts to avoid compiler warnings · 0278fdcb
      Federico Mena Quintero authored
      2008-07-18  Federico Mena Quintero  <federico@novell.com>
      
      	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
      	do funny casts to avoid compiler warnings.
      
      	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
      
      	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
      
      	* gtk/gtkmodules.c (load_module): Likewise.
      
      	* gtk/gtkselection.c (gtk_selection_convert): Likewise.
      
      	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
      
      	* gtk/queryimmodules.c (query_module): Likewise.
      
      	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
      	(find_widget_at_pointer): Likewise.
      Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=20862
      0278fdcb
  24. 06 Jul, 2008 1 commit
  25. 03 Jul, 2008 2 commits
  26. 02 Jul, 2008 1 commit
    • Kristian Rietveld's avatar
      Bug 455268 - Add gtk-enable-tooltips GtkSetting · 4cceb2f1
      Kristian Rietveld authored
      2008-07-02  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 455268 - Add gtk-enable-tooltips GtkSetting
      
      	* gtk/gtk.symbols:
      	* gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
      
      	* gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
      
      	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
      	introduced XSetting into account.
      
      	* demos/gtk-demo/appwindow.c: don't use the now deprecated
      	gtk_toolbar_set_tooltips().
      
      
      svn path=/trunk/; revision=20730
      4cceb2f1
  27. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  28. 20 Jun, 2008 1 commit
  29. 19 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Use g_object_new instead of gtk_widget_new · 1a30e125
      Johan Dahlin authored
      2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
      
          * demos/testpixbuf.c (new_testrgb_window):
          * gtk/gtkctree.c (gtk_ctree_new_with_titles):
          * gtk/gtkitemfactory.c (gtk_item_factory_construct),
          (gtk_item_factory_create_item):
          * gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
          * gtk/gtkprogressbar.c (gtk_progress_bar_new),
          (gtk_progress_bar_new_with_adjustment):
          * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
          * gtk/gtktext.c (gtk_text_new):
          * gtk/gtkviewport.c (gtk_viewport_new):
          * tests/simple.c (main):
          * tests/testgtk.c (create_statusbar), (create_get_image),
          (create_saved_position), (create_tooltips), (create_cursors),
          (create_display_screen), (create_progress_bar), (create_idle_test):
          * tests/testmultidisplay.c (make_selection_dialog), (main):
          * tests/testmultiscreen.c (main):
          * tests/testrgb.c (new_testrgb_window):
          Use g_object_new instead of gtk_widget_new
      
      
      svn path=/trunk/; revision=20462
      1a30e125
  30. 28 May, 2008 1 commit
  31. 08 Apr, 2008 1 commit
    • Tor Lillqvist's avatar
      Mark these functions with G_MODULE_EXPORT. · 54706ddd
      Tor Lillqvist authored
      2008-04-08  Tor Lillqvist  <tml@novell.com>
      
      	* demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
      	these functions with G_MODULE_EXPORT.
      
      
      svn path=/trunk/; revision=19985
      54706ddd
  32. 31 Mar, 2008 1 commit
  33. 02 Mar, 2008 1 commit
    • Johan Dahlin's avatar
      Add translatable/context and comment attributes on <col> tags under a · e2534d54
      Johan Dahlin authored
      2008-02-29  Johan Dahlin  <johan@gnome.org>
      
      	* demos/gtk-demo/demo.ui:
      	* gtk/gtkbuilderparser.c:
      	* gtk/gtkbuilderprivate.h:
      	* gtk/gtkliststore.c:
      	* tests/buildertest.c:
      	Add translatable/context and comment attributes on
      	<col> tags under a GtkListStore. Refactor parts of the
      	translation api and make it available inside gtk+ itself.
      	Update tests and example.
      	Fixes a part of #518642
      
      
      svn path=/trunk/; revision=19685
      e2534d54