Add a class method to CcPanel to get a GOptionGroup which will be added
to the main commandline parser. This gives panels the chance to have
commandline "--flags" in addition to the already available parameters.
This changes changes the way parameters are passed to panels: the first
entry in the GVariant array is always the a{sv} dictionary of
commandline flags, followed by the remaining free-form arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=696054
By using a GVariant of type "av" we can potentially pass more structured
data to panels, which will become relevant with the ability to invoke
them by GAction-based DBus-activation introduced in the following patch.
https://bugzilla.gnome.org/show_bug.cgi?id=696054
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.
https://bugzilla.gnome.org/show_bug.cgi?id=694110
goa_warning is meant for goa-daemon, and it does not really add any
value in this case. Switching to g_warning lets us cut down on the
number of symbols that are exported from libgoabackend.
https://bugzilla.gnome.org/show_bug.cgi?id=693261
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.
https://bugzilla.gnome.org/show_bug.cgi?id=691229
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
Those signals will not be emitted anymore, as the objects that
could emit them will be destroyed.
Fixes a warning on exit, as panel->accounts_treeview is already
destroyed when we get there.
https://bugzilla.gnome.org/show_bug.cgi?id=684702
Back in the day when titles were not shown for modal dialogs we added
the big "Add Account" label. Now that modal dialogs have titles, we
don't need it anymore.
Fixes: https://bugzilla.gnome.org/684013
It was being set up at class finalization time, which is too late.
Fixes crash when switching from panel to shell and back
(and then try to interact with the switches).
https://bugzilla.gnome.org/show_bug.cgi?id=682379
Programmatically deleting or inserting a row into a GtkTreeModel
implementation does not change the selection on the GtkTreeView even
if it is in browse mode (see GTK+ documentation). So, we need to
connect to the model's row-deleted and row-inserted signals and adjust
the selection ourselves.
Fixes: https://bugzilla.gnome.org/682175
Use a GtkButton instead of a GtkLabel to incite the user to configure
a new account, and insensitize the GtkBox on the left.
Fixes: https://bugzilla.gnome.org/672421
With hard coded colors, when an account is selected in the tree view,
the text shows up as black on blue, instead of white on blue.
Fixes: https://bugzilla.gnome.org/671980
Use simple GtkBox widgets instead.
GtkTable does not support nth-child() constructs for CSS, so the theme
is not able to match the inline toolbar with selectors like
.inline-toolabr.toolbar:nth-child(last) {
}
which are used to change the rounded corners/top border width.
https://bugzilla.gnome.org/show_bug.cgi?id=658964
When bailing out early, the cleanup path is unreffing the provider
because the variable was used in the loop. We need to set it back
to NULL there.
https://bugzilla.gnome.org/show_bug.cgi?id=657819