1. 08 Feb, 2007 2 commits
    • Emmanuele Bassi's avatar
      Keep count of the displayed items to build the menu items mnemonic instead · ada17822
      Emmanuele Bassi authored
      2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
      	of the displayed items to build the menu items mnemonic instead
      	of the overall item count. (#377164)
      
      	(idle_populate_clean_up): Append a menu item if all the items
      	got filtered in the idle populate function. (#405696)
      
      svn path=/trunk/; revision=17277
      ada17822
    • Tim Janik's avatar
      applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to · 8a8202ce
      Tim Janik authored
      Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
      
              * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
              GtkButtonBox (bug #336159).
      
              * gtk/gtkenums.h:
              * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
              support GTK_BUTTONBOX_CENTER.
      
              * tests/testbbox.c: new button box test, which allows testing of 
              the various button box properties.
      
              * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
      
      
      
      svn path=/trunk/; revision=17276
      8a8202ce
  2. 07 Feb, 2007 3 commits
  3. 06 Feb, 2007 6 commits
    • Tim Janik's avatar
      fixed typo · 94e19baa
      Tim Janik authored
      svn path=/trunk/; revision=17270
      94e19baa
    • Tim Janik's avatar
      call gdk_event_request_motions() for new motion events after receiving · caa4d15d
      Tim Janik authored
      Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
      
              * gtk/gtktextview.c (gtk_text_view_motion_event):
              * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
              * gtk/gtkaboutdialog.c (credits_motion_notify_event):
              * gtk/gtkhruler.c (gtk_hruler_motion_notify):
              * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
              * gtk/gtkentry.c (gtk_entry_motion_notify):
              * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
              * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()                              
              for new motion events after receiving motion hints.
      
              * gdk/gdkevents.[hc]: added gdk_event_request_motions().
      
      
      
      svn path=/trunk/; revision=17269
      caa4d15d
    • Matthias Clasen's avatar
      Protect against stop_load begin broken. (#403255, Lucas Mazzardo Veloso) · aef468eb
      Matthias Clasen authored
      2007-02-06  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Protect
              against stop_load begin broken.  (#403255, Lucas Mazzardo Veloso)
      
      
      
      svn path=/trunk/; revision=17267
      aef468eb
    • Kristian Rietveld's avatar
      remove unused get of has_tooltip. · af7f77d9
      Kristian Rietveld authored
      2007-02-06  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
      	remove unused get of has_tooltip.
      
      	* tests/testtooltips.c (query_tooltip_tree_view_cb): use the
      	portable g_snprintf instead of snprintf.
      
      
      svn path=/trunk/; revision=17266
      af7f77d9
    • Michael Natterer's avatar
      chain up. · 3c65aade
      Michael Natterer authored
      2007-02-06  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
      
      	(gtk_tooltip_show_tooltip): move variables and code to local
      	scope. Fixes warnings about maybe uninitialized variables.
      
      
      svn path=/trunk/; revision=17265
      3c65aade
    • Kristian Rietveld's avatar
      New tooltips API. · 0ef946ed
      Kristian Rietveld authored
      2007-02-06  Kristian Rietveld  <kris@imendio.com>
      
      	New tooltips API.
      
      	* gtk/Makefile.am
      	* gtk/gtk.h
      	* gtk/gtk.symbols: build system foo.
      
      	* gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
      	hook for appropriate events.
      
      	* gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
      
      	* gtk/gtkrc.c: add style for gtk-tooltip.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): make the
      	different tooltip timeouts configurable.
      
      	* gtk/gtkwidget.[ch]: add new properties, signals, make sure
      	tooltips are hidden on unmap, destroy, update window event
      	mask on realize, hook into focus change and show help
      	handlers.
      
      	* gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
      
      	* gtk/gtktooltip.[ch]: new files.
      
      	* tests/Makefile.am
      	* tests/testtooltips.c: add test application.
      
      
      svn path=/trunk/; revision=17264
      0ef946ed
  4. 05 Feb, 2007 3 commits
    • Dom Lachowicz's avatar
      Fix bug 404506, caused by prematurely releasing a DC. By Hiroyuki Yamamoto · 47b8d98a
      Dom Lachowicz authored
      2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
      
              * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
              by prematurely releasing a DC. By Hiroyuki Yamamoto
              * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
              pixbufs when drawing rotated tabs. By Daniel Atallah
      
      
      svn path=/trunk/; revision=17263
      47b8d98a
    • Michael Natterer's avatar
      add new boolean settings gtk-enable-accels and gtk-enable-mnemonics which · 17fed85c
      Michael Natterer authored
      2007-02-05  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtksettings.c: add new boolean settings gtk-enable-accels
      	and gtk-enable-mnemonics which enable/disable accelerators and
      	mnemonics (bug #72375, based on a patch from Tommi Komulainen).
      
      	* gtk/gtkwindow.c (gtk_window_activate_key)
      	* gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
      	if the resp. setting is FALSE.
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_refetch)
      	* gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
      	them if the setting is FALSE.
      
      	* gtk/gtklabel.c: added signal connection to the screen's settings
      	object and traverse all widgets on the screen when the setting
      	changes. It's slightly ugly to also update GtkAccelLabels here,
      	but less ugly than connecting and traversing all widgets twice.
      
      
      svn path=/trunk/; revision=17262
      17fed85c
    • Michael Natterer's avatar
      changed values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within · aca7e231
      Michael Natterer authored
      2007-02-05  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
      	values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
      	ansi C enum value limits. Fixes bug #46757.
      
      
      svn path=/trunk/; revision=17260
      aca7e231
  5. 04 Feb, 2007 3 commits
  6. 02 Feb, 2007 3 commits
  7. 01 Feb, 2007 3 commits
  8. 31 Jan, 2007 1 commit
    • Christian Persch's avatar
      Hide the Credits button iff there are no credits to show. Bug #402806. · f6b8b7d9
      Christian Persch authored
      2007-01-31  Christian Persch  <chpe@svn.gnome.org>
      
      	* gtk/gtkaboutdialog.c: (update_credits_button_visibility),
      	(gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
      	(gtk_about_dialog_set_artists),
      	(gtk_about_dialog_set_translator_credits): Hide the Credits button iff
      	there are no credits to show. Bug #402806.
      
      svn path=/trunk/; revision=17242
      f6b8b7d9
  9. 30 Jan, 2007 4 commits
    • Tor Lillqvist's avatar
      New debugging function. (_gdk_input_wintab_init_check): Call it when · 3795a5cb
      Tor Lillqvist authored
      2007-01-31  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkinput-win32.c (print_cursor): New debugging
      	function.
      	(_gdk_input_wintab_init_check): Call it when debugging output is
      	requested.
      	(_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
      	tablets. The Wacom driver reports duplicated cursors with
      	physid==0. Fix verified by Robert *gren. (Should be U+00D6
      	there, but svn won't let me.)
      
      
      svn path=/trunk/; revision=17241
      3795a5cb
    • Felix Riemann's avatar
      Fix leaked string. Fixes bug #402565. · c98925bc
      Felix Riemann authored
      2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
      
      	* modules/printbackends/file/gtkprintbackendfile.c:
      	(file_printer_get_options): Fix leaked string. Fixes bug #402565.
      
      svn path=/trunk/; revision=17238
      c98925bc
    • Matthias Clasen's avatar
      Be more careful about toplevel possibly being NULL. (#402453, Sebastian · 1a2274e7
      Matthias Clasen authored
      2007-01-30  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
              (gdk_x11_window_set_user_time): Be more careful about toplevel
              possibly being NULL.  (#402453, Sebastian Bacher)
      
      
      
      svn path=/trunk/; revision=17236
      1a2274e7
    • Tim Janik's avatar
      cleaned up ::color-hash registration to not abuse class_n_properties and · 98170cf5
      Tim Janik authored
      Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
              class_n_properties and leave an uninitialized value array behind.
      
      
      
      svn path=/trunk/; revision=17235
      98170cf5
  10. 29 Jan, 2007 2 commits
    • Michael Natterer's avatar
      queue a draw on the parent_menu_item of this menu item's menu, to enable · 160ea46d
      Michael Natterer authored
      2007-01-29  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_select)
      	(gtk_menu_item_deselect): queue a draw on the parent_menu_item of
      	this menu item's menu, to enable themeing menu items depending on
      	whether something is selected in their submenu (patch taken from
      	maemo-gtk).
      
      
      svn path=/trunk/; revision=17234
      160ea46d
    • Matthias Clasen's avatar
      Reinstate gtk_toolbar_content_new_compatibility() that was mistakenly · 94eb8c9b
      Matthias Clasen authored
      2007-01-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
              that was mistakenly "cleaned up" a while ago. Also
              revert a problematic change to the screen_changed
              handler.  (#401598, Søren Sandmann)
      
      
      
      svn path=/trunk/; revision=17232
      94eb8c9b
  11. 28 Jan, 2007 5 commits
  12. 27 Jan, 2007 4 commits
  13. 26 Jan, 2007 1 commit