| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
If was not provided enought list-values for add-list options
then column_types is NULL. Therefore need set it to default
value.
If count of columns values less than count of list values
then set column nubmer to zero.
|
|
|
|
|
| |
Fixing style in all zenity code, removing useless spaces,
empty lines, all code in 80 columns, etc.
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
src/msg.c
|
| | |
|
| |
| |
| |
| |
| | |
GTK+ documentation recommends to not use an icons, but use
"_OK"/"_Cancel" labels instead
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is done to keep the name of the extra buttons
ADD general option "extra-button" with string array as argument
This will upon consecutive calls save the name of buttons in an array of strings
To all MODES, except notification.c and about.c ADD
if (data->extra_label) {
gint i=0;
while(data->extra_label[i]!=NULL){
gtk_dialog_add_button (GTK_DIALOG (dialog), data->extra_label[i], i);
i++;
}
}
This add the extra buttons to the dialog. The response is the number of the button
To all MODES response, except notification.c and about.c ADD
default:
if (response < g_strv_length(zen_data->extra_label))
printf("%s\n",zen_data->extra_label[response]);
This will print the button name to stdout when they are pressed
ADD question option "switch"
This will suppress the standard "ok" and "cancel" button in question. This just wort in combination with --extra-button, otherwise error is raised.
https://bugzilla.gnome.org/show_bug.cgi?id=118016
|
| |
|
| |
|
|
|
|
| |
Missing sentinels can cause crashes. The others are just style.
|
| |
|
|
|
|
|
|
| |
--add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns"
This reverts commit ed825cf92b9d786b9b13361db4a0e696af347a59.
|
|
|
|
| |
--list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns
|
|
|
|
| |
dialogs. This patch doesn't break old zenity scripts.
|
|
|
|
|
| |
The default behavior will be done (ie. user click on ok button)
The return code will be 5
|
| |
|
|
|