gnome-shell/src
Owen W. Taylor 076e902b2c Centralize computations of border and padding into StThemeNode
Rather than repeating the computation of borders in many different
widget subclasses, add helper functions:

 st_theme_node_adjust_for_height()
 st_theme_node_adjust_preferred_width()
 st_theme_node_adjust_for_width()
 st_theme_node_adjust_preferred_height()
 st_theme_node_get_content_box()

That are used in get_preferred_width()/get_preferred_height() and
allocate() methods to consistently apply the necessary adjustments.
This allows removing the StPadding type.

Queueing a relayout when the borders/padding change is moved from
st_widget_real_style_changed() to the invoking code to allow access
to the old StThemeNode for comparison. (Should this be added as
a parameter to the signal?)

Borders are included in the geometry adjustments, but borders
are not yet drawn.

https://bugzilla.gnome.org/show_bug.cgi?id=595993
2009-10-01 14:41:19 -04:00
..
big BigRectangle: Use pre-multiplied colors 2009-06-11 15:03:25 -04:00
gdmuser Unmark GdmUser property strings for translation 2009-08-20 18:09:33 +02:00
st Centralize computations of border and padding into StThemeNode 2009-10-01 14:41:19 -04:00
tray Allow more flexibility for NaTrayChild compositing 2009-04-18 17:05:14 -04:00
gnome-shell-plugin.c Use shellwm.takeover_keybinding for Alt-F1 and Alt-F2 2009-09-25 11:28:13 -04:00
gnome-shell.in More gracefully handle a situation where starting shell failed 2009-09-09 15:49:31 -04: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 Port our imported parts of Mx to ShellTheme 2009-10-01 14:41:18 -04:00
Makefile-tray.am Turn on "silent-rules" for automake >= 1.11 2009-08-06 16:58:40 -04:00
Makefile.am Import stylesheet code from hippo-canvas 2009-10-01 14:41:18 -04:00
shell-app-monitor.c Squash small memory leak 2009-09-21 18:21:04 -04:00
shell-app-monitor.h Consolidate window tracking filters between app monitor and overview. 2009-08-31 21:35:23 +02:00
shell-app-system.c Fix memory leak in getting applications from menu 2009-09-22 18:13:09 -04:00
shell-app-system.h Add shell_app_system_create_from_window 2009-08-18 23:00:47 -04:00
shell-arrow.c Add a menu display to applications 2009-04-07 17:07:35 -04:00
shell-arrow.h Add a menu display to applications 2009-04-07 17:07:35 -04:00
shell-button-box.c [ShellButtonBox] Add event to activate signal 2009-09-08 17:58:13 -04:00
shell-button-box.h Add shell_button_box_fake_release 2009-09-02 15:01:33 -04:00
shell-drawing-area.c Fix allocation implementations for ShellStack and ShellDrawingArea 2009-08-27 13:11:19 -04:00
shell-drawing-area.h Add ShellDrawingArea and ShellStack 2009-07-06 14:11:18 -04:00
shell-drawing.c [AppIcon] move well menu code from appDisplay.js to appIcon.js 2009-09-23 10:02:04 -04:00
shell-drawing.h [AppIcon] move well menu code from appDisplay.js to appIcon.js 2009-09-23 10:02:04 -04:00
shell-embedded-window-private.h Add size negotiation to the tray icons 2009-05-04 14:24:05 -04:00
shell-embedded-window.c Add size negotiation to the tray icons 2009-05-04 14:24:05 -04:00
shell-embedded-window.h Add size negotiation to the tray icons 2009-05-04 14:24:05 -04:00
shell-gconf.c Add ShellGConf 2009-07-06 11:55:17 -04:00
shell-gconf.h Add ShellGConf 2009-07-06 11:55:17 -04:00
shell-generic-container.c Add ShellGenericContainer, which makes it possible to write containers in JS 2009-08-05 11:36:33 -04:00
shell-generic-container.h Add ShellGenericContainer, which makes it possible to write containers in JS 2009-08-05 11:36:33 -04:00
shell-global.c Add a "datadir" property 2009-10-01 14:41:16 -04:00
shell-global.h Improve support for multihead setups 2009-10-01 13:46:03 -04:00
shell-gtk-embed.c Port gnome-shell to the Clutter-1.0 API 2009-06-08 13:49:53 -04:00
shell-gtk-embed.h Add size negotiation to the tray icons 2009-05-04 14:24:05 -04:00
shell-marshal.list [AppSwitcher] Port Alt-Tab switcher to custom_handler interface 2009-09-24 16:13:42 -04:00
shell-menu.c Allow popup menu to be persistent, and support direct window selection 2009-09-14 15:37:29 -04:00
shell-menu.h Allow popup menu to be persistent, and support direct window selection 2009-09-14 15:37:29 -04:00
shell-overflow-list.c Only use visible actors for paging/allocation 2009-09-25 12:08:29 -04:00
shell-overflow-list.h Replace _getIndexOfDisplayedActor with a function in OverflowList 2009-08-06 19:51:11 +02:00
shell-process.c Fix compiler warnings 2009-08-06 16:46:55 -04:00
shell-process.h Run gnome-terminal on alt-f2 2008-11-07 18:42:23 +00:00
shell-recorder-src.c Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
shell-recorder-src.h Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
shell-recorder.c Check the result of fgets() to deal with warn_unused_result 2009-08-06 17:59:20 -04:00
shell-recorder.h Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
shell-stack.c Fix allocation implementations for ShellStack and ShellDrawingArea 2009-08-27 13:11:19 -04:00
shell-stack.h Add ShellDrawingArea and ShellStack 2009-07-06 14:11:18 -04:00
shell-status-menu.c Fix hang when clicking on the user status menu in the overview 2009-08-28 12:34:04 -04:00
shell-status-menu.h Fix hang when clicking on the user status menu in the overview 2009-08-28 12:34:04 -04:00
shell-texture-cache.c Compress multiple load requests 2009-09-25 13:41:52 -04:00
shell-texture-cache.h Add shell_texture_cache_pixbufs_equal 2009-09-02 14:54:49 -04:00
shell-tray-manager.c Set ShellTrayManagerChild.manager when creating a child structure 2009-05-05 14:07:11 -04:00
shell-tray-manager.h Import part of the notification area applet, and use it to add a 2008-11-14 17:21:56 +00:00
shell-uri-util.c Fix FTBFS and crash triggered by <AppSystem>.load_from_desktop_file() 2009-08-09 17:39:17 +02:00
shell-uri-util.h Add shell-uri-util.[ch]; functions ported from gnome-panel for URIs 2009-08-09 09:53:06 -04:00
shell-wm.c [AppSwitcher] Port Alt-Tab switcher to custom_handler interface 2009-09-24 16:13:42 -04:00
shell-wm.h [AppSwitcher] Port Alt-Tab switcher to custom_handler interface 2009-09-24 16:13:42 -04:00
test-recorder.c Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00