Commit graph

20 commits

Author SHA1 Message Date
Jussi Kukkonen
6942b1ab35 gtk-ui: support "--show-settings <id>"
<id> can be syncURL or configuration name
2010-02-03 13:27:46 +01:00
Jussi Kukkonen
09afe1c3e7 gtk-ui: show source toggles two-per-row in configuration 2010-01-24 23:37:33 +02:00
Jussi Kukkonen
9a7f80ea05 gtk-ui: config widget: move server expander to button row
This actually requires a fake expander in the configuration widget
button row and another one in the actual form area.
2009-12-15 18:31:08 +02:00
Jussi Kukkonen
14fbc275a8 gtk-ui: add info dialogs per design
dialogs for resetting and deleting a service and changing the
current service
2009-12-15 18:31:08 +02:00
Jussi Kukkonen
646a98036a gtk-ui: prepare MxGtkLightSwitch use
Move widgets around to make it easier to implement both
Mx-dependant Moblin version and a pure GTK version.
2009-12-15 18:31:08 +02:00
Jussi Kukkonen
370bee13c6 gtk-ui: Implement sync mode configuration according to new design
Service configuration form now includes sync modes. The full
complexity is not exposed, as the mode is not per source:
all sources in the service share a mode setting, but each have
a enabled-toggle.

So, some configurations cannot be shown in the UI. The UI can be used
to sync with them however, and there will be a warning in the
configuration form in that case.

This commit does not include the use of Moblin toggle buttons,
everything is still implemented with GtkCheckButtons.
2009-12-15 18:31:07 +02:00
Jussi Kukkonen
cbac6baf61 gtk-ui: Derive SyncConfigWidget from GtkContainer
Gtk+ widgets will be dropped from Nbtk: Derive SyncConfigWidget
from GtkContainer instead of NbtkGtkExpander.

This removes dependency on Nbtk, and makes the service list widgetry
identical in Moblin and Gtk+.
2009-11-25 18:28:00 +02:00
Jussi Kukkonen
295a3200e1 gtk-ui: remove keyring use -- server will take care of this 2009-11-24 16:49:03 +02:00
Jussi Kukkonen
7a1cb2b8cf gtk-ui: only show ConsumerReady services 2009-11-19 16:00:07 +02:00
Jussi Kukkonen
ed4693b413 gtk-ui: make configuration widgets handle their state better
SyncConfigurationWidget now has construction properties
"has-template" and "configured" to represent the state on the server
2009-11-19 15:34:45 +02:00
Jussi Kukkonen
3044f24d9c gtk-ui: improve SyncConfigWidget, don't run a session all the time 2009-11-19 13:25:50 +02:00
Jussi Kukkonen
a490991edb gtk-ui: re-implement service configuration view
Configurations are displayed, buttons don't work yet
2009-11-18 16:18:27 +02:00
Jussi Kukkonen
e0c0eb51bd gtk-ui: more coverage for new dbus api
SyncConfigWidget is now the only thing with non-implemented
parts.
2009-11-18 12:58:08 +02:00
Jussi Kukkonen
bc1380ad8b Merge remote branch 'origin/jku-single-window' into jku-dbus-update 2009-11-17 15:46:58 +02:00
Jussi Kukkonen
fa13cd5a2f gtk-ui: add automatic expansion to service list
also remove the "manual services list": everything is in the same
list now.

There are some minor focusing issues (scrolling to the correct
spot in  the list), but otherwise it's working.

Cherry-picked from jku-single-window
2009-11-17 14:55:48 +02:00
Jussi Kukkonen
237fb83f88 gtk-ui: minor button label changes
change "Save and use" button label based on situation.
2009-09-30 23:36:01 +03:00
Jussi Kukkonen
605b10c9c0 gtk-ui: implement save
The settings should now be feature complete
2009-09-30 16:33:15 +03:00
Jussi Kukkonen
e87e2d33b8 gtk-ui: add forgotten files 2009-09-30 14:57:38 +03:00
Jussi Kukkonen
cf9896de6f gtk-ui: add automatic expansion to service list
also remove the "manual services list": everything is in the same
list now.

There are some minor focusing issues (scrolling to the correct
spot in  the list), but otherwise it's working.
2009-09-30 14:28:35 +03:00
Jussi Kukkonen
a30e5da64f gtk-ui: implement the service list contents as widgets
service dialog no longer exists. The contents are now shown
in the service list: service list items are SyncConfigWidgets
that expand to show the "dialog".

The change is not complete yet: e.g "Save config" does not work yet.
2009-09-30 12:05:23 +03:00