| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Fixing style in all zenity code, removing useless spaces,
empty lines, all code in 80 columns, etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fix for Zenity bug 670496 "Zenity info/error windows grow in height
with message length"
(https://bugzilla.gnome.org/show_bug.cgi?id=670496) stopped working on
recent Gtk, which doesn't seem to honor gtk_widget_set_size_request.
This commit workarounds Gtk bug 657621 "Calculate the wrong height of
labels wrapping on words"
(https://bugzilla.gnome.org/show_bug.cgi?id=657621) by setting label's
width-chars and max-width-chars to 60. This magic number was picked from
GtkMessageDialog source
(https://git.gnome.org/browse/gtk+/tree/gtk/ui/gtkmessagedialog.ui#n48).
|
|
|
|
|
|
| |
This is a bug in the glade file, where the GtkEntry wasn't being filled
to fill the width of the window. There is no need to add a
--entry-text-width option
|
|
|
|
|
|
| |
Coverity flagged this.
https://bugzilla.gnome.org/show_bug.cgi?id=780217
|
| |
|
| |
|
| |
|
|
|
|
| |
The entry dialog was with wrong box position
|
| |
|
|
|
|
| |
For some reason, glade is removing some properties from the xml file
|
| |
|
|
|
|
|
| |
This create a new function to call the notify_notification_new handling
properly the multi line parser
|
|
|
|
|
|
| |
Now you can use zenity --notification --text="Title\nSummary" and it will
use the first string before the first escape \n as the title, and the rest
of the string as summary text.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
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
|
| | |
|
|/
|
|
| |
--info destroys X11 primary selection content, and does not document that either
|
|
|
|
|
|
|
|
|
| |
This commit changes the default --text-view behavior (when --html
is also in effect) so that the clicked links are opened in the
default browser (closes #732626).
Additionally, a new option is introduced, --prevent-interaction,
which disables above behavior.
|
| |
|
|
|
|
|
|
|
| |
This fix is a better sollution for info, error, warning and
question dialog.
Now the dialog wraps the text properly, and don't allocate
a lot of height
|
|
|
|
| |
text-info is now seting the text to UTF-8 properly
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will enable users to find a row with a text matching the
middle of the row.
Consider the following list:
Little piggy one
Little piggy two
Little piggy three
As a user I would expect that entering 'th' would focus the last row, because
it's the first one that contains 'th'
|