Commit Graph
100 Commits
Author SHA1 Message Date
Tomeu Vizoso c35db7acf8 Some refactoring of the DataStore API. 2007-05-29 15:53:58 +02:00
Tomeu Vizoso 8915657a08 Take out one try..except block. 2007-05-28 16:25:36 +02:00
Tomeu Vizoso ffebebcd7d Set icon size on the combobox. 2007-05-22 18:25:29 +02:00
Tomeu Vizoso 87d59ae13b Avoid crashing in atexit. 2007-05-22 18:24:56 +02:00
Tomeu Vizoso 1dc104126d Adapt to new DataStore API. 2007-05-22 14:03:31 +02:00
Tomeu Vizoso 11c89d86c9 Put dates to work correctly on the journal, create a new journal entry when resuming a past entry. 2007-05-20 12:38:08 +02:00
Tomeu Vizoso 04fc7047c2 Don't autolaunch downloaded docs, this will be done from the Web activity. 2007-05-20 12:36:55 +02:00
Tomeu Vizoso 5d4b9b1dfa Set the activity icon on new journal entries. 2007-05-19 20:06:36 +02:00
Tomeu Vizoso abec4df66e Don't try to display an icon without file name. 2007-05-19 11:19:56 +02:00
Tomeu Vizoso 3ac4cb5432 Stop depending on NSPR. 2007-05-19 10:01:07 +02:00
Tomeu Vizoso 3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Tomeu Vizoso 1d31c51ecc Don't save to the journal on focus-out. 2007-05-16 17:55:56 +02:00
Tomeu Vizoso 7314d5a8c8 Improve logging. 2007-05-16 17:01:59 +02:00
Tomeu Vizoso 133b96b4f0 Typo. 2007-05-10 17:04:40 +02:00
Tomeu Vizoso d6850279a8 Temporary fix while we stabilize the new datastore. 2007-05-10 14:34:10 +02:00
Tomeu Vizoso 30114f9545 Temporary try..excepts while we stabilize the new datastore. 2007-05-10 14:16:48 +02:00
Tomeu Vizoso 929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00
Tomeu Vizoso a2660195bd Initial support for icon-only combo boxes. 2007-05-05 12:13:23 +02:00
Tomeu Vizoso 7fbcf08242 Fix for Python 2.4 compatibility. 2007-05-05 10:59:21 +02:00
Tomeu Vizoso 0573e56d2c Use standard icon name. 2007-05-05 10:58:55 +02:00
Tomeu Vizoso 695898fb46 Gitignore some generated files. 2007-05-05 10:58:13 +02:00
Tomeu Vizoso 50d2b66501 Take out the HAVE_GECKO_1_9 ifdefs, we only support Gecko 1.9 now. 2007-05-04 19:51:15 +02:00
Tomeu Vizoso 16304b33c8 Take out the HAVE_NS_WEB_BROWSER ifdefs, we finally have this symbol in mozilla's trunk. 2007-05-04 19:41:08 +02:00
Tomeu Vizoso bbb96e9c89 Implemented saving web history to the journal. Ifdefed by now while we wait for a patch to be applied to mozilla upstream. 2007-05-04 19:32:25 +02:00
Tomeu Vizoso 54c8c009ef Fixed typo. 2007-05-04 14:47:30 +02:00
Tomeu Vizoso eff6c1a7c1 Add ToggleToolButton to the Makefile. 2007-05-04 09:56:01 +02:00
Tomeu Vizoso 694e30aa76 Expose the buttons contained by the activity toolbar. 2007-05-03 16:30:32 +02:00
Tomeu Vizoso 1f60139e09 Added WebSession datastore object. 2007-05-03 16:07:19 +02:00
Tomeu Vizoso e78c9d21a9 Added ToggleToolButton control. 2007-04-30 19:00:34 +02:00
Tomeu Vizoso bb8417f57b Added sugar.activity.activity.EditToolbar. 2007-04-30 18:59:55 +02:00
Tomeu Vizoso b4f2016844 Launch the journal activity on startup again. 2007-04-29 21:12:35 +02:00
Tomeu Vizoso d6445af2c8 Add method Toolbox.remove_toolbar(). 2007-04-29 21:11:59 +02:00
Tomeu Vizoso b097802fe6 Add ComboBox control. 2007-04-29 21:10:58 +02:00
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