[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Change the look of dialogs created with `x-popup-dialog'

From: Andrey Smirnov
Subject: [PATCH] Change the look of dialogs created with `x-popup-dialog'
Date: Sun, 11 Dec 2011 07:01:27 -0800

Hello everybody,

I often close emacs with mouse by pressing 'close' buttons of its
window and therefore I often encounter questions presented in form of
dialogs produced by `x-popup-dialog' function. I know it is the matter
of one's taste, but I think that appearance of aforementioned dialogs
could be improved by making them look more similar to those created by
other Gtk and GNOME applications(I used GEdit as a template). The
patch in attachment is my attempt to implements such changes. To
summarize it does the following:

  - Adds, depending on the dialog type, appropriate icon to the dialog,
  - Removes resize button from the resulting dialog window.
  - For dialogs with more than two buttons, radio-buttons instead of
    regular buttons are created.
  - Makes the question to be rendered in bold font.

The difference between the results of `x-popup-dialog' can be seen on
the image in the attachment.

I guess, there are probably many improvements that can be added both
to the dialog's appearance and to other code of the patch, so at this
point I would like you to ask to comment on the patch.

Andrey Smirnov

Attachment: 0001-Change-the-look-of-dialogs-created-with-x-popup-dial.patch
Description: Text Data

Attachment: before-after.png
Description: PNG image

reply via email to

[Prev in Thread] Current Thread [Next in Thread]