|  |  |  | Disk Utility Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
gboolean gdu_util_dialog_show_filesystem_busy (GtkWidget *parent_window, GduPresentable *presentable);char * gdu_util_dialog_ask_for_new_secret (GtkWidget *parent_window,gboolean *save_in_keyring,gboolean *save_in_keyring_session);char * gdu_util_dialog_ask_for_secret (GtkWidget *parent_window, GduPresentable *presentable,gboolean bypass_keyring,gboolean indicate_wrong_passphrase,gboolean *asked_user);gboolean gdu_util_dialog_change_secret (GtkWidget *parent_window, GduPresentable *presentable,char **old_secret,char **new_secret,gboolean *save_in_keyring,gboolean *save_in_keyring_session,gboolean bypass_keyring,gboolean indicate_wrong_passphrase);gboolean gdu_util_delete_confirmation_dialog (GtkWidget *parent_window, constchar *title, constchar *primary_text, constchar *secondary_text, constchar *affirmative_action_button_mnemonic);GtkWidget * gdu_util_fstype_combo_box_create (GduPool *pool, constchar *include_extended_partitions_for_scheme);void gdu_util_fstype_combo_box_rebuild (GtkWidget *combo_box, GduPool *pool, constchar *include_extended_partitions_for_scheme);void gdu_util_fstype_combo_box_set_desc_label (GtkWidget *combo_box,GtkWidget *desc_label);gboolean gdu_util_fstype_combo_box_select (GtkWidget *combo_box, constchar *fstype);char * gdu_util_fstype_combo_box_get_selected (GtkWidget *combo_box);GtkWidget * gdu_util_part_type_combo_box_create (constchar *part_scheme);void gdu_util_part_type_combo_box_rebuild (GtkWidget *combo_box, constchar *part_scheme);gboolean gdu_util_part_type_combo_box_select (GtkWidget *combo_box, constchar *part_type);char * gdu_util_part_type_combo_box_get_selected (GtkWidget *combo_box);GtkWidget * gdu_util_part_table_type_combo_box_create (void);void gdu_util_part_table_type_combo_box_set_desc_label (GtkWidget *combo_box,GtkWidget *desc_label);gboolean gdu_util_part_table_type_combo_box_select (GtkWidget *combo_box, constchar *part_table_type);char * gdu_util_part_table_type_combo_box_get_selected (GtkWidget *combo_box);GdkPixbuf * gdu_util_get_pixbuf_for_presentable (GduPresentable *presentable,GtkIconSize size);GdkPixbuf * gdu_util_get_pixbuf_for_presentable_at_pixel_size (GduPresentable *presentable,gint pixel_size);
gboolean gdu_util_dialog_show_filesystem_busy (GtkWidget *parent_window, GduPresentable *presentable);
| 
 | |
| 
 | |
| Returns : | 
char * gdu_util_dialog_ask_for_new_secret (GtkWidget *parent_window,gboolean *save_in_keyring,gboolean *save_in_keyring_session);
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
char * gdu_util_dialog_ask_for_secret (GtkWidget *parent_window, GduPresentable *presentable,gboolean bypass_keyring,gboolean indicate_wrong_passphrase,gboolean *asked_user);
Retrieves a secret from the user or the keyring (unless
bypass_keyring is set to 
| 
 | Parent window that dialog will be transient for or | 
| 
 | A GduPresentable with a GduDevice that is encrypted. | 
| 
 | Set to | 
| 
 | Set to | 
| 
 | Whether the user was asked for the passphrase | 
| Returns : | the secret or | 
gboolean gdu_util_dialog_change_secret (GtkWidget *parent_window, GduPresentable *presentable,char **old_secret,char **new_secret,gboolean *save_in_keyring,gboolean *save_in_keyring_session,gboolean bypass_keyring,gboolean indicate_wrong_passphrase);
Asks the user to change his secret. The secret in the keyring is
not updated; that needs to be done manually using the functions
gdu_util_delete_secret() and gdu_util_save_secret().
| 
 | Parent window that dialog will be transient for or | 
| 
 | A GduPresentable with a GduDevice that is encrypted. | 
| 
 | Return location for old secret. | 
| 
 | Return location for new secret. | 
| 
 | Return location for whether the new secret should be saved in the keyring. | 
| 
 | Return location for whether the new secret should be saved in the session keyring. | 
| 
 | Set to | 
| 
 | |
| Returns : |  | 
gboolean gdu_util_delete_confirmation_dialog (GtkWidget *parent_window, constchar *title, constchar *primary_text, constchar *secondary_text, constchar *affirmative_action_button_mnemonic);
Utility to show a confirmation dialog for deletion.
| 
 | parent window for transient dialog | 
| 
 | the title of the dialog | 
| 
 | primary text | 
| 
 | secondary text | 
| 
 | text to use on the affirmative action button | 
| Returns : | FALSETRUE | 
GtkWidget * gdu_util_fstype_combo_box_create (GduPool *pool, constchar *include_extended_partitions_for_scheme);
Get a combo box with the file system types that the DeviceKit-disks daemon can create.
| 
 | A GduPool object | 
| 
 | if not | 
| Returns : | A | 
void gdu_util_fstype_combo_box_rebuild (GtkWidget *combo_box, GduPool *pool, constchar *include_extended_partitions_for_scheme);
| 
 | |
| 
 | |
| 
 | 
void gdu_util_fstype_combo_box_set_desc_label (GtkWidget *combo_box,GtkWidget *desc_label);
| 
 | |
| 
 | 
gboolean gdu_util_fstype_combo_box_select (GtkWidget *combo_box, constchar *fstype);
| 
 | |
| 
 | |
| Returns : | 
char * gdu_util_fstype_combo_box_get_selected (GtkWidget *combo_box);
| 
 | |
| Returns : | 
GtkWidget * gdu_util_part_type_combo_box_create (constchar *part_scheme);
Get a combo box with the partition types for a given scheme.
| 
 | Partitioning scheme to get partitions types for. | 
| Returns : | A | 
void gdu_util_part_type_combo_box_rebuild (GtkWidget *combo_box, constchar *part_scheme);
| 
 | |
| 
 | 
gboolean gdu_util_part_type_combo_box_select (GtkWidget *combo_box, constchar *part_type);
| 
 | |
| 
 | |
| Returns : | 
char * gdu_util_part_type_combo_box_get_selected (GtkWidget *combo_box);
| 
 | |
| Returns : | 
GtkWidget * gdu_util_part_table_type_combo_box_create (void);
Get a combo box with the partition tables types we can create.
| Returns : | A | 
void gdu_util_part_table_type_combo_box_set_desc_label (GtkWidget *combo_box,GtkWidget *desc_label);
| 
 | |
| 
 | 
gboolean gdu_util_part_table_type_combo_box_select (GtkWidget *combo_box, constchar *part_table_type);
| 
 | |
| 
 | |
| Returns : | 
char * gdu_util_part_table_type_combo_box_get_selected (GtkWidget *combo_box);
| 
 | |
| Returns : | 
GdkPixbuf * gdu_util_get_pixbuf_for_presentable (GduPresentable *presentable,GtkIconSize size);
| 
 | |
| 
 | |
| Returns : | 
GdkPixbuf * gdu_util_get_pixbuf_for_presentable_at_pixel_size (GduPresentable *presentable,gint pixel_size);
| 
 | |
| 
 | |
| Returns : |