gnome-shell/src
Dan Winship 5331d3e360 [St] Make allocation handling more consistent
In StBin, StBoxLayout, and StTable, if a child has a potential
allocation that is larger than its preferred size, we give it its
preferred size instead. However, the corresponding
get_preferred_height/width methods were not making the same
assumption, which meant that if we had more width than the widget
wanted, we would allocate it its preferred width, but with the height
that corresponded to the larger width.

Fix this by defining new helpers _st_actor_get_preferred_width() and
_st_actor_get_preferred_height() and using them everywhere. Also, make
StBin and StTable use _st_allocate_fill() rather than having
nearly-identical duplicate copies of the code.

https://bugzilla.gnome.org/show_bug.cgi?id=609848
2010-02-16 14:06:39 -05:00
..
big Match CSS for background extents 2009-10-01 14:41:19 -04:00
gdmuser Introspect src/gdmuser 2009-11-13 14:20:45 -05:00
st [St] Make allocation handling more consistent 2010-02-16 14:06:39 -05:00
tray Replace includes of glib/gi18n.h with glib/gi18n-lib.h 2009-11-24 15:26:09 -05:00
gnome-shell-plugin.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
gnome-shell.in Initial implementation of the message tray and notification daemon 2010-01-13 15:13:20 -05:00
Makefile-big.am Use distinct filenames for all code generation tempories 2009-08-11 16:05:31 -04:00
Makefile-gdmuser.am Add Makefile missed in last commit, minor style tweak for statusmenu 2009-02-04 18:49:54 +00:00
Makefile-st.am [Makefile-st.am] Generate st/st.h 2010-01-07 18:33:00 -05:00
Makefile-tray.am Turn on "silent-rules" for automake >= 1.11 2009-08-06 16:58:40 -04:00
Makefile.am Remove duplicate GETTEXT_PACKAGE 2010-02-11 15:29:58 -05:00
shell-app-private.h Split ShellAppMonitor into ShellWindowTracker, ShellAppUsage 2009-10-20 12:55:07 -04:00
shell-app-system.c Match on executable names as well 2010-01-15 23:03:18 +01:00
shell-app-system.h Add search.js, rebase search system on top 2009-12-18 10:07:22 -05:00
shell-app-usage.c [ShellAppUsage] Fix use-after-free 2010-01-06 13:34:11 -05:00
shell-app-usage.h Split ShellAppMonitor into ShellWindowTracker, ShellAppUsage 2009-10-20 12:55:07 -04:00
shell-app.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-app.h Split ShellAppMonitor into ShellWindowTracker, ShellAppUsage 2009-10-20 12:55:07 -04:00
shell-arrow.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-arrow.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-doc-system.c [ShellDocSystem] Check GTK+ version for constness of argument 2009-12-15 16:29:21 -05:00
shell-doc-system.h Add class for handling recent docs 2009-12-15 15:54:42 -05:00
shell-drawing.c Fix invalid unreference of CoglTexture 2010-02-01 10:15:15 -05:00
shell-drawing.h [panel] Scale up, center and fade application icon in app menu 2010-01-07 18:33:01 -05:00
shell-embedded-window-private.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-embedded-window.c [ShellEmbeddedWindow] Set window type in g_object_new 2010-02-08 18:50:05 +01:00
shell-embedded-window.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-gconf.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-gconf.h Add ShellGConf 2009-07-06 11:55:17 -04:00
shell-generic-container.c [ShellGenericContainer] Simplify tracking of skip-paint children 2010-02-03 12:00:56 -05:00
shell-generic-container.h Add set_skip_paint method 2009-12-15 15:53:08 -05:00
shell-global-private.h shell-global-private.h fixes: 2009-10-28 12:59:01 -04:00
shell-global.c Remove panel-run-dialog/main-menu handling from shell-global 2010-02-16 16:50:40 +01:00
shell-global.h Remove panel-run-dialog/main-menu handling from shell-global 2010-02-16 16:50:40 +01:00
shell-gtk-embed.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-gtk-embed.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-marshal.list Create ShellApp, rebase things on it 2009-10-14 14:37:34 -04:00
shell-menu.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-menu.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-overflow-list.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-overflow-list.h Replace _getIndexOfDisplayedActor with a function in OverflowList 2009-08-06 19:51:11 +02:00
shell-process.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-process.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-recorder-src.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-recorder-src.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-recorder.c Fix annotation of shell_recorder_set_pipeline() 2010-02-10 13:18:24 +01:00
shell-recorder.h Make parameters configureable 2010-02-08 21:31:30 +01:00
shell-slicer.c [St] Make allocation handling more consistent 2010-02-16 14:06:39 -05:00
shell-slicer.h [ShellSlicer] New class to display center of child 2010-01-07 18:33:00 -05:00
shell-stack.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-stack.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-texture-cache.c [ShellTextureCache] add methods for caching raw image data 2010-01-13 15:13:20 -05:00
shell-texture-cache.h [ShellTextureCache] add methods for caching raw image data 2010-01-13 15:13:20 -05:00
shell-tray-manager.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-tray-manager.h Use a fixed ordering for well-known icons 2009-10-19 14:57:02 -04:00
shell-uri-util.c Replace includes of glib/gi18n.h with glib/gi18n-lib.h 2009-11-24 15:26:09 -05:00
shell-uri-util.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-window-tracker.c [ShellWindowTracker] Add shell_window_tracker_app_from_pid 2010-02-03 19:07:22 -05:00
shell-window-tracker.h [ShellWindowTracker] Add shell_window_tracker_app_from_pid 2010-02-03 19:07:22 -05:00
shell-wm.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-wm.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
test-recorder.c Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00