Commit Graph

461 Commits

Author SHA1 Message Date
Benjamin Berg
45efe5eff6 Call the correct remove function when removing old content from palettes. 2007-09-30 00:20:27 +02:00
Benjamin Berg
9b11183eae Hide the menu and content when they are empty and added a
separator between them.
2007-09-22 00:43:14 +02:00
Benjamin Berg
f6cc705133 Removed the padding from the vbox and added some to the
palette (xthickness). Also correctly pad the label,
set it to be bold and give it a fixed height. This fixes
bug #3081.
2007-09-22 00:21:45 +02:00
Benjamin Berg
c1894d3ec4 Implement a do_size_request to be able to correct resize on size
changes, and set a minimum width. Fixes #3497 and adresses #3081.
2007-09-22 00:13:33 +02:00
Dan Winship
070d7a6dfc Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-09-20 15:56:28 -04:00
Marco Pesenti Gritti
c4ac2f47fd Drop obsolete widget 2007-09-20 21:04:36 +02:00
Dan Winship
f377d6e519 Redo activity bundles in terms of sugar.bundle.bundle 2007-09-20 12:20:21 -04:00
Simon Schampijer
53f1265252 Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker 2007-09-18 14:24:16 +02:00
Simon Schampijer
8ae1f9aad8 Fix that several palettes are not hooked up to the same button #3293 2007-09-17 23:42:17 +02:00
Marco Pesenti Gritti
cffd29c284 Do not show the toolbox border if there is only one toolbar. 2007-09-13 21:16:49 +02:00
Tomeu Vizoso
ccb0aaaa28 Don't store the xo-color property on _IconBuffer, it will cause conflicts with stroke-color and fill-color. 2007-09-10 17:55:35 +02:00
Marco Pesenti Gritti
66cc15a498 Fix xo_color comparison. 2007-09-10 11:30:48 +02:00
Marco Pesenti Gritti
f7a1900d3d Do not redraw/resize if the properties doesn't actually change.
In the Icon widget queue resize and redraw as appropriate.
2007-09-10 02:54:47 +02:00
Marco Pesenti Gritti
97451c5466 Optimize xo_color property set and share more code. 2007-09-10 02:18:29 +02:00
Marco Pesenti Gritti
d757126a19 Move entity type checks at loader level so that they
are shared by all both icon implementations.
2007-09-10 02:06:24 +02:00
Dan Williams
e52d6f6ed4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-08 23:41:42 -04:00
Dan Williams
e43ccf40be Add a flag to place the menu after the content in palettes 2007-09-08 22:48:21 -04:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Tomeu Vizoso
d9a30c23ff Remove left over property. 2007-09-06 18:55:51 +02:00
Marco Pesenti Gritti
5127901d86 Gray bottom border for Toolbox. 2007-09-05 14:23:17 +02:00
Marco Pesenti Gritti
3723ccead4 Implement TrayIcon palette drawing. 2007-09-05 13:55:18 +02:00
Tomeu Vizoso
0ad6398cf1 Fix typo. 2007-09-04 20:22:58 +02:00
Tomeu Vizoso
c418d0575a Really remove the sugar.date import. 2007-09-04 16:01:42 +02:00
Tomeu Vizoso
07107fb81b #2896: Remove sugar.date module. 2007-09-03 21:26:30 +02:00
Marco Pesenti Gritti
a09a786ff7 Use Tray also for the frame friends view.
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
044afe4ae8 Expand icon bbox when there is a badge. 2007-09-02 23:51:01 +02:00
Marco Pesenti Gritti
94e136c3c3 Stop secondary animation on hide. 2007-09-02 23:34:22 +02:00
Eduardo Silva
94996c9295 #2971: Patch by Marco 2007-09-01 11:58:47 -04:00
Marco Pesenti Gritti
feb462d08d Fix ToolInvoker alignments. 2007-09-01 13:40:57 +02:00
Marco Pesenti Gritti
8712ab6b58 Add a ToolInvoker which position the palette depending
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
8a3c2a5843 More palette positioning improvements. 2007-09-01 11:59:16 +02:00
Tomeu Vizoso
01f774edbc Allow setting xo-color to None. 2007-08-31 11:26:28 +02:00
Simon Schampijer
142ce1cb11 Display the rollover at 0,0 when context is empty 2007-08-30 15:10:50 +02:00
Marco Pesenti Gritti
01d368a7a4 Implement VTray. A bit of refactoring to share more code. 2007-08-30 14:29:52 +02:00
Marco Pesenti Gritti
7fefc55133 Cleanup and fix bugs in palette positioning (again) 2007-08-29 20:09:19 +02:00
Marco Pesenti Gritti
72b3a3e2e2 Cleanup a bit the positioning logic. Drop specific
positioning, we can readd it later if it proves to
be necessary.
2007-08-29 18:26:58 +02:00
Marco Pesenti Gritti
46b3b96e96 Make remove_item take an item instead of an index. 2007-08-29 14:08:12 +02:00
Marco Pesenti Gritti
710f3eba00 Tray size allocation fixes. 2007-08-29 14:04:46 +02:00
Marco Pesenti Gritti
e700ed1e2d Expose and size allocation fixes. 2007-08-29 11:34:56 +02:00
Marco Pesenti Gritti
e25847c375 Sync gtk theme values and style.py. Add a comment at the top
of style.py about the reference zoom value.
2007-08-29 10:36:31 +02:00
Simon Schampijer
c30bb01b0e Usage of the tray widget to display activity icons
ActivitiesBox patch for ticket #2713.
2007-08-28 14:15:51 +02:00
Marco Pesenti Gritti
c742cff64d Show arrows only when the icons does not fit. 2007-08-27 22:10:18 +02:00
Marco Pesenti Gritti
7fcc23b4c8 Very first go at the tray widget, based on Eduardo and Simon work. 2007-08-27 21:28:20 +02:00
Tomeu Vizoso
7d0aedeb36 Fix typo. 2007-08-27 14:31:38 +02:00
Tomeu Vizoso
59ee222f96 Fix comboboxes 2007-08-27 13:17:50 +02:00
Tomeu Vizoso
b70182bbde Fix typo. 2007-08-27 11:07:46 +02:00
Marco Pesenti Gritti
823918a69b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-27 00:55:56 +02:00
Marco Pesenti Gritti
60c5e564cc Fix getting pixbuf size, patch by jennjacobsen 2007-08-27 00:43:56 +02:00
Eduardo Silva
8c288d7dee Adapt Button() to new icon API 2007-08-26 16:49:55 -04:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00