Commit graph

53 commits

Author SHA1 Message Date
Jussi Kukkonen
d4e05b2531 gtk-ui: put emergency view in scrolledwindow (BME #1296)
Use a vertical scrollbar when needed.

The commit looks extensive, but it's just glade re-indenting
everything inside the scrolledwindow.
2010-05-03 15:24:41 +03:00
Jussi Kukkonen
a75ac70bbe gtk-ui: start using GtkToolbar for Meego window
This gets rid of MuxWindow (and the related icon code and images)
for good: Now a specially named GtkToolbar and buttons inside it get
a special treatment from meego gtk theme engine, and end up looking
like Mx window title bar

The meego build will look a bit odd with other gtk themes, though
2010-03-31 20:34:54 +02:00
Jussi Kukkonen
288dacb286 gtk-ui: add automatic sync toggle
This toggles the autoSync value in the peer configuration
2010-03-18 14:42:55 +02:00
Jussi Kukkonen
2dfd82dcd2 gtk-ui: start bluetooth wizard when Add device clicked
Start bluetooth-wizard when "Add new device" is clicked.
Hide the button when bluetooth-wizard is not found.
Refresh config list when bluetooth-wizard is closed.
2010-02-09 20:08:11 +02:00
Jussi Kukkonen
92181f1a14 gtk-ui: ask for 1024 window width for gtk windows 2010-02-08 23:19:51 +02:00
Jussi Kukkonen
793e8c87cb gtk-ui: layout & code updates for device config UI 2010-02-08 11:51:20 +02:00
Jussi Kukkonen
bdd92eb523 gtk-ui: ellipsize very long service name in main view 2010-02-03 13:27:47 +01:00
Jussi Kukkonen
4bda3fd716 gtk-ui: make config usable with long strings (MB #9278)
Two-pronged approach:
* make sure service and source labels are not to wide for small screens
* enable horizontal scrolling t in case the above might fail

I consider horizontal scrollbars in the configuration a bug, but the
second point makes sure the UI is never totally unusable...
2010-02-03 13:27:47 +01:00
Jussi Kukkonen
49a04ae69a gtk-ui: remember to update service list when it is shown 2010-02-03 13:27:47 +01:00
Jussi Kukkonen
1944d14256 gtk-ui: show status "waiting" with a progress spinner 2010-02-03 13:27:47 +01:00
Jussi Kukkonen
72d0f3d936 gtk-ui: tweak emergency view layout, modify strings 2010-02-03 13:27:46 +01:00
Jussi Kukkonen
322fe10b2a gtk-ui: string and style changes 2010-02-03 13:27:46 +01:00
Jussi Kukkonen
a111d86ff1 gtk-ui: change bread-crumb functionality in moblin
Simplify the bread crumbs on window title: when showing a view
that is not the main view, show "Back to sync" button, otherwise
show nothing.

Also remove the "Back to sync" button in configuration view
2010-02-03 13:27:46 +01:00
Jussi Kukkonen
3207ec2f32 gtk-ui: implement restoring backups
currently all succesfull syncs are shown -- this needs a bit work still
2010-02-03 13:27:46 +01:00
Jussi Kukkonen
eef9c2757f gtk-ui: remove uneeded "Data" text from main view 2010-02-03 13:27:46 +01:00
Jussi Kukkonen
6652da3cc2 gtk-ui: implement source selection for emergency syncs
slow and refresh sync sources can now be selected in the
emergency view
2010-01-24 15:39:58 +02:00
Jussi Kukkonen
361753b70d gtk-ui: hide unfinished backup-features 2010-01-22 15:09:42 +01:00
Jussi Kukkonen
8eb5e068b2 gtk-ui: implement service errors
Service-level errors are now shown in a InfoBox below service name.
default buttons/responses (in sync-ui.h) can be used for errors that
have a logical next step (e.g. if login fails, show "Edit service
settings" button).
2010-01-22 15:09:41 +01:00
Jussi Kukkonen
c87421c6f4 gtk-ui: use infobar for no-server and slow-sync situations 2009-12-15 18:31:08 +02:00
Jussi Kukkonen
2e02b60a5c gtk-ui: add some functionality to emergency view
Added slow sync and refreshes both ways.
2009-12-15 18:31:07 +02:00
Jussi Kukkonen
1ea9d93477 gtk-ui: initial emergency ui 2009-12-15 18:31:07 +02:00
Jussi Kukkonen
0cbef86c5e gtk-ui: implement bread-crumb navigation
The Window widget now supports two 'levels' of view hierarchy, the
window child as top level and arbitrary number of second level views.
It shows the current view as 'bread crumb' buttons in the window
title bar.

The Sync ui currently uses these views:
 * Sync
   * Settings
   * Sync Emergency (not accessible yet)

The graphic design is not final
2009-12-15 18:31:07 +02:00
Jussi Kukkonen
a8e2a791ad gtk-ui: add error UI for major errors 2009-12-15 18:31:07 +02:00
Jussi Kukkonen
f385d4ace0 gtk-ui: move "last synced" text to the service title 2009-12-15 18:31:07 +02:00
Jussi Kukkonen
0c39926686 gtk-ui: bring back the destuctive sync mode options
This is a temporary change (to not change strings) while we're
waiting for a proper UI for this.
2009-11-30 12:34:11 +02:00
Jussi Kukkonen
f313d16bdc gtk-ui: fix sync mode selection
Use sync mode defined in syncevo-dbus-types.h.
Change the modes shown in main view to non-desctructive ones
2009-11-24 22:36:28 +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
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
Jussi Kukkonen
372b272a59 gtk-ui: use NbtkGtkExpander in service list
Service settings window still exists, but this is the first step
in getting rid of it, and including the settings in the service
list.

There is now a dependency on NbtkGtk when building with moblin ui
2009-09-29 13:44:45 +03:00
Jussi Kukkonen
49b28ed58c implement first phase of "single window mode"
* implement "settings" in MuxWindow
* use settings in sync ui: settings widgets are the same as in
  services window in normal gtk
2009-09-29 13:42:34 +03:00
Jussi Kukkonen
7f4d678e55 gtk-ui: add service descriptions
Adds descriptions for some specific services in the UI code.
2009-09-24 12:29:58 +03:00
Jussi Kukkonen
0fae9a27c8 limit user input to 99 chars in entries (MB #5219) 2009-09-17 14:29:10 +03:00
Patrick Ohly
e650ba5701 sync-ui: "haven't set up" -> "haven't selected" (MB #5660)
Suppose someone has already configured SyncEvolution, perhaps from a previous
release or via Genesis, and then starts the sync-ui for the first time.
Telling him that he hasn't "set up" a sync service and asking him to
"set up" one is wrong.

Changed the verb from "set up" to "select", which covers both "no service
set up" and "no service selected in the GUI".
2009-09-16 11:02:57 +02:00
Jussi Kukkonen
6199537779 dbus client: minor layout fix for fatal error situation 2009-08-12 10:34:40 +03:00
Jussi Kukkonen
523efc39c0 set the "need connection to sync" label width
GtkLabel cannot wrap at container width: This commit requests
a specific width for the label.

Fixes #4270
2009-07-14 10:35:39 +02:00
Jussi Kukkonen
ac42f94109 dbus client: wrap text in "change sync service" button
fixes #2064
2009-06-02 10:30:02 +03:00
Jussi Kukkonen
6346508095 dbus client: fix glade file corruption
For some reason glade totally messes up the design view
unless property "orientation" is added to each GtkVBox.
2009-06-01 14:39:21 +03:00
Jussi Kukkonen
206d0c21da dbus client: cosmetic fixes
Make the 'no service selected' case a bit prettier.
2009-05-13 22:29:53 +03:00
Jussi Kukkonen
23f64d7fdf dbus client: support Connman
if connman state is not 'online', show this in the UI
(with a note and insensitive Sync-button)

Fixes #2222
2009-05-12 21:35:01 +03:00
Jussi Kukkonen
432e13b235 dbus client: make the main window layout even tighter 2009-05-12 21:35:01 +03:00
Jussi Kukkonen
64fff04c42 modify services window to actually fit into netbook screen 2009-05-12 21:35:01 +03:00
Jussi Kukkonen
a4c7ad8a1a dbus client: use less space in main window
the source checkboxes used too much space and were potentially
cut off on a netbook. GtkCheckButton doesn't really do what we want
but this hack is almost there (the labels are unfortunately now
non-clickable)
2009-05-12 21:35:01 +03:00
Jussi Kukkonen
aa3287d9bf dbus client: show more last sync report data in UI 2009-05-07 16:33:23 +03:00
Jussi Kukkonen
755e32e4de dbius client: update to match tweaked designs
* only one box on the right side of main window
* report data for sources in the "main box"
2009-05-07 15:50:43 +03:00
Jussi Kukkonen
eab52086ce workaround for MuxWindow icons if not in theme
also add title for windows in glade

tmp
2009-05-06 20:44:36 +03:00
Jussi Kukkonen
d58a5a5777 dbus client: allow building with no Mux widgets
also changed MuxFrame to actually derive from GtkFrame:
This makes it easier to use MuxFrame and GtkFrame
interchangeably.
2009-04-27 10:42:20 +03:00
Jussi Kukkonen
d176bf71e4 dbus client: improve error output
now using the main window log box to show sync errors and
an error dialog for other show stopping errors (gconf, dbus)

No error messages from syncevolution are used (to be l10n
friendly), but they are printed to stderr.
2009-04-21 13:37:12 +03:00
Jussi Kukkonen
2baee1ba6d dbus client: support removing services 2009-04-16 18:16:49 +03:00
Jussi Kukkonen
e95961f687 dbus client: fix allocation bug in MuxBin, tweak related layout in ui 2009-04-16 17:30:26 +03:00
Jussi Kukkonen
63135683dd dbus client; add styling for main window 2009-04-16 11:10:08 +03:00