Commit Graph

475 Commits

Author SHA1 Message Date
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
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