| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Previously only icons set via gtk_window_set_icon_name were handled, now
we also handle GdkPixbufs set by gtk_window_set_icon if no icon_name was
set.
|
| |
|
|
|
|
| |
vs. only with debug output enabled.
|
|
|
|
|
| |
Checking that the icon_name is not empty is the correct check, otherwise
the icon never gets set with debug output enabled.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_add_action_widget
Three new API calls have been introduced in this commit to make it
easier to use the XfceTitledDialogClass directly to create dialogs while
still maintaining the layout of having both headerbar and action area in
the dialog.
* xfce_titled_dialog_create_action_area (to initially set up the
dialog's custom action area)
* xfce_titled_dialog_add_button (as a replacement for
gtk_dialog_add_button)
* xfce_titled_dialog_add_action_widget (as a replacement for
gtk_dialog_add_action_widget)
|
|
|
|
|
|
| |
As the constructed function of GtkDialog's parent class (GtkWindow) is
responsible for being able to move the window by dragging the headerbar,
we need to hook it up.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously XfceTitledDialog would end up having its buttons moved to the
headerbar by the constructed function of GtkDialog. By blocking this
function we ensure that we have
1) a headerbar and
2) an action area.
This is only desirable for XfceTitledDialog, which is a special kind of
dialog (settings dialog).
This commit fixes the behavior above when using the class directly.
|
|
|
|
|
| |
While it is deprecated, it is easy to support the repacking and it will
prevent visual breakage in less maintained projects/plugins.
|
|
|
|
|
|
| |
This function works as a drop-in replacement for
gtk_dialog_set_default_response and also relies on good portions of the
original upstream code.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of letting all buttons automatically end up in the dialog's
headerbar we want to preserve the previous behavior of
xfce_titled_dialog_new_with_mixed_buttons and keep buttons in the action
area.
This change breaks the functionality of gtk_dialog_set_default_response
for which a replacement will have to be introduced.
|
|
|
|
|
|
|
|
| |
This means all dialogs (especially settings dialogs) using
XfceTitledDialog will automatically use a GtkHeaderBar instead of the
previous custom widgetry. The API for setting the dialog's subtitle
remains, but is just a convenience function for
gtk_header_bar_set_subtitle.
|
|
|
|
|
| |
Signed-off-by: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
Signed-off-by: Romain Bouvier <skunnyk@alteroot.org>
|
|
|
|
| |
- This way we know since when version a function is available.
|
|
|
|
|
| |
Add introspection annotations and add a hello world python
example.
|
|
|
|
|
|
| |
We add a documentation check during make check or distcheck to
ensure new functions/objects added are properly added prior to
release. This patch also cleans up all the current warnings.
|
|
|
|
|
|
|
|
|
|
| |
Using xfce_titled_dialog_new_with_buttons in Gtk3 results in
buttons that cannot have icons except for STOCK icons. This
is because it just calls gtk_dialog_add_button to create
and add the buttons. With this new function, you specify
an icon name, STOCK icon, or simply "" for no icon on the
button followed by the button text and response id for each
button.
|
|
|
|
|
|
|
|
| |
Provide a GTK3 version of the library next to the GTK2
version if GTK3 is found on the system. The same code
is compiled twice.
Porting of this code is also work of Stephan Arts.
|
| |
|
|
|
|
|
| |
Connect in realize is not a good idea, however the inital
update can be avoided in init.
|
|
|
|
|
|
|
| |
With the assumption this widget will not be made public
anymore, we can strip a bunch of code. Also attach
the window signals later in the titled-dialog so they are
not triggered before we're actually going to show the window.
|
| |
|
|
|
|
|
|
| |
Also fix some wrong usage of CFLAGS and include libxfce4util
in the libxfce4ui.h header, we did this in gui4 too so this
makes porting easier.
|
| |
|
|
|
|
| |
(Old svn revision: 30220)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename xfce_execute to xfce_spawn. I've also renamed both
functions to match Glib/Gdk.
Remove xfce_gdk_pixbuf_new_from_inline_at_size and
xfce_gtk_dialog_parse_parent.
Use GtkWindows's for the parents of the dialogs.
Add support for secondary text in the info, warnings
and questions dialog functions.
Rename the internal function xfce_message_dialog_vnew to
xfce_message_dialog_new_valist.
(Old svn revision: 30214)
|
|
|
|
| |
(Old svn revision: 29060)
|
|
(Old svn revision: 26543)
|