Commit Graph
100 Commits
Author SHA1 Message Date
Tomeu Vizoso 395d3f5c96 Fix. 2007-04-27 13:01:41 +02:00
Tomeu Vizoso 1c249a216b Fix for using with python 2.4. 2007-04-26 18:25:40 +02:00
Tomeu Vizoso 0b2658d3a8 Added some more notes. 2007-04-26 18:24:42 +02:00
Tomeu Vizoso ec8bb21936 Implement installation of downloaded activities. 2007-04-20 20:12:49 +02:00
Tomeu Vizoso 276d374b1a Remove debug message. 2007-04-19 12:20:48 -03:00
Tomeu Vizoso 96b0bd1cfa Recognize downloaded .xo as such. 2007-04-19 12:13:38 -03:00
Tomeu Vizoso 4ca48ffd09 Look for gecko-prefs.js and mime.types in the correct location. 2007-04-19 12:12:57 -03:00
Tomeu Vizoso d223579f22 Recognize images dropped into the clipboard as such. 2007-04-18 18:52:46 -03:00
Tomeu Vizoso f26ee4056b Assure dragged images have the right file extension. 2007-04-18 09:21:49 -03:00
Tomeu Vizoso e9905b5dfc Include config.h before testing for HAVE_GECKO_1_9. 2007-04-17 19:31:06 -03:00
Tomeu Vizoso 734d16022e Don't try to show the popup of a detached canvas icon. 2007-04-17 16:54:01 -03:00
Tomeu Vizoso b7030a74dd Drag images out of mozilla. 2007-04-17 16:53:34 -03:00
Tomeu Vizoso 10735e597a Add application/x-pdf mime type. 2007-03-29 12:25:47 +02:00
Tomeu Vizoso 2e73999004 Relativize bubble radius to screen proportions. 2007-03-28 20:23:51 +02:00
Tomeu Vizoso 9d5fa10868 Add constants to _sugar. 2007-03-28 19:36:21 +02:00
Tomeu Vizoso a6c1ef6080 Popup/popdown fixes. 2007-03-28 19:34:11 +02:00
Tomeu Vizoso 1d493919a2 Fix old variable name. 2007-03-28 17:33:50 +02:00
Tomeu Vizoso ad23ceac8d Fix last fix. 2007-03-25 19:34:11 +02:00
Tomeu Vizoso 318439ab27 Fix for #1157. Thanks to leejc. 2007-03-25 11:42:26 +02:00
Tomeu Vizoso 01edb130c1 Compile and include .mo in ./setup.py dist. 2007-03-23 20:13:41 +01:00
Tomeu Vizoso 5881121ad4 Added operations genpot and genmo to bundlebuilder.py for localization. 2007-03-23 15:26:37 +01:00
Tomeu Vizoso c820ca1aa6 First step at activities localization. 2007-03-23 10:35:48 +01:00
Tomeu Vizoso 8840122a22 Don't show the progress bar when focused and round more the progress bar. 2007-03-21 17:06:08 +01:00
Tomeu Vizoso e3d6245e18 Let pango/fontconfig to choose the concrete font. 2007-03-21 17:03:44 +01:00
Tomeu Vizoso 0bf1d579e2 Fix for removing items from the clipboard. 2007-03-20 12:58:52 +01:00
Tomeu Vizoso ed99a8bbff Style fixes for the menu. 2007-03-20 12:55:42 +01:00
Tomeu Vizoso 8a02afb408 Style fixes for the toolbar. 2007-03-20 12:01:01 +01:00
Tomeu Vizoso 07b8cad5b9 Set the DPI on activity startup. In the future we should have a xsetting for this. 2007-03-19 14:24:35 +01:00
Tomeu Vizoso 5104e24ffa Hack for detecting an onDisk format. Need to improve the clipboard API for the right fix. 2007-03-18 13:16:09 +01:00
Tomeu Vizoso 440baae7d9 Show and hide the frame when an object is added to the clipboard. 2007-03-18 12:56:11 +01:00
Tomeu Vizoso 57b617ef25 Don't grab the keyboard on press and only react to presses (temporary until trial1). 2007-03-17 20:46:44 +01:00
Tomeu Vizoso ebe043a4d2 Refactored global key handling and frame logic. 2007-03-17 14:30:23 +01:00
Tomeu Vizoso 7beb2b24ac Use Animation for popdown. 2007-03-16 14:29:39 +01:00
Tomeu Vizoso 84dcb022cb Don't popdown the same control we are told to popup. 2007-03-16 14:28:25 +01:00
Tomeu Vizoso c0cd2cf9a6 Prevent activity launching being locked by error during launch. 2007-03-16 14:04:49 +01:00
Tomeu Vizoso 8a88de864b Fix tooltip popup. 2007-03-16 12:20:03 +01:00
Tomeu Vizoso e8a21bf6a0 Use color.HTMLColor instead of the color string. 2007-03-16 11:53:22 +01:00
Tomeu Vizoso d001c70443 Tweaked sizes of home xo icon, donut radius and device icons. 2007-03-15 19:19:38 +01:00
Tomeu Vizoso 0fe529b78a Avoid multiple simultaneous launches of the same activity. 2007-03-15 16:21:37 +01:00
Tomeu Vizoso 4fbfd1625c Make create_activity_id() a public function. 2007-03-15 12:47:10 +01:00
Tomeu Vizoso ca5ff6974e Return TRUE on success. 2007-03-14 16:42:07 +01:00
Tomeu Vizoso 6227b96215 Support selection of the clipboard object to be pasted. 2007-03-14 13:32:05 +01:00
Tomeu Vizoso 410e58aa6f Fix typo. 2007-03-09 14:32:43 +01:00
Tomeu Vizoso 66b1c48211 Remove theme hack for tests. Marco has fixed the tests in sugar-emulator. 2007-03-08 11:47:39 +01:00
Tomeu Vizoso 08e6546489 Fix for keyboard focus bug when <alt>f. 2007-03-07 22:23:11 +01:00
Tomeu Vizoso 39a009056d Order journal entries and fix filtering. 2007-03-05 16:56:39 +01:00
Tomeu Vizoso 4b1ca7056e Make action-id in MenuItem be object, not int. 2007-03-04 19:49:03 +01:00
Tomeu Vizoso a585221b16 Added object update to the datastore. 2007-03-04 11:27:33 +01:00
Tomeu Vizoso 559d21d4d2 Merge branch 'master' of git://dev.laptop.org/sugar 2007-03-04 10:53:14 +01:00
Tomeu Vizoso d027761209 Added create_with_object_id() func. 2007-03-02 22:22:19 +01:00
Tomeu Vizoso 33739f1c0f Some more examples for the journal. 2007-03-02 22:21:45 +01:00
Tomeu Vizoso d504124cc2 Hack Dan's DataStore for doing what we need for 6th March demo. 2007-03-02 21:17:03 +01:00
Tomeu Vizoso 47b8ad2496 Stop sqlite3.decoding the data from the db. 2007-03-01 19:23:55 +01:00
Tomeu Vizoso 97d719f795 Use sqlite3.Row in the datastore. 2007-03-01 18:59:36 +01:00
Tomeu Vizoso f2af1ae219 Use cursor parameters instead of SQL injection. 2007-03-01 18:42:53 +01:00
Tomeu Vizoso 1b869a04f8 Icon and Button fixes. 2007-02-28 19:53:06 +01:00
Tomeu Vizoso 6704e1bfd3 Button fixes and fix launching activities from the clipboard. 2007-02-28 16:41:50 +01:00
Tomeu Vizoso b692eb3833 Entry fixes. 2007-02-28 15:34:40 +01:00
Tomeu Vizoso 0f1adfe1de Specify font size in pixels, not in points. 2007-02-28 14:47:35 +01:00
Tomeu Vizoso a6a8ad5677 IconButton hover fix. 2007-02-27 23:05:34 +01:00
Tomeu Vizoso f09a63930f Fix stroke/fill on ZoomBox icons. 2007-02-27 22:35:28 +01:00
Tomeu Vizoso d398b37645 Button fixes. 2007-02-27 15:31:05 +01:00
Tomeu Vizoso de902c41fd Added Button control. 2007-02-26 17:35:58 +01:00
Tomeu Vizoso 6b31f57257 Some control fixes. 2007-02-26 12:40:14 +01:00
Tomeu Vizoso a9c4e4b8e5 Fix bug #920. 2007-02-25 18:03:17 +01:00
Tomeu Vizoso bba86e5b74 First try at menu sizing in OptionMenu. 2007-02-25 14:58:18 +01:00
Tomeu Vizoso 067f703bfe Make OptionMenu grab the pointer on popup. 2007-02-24 18:18:50 +01:00
Tomeu Vizoso 951e92395b Make the default icon scale depend on the screen resolution. 2007-02-24 17:15:47 +01:00
Tomeu Vizoso 5714396e34 Add hovering to MenuItem. 2007-02-24 15:30:16 +01:00
Tomeu Vizoso 2b1445be6c Adjusted rounded box radius. 2007-02-24 15:22:16 +01:00
Tomeu Vizoso ce800fbc66 Add hover to BuddyIcon in the Frame. 2007-02-24 14:58:38 +01:00
Tomeu Vizoso 940b50b4e6 Add hover to ClipboardIcon. 2007-02-24 14:35:31 +01:00
Tomeu Vizoso 52fc6826ab Typo. 2007-02-24 14:23:18 +01:00
Tomeu Vizoso 6a58df67a0 Highlight buttons and change menu background to black. 2007-02-23 20:39:52 +01:00
Tomeu Vizoso a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Tomeu Vizoso cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Tomeu Vizoso b8792c5c32 Added some SystemColors for the buttons. 2007-02-23 12:45:06 +01:00
Tomeu Vizoso 6756c00917 Added tooltips to CanvasIcon and implement popup positioning in the Frame. 2007-02-22 22:51:24 +01:00
Tomeu Vizoso 8679737d86 Rename for new API. 2007-02-22 17:39:06 +01:00
Tomeu Vizoso 228908b36e Use the new icons for object types. 2007-02-22 13:21:09 +01:00
Tomeu Vizoso 2f4822f1cd Make OptionMenu use the new Menu and MenuItem classes. 2007-02-22 12:34:38 +01:00
Tomeu Vizoso 1d02002719 Add default for X servers that return DPI 0 and round the result as does Mozilla. 2007-02-22 12:07:20 +01:00
Tomeu Vizoso d4639a1764 Use hippo.CanvasContext.translate_to_screen() for positioning popups. 2007-02-21 21:29:08 +01:00
Tomeu Vizoso c9af045e43 Removed MenuIcon. 2007-02-21 21:15:08 +01:00
Tomeu Vizoso b452b7d718 Make ClipboardIcon use the new Menu. 2007-02-21 21:12:27 +01:00
Tomeu Vizoso 7be3333671 Make BuddyIcon and BuddyMenu use the new Menu. 2007-02-21 17:55:44 +01:00
Tomeu Vizoso 3ce2a67304 Refactored Menu out of Popup. 2007-02-21 17:05:41 +01:00
Tomeu Vizoso c05b179675 Fix wrong import. 2007-02-21 15:45:19 +01:00
Tomeu Vizoso 00db5e15a5 Move popup activation logic from IconButton to CanvasIcon. 2007-02-21 14:13:52 +01:00
Tomeu Vizoso c58b6c5587 Make IconButton inherit from Button instead of containing it. 2007-02-21 13:51:44 +01:00
Tomeu Vizoso 500f979302 Renamed Button to IconButton. 2007-02-21 13:01:20 +01:00
Tomeu Vizoso abff0a8cec Throw NotImplementedError in abstract method. 2007-02-21 12:02:57 +01:00
Tomeu Vizoso 111da5911a Allow for having the popup positioning logic in PopupContext. 2007-02-21 11:42:47 +01:00
Tomeu Vizoso bbfe539429 Renamed Rollover to Popup. 2007-02-21 10:16:03 +01:00
Tomeu Vizoso f3cf928f31 Added Rollover control. 2007-02-20 16:38:25 +01:00
Tomeu Vizoso 6ee8067b06 Temporary fix until the next hippo-canvas. 2007-02-15 20:32:25 +01:00
Tomeu Vizoso 28f10bf142 OptionMenu fixes and API updates. 2007-02-15 19:18:15 +01:00
Tomeu Vizoso 32c89a1fcb New widget OptionMenu. 2007-02-15 18:23:52 +01:00
Tomeu Vizoso b4a461605d Label fixes. 2007-02-13 18:09:45 +01:00
Tomeu Vizoso b48c5c0beb Fix Entry. 2007-02-13 17:08:27 +01:00