- 11 Nov, 2005 1 commit
-
-
Michael Natterer authored
2005-11-11 Michael Natterer <mitch@imendio.com> Added per-stepper API for GtkRange's stepper sensitivity as discussed in bug #321056: * gtk/gtkenums.h: added GtkSensitivityType which can be { AUTO, ON, OFF }. * gtk/gtkrange.[ch]: added properties "lower-stepper-sensitivity" and "upper-stepper-sensitivity" and public getters/setters for them. Changed stepper drawing to honor the new properties. * gtk/gtk.symbols: added the new symbols.
-
- 10 Nov, 2005 9 commits
-
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c: Add show-popup and hide-popup signals and emit them when the popup is shown or hidden. (#162531, Tommi Komulainen)
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column): Another erroneous semicolon.
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous semicolon.
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> Don't corrupt odd keymaps (#316638, Kean Johnston) * gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to handle frobbing keymaps with odd numbers of syms/code. * gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to frob the keymap.
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> Improve navigation to parent folders. (#318444, Andrei Yurkevich) * gtk/gtkpathbar.[hc]: Add a child_path argument to the path_clicked signal. * gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the child_path, if it is provided. * gtk/marshalers.list (path_bar_clicked): Add the necessary glue.
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c: Fix some compiler warnings. (#321141, Kjartan Maraas)
-
Matthias Clasen authored
2005-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c: Implement a getter for headers-clickable. (#163851, Richard Hult)
-
Michael Natterer authored
2005-11-10 Michael Natterer <mitch@imendio.com> Applied patch from maemo-gtk that addresses many issues wrt display migration and display closing (bug #85715). * gdk/gdkdisplay.c (gdk_display_dispose): don't just set the default display to NULL when it's closed. Instead set the most recently opened display as new default (if one exists). * gdk/gdkpango.c (on_renderer_display_closed): fixed signature of this callback. * gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still exist before unrefing them. * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen is closed, allow destruction of the root window. * gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to dispose(), free stuff that was leaked before. * gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if the xsettings_client still exists before destroying it. * gdk/x11/gdkkeys-x11.c: added finalization and free the allocated X resources. * gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new dispose() implementation. * gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to dispose() and check if it still exists before unrefing it. Set their pointers to NULL/None *after* upchaining in dispose(), because X11 implementations of members of the parent class still need them for their own destruction. * gdk/x11/gdkvisual-x11.c: removed finalize() implementation which was g_error()ing when finalizing a visual. * gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use get_clipboard_widget() because it would create the widget if it doesn't exist. Use g_object_get_data() directly instead. * gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature of this callback.
-
Simos Xenitellis authored
-
- 09 Nov, 2005 4 commits
-
-
Tim Janik authored
Wed Nov 9 16:29:42 2005 Tim Janik <timj@imendio.com> * gtk/gtkrange.c: patch from maemo-gtk that changes GtkRange to render its arrows insensitive when the adjustment is in its min or max position. this makes range arrow behaviour consistent with spin button behaviour. (#321056)
-
Tor Lillqvist authored
2005-11-09 Tor Lillqvist <tml@novell.com> * gdk/gdkinternals.h * gdk/gdk.c (gdk_debug_keys[]): Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. * gdk/win32/gdkdrawable-win32.c: Use DRAW to trigger GDK_NOTEs in this file instead of MISC. Now asking for MISC will give mainly window manipulation debugging output.
-
Tor Lillqvist authored
2005-11-09 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c: Remove unnecessary includes. (_gdk_win32_get_adjusted_client_rect): Remove this two-line function which was used only in one place. (get_outer_rect): Use _gdk_win32_adjust_client_rect(). (gdk_window_set_geometry_hints): If we have identical minimum and maximum size hints, remove the resize and maximize decorations/functions. (#104514) If we have a maximum size hint, remove the maximize decoration/function but ensure the resize decoration/function is available. Otherwise ensure both resize and maximize decorations/functions are there. (set_or_clear_style_bits): Factored out common code from gdk_window_set_decorations() and gdk_window_set_functions(). Hack the window style setting once more: Only touch the window style bits corresponding to the GdkWMDecoration or GdkWMFunction parameter bitmasks. Hopefully this finally is the correct thing to do. We used to clear all other bits than those that were being set, or set all other bits than those that were being cleared. Take into account that adding or removing decorations leaves the window's outer size unchanged, i.e., the client area's size and position change. This is apparently not what we want, so change also the window's (outer) position and size appropriately so that the client area's position and size stay constant. gtk-demo's color selector dialog is now non-resizable like on X11 (I tested with metacity in GNOME). Torn off menus are shrinkable vertically but have a maximum size, and are not maximizable or minimizable, like on X11. (gdk_window_set_decorations, gdk_window_set_functions): Let set_or_clear_decorations() do most of the job. * gdk/win32/gdkprivate-win32.h: Remove declaration of _gdk_win32_get_adjusted_client_rect().
-
Tor Lillqvist authored
2005-11-09 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32) * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_init, gdk_window_get_type_hint, gdk_window_get_type_hint): Store the type hint. Implement gdk_window_get_type_hint() by just returning the hint stored.
-
- 08 Nov, 2005 6 commits
-
-
Tor Lillqvist authored
2005-11-09 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints): Remove code that has been permanently ifdeffed out for two years.
-
Matthias Clasen authored
2005-11-08 Matthias Clasen <mclasen@redhat.com> * gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when finalizing a gc. (#320789, Nickolay V. Shmyrev)
-
Matthias Clasen authored
2005-11-08 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore icons if they would make the request large enough to cause Xlib to loose the connection. (#320909, Claudio Saavedra)
-
Michael Natterer authored
2005-11-08 Michael Natterer <mitch@imendio.com> * gdk/gdk.symbols * gdk/gdkwindow.h * gdk/x11/gdkwindow-x11.c: added gdk_window_get_type_hint() (patch extracted from maemo-gtk). Fixes bug #320872.
-
Norayr Chilingaryan authored
-
Norayr Chilingaryan authored
-
- 07 Nov, 2005 10 commits
-
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (shortcuts_reorder): Don't looks the bookmark label when reordering. (#320720, Jeremy Cook)
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons. Don't grab focus when a slider button is pressed, instead, use a bit in the pathbar struct to determine whether to scroll up or down. (#314486, Carlos Garnacho)
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Don't popup the completions if the focus has already been moved somewhere else. (#319914, Christian Persch)
-
Matthias Clasen authored
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): Raise the drag_window after reconfiguring the toolbar. (#320803, Christian Persch)
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkfilechooserbutton.h: * gtk/gtkfilechooserbutton.c: Add a focus-on-click property with setter and getter. (#318945, Christian Persch)
-
Tim Janik authored
Mon Nov 7 16:15:16 2005 Tim Janik <timj@imendio.com> * configure.in: fixed missing $X_CFLAGS setup in case x11.pc is present.
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * configure.in: Adjust to the stock icon changes.
-
Tor Lillqvist authored
-
Tor Lillqvist authored
2005-11-07 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal): Correct the calculation of maskstride. (#320152, Peter Zelezny)
-
- 06 Nov, 2005 4 commits
-
-
Michael Natterer authored
2005-11-06 Michael Natterer <mitch@imendio.com> * gtk/Makefile.am (icons): fixed rule to actually create the symlinks, erroring out if anything goes wrong.
-
Theppitak Karoonboonyanan authored
2005-11-06 Theppitak Karoonboonyanan <thep@linux.thai.net> * th.po: Updated Thai translation.
-
Tor Lillqvist authored
2005-11-06 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (build_cache): Can't rename a file if the target exists on Win32. First rename the target temporarily, then if the renaming of the source to target fails, restore the original name for the target. * gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.
-
Tor Lillqvist authored
2005-11-06 Tor Lillqvist <tml@novell.com> (pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, like pixbuf_to_hbitmaps_normal(). (_gdk_win32_pixbuf_to_hicon_supports_alpha): Check G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by setting the G_WIN32_PRETEND_WIN9X environment variable. 2005-11-06 Tor Lillqvist <tml@novell.com> Make icon masks work on Win98 (#320152, Peter Zelezny) * gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a parameter for the depth of the bitmap, so that this function can be used to create 1-bit bitmaps, too. (pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask, and initialize it properly.
-
- 04 Nov, 2005 6 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
2005-11-04 Matthias Clasen <mclasen@redhat.com> Store builtin stock icons in an icon cache, instead of populating a hash table with pixbufs at startup, to save both memory and startup time. * gtk/stock-icons/*: Reorganize the icons in a directory structure suitable for gtk-update-icon-cache, and rename them to match the stock ids. * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and add _gtk_icon_cache_has_icon_in_directory(). * gtk/updateiconcache.c: Support a --source <VARIABLE> argument to store the contents of the icon cache in a C header. * gtk/gtkbuiltincache.h: Generated private header which contains the icon cache for the builtin icons. * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin icons, and use that in addition to the hash table whenever builtin icons are searched. * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and use it for static stock ids. (get_default_icons): Don't add the builtin icons to the icon theme, just register the stock ids. (render_fallback_image): Take the fallback image out of the builtin icon cache. * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add the necessary machinery to rebuild gtkbuiltincache.h.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Michael Natterer authored
2005-11-04 Michael Natterer <mitch@imendio.com> * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch from maemo-gtk that changes the mtime check for rc files from '>' to '!=', otherwise theme changes go unnoticed when turning back the clock (Tommi Komulainen).
-