mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
add a magnifier I'm using when making themes. Not installed.
2002-05-29 Havoc Pennington <hp@redhat.com> * src/tools/metacity-mag.c: add a magnifier I'm using when making themes. Not installed. * src/tools/metacity-properties.c: reindentation, show window, add copyright info. * src/tools/metacity-properties.glade: make main window !visible on startup, to avoid funkiness.
This commit is contained in:
parent
6aaf2738c9
commit
737d3cbbf5
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2002-05-29 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
|
* src/tools/metacity-mag.c: add a magnifier I'm using when making
|
||||||
|
themes. Not installed.
|
||||||
|
|
||||||
|
* src/tools/metacity-properties.c: reindentation, show window, add
|
||||||
|
copyright info.
|
||||||
|
|
||||||
|
* src/tools/metacity-properties.glade: make main window !visible
|
||||||
|
on startup, to avoid funkiness.
|
||||||
|
|
||||||
2002-05-29 Jacob Berkman <jacob@ximian.com>
|
2002-05-29 Jacob Berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* src/tools/Makefile.am (EXTRA_DIST): dist .desktop.in files
|
* src/tools/Makefile.am (EXTRA_DIST): dist .desktop.in files
|
||||||
|
@ -15,6 +15,9 @@ metacity_message_SOURCES= \
|
|||||||
metacity_window_demo_SOURCES= \
|
metacity_window_demo_SOURCES= \
|
||||||
metacity-window-demo.c
|
metacity-window-demo.c
|
||||||
|
|
||||||
|
metacity_mag_SOURCES= \
|
||||||
|
metacity-mag.c
|
||||||
|
|
||||||
metacity_properties_SOURCES= \
|
metacity_properties_SOURCES= \
|
||||||
metacity-properties.c
|
metacity-properties.c
|
||||||
|
|
||||||
@ -32,9 +35,13 @@ desktop_DATA=$(Desktop_in_files:.desktop.in=.desktop)
|
|||||||
|
|
||||||
bin_PROGRAMS=metacity-message metacity-window-demo metacity-properties
|
bin_PROGRAMS=metacity-message metacity-window-demo metacity-properties
|
||||||
|
|
||||||
|
## cheesy hack I use, doesn't really have any business existing. ;-)
|
||||||
|
noinst_PROGRAMS=metacity-mag
|
||||||
|
|
||||||
metacity_message_LDADD= @METACITY_MESSAGE_LIBS@
|
metacity_message_LDADD= @METACITY_MESSAGE_LIBS@
|
||||||
metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@
|
metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@
|
||||||
metacity_properties_LDADD= @METACITY_PROPS_LIBS@
|
metacity_properties_LDADD= @METACITY_PROPS_LIBS@
|
||||||
|
metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@
|
||||||
|
|
||||||
EXTRA_DIST=$(icon_DATA) $(ui_DATA) $(propicon_DATA) $(Desktop_in_files)
|
EXTRA_DIST=$(icon_DATA) $(ui_DATA) $(propicon_DATA) $(Desktop_in_files)
|
||||||
|
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
/* Metacity control panel */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2002 Sun Microsystems, Inc.
|
||||||
|
* Copyright (C) 2002 Red Hat, Inc.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
* 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <glade/glade.h>
|
#include <glade/glade.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
@ -25,7 +47,8 @@ update_ui (void)
|
|||||||
KEY_FOCUS_MODE,
|
KEY_FOCUS_MODE,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (focus_mode == NULL) focus_mode = g_strdup("click");
|
if (focus_mode == NULL)
|
||||||
|
focus_mode = g_strdup ("click");
|
||||||
|
|
||||||
if (strcmp (focus_mode, "click") == 0)
|
if (strcmp (focus_mode, "click") == 0)
|
||||||
{
|
{
|
||||||
@ -124,6 +147,8 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
glade_xml_signal_autoconnect (xml);
|
glade_xml_signal_autoconnect (xml);
|
||||||
|
|
||||||
|
gtk_widget_show_all (window);
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<glade-interface>
|
<glade-interface>
|
||||||
|
|
||||||
<widget class="GtkDialog" id="Mainwindow">
|
<widget class="GtkDialog" id="Mainwindow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">False</property>
|
||||||
<property name="title" translatable="yes">Window Properties</property>
|
<property name="title" translatable="yes">Window Properties</property>
|
||||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user