![]() |
![]() |
![]() |
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
,const char *title
,const char *primary_text
,const char *secondary_text
,const char *affirmative_action_button_mnemonic
); GtkWidget * gdu_util_fstype_combo_box_create (GduPool *pool
,const char *include_extended_partitions_for_scheme
); void gdu_util_fstype_combo_box_rebuild (GtkWidget *combo_box
,GduPool *pool
,const char *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
,const char *fstype
); char * gdu_util_fstype_combo_box_get_selected (GtkWidget *combo_box
); GtkWidget * gdu_util_part_type_combo_box_create (const char *part_scheme
); void gdu_util_part_type_combo_box_rebuild (GtkWidget *combo_box
,const char *part_scheme
); gboolean gdu_util_part_type_combo_box_select (GtkWidget *combo_box
,const char *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
,const char *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
); void gdu_util_get_mix_color (GtkWidget *widget
,GtkStateType state
,gchar *color_buf
,gsize color_buf_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 TRUE).
|
Parent window that dialog will be transient for or NULL. |
|
A GduPresentable with a GduDevice that is encrypted. |
|
Set to TRUE to bypass the keyring. |
|
Set to TRUE to display a message that the last entered passphrase was wrong |
|
Whether the user was asked for the passphrase |
Returns : |
the secret or NULL if the user cancelled the dialog. |
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 NULL. |
|
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 TRUE to bypass the keyring. |
|
|
Returns : |
TRUE if the user agreed to change the secret. |
gboolean gdu_util_delete_confirmation_dialog (GtkWidget *parent_window
,const char *title
,const char *primary_text
,const char *secondary_text
,const char *affirmative_action_button_mnemonic
);
Utility to show a confirmation dialog for deletion.
GtkWidget * gdu_util_fstype_combo_box_create (GduPool *pool
,const char *include_extended_partitions_for_scheme
);
Get a combo box with the file system types that the DeviceKit-disks daemon can create.
void gdu_util_fstype_combo_box_rebuild (GtkWidget *combo_box
,GduPool *pool
,const char *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
,const char *fstype
);
|
|
|
|
Returns : |
char * gdu_util_fstype_combo_box_get_selected
(GtkWidget *combo_box
);
|
|
Returns : |
GtkWidget * gdu_util_part_type_combo_box_create (const char *part_scheme
);
Get a combo box with the partition types for a given scheme.
|
Partitioning scheme to get partitions types for. |
Returns : |
A GtkComboBox widget |
void gdu_util_part_type_combo_box_rebuild (GtkWidget *combo_box
,const char *part_scheme
);
|
|
|
gboolean gdu_util_part_type_combo_box_select (GtkWidget *combo_box
,const char *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 GtkComboBox widget |
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
,const char *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 : |