Commit Graph

492 Commits

Author SHA1 Message Date
Simon Schampijer
6efdf259b6 Make the colors of xocolors public 2008-04-26 20:16:49 +02:00
Simon Schampijer
83f76f115a Use new style for unused variables 2008-04-24 16:55:19 +02:00
Marco Pesenti Gritti
2e1d8e8897 Use new style properties. 2008-04-20 22:55:05 +02:00
Marco Pesenti Gritti
75e636ef06 Work around circular dep between Icon and Palette. I don't
like it though, we should get rid of the dep.
Fix palette bug which I introduced with the pylint changes.
2008-04-20 04:11:24 +02:00
Marco Pesenti Gritti
fa90d50cd9 pylint palette, some problems left 2008-04-19 10:45:52 +02:00
Marco Pesenti Gritti
283b201145 pylint most of sugar.graphics, only palette left 2008-04-19 01:10:48 +02:00
Marco Pesenti Gritti
8783d1113d pylint combobox, iconentry and radiotoolbutton 2008-04-19 00:50:46 +02:00
Marco Pesenti Gritti
97d9d21311 pylint icon, a few false positive left 2008-04-19 00:37:19 +02:00
Marco Pesenti Gritti
03e515b463 pylint animator 2008-04-19 00:14:11 +02:00
Eben Eliason
f2002153df Added default to label arg in palette constructor
This leaves the API backward compatible but prevents the
need for new code to pass any unused arguments to the
constructor, instead depending on the property API.
2008-04-03 01:23:00 -04:00
Tomeu Vizoso
940cf6544b #5474: Scale emblems (rwh) 2008-04-03 17:31:55 +02:00
Tomeu Vizoso
db2422cf5b Make room for the accelerator labels. 2008-04-02 16:20:12 +02:00
Eben Eliason
70901268c3 New palette API
This patch adds support for primary-text, secondary-text,
and icons to palettes. It also transitions a few other items
to a property API.
2008-04-01 21:28:10 +02:00
Tomeu Vizoso
ef40555ed3 Add support for accelerators to buttons. 2008-04-01 11:52:11 +02:00
Eben Eliason
9e9bed7ca8 Makes the Frame and toolbars darker for better contrast 2008-03-26 18:19:51 +01:00
Simon Schampijer
25abbc5469 Fix when passing a pixel-size for the icon when not using the constructor 2008-03-22 17:11:25 +01:00
Tomeu Vizoso
99f406d0b9 Add icon property to TrayIcon. 2008-03-01 17:39:22 +01:00
Simon Schampijer
ed1aa70636 Merge branch 'master' of ssh+git://dev.laptop.org/git/sugar-toolkit 2008-02-26 00:32:37 +01:00
Simon Schampijer
bdbdc5bc87 Make the text in the toolbar of the toolbox dependant on the text size
and minimum style.TOOLBOX_TAB_LABEL_WIDTH
2008-02-26 00:32:27 +01:00
Benjamin Berg
826bf9dd4c Emit palette popup only after the window is mapped. This fixes ticket #3486. 2008-02-25 16:12:08 +00:00
Benjamin Berg
c9871633e3 Fix #3611 and parts of #4084 by setting the palette to be a transient window of the actiity. 2008-02-25 14:45:21 +00:00
Simon Schampijer
ee4a4ece7c Add TrayIcon.get_icon() (tomeu) 2008-02-25 12:36:58 +01:00
Simon Schampijer
324a9b549d Fix #4856 and cleanup of the alert code 2008-02-17 13:40:14 +01:00
Tomeu Vizoso
8e6a5b42be Use the right gettext domain. 2008-02-09 12:27:22 +01:00
Marco Pesenti Gritti
488402df7d Split sugar-toolkit out of sugar shell. 2008-02-06 10:20:33 +01:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Simon Schampijer
1ee7191b5d Added a TimeoutAlert and use GTK Response Type Constants 2007-10-15 19:03:48 +02:00
Simon Schampijer
05668dfad7 fixed alert doku 2007-10-11 21:04:40 +02:00
Simon Schampijer
ddb400df91 First implementation of the alert bar #2822
Hooked it up to the activity window as well
2007-10-11 20:04:04 +02:00
Benjamin Berg
7634b8f915 Put toolbars into event boxes. This means that they will be filled with
the background color by X which makes the frame animations nicer.
2007-10-09 23:54:47 +02:00
Benjamin Berg
af77859c21 Don't fail to expose if there is no invoker. 2007-10-08 13:54:27 +02:00
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