browser-switch
8 years agoRemove the N8x0-specific CFLAGS config-ui
Steven Luo [Fri, 18 Dec 2009 07:20:15 +0000 (23:20 -0800)]
Remove the N8x0-specific CFLAGS

These should move to packaging.

8 years agoHUP running browser-switchboard processes after saving config
Steven Luo [Thu, 17 Dec 2009 14:56:34 +0000 (06:56 -0800)]
HUP running browser-switchboard processes after saving config

Sending SIGHUP to a running browser-switchboard in continuous mode
causes it to reload its config.  If not in continuous mode, it'll die
and the next browser-switchboard will pick up the config changes.

8 years agoUse a stock GTK+ dialog
Steven Luo [Thu, 17 Dec 2009 14:34:40 +0000 (06:34 -0800)]
Use a stock GTK+ dialog

Use the stock OK/Cancel GTK+ dialog instead of making our own.  Also
use the response from gtk_dialog_run() to decide whether to save instead
of using custom callbacks for the buttons.  Should make the dialog more
Maemo 5 friendly.

Also, eliminate some unnecessary crap in the hildon-control-panel plugin
path, and reintroduce do_reconfig() in preparation for adding HUPing of
a running browser-switchboard.

8 years agoDon't execute hildon_program_get_instance() before gtk_init()
Steven Luo [Thu, 17 Dec 2009 14:05:23 +0000 (06:05 -0800)]
Don't execute hildon_program_get_instance() before gtk_init()

Shuts up some runtime assertions in the Hildon app.

8 years agoReplace the continuous_mode checkbox with a radiobutton group
Steven Luo [Thu, 17 Dec 2009 13:56:13 +0000 (05:56 -0800)]
Replace the continuous_mode checkbox with a radiobutton group

The wording of the continuous mode checkbox confused 100% of respondents
in an unscientific poll, and no one (including me) could come up with
better wording.

Instead, take a suggestion from Robin Luo, and try a radiobutton group
where the choices reflect the observed effect (continuous_mode off =
"Lower memory usage", continuous_mode on = "Faster browser startup
time"), not the implementation.

8 years agoAdd some padding at sides and bottom of the window
Steven Luo [Thu, 17 Dec 2009 13:06:53 +0000 (05:06 -0800)]
Add some padding at sides and bottom of the window

The widgets were going right up to the edge of the window, which looks
wrong; fix this by adding padding where it's needed.

8 years agoTry to create CONFIGFILE_DIR if it doesn't exist
Steven Luo [Thu, 17 Dec 2009 12:49:37 +0000 (04:49 -0800)]
Try to create CONFIGFILE_DIR if it doesn't exist

8 years agoMerge changes to configfile.h from c-implementation branch
Steven Luo [Thu, 17 Dec 2009 12:42:12 +0000 (04:42 -0800)]
Merge changes to configfile.h from c-implementation branch

Need CONFIGFILE_DIR from this change.

8 years agoDon't explicitly set a size for the dialog
Steven Luo [Thu, 17 Dec 2009 12:14:27 +0000 (04:14 -0800)]
Don't explicitly set a size for the dialog

8 years agoUse the browser logo for our control panel applet for now
Steven Luo [Thu, 17 Dec 2009 12:08:04 +0000 (04:08 -0800)]
Use the browser logo for our control panel applet for now

Until we get a custom logo, use the browser globe instead of the
generic wrench as our logo.

8 years agoAlign labels to the right, not to the left
Steven Luo [Thu, 17 Dec 2009 12:06:00 +0000 (04:06 -0800)]
Align labels to the right, not to the left

The convention on Maemo for labels to the left of combo boxes or entries
seems to be right alignment, not left alignment as on my GNOME desktop.

8 years agoMerge changes to configfile.c from c-implementation
Steven Luo [Thu, 17 Dec 2009 11:14:39 +0000 (03:14 -0800)]
Merge changes to configfile.c from c-implementation

Fixes a crash in the UI.

8 years agoStyle changes
Steven Luo [Thu, 17 Dec 2009 11:11:34 +0000 (03:11 -0800)]
Style changes

8 years agoImplement loading and saving config settings
Steven Luo [Thu, 17 Dec 2009 11:08:11 +0000 (03:08 -0800)]
Implement loading and saving config settings

8 years agoRemove maemo.org contact address from copyright notice
Steven Luo [Thu, 17 Dec 2009 08:02:44 +0000 (00:02 -0800)]
Remove maemo.org contact address from copyright notice

The maemo/Nokia folks aren't responsible for this code in any way, so
don't give that impression.

8 years agoMerge config file parsing routines from the c-implementation branch
Steven Luo [Thu, 17 Dec 2009 08:00:00 +0000 (00:00 -0800)]
Merge config file parsing routines from the c-implementation branch

8 years agoAdd a .desktop file for the control panel plugin
Steven Luo [Tue, 15 Dec 2009 14:21:07 +0000 (06:21 -0800)]
Add a .desktop file for the control panel plugin

The .desktop file is needed for hildon-control-panel to pick up the
applet.  Modify the Makefile to install it, and also fix a silly
plugin installation bug in the process.

8 years agoMakefile updates
Steven Luo [Tue, 15 Dec 2009 14:07:27 +0000 (06:07 -0800)]
Makefile updates

Make three build modes (app, hildon-app, plugin) instead of two, and use
up pkg-config flags so that the plugin mode actually builds.

8 years agoCompile fix for the Hildon control panel applet
Steven Luo [Tue, 15 Dec 2009 14:06:57 +0000 (06:06 -0800)]
Compile fix for the Hildon control panel applet

8 years agoShrink dialog window width/height
Steven Luo [Tue, 15 Dec 2009 14:00:14 +0000 (06:00 -0800)]
Shrink dialog window width/height

Shrink the window a bit so that it doesn't look so ridiculously large.

8 years agoCommit the beginnings of a config UI
Steven Luo [Tue, 15 Dec 2009 13:32:42 +0000 (05:32 -0800)]
Commit the beginnings of a config UI

UI doesn't actually do anything other than look pretty yet.

8 years agoGet rid of www on this branch
Steven Luo [Tue, 15 Dec 2009 10:42:45 +0000 (02:42 -0800)]
Get rid of www on this branch

8 years agoMerge branch 'www'
Steven Luo [Mon, 14 Dec 2009 14:13:25 +0000 (06:13 -0800)]
Merge branch 'www'

8 years agoInitial revision of the homepage.
Steven Luo [Mon, 14 Dec 2009 14:10:19 +0000 (06:10 -0800)]
Initial revision of the homepage.

8 years agoReformat the changelog python-implementation v2.2
Steven Luo [Mon, 14 Dec 2009 11:10:00 +0000 (03:10 -0800)]
Reformat the changelog

8 years agoUpdate the Changelog
Steven Luo [Mon, 14 Dec 2009 11:06:22 +0000 (03:06 -0800)]
Update the Changelog

8 years agoUpdate README
Steven Luo [Mon, 14 Dec 2009 11:01:37 +0000 (03:01 -0800)]
Update README

Substantial rewrite of the README, providing usage instructions for the
package and documenting the config file.

9 years agoUnbreak the no-config-file case after last commit
Steven Luo [Fri, 11 Dec 2009 10:56:22 +0000 (02:56 -0800)]
Unbreak the no-config-file case after last commit

Thinko in the last commit left LaunchBrowser potentially undefined in
the no-config-file case.

9 years agoTry legacy config file location if config file not found
Steven Luo [Fri, 11 Dec 2009 10:51:31 +0000 (02:51 -0800)]
Try legacy config file location if config file not found

Before we renamed the project, the config file used to be found in
$HOME/.config/browser-proxy, so if we don't find a config file in the
new place, try the old one before giving up.

Also fix a couple of syntax errors.

9 years agoMake browser-switchboard launch MicroB if unconfigured and Tear is not installed
Steven Luo [Fri, 11 Dec 2009 02:09:23 +0000 (18:09 -0800)]
Make browser-switchboard launch MicroB if unconfigured and Tear is not installed

Make browser-switchboard launch MicroB if there is no config file and
Tear is not installed.  Do this by handling default_browser == ""
specially, and by setting default_browser to the empty string by
default.

This allows us to drop the Depends: on tear in the packaging.

9 years agoFinish changing the name from browser-proxy to browser-switchboard
Steven Luo [Fri, 11 Dec 2009 00:47:48 +0000 (16:47 -0800)]
Finish changing the name from browser-proxy to browser-switchboard

Rename the script to browser-switchboard, and change the D-Bus .service
file and the docs accordingly.  Change the config file location from
$HOME/.config/browser-proxy to $HOME/.config/browser-switchboard.

Also, get rid of the # in front of every line of the README.

9 years agoZap the welcome file
Steven Luo [Fri, 11 Dec 2009 00:27:35 +0000 (16:27 -0800)]
Zap the welcome file

9 years agoMerge branch 'master' of https://git.maemo.org/projects/browser-switch
Steven Luo [Fri, 11 Dec 2009 00:20:53 +0000 (16:20 -0800)]
Merge branch 'master' of https://git.maemo.org/projects/browser-switch

9 years agoInitial commit.
Steven Luo [Fri, 11 Dec 2009 00:18:38 +0000 (16:18 -0800)]
Initial commit.

9 years agowelcome
www-data [Thu, 10 Dec 2009 12:40:32 +0000 (14:40 +0200)]
welcome