Hook titlebar font into GConf key.
* gnome-window-properties.c: (setup_dialog), (main): Hook titlebar font into GConf key. * window-properties.desktop.in: Set title in .desktop file.
This commit is contained in:
parent
0410c11e51
commit
82f14be305
3 changed files with 25 additions and 2 deletions
|
@ -1,3 +1,13 @@
|
|||
2002-05-10 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* gnome-window-properties.c: (setup_dialog), (main):
|
||||
|
||||
Hook titlebar font into GConf key.
|
||||
|
||||
* window-properties.desktop.in:
|
||||
|
||||
Set title in .desktop file.
|
||||
|
||||
2002-05-10 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* gnome-window-properties.c: (set_wm_change_pending),
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
//#include "gnome-startup.h"
|
||||
|
||||
#define TITLEBAR_FONT_KEY "/desktop/gnome/applications/window_manager/titlebar_font"
|
||||
|
||||
/* prototypes */
|
||||
static void restart (gboolean force);
|
||||
static void revert_callback (void);
|
||||
|
@ -748,6 +750,16 @@ create_dialog (void)
|
|||
return dialog;
|
||||
}
|
||||
|
||||
static void
|
||||
setup_dialog (GladeXML *dialog)
|
||||
{
|
||||
GObject *peditor;
|
||||
|
||||
peditor = gconf_peditor_new_font (NULL, TITLEBAR_FONT_KEY,
|
||||
WID ("titlebar_font"),
|
||||
PEDITOR_FONT_COMBINED, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
|
@ -773,6 +785,7 @@ main (int argc, char **argv)
|
|||
{
|
||||
init_session();
|
||||
dialog = create_dialog ();
|
||||
setup_dialog (dialog);
|
||||
|
||||
dialog_win = gtk_dialog_new_with_buttons
|
||||
(_("Window Preferences"), NULL, -1,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
_Name=Mouse
|
||||
_Name=Windows
|
||||
_Comment=Window Properties
|
||||
Exec=gnome2-window-properties
|
||||
Exec=gnome-window-properties
|
||||
Icon=window-capplet.png
|
||||
Terminal=0
|
||||
Type=Application
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue