mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(gtk) #657: Some minor preferences dialogue issues
This commit is contained in:
parent
c58e905d11
commit
3c582a5e3c
1 changed files with 4 additions and 2 deletions
|
@ -259,10 +259,12 @@ tr_prefs_dialog_new( GObject * core, GtkWindow * parent )
|
||||||
|
|
||||||
d = gtk_dialog_new_with_buttons( _("Preferences"), parent,
|
d = gtk_dialog_new_with_buttons( _("Preferences"), parent,
|
||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
|
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||||
NULL );
|
NULL );
|
||||||
|
|
||||||
gtk_window_set_role( GTK_WINDOW(d), "transmission-preferences-dialog" );
|
gtk_window_set_role( GTK_WINDOW(d), "transmission-preferences-dialog" );
|
||||||
|
gtk_dialog_set_has_separator( GTK_DIALOG( d ), FALSE );
|
||||||
|
gtk_container_set_border_width( GTK_CONTAINER( d ), GUI_PAD );
|
||||||
|
|
||||||
g_signal_connect( d, "response", G_CALLBACK(response_cb), core );
|
g_signal_connect( d, "response", G_CALLBACK(response_cb), core );
|
||||||
|
|
||||||
t = hig_workarea_create ();
|
t = hig_workarea_create ();
|
||||||
|
|
Loading…
Reference in a new issue