Add support for installing missing GTK+ theme engines via packagekit (bug
2008-05-07 Jens Granseuer <jensgr@gmx.net> Add support for installing missing GTK+ theme engines via packagekit (bug #511065) * appearance-themes.c: (theme_message_area_response_cb), (theme_message_area_update): when we detect a missing engine, check if packagekit is available on the session bus. If it is show an install button to pull the corresponding package * appearance.h: * theme-util.c: (packagekit_available), (theme_install_file): * theme-util.h: add support functions svn path=/trunk/; revision=8695
This commit is contained in:
parent
fcfc55091e
commit
a780f374cb
5 changed files with 121 additions and 4 deletions
|
@ -57,3 +57,6 @@ gboolean theme_delete (const gchar *name, ThemeType type);
|
|||
|
||||
gboolean theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter);
|
||||
gboolean theme_find_in_model (GtkTreeModel *model, const gchar *name, GtkTreeIter *iter);
|
||||
|
||||
void theme_install_file (GtkWindow *parent, const gchar *path);
|
||||
gboolean packagekit_available (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue