GtkDrop
Monday, February 4th, 2008I created a small widget deriving of GtkWindow which I called GtkDrop (I prepended the Gtk in hope that it might be useful enough to get included in gtk+).
I once wanted to create a popup calendar for gnome-schedule and this is basically that code put into a widget (and ported to C).
It is intended to be a ‘popup’/'dropdown’ container where you can add any widget and it will behave similar to menus or comboboxes. And you will be able to use the widget inside it, ie: write in a GtkEntry or press a GtkButton.
In case you want to try it out download it, the test program is included.
Something not working ? (probably) Suggestions ? Send me an email.
Read on for the full README and some more information on design and how to use it.
Read the rest of this entry »
ebuild for gs 2.0.0-rc1
Tuesday, December 25th, 2007Here is an ebuild for for gnome-schedule-2.0.0-rc1:
http://svn.gnome.org/viewvc/gnome-schedule/trunk/dist/gentoo/gnome-schedule-2.0.0_rc1.ebuild?revision=1041&view=markup
I have made alot of changes since the release, and when the updated documentation is ready (thanks to Rodrigo M. Fombellida) I will most likely make a new rc release in the hope that also the translations of the documentation will be updated. And then eventually.. the final 2.0 should be ready.
While working on the calendar for the at editor I run into another inlogicality with gtk, it turnes out that on Ubuntu w.get_position () returns the position without the decorators, while on Gentoo (and probably others) the decorators are included. I am now appending the offset i get from w.window->get_geometry () to get_position () and hope that the behaviour is the same on Ubuntu.
Update 2007-12-26:
Seems get_geometry and get_position didn’t do the trick, get_origin () however behaves correctly on both Ubuntu and Gentoo. Which makes me wonder a bit of the use of especially get_position, but the get_geometry and get_frame_extents or get_root_origin neither makes the confusion smaller.
- gaute
Tags: gnome, gtk, linux, pythongnome-schedule 2.0.0-rc1
Thursday, December 13th, 2007nearly finished gnome-schedule 2 and some gtk notes
Friday, November 30th, 2007I have finally implemented support for templates in the new-ui branch of gnome-schedule. Among a few other things this was the last big remaining feature.
I added the option to create a task from template in the ‘New’ dropdown box and to the addwindow (before you had to choose it from a combobox inside the editors). Also the addwindow now uses buttons not radiobuttons.
![]()
latest gnome-schedule news
Monday, November 19th, 2007As I/we get closer to the 2.0-beta release this is the time to come with suggestions for gnome-schedule. I’ve allready removed some suggestions and implemented others so the ideas should be quite good and not require too much time.
The only big task left is the re-implementation of templates.
Anyway, lately I have added some (annoying?) dialogs informing about the working directory of the tasks, but you can stop them from coming by clicking the ‘Don’t show’ button.

The most important _new_ feature is probably the possibility to run tasks directly from gnome-schedule and have the output displayed in a terminal waiting for you to press a button to exit. This should of course work perfectly, but is something that should be throughly tested.

I am now using the ‘appointment-new.svg’ icon from Tango as the icon for ‘at’ releated things.
As said, now is the time for suggestions; send them to me, post a comment on this bug, or post a new bug.
Tags: design, glade, gtk, linux, pythonMore gnome-schedule new-ui stuff
Wednesday, November 14th, 2007The last days I have been progressing on the new interface for gnome-schedule and have now fully implemented the new editors for ‘at’ and ‘crontab’, except templates and one pop-up calendar for ‘at’. I hope to get it at bit tested in the near future, and somewhen soon release a beta for version 2.
The discussion (if you can call it a discussion) has mostly been going on on the gnome bugzilla.
What I need:
- An icon for ‘at’/one-time jobs
- Testing and suggestions on the UI
Here’s the latest changelog entries:
* new crontab editor fully works
* deleted old one
* new field to the main treemodel for timestring_advanced; the timestring shown in advanced mode. Effectively only affecting @reboot entries now showing _(”At reboot”) and not 5 x @reboot
* advanced view toggle button behaves
* set version to 2.0.0-BETA
* remembers size and position, but not state due to silly gtk/gnome
* removed support.py, translates thoughicon.py
* src/gnome-schedule.glade: Formatting changed of entire file while switching to glade-3
* Oh.. forgot this file, here’s a summary
* From trunk: Bugfix where some dates in the future wouldn’t be accepted.
* at editor fully works
* added icon to at editor
* added icons to drop down menu
* removed exit button
* new icon for gnome-schedule by kiddo
* created new crontab interface in glade, needs to be attached
* at parser locale ignorant
* gnome-schedule desktop entry in preferences
- gaute
Tags: design, glade, gtk, linux, python








