Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GIMP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2,637
Issues
2,637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
38
Merge Requests
38
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GIMP
Commits
c62f70ab
Commit
c62f70ab
authored
Jan 25, 1998
by
Adrian Likins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a call to gtk_window_set_wmclass to most of the gimp
dialogs -adrian
parent
fe876df0
Changes
117
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
117 changed files
with
237 additions
and
3 deletions
+237
-3
app/about_dialog.c
app/about_dialog.c
+2
-0
app/actions/help-commands.c
app/actions/help-commands.c
+4
-0
app/actions/plug-in-commands.c
app/actions/plug-in-commands.c
+4
-0
app/app_procs.c
app/app_procs.c
+5
-0
app/appenv.h
app/appenv.h
+1
-0
app/base/color-balance.c
app/base/color-balance.c
+1
-0
app/base/curves.c
app/base/curves.c
+1
-0
app/base/hue-saturation.c
app/base/hue-saturation.c
+1
-0
app/base/threshold.c
app/base/threshold.c
+1
-0
app/brightness_contrast.c
app/brightness_contrast.c
+1
-0
app/brush_select.c
app/brush_select.c
+1
-0
app/by_color_select.c
app/by_color_select.c
+1
-0
app/channel_ops.c
app/channel_ops.c
+1
-0
app/channels_dialog.c
app/channels_dialog.c
+3
-1
app/color_balance.c
app/color_balance.c
+1
-0
app/color_select.c
app/color_select.c
+1
-0
app/commands.c
app/commands.c
+4
-0
app/convert.c
app/convert.c
+1
-0
app/core/gimp-edit.c
app/core/gimp-edit.c
+1
-0
app/core/gimpdrawable-offset.c
app/core/gimpdrawable-offset.c
+1
-0
app/core/gimpedit.c
app/core/gimpedit.c
+1
-0
app/core/gimpimage-convert.c
app/core/gimpimage-convert.c
+1
-0
app/core/gimpimage-duplicate.c
app/core/gimpimage-duplicate.c
+1
-0
app/curves.c
app/curves.c
+1
-0
app/dialogs/about-dialog.c
app/dialogs/about-dialog.c
+2
-0
app/dialogs/info-dialog.c
app/dialogs/info-dialog.c
+1
-0
app/dialogs/tips-dialog.c
app/dialogs/tips-dialog.c
+1
-0
app/dialogs/user-install-dialog.c
app/dialogs/user-install-dialog.c
+2
-0
app/display/gimpdisplay-ops.c
app/display/gimpdisplay-ops.c
+2
-0
app/display/gimpdisplayshell-draw.c
app/display/gimpdisplayshell-draw.c
+4
-0
app/display/gimpdisplayshell-layer-select.c
app/display/gimpdisplayshell-layer-select.c
+1
-0
app/display/gimpdisplayshell.c
app/display/gimpdisplayshell.c
+4
-0
app/fileops.c
app/fileops.c
+3
-0
app/gdisplay_ops.c
app/gdisplay_ops.c
+2
-0
app/gimage.c
app/gimage.c
+1
-0
app/gimpdrawable-offset.c
app/gimpdrawable-offset.c
+1
-0
app/gimpimage-convert.c
app/gimpimage-convert.c
+1
-0
app/gimpimage-duplicate.c
app/gimpimage-duplicate.c
+1
-0
app/gimprc.c
app/gimprc.c
+2
-1
app/global_edit.c
app/global_edit.c
+1
-0
app/gradient.c
app/gradient.c
+1
-0
app/gradient_editor.c
app/gradient_editor.c
+1
-0
app/gui/about-dialog.c
app/gui/about-dialog.c
+2
-0
app/gui/brush-select.c
app/gui/brush-select.c
+1
-0
app/gui/channels-dialog.c
app/gui/channels-dialog.c
+3
-1
app/gui/color-select.c
app/gui/color-select.c
+1
-0
app/gui/commands.c
app/gui/commands.c
+4
-0
app/gui/gradient-editor.c
app/gui/gradient-editor.c
+1
-0
app/gui/help-commands.c
app/gui/help-commands.c
+4
-0
app/gui/info-dialog.c
app/gui/info-dialog.c
+1
-0
app/gui/layer-select.c
app/gui/layer-select.c
+1
-0
app/gui/layers-dialog.c
app/gui/layers-dialog.c
+8
-0
app/gui/palette-editor.c
app/gui/palette-editor.c
+1
-0
app/gui/pattern-select.c
app/gui/pattern-select.c
+1
-0
app/gui/plug-in-commands.c
app/gui/plug-in-commands.c
+4
-0
app/gui/plug-in-menus.c
app/gui/plug-in-menus.c
+4
-0
app/gui/tips-dialog.c
app/gui/tips-dialog.c
+1
-0
app/gui/user-install-dialog.c
app/gui/user-install-dialog.c
+2
-0
app/histogram_tool.c
app/histogram_tool.c
+1
-0
app/hue_saturation.c
app/hue_saturation.c
+1
-0
app/indexed_palette.c
app/indexed_palette.c
+1
-0
app/info_dialog.c
app/info_dialog.c
+1
-0
app/install.c
app/install.c
+2
-0
app/interface.c
app/interface.c
+4
-0
app/layer_select.c
app/layer_select.c
+1
-0
app/layers_dialog.c
app/layers_dialog.c
+8
-0
app/levels.c
app/levels.c
+1
-0
app/main.c
app/main.c
+6
-0
app/menus/plug-in-menus.c
app/menus/plug-in-menus.c
+4
-0
app/palette.c
app/palette.c
+1
-0
app/pattern_select.c
app/pattern_select.c
+1
-0
app/plug-in/gimpplugin-message.c
app/plug-in/gimpplugin-message.c
+4
-0
app/plug-in/gimpplugin-progress.c
app/plug-in/gimpplugin-progress.c
+4
-0
app/plug-in/gimpplugin.c
app/plug-in/gimpplugin.c
+4
-0
app/plug-in/gimppluginmanager-call.c
app/plug-in/gimppluginmanager-call.c
+4
-0
app/plug-in/gimppluginmanager-run.c
app/plug-in/gimppluginmanager-run.c
+4
-0
app/plug-in/gimppluginmanager.c
app/plug-in/gimppluginmanager.c
+4
-0
app/plug-in/gimppluginshm.c
app/plug-in/gimppluginshm.c
+4
-0
app/plug-in/plug-in-def.c
app/plug-in/plug-in-def.c
+4
-0
app/plug-in/plug-in-message.c
app/plug-in/plug-in-message.c
+4
-0
app/plug-in/plug-in-params.c
app/plug-in/plug-in-params.c
+4
-0
app/plug-in/plug-in-progress.c
app/plug-in/plug-in-progress.c
+4
-0
app/plug-in/plug-in-run.c
app/plug-in/plug-in-run.c
+4
-0
app/plug-in/plug-in-shm.c
app/plug-in/plug-in-shm.c
+4
-0
app/plug-in/plug-in.c
app/plug-in/plug-in.c
+4
-0
app/plug-in/plug-ins.c
app/plug-in/plug-ins.c
+4
-0
app/plug_in.c
app/plug_in.c
+4
-0
app/posterize.c
app/posterize.c
+1
-0
app/text_tool.c
app/text_tool.c
+1
-0
app/threshold.c
app/threshold.c
+1
-0
app/tips_dialog.c
app/tips_dialog.c
+1
-0
app/tools.c
app/tools.c
+1
-0
app/tools/brightness_contrast.c
app/tools/brightness_contrast.c
+1
-0
app/tools/by_color_select.c
app/tools/by_color_select.c
+1
-0
app/tools/color_balance.c
app/tools/color_balance.c
+1
-0
app/tools/curves.c
app/tools/curves.c
+1
-0
app/tools/gimpbrightnesscontrasttool.c
app/tools/gimpbrightnesscontrasttool.c
+1
-0
app/tools/gimpbycolorselecttool.c
app/tools/gimpbycolorselecttool.c
+1
-0
app/tools/gimpcolorbalancetool.c
app/tools/gimpcolorbalancetool.c
+1
-0
app/tools/gimpcurvestool.c
app/tools/gimpcurvestool.c
+1
-0
app/tools/gimphistogramtool.c
app/tools/gimphistogramtool.c
+1
-0
app/tools/gimphuesaturationtool.c
app/tools/gimphuesaturationtool.c
+1
-0
app/tools/gimplevelstool.c
app/tools/gimplevelstool.c
+1
-0
app/tools/gimpposterizetool.c
app/tools/gimpposterizetool.c
+1
-0
app/tools/gimptexttool.c
app/tools/gimptexttool.c
+1
-0
app/tools/gimpthresholdtool.c
app/tools/gimpthresholdtool.c
+1
-0
app/tools/histogram_tool.c
app/tools/histogram_tool.c
+1
-0
app/tools/hue_saturation.c
app/tools/hue_saturation.c
+1
-0
app/tools/levels.c
app/tools/levels.c
+1
-0
app/tools/posterize.c
app/tools/posterize.c
+1
-0
app/tools/text_tool.c
app/tools/text_tool.c
+1
-0
app/tools/threshold.c
app/tools/threshold.c
+1
-0
app/tools/tools.c
app/tools/tools.c
+1
-0
app/user_install.c
app/user_install.c
+2
-0
app/widgets/gimpgradienteditor.c
app/widgets/gimpgradienteditor.c
+1
-0
app/widgets/gimppaletteeditor.c
app/widgets/gimppaletteeditor.c
+1
-0
libgimpwidgets/gimpcolorselect.c
libgimpwidgets/gimpcolorselect.c
+1
-0
No files found.
app/about_dialog.c
View file @
c62f70ab
...
...
@@ -57,6 +57,7 @@ static char *scroll_text[] =
"Simon Janes"
,
"Tim Janik"
,
"Tuomas Kuosmanen"
,
"Peter Kirchgessner"
,
"Karl LaRocca"
,
"Jens Lautenbacher"
,
"Raph Levien"
,
...
...
@@ -111,6 +112,7 @@ about_dialog_create (int timeout)
if
(
!
about_dialog
)
{
about_dialog
=
gtk_window_new
(
GTK_WINDOW_DIALOG
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
about_dialog
),
"about_dialog"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
about_dialog
),
"About the GIMP"
);
gtk_window_set_policy
(
GTK_WINDOW
(
about_dialog
),
FALSE
,
FALSE
,
FALSE
);
gtk_window_position
(
GTK_WINDOW
(
about_dialog
),
GTK_WIN_POS_CENTER
);
...
...
app/actions/help-commands.c
View file @
c62f70ab
...
...
@@ -312,6 +312,7 @@ file_new_cmd_callback (GtkWidget *widget,
vals
->
type
=
RGB
;
/* no indexed images */
vals
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
vals
->
dlg
),
"new_image"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
vals
->
dlg
),
"New Image"
);
gtk_window_position
(
GTK_WINDOW
(
vals
->
dlg
),
GTK_WIN_POS_MOUSE
);
...
...
@@ -995,6 +996,7 @@ file_pref_cmd_callback (GtkWidget *widget,
file_prefs_strset
(
&
old_gradient_path
,
edit_gradient_path
);
prefs_dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
prefs_dlg
),
"preferences"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
prefs_dlg
),
"Preferences"
);
/* handle the wm close signal */
...
...
@@ -2109,6 +2111,7 @@ image_resize_cmd_callback (GtkWidget *widget,
/* the dialog */
image_resize
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
image_resize
->
shell
),
"image_resize"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
image_resize
->
shell
),
"Image Resize"
);
gtk_window_set_policy
(
GTK_WINDOW
(
image_resize
->
shell
),
FALSE
,
FALSE
,
TRUE
);
gtk_window_position
(
GTK_WINDOW
(
image_resize
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
@@ -2155,6 +2158,7 @@ image_scale_cmd_callback (GtkWidget *widget,
/* the dialog */
image_scale
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
image_scale
->
shell
),
"image_scale"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
image_scale
->
shell
),
"Image Scale"
);
gtk_window_set_policy
(
GTK_WINDOW
(
image_scale
->
shell
),
FALSE
,
FALSE
,
TRUE
);
gtk_window_position
(
GTK_WINDOW
(
image_scale
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
app/actions/plug-in-commands.c
View file @
c62f70ab
...
...
@@ -304,6 +304,7 @@ plug_in_init ()
g_print
(
"Starting extensions: "
);
app_init_update_status
(
"Extensions"
,
""
,
0
);
nplugins
=
g_slist_length
(
tmp
);
nth
=
0
;
while
(
tmp
)
{
proc_def
=
tmp
->
data
;
...
...
@@ -313,9 +314,11 @@ plug_in_init ()
(
proc_def
->
db_info
.
num_args
==
0
)
&&
(
proc_def
->
db_info
.
proc_type
==
PDB_EXTENSION
))
{
g_print
(
"%s "
,
proc_def
->
db_info
.
name
);
app_init_update_status
(
NULL
,
proc_def
->
db_info
.
name
,
nth
/
nplugins
);
plug_in_run
(
&
proc_def
->
db_info
,
NULL
,
FALSE
,
TRUE
);
}
}
...
...
@@ -2861,6 +2864,7 @@ plug_in_progress_init (PlugIn *plug_in,
if
(
!
plug_in
->
progress
)
{
plug_in
->
progress
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
plug_in
->
progress
),
"plug_in_progress"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
plug_in
->
progress
),
prune_filename
(
plug_in
->
args
[
0
]));
gtk_widget_set_uposition
(
plug_in
->
progress
,
progress_x
,
progress_y
);
gtk_signal_connect
(
GTK_OBJECT
(
plug_in
->
progress
),
"destroy"
,
...
...
app/app_procs.c
View file @
c62f70ab
...
...
@@ -137,6 +137,7 @@ make_initialization_status_window(void)
GtkWidget
*
vbox
;
win_initstatus
=
gtk_window_new
(
GTK_WINDOW_DIALOG
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
win_initstatus
),
"gimp_startup"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
win_initstatus
),
"GIMP Startup"
);
...
...
@@ -223,8 +224,11 @@ app_init ()
if
(
gimp_dir
[
0
]
!=
'\000'
)
{
sprintf
(
filename
,
"%s/gtkrc"
,
gimp_dir
);
if
(
be_verbose
==
TRUE
)
g_print
(
"parsing
\"
%s
\"\n
"
,
filename
);
app_init_update_status
(
"Resource configuration"
,
filename
,
-
1
);
gtk_rc_parse
(
filename
);
}
...
...
@@ -367,6 +371,7 @@ really_quit_dialog ()
menus_set_sensitive
(
"<Image>/File/Quit"
,
FALSE
);
dialog
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
dialog
),
"really_quit"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
dialog
),
"Really Quit?"
);
gtk_window_position
(
GTK_WINDOW
(
dialog
),
GTK_WIN_POS_MOUSE
);
gtk_container_border_width
(
GTK_CONTAINER
(
GTK_DIALOG
(
dialog
)
->
action_area
),
2
);
...
...
app/appenv.h
View file @
c62f70ab
...
...
@@ -30,5 +30,6 @@
extern
int
no_interface
;
extern
int
no_data
;
extern
int
be_verbose
;
#endif
/* APPENV_H */
app/base/color-balance.c
View file @
c62f70ab
...
...
@@ -383,6 +383,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
cbd
->
shell
),
"color_balance"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
cbd
->
shell
),
"Color Balance"
);
/* handle the wm close signal */
...
...
app/base/curves.c
View file @
c62f70ab
...
...
@@ -440,6 +440,7 @@ curves_new_dialog ()
/* The shell and main vbox */
cd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
cd
->
shell
),
"curves"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
cd
->
shell
),
"Curves"
);
gtk_signal_connect
(
GTK_OBJECT
(
cd
->
shell
),
"delete_event"
,
...
...
app/base/hue-saturation.c
View file @
c62f70ab
...
...
@@ -447,6 +447,7 @@ hue_saturation_new_dialog ()
/* The shell and main vbox */
hsd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
hsd
->
shell
),
"hue_saturation"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
hsd
->
shell
),
"Hue-Saturation"
);
/* handle the wm close signal */
...
...
app/base/threshold.c
View file @
c62f70ab
...
...
@@ -390,6 +390,7 @@ threshold_new_dialog ()
/* The shell and main vbox */
td
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
td
->
shell
),
"threshold"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
td
->
shell
),
"Threshold"
);
/* handle the wm close signal */
...
...
app/brightness_contrast.c
View file @
c62f70ab
...
...
@@ -329,6 +329,7 @@ brightness_contrast_new_dialog ()
/* The shell and main vbox */
bcd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
bcd
->
shell
),
"brightness_contrast"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
bcd
->
shell
),
"Brightness-Contrast"
);
/* handle wm close signal */
...
...
app/brush_select.c
View file @
c62f70ab
...
...
@@ -137,6 +137,7 @@ brush_select_new ()
/* The shell and main vbox */
bsp
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
bsp
->
shell
),
"brushselection"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
bsp
->
shell
),
"Brush Selection"
);
gtk_window_set_policy
(
GTK_WINDOW
(
bsp
->
shell
),
TRUE
,
TRUE
,
FALSE
);
vbox
=
gtk_vbox_new
(
FALSE
,
1
);
...
...
app/by_color_select.c
View file @
c62f70ab
...
...
@@ -559,6 +559,7 @@ by_color_select_new_dialog ()
/* The shell and main vbox */
bcd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
bcd
->
shell
),
"by_color_selection"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
bcd
->
shell
),
"By Color Selection"
);
gtk_container_border_width
(
GTK_CONTAINER
(
GTK_DIALOG
(
bcd
->
shell
)
->
action_area
),
2
);
...
...
app/channel_ops.c
View file @
c62f70ab
...
...
@@ -101,6 +101,7 @@ channel_ops_offset (void *gimage_ptr)
off_d
->
gimage_id
=
gimage
->
ID
;
off_d
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
off_d
->
dlg
),
"offset"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
off_d
->
dlg
),
"Offset"
);
/* handle the wm close signal */
...
...
app/channels_dialog.c
View file @
c62f70ab
...
...
@@ -518,7 +518,7 @@ channels_dialog_set_menu_sensitivity ()
/* lower channel */
gtk_widget_set_sensitive
(
channels_ops
[
2
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);
/* duplicate channel */
gtk_widget_set_sensitive
(
channels_ops
[
3
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);
gtk_widget_set_sensitive
(
channels_ops
[
3
].
widget
,
!
fs_sensitive
);
/* delete channel */
gtk_widget_set_sensitive
(
channels_ops
[
4
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);
/* channel to selection */
...
...
@@ -1722,6 +1722,7 @@ channels_dialog_new_channel_query (int gimage_id)
/* the dialog */
options
->
query_box
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
options
->
query_box
),
"new_channel_options"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
options
->
query_box
),
"New Channel Options"
);
gtk_window_position
(
GTK_WINDOW
(
options
->
query_box
),
GTK_WIN_POS_MOUSE
);
...
...
@@ -1895,6 +1896,7 @@ channels_dialog_edit_channel_query (ChannelWidget *channel_widget)
/* the dialog */
options
->
query_box
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
options
->
query_box
),
"edit_channel_atributes"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
options
->
query_box
),
"Edit Channel Attributes"
);
gtk_window_position
(
GTK_WINDOW
(
options
->
query_box
),
GTK_WIN_POS_MOUSE
);
...
...
app/color_balance.c
View file @
c62f70ab
...
...
@@ -383,6 +383,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
cbd
->
shell
),
"color_balance"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
cbd
->
shell
),
"Color Balance"
);
/* handle the wm close signal */
...
...
app/color_select.c
View file @
c62f70ab
...
...
@@ -175,6 +175,7 @@ color_select_new (int r,
color_select_update_pos
(
csp
);
csp
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
csp
->
shell
),
"color_selection"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
csp
->
shell
),
"Color Selection"
);
gtk_window_set_policy
(
GTK_WINDOW
(
csp
->
shell
),
FALSE
,
FALSE
,
FALSE
);
gtk_widget_set_uposition
(
csp
->
shell
,
color_select_x
,
color_select_y
);
...
...
app/commands.c
View file @
c62f70ab
...
...
@@ -312,6 +312,7 @@ file_new_cmd_callback (GtkWidget *widget,
vals
->
type
=
RGB
;
/* no indexed images */
vals
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
vals
->
dlg
),
"new_image"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
vals
->
dlg
),
"New Image"
);
gtk_window_position
(
GTK_WINDOW
(
vals
->
dlg
),
GTK_WIN_POS_MOUSE
);
...
...
@@ -995,6 +996,7 @@ file_pref_cmd_callback (GtkWidget *widget,
file_prefs_strset
(
&
old_gradient_path
,
edit_gradient_path
);
prefs_dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
prefs_dlg
),
"preferences"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
prefs_dlg
),
"Preferences"
);
/* handle the wm close signal */
...
...
@@ -2109,6 +2111,7 @@ image_resize_cmd_callback (GtkWidget *widget,
/* the dialog */
image_resize
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
image_resize
->
shell
),
"image_resize"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
image_resize
->
shell
),
"Image Resize"
);
gtk_window_set_policy
(
GTK_WINDOW
(
image_resize
->
shell
),
FALSE
,
FALSE
,
TRUE
);
gtk_window_position
(
GTK_WINDOW
(
image_resize
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
@@ -2155,6 +2158,7 @@ image_scale_cmd_callback (GtkWidget *widget,
/* the dialog */
image_scale
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
image_scale
->
shell
),
"image_scale"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
image_scale
->
shell
),
"Image Scale"
);
gtk_window_set_policy
(
GTK_WINDOW
(
image_scale
->
shell
),
FALSE
,
FALSE
,
TRUE
);
gtk_window_position
(
GTK_WINDOW
(
image_scale
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
app/convert.c
View file @
c62f70ab
...
...
@@ -308,6 +308,7 @@ convert_to_indexed (void *gimage_ptr)
dialog
->
monopal_flag
=
FALSE
;
dialog
->
reusepal_flag
=
FALSE
;
dialog
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
dialog
->
shell
),
"indexed_color_conversion"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
dialog
->
shell
),
"Indexed Color Conversion"
);
gtk_signal_connect
(
GTK_OBJECT
(
dialog
->
shell
),
"delete_event"
,
GTK_SIGNAL_FUNC
(
indexed_delete_callback
),
...
...
app/core/gimp-edit.c
View file @
c62f70ab
...
...
@@ -589,6 +589,7 @@ paste_named_buffer (GDisplay *gdisp)
pn_dlg
->
gdisp
=
gdisp
;
pn_dlg
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"paste_named_buffer"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"Paste Named Buffer"
);
gtk_window_position
(
GTK_WINDOW
(
pn_dlg
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
app/core/gimpdrawable-offset.c
View file @
c62f70ab
...
...
@@ -101,6 +101,7 @@ channel_ops_offset (void *gimage_ptr)
off_d
->
gimage_id
=
gimage
->
ID
;
off_d
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
off_d
->
dlg
),
"offset"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
off_d
->
dlg
),
"Offset"
);
/* handle the wm close signal */
...
...
app/core/gimpedit.c
View file @
c62f70ab
...
...
@@ -589,6 +589,7 @@ paste_named_buffer (GDisplay *gdisp)
pn_dlg
->
gdisp
=
gdisp
;
pn_dlg
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"paste_named_buffer"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"Paste Named Buffer"
);
gtk_window_position
(
GTK_WINDOW
(
pn_dlg
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
app/core/gimpimage-convert.c
View file @
c62f70ab
...
...
@@ -308,6 +308,7 @@ convert_to_indexed (void *gimage_ptr)
dialog
->
monopal_flag
=
FALSE
;
dialog
->
reusepal_flag
=
FALSE
;
dialog
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
dialog
->
shell
),
"indexed_color_conversion"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
dialog
->
shell
),
"Indexed Color Conversion"
);
gtk_signal_connect
(
GTK_OBJECT
(
dialog
->
shell
),
"delete_event"
,
GTK_SIGNAL_FUNC
(
indexed_delete_callback
),
...
...
app/core/gimpimage-duplicate.c
View file @
c62f70ab
...
...
@@ -101,6 +101,7 @@ channel_ops_offset (void *gimage_ptr)
off_d
->
gimage_id
=
gimage
->
ID
;
off_d
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
off_d
->
dlg
),
"offset"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
off_d
->
dlg
),
"Offset"
);
/* handle the wm close signal */
...
...
app/curves.c
View file @
c62f70ab
...
...
@@ -440,6 +440,7 @@ curves_new_dialog ()
/* The shell and main vbox */
cd
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
cd
->
shell
),
"curves"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
cd
->
shell
),
"Curves"
);
gtk_signal_connect
(
GTK_OBJECT
(
cd
->
shell
),
"delete_event"
,
...
...
app/dialogs/about-dialog.c
View file @
c62f70ab
...
...
@@ -57,6 +57,7 @@ static char *scroll_text[] =
"Simon Janes"
,
"Tim Janik"
,
"Tuomas Kuosmanen"
,
"Peter Kirchgessner"
,
"Karl LaRocca"
,
"Jens Lautenbacher"
,
"Raph Levien"
,
...
...
@@ -111,6 +112,7 @@ about_dialog_create (int timeout)
if
(
!
about_dialog
)
{
about_dialog
=
gtk_window_new
(
GTK_WINDOW_DIALOG
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
about_dialog
),
"about_dialog"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
about_dialog
),
"About the GIMP"
);
gtk_window_set_policy
(
GTK_WINDOW
(
about_dialog
),
FALSE
,
FALSE
,
FALSE
);
gtk_window_position
(
GTK_WINDOW
(
about_dialog
),
GTK_WIN_POS_CENTER
);
...
...
app/dialogs/info-dialog.c
View file @
c62f70ab
...
...
@@ -83,6 +83,7 @@ info_dialog_new (char *title)
idialog
->
field_list
=
NULL
;
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
shell
),
"info_dialog"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
shell
),
title
);
gtk_widget_set_uposition
(
shell
,
info_x
,
info_y
);
...
...
app/dialogs/tips-dialog.c
View file @
c62f70ab
...
...
@@ -52,6 +52,7 @@ tips_dialog_create ()
if
(
!
tips_dialog
)
{
tips_dialog
=
gtk_window_new
(
GTK_WINDOW_DIALOG
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
tips_dialog
),
"tip_of_the_day"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
tips_dialog
),
"GIMP Tip of the day"
);
gtk_window_position
(
GTK_WINDOW
(
tips_dialog
),
GTK_WIN_POS_CENTER
);
gtk_signal_connect
(
GTK_OBJECT
(
tips_dialog
),
"delete_event"
,
...
...
app/dialogs/user-install-dialog.c
View file @
c62f70ab
...
...
@@ -97,6 +97,7 @@ install_help (InstallCallback callback)
GdkFont
*
font
;
help_widget
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
help_widget
),
"gimp_installation"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
help_widget
),
"GIMP Installation"
);
gtk_window_position
(
GTK_WINDOW
(
help_widget
),
GTK_WIN_POS_CENTER
);
...
...
@@ -339,6 +340,7 @@ install_run (InstallCallback callback)
int
executable
=
TRUE
;
install_widget
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
install_widget
),
"installation_log"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
install_widget
),
"Installation Log"
);
gtk_window_position
(
GTK_WINDOW
(
install_widget
),
GTK_WIN_POS_CENTER
);
vadj
=
GTK_ADJUSTMENT
(
gtk_adjustment_new
(
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
));
...
...
app/display/gimpdisplay-ops.c
View file @
c62f70ab
...
...
@@ -326,6 +326,8 @@ gdisplay_close_warning_dialog (char *image_name,
menus_set_sensitive
(
"<Image>/File/Close"
,
FALSE
);
warning_dialog
=
mbox
=
gtk_dialog_new
();
/* should this be imaeg_window or the actual image naem??? */
gtk_window_set_wmclass
(
GTK_WINDOW
(
mbox
),
"image_window"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
mbox
),
image_name
);
gtk_window_position
(
GTK_WINDOW
(
mbox
),
GTK_WIN_POS_MOUSE
);
gtk_object_set_user_data
(
GTK_OBJECT
(
mbox
),
gdisp
);
...
...
app/display/gimpdisplayshell-draw.c
View file @
c62f70ab
...
...
@@ -502,6 +502,7 @@ create_toolbox ()
GtkAcceleratorTable
*
table
;
window
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
window
),
"toolbox"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
window
),
"The GIMP"
);
gtk_widget_set_uposition
(
window
,
toolbox_x
,
toolbox_y
);
gtk_signal_connect
(
GTK_OBJECT
(
window
),
"delete_event"
,
...
...
@@ -611,6 +612,7 @@ create_display_shell (int gdisp_id,
/* The toplevel shell */
gdisp
->
shell
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_title
(
GTK_WINDOW
(
gdisp
->
shell
),
title
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
gdisp
->
shell
),
"image_window"
,
"Gimp"
);
gtk_window_set_policy
(
GTK_WINDOW
(
gdisp
->
shell
),
TRUE
,
TRUE
,
TRUE
);
gtk_object_set_user_data
(
GTK_OBJECT
(
gdisp
->
shell
),
(
gpointer
)
gdisp
);
gtk_widget_set_events
(
gdisp
->
shell
,
GDK_POINTER_MOTION_MASK
|
GDK_POINTER_MOTION_HINT_MASK
);
...
...
@@ -744,6 +746,7 @@ query_string_box (char *title,
qbox
=
gtk_dialog_new
();
gtk_window_set_title
(
GTK_WINDOW
(
qbox
),
title
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
qbox
),
"query_box"
,
"Gimp"
);
gtk_window_position
(
GTK_WINDOW
(
qbox
),
GTK_WIN_POS_MOUSE
);
gtk_signal_connect
(
GTK_OBJECT
(
qbox
),
"delete_event"
,
(
GtkSignalFunc
)
query_box_delete_callback
,
...
...
@@ -876,6 +879,7 @@ message_box (char *message,
msg_box
=
(
MessageBox
*
)
g_malloc
(
sizeof
(
MessageBox
));
mbox
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
mbox
),
"gimp_message"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
mbox
),
"GIMP Message"
);
gtk_window_position
(
GTK_WINDOW
(
mbox
),
GTK_WIN_POS_MOUSE
);
gtk_container_border_width
(
GTK_CONTAINER
(
GTK_DIALOG
(
mbox
)
->
action_area
),
2
);
...
...
app/display/gimpdisplayshell-layer-select.c
View file @
c62f70ab
...
...
@@ -95,6 +95,7 @@ layer_select_init (GImage *gimage,
/* The shell and main vbox */
layer_select
->
shell
=
gtk_window_new
(
GTK_WINDOW_POPUP
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
layer_select
->
shell
),
"layer_select"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
layer_select
->
shell
),
"Layer Select"
);
gtk_window_position
(
GTK_WINDOW
(
layer_select
->
shell
),
GTK_WIN_POS_MOUSE
);
gtk_signal_connect
(
GTK_OBJECT
(
layer_select
->
shell
),
"event"
,
...
...
app/display/gimpdisplayshell.c
View file @
c62f70ab
...
...
@@ -502,6 +502,7 @@ create_toolbox ()
GtkAcceleratorTable
*
table
;
window
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
window
),
"toolbox"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
window
),
"The GIMP"
);
gtk_widget_set_uposition
(
window
,
toolbox_x
,
toolbox_y
);
gtk_signal_connect
(
GTK_OBJECT
(
window
),
"delete_event"
,
...
...
@@ -611,6 +612,7 @@ create_display_shell (int gdisp_id,
/* The toplevel shell */
gdisp
->
shell
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_title
(
GTK_WINDOW
(
gdisp
->
shell
),
title
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
gdisp
->
shell
),
"image_window"
,
"Gimp"
);
gtk_window_set_policy
(
GTK_WINDOW
(
gdisp
->
shell
),
TRUE
,
TRUE
,
TRUE
);
gtk_object_set_user_data
(
GTK_OBJECT
(
gdisp
->
shell
),
(
gpointer
)
gdisp
);
gtk_widget_set_events
(
gdisp
->
shell
,
GDK_POINTER_MOTION_MASK
|
GDK_POINTER_MOTION_HINT_MASK
);
...
...
@@ -744,6 +746,7 @@ query_string_box (char *title,
qbox
=
gtk_dialog_new
();
gtk_window_set_title
(
GTK_WINDOW
(
qbox
),
title
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
qbox
),
"query_box"
,
"Gimp"
);
gtk_window_position
(
GTK_WINDOW
(
qbox
),
GTK_WIN_POS_MOUSE
);
gtk_signal_connect
(
GTK_OBJECT
(
qbox
),
"delete_event"
,
(
GtkSignalFunc
)
query_box_delete_callback
,
...
...
@@ -876,6 +879,7 @@ message_box (char *message,
msg_box
=
(
MessageBox
*
)
g_malloc
(
sizeof
(
MessageBox
));
mbox
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
mbox
),
"gimp_message"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
mbox
),
"GIMP Message"
);
gtk_window_position
(
GTK_WINDOW
(
mbox
),
GTK_WIN_POS_MOUSE
);
gtk_container_border_width
(
GTK_CONTAINER
(
GTK_DIALOG
(
mbox
)
->
action_area
),
2
);
...
...
app/fileops.c
View file @
c62f70ab
...
...
@@ -477,6 +477,7 @@ file_open_callback (GtkWidget *w,
{
fileload
=
gtk_file_selection_new
(
"Load Image"
);
gtk_window_position
(
GTK_WINDOW
(
fileload
),
GTK_WIN_POS_MOUSE
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
fileload
),
"load_image"
,
"Gimp"
);
gtk_signal_connect
(
GTK_OBJECT
(
GTK_FILE_SELECTION
(
fileload
)
->
cancel_button
),
"clicked"
,
(
GtkSignalFunc
)
file_cancel_callback
,
fileload
);
gtk_signal_connect
(
GTK_OBJECT
(
fileload
),
"delete_event"
,
...
...
@@ -561,6 +562,7 @@ file_save_as_callback (GtkWidget *w,
if
(
!
filesave
)
{
filesave
=
gtk_file_selection_new
(
"Save Image"
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
filesave
),
"save_image"
,
"Gimp"
);
gtk_window_position
(
GTK_WINDOW
(
filesave
),
GTK_WIN_POS_MOUSE
);
gtk_signal_connect
(
GTK_OBJECT
(
GTK_FILE_SELECTION
(
filesave
)
->
cancel_button
),
"clicked"
,
(
GtkSignalFunc
)
file_cancel_callback
,
filesave
);
...
...
@@ -961,6 +963,7 @@ file_overwrite (char *filename, char* raw_filename)
overwrite_box
->
full_filename
=
filename
;
overwrite_box
->
raw_filename
=
raw_filename
;
overwrite_box
->
obox
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
overwrite_box
->
obox
),
"fiel_exists"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
overwrite_box
->
obox
),
"File Exists!"
);
gtk_window_position
(
GTK_WINDOW
(
overwrite_box
->
obox
),
GTK_WIN_POS_MOUSE
);
...
...
app/gdisplay_ops.c
View file @
c62f70ab
...
...
@@ -326,6 +326,8 @@ gdisplay_close_warning_dialog (char *image_name,
menus_set_sensitive
(
"<Image>/File/Close"
,
FALSE
);
warning_dialog
=
mbox
=
gtk_dialog_new
();
/* should this be imaeg_window or the actual image naem??? */
gtk_window_set_wmclass
(
GTK_WINDOW
(
mbox
),
"image_window"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
mbox
),
image_name
);
gtk_window_position
(
GTK_WINDOW
(
mbox
),
GTK_WIN_POS_MOUSE
);
gtk_object_set_user_data
(
GTK_OBJECT
(
mbox
),
gdisp
);
...
...
app/gimage.c
View file @
c62f70ab
...
...
@@ -1999,6 +1999,7 @@ gimage_merge_layers (GImage *gimage, link_ptr merge_list, MergeType merge_type)
*/
layer
->
mode
=
NORMAL
;
bottom
=
layer
;
}
while
(
reverse_list
)
...
...
app/gimpdrawable-offset.c
View file @
c62f70ab
...
...
@@ -101,6 +101,7 @@ channel_ops_offset (void *gimage_ptr)
off_d
->
gimage_id
=
gimage
->
ID
;
off_d
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
off_d
->
dlg
),
"offset"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
off_d
->
dlg
),
"Offset"
);
/* handle the wm close signal */
...
...
app/gimpimage-convert.c
View file @
c62f70ab
...
...
@@ -308,6 +308,7 @@ convert_to_indexed (void *gimage_ptr)
dialog
->
monopal_flag
=
FALSE
;
dialog
->
reusepal_flag
=
FALSE
;
dialog
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
dialog
->
shell
),
"indexed_color_conversion"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
dialog
->
shell
),
"Indexed Color Conversion"
);
gtk_signal_connect
(
GTK_OBJECT
(
dialog
->
shell
),
"delete_event"
,
GTK_SIGNAL_FUNC
(
indexed_delete_callback
),
...
...
app/gimpimage-duplicate.c
View file @
c62f70ab
...
...
@@ -101,6 +101,7 @@ channel_ops_offset (void *gimage_ptr)
off_d
->
gimage_id
=
gimage
->
ID
;
off_d
->
dlg
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
off_d
->
dlg
),
"offset"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
off_d
->
dlg
),
"Offset"
);
/* handle the wm close signal */
...
...
app/gimprc.c
View file @
c62f70ab
...
...
@@ -322,7 +322,8 @@ parse_gimprc_file (char *filename)
if
(
!
parse_info
.
fp
)
return
;
g_print
(
"parsing
\"
%s
\"\n
"
,
filename
);
if
(
be_verbose
==
TRUE
)
g_print
(
"parsing
\"
%s
\"\n
"
,
filename
);
cur_token
=
-
1
;
next_token
=
-
1
;
...
...
app/global_edit.c
View file @
c62f70ab
...
...
@@ -589,6 +589,7 @@ paste_named_buffer (GDisplay *gdisp)
pn_dlg
->
gdisp
=
gdisp
;
pn_dlg
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"paste_named_buffer"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
pn_dlg
->
shell
),
"Paste Named Buffer"
);
gtk_window_position
(
GTK_WINDOW
(
pn_dlg
->
shell
),
GTK_WIN_POS_MOUSE
);
...
...
app/gradient.c
View file @
c62f70ab
...
...
@@ -763,6 +763,7 @@ grad_create_gradient_editor(void)
/* Shell and main vbox */
g_editor
->
shell
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
g_editor
->
shell
),
"gradiet_editor"
,
"Gimp"
);
gtk_container_border_width
(
GTK_CONTAINER
(
g_editor
->
shell
),
0
);
gtk_window_set_title
(
GTK_WINDOW
(
g_editor
->
shell
),
"Gradient Editor"
);
gtk_window_position
(
GTK_WINDOW
(
g_editor
->
shell
),
GTK_WIN_POS_CENTER
);
...
...
app/gradient_editor.c
View file @
c62f70ab
...
...
@@ -763,6 +763,7 @@ grad_create_gradient_editor(void)
/* Shell and main vbox */
g_editor
->
shell
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
g_editor
->
shell
),
"gradiet_editor"
,
"Gimp"
);
gtk_container_border_width
(
GTK_CONTAINER
(
g_editor
->
shell
),
0
);
gtk_window_set_title
(
GTK_WINDOW
(
g_editor
->
shell
),
"Gradient Editor"
);
gtk_window_position
(
GTK_WINDOW
(
g_editor
->
shell
),
GTK_WIN_POS_CENTER
);
...
...
app/gui/about-dialog.c
View file @
c62f70ab
...
...
@@ -57,6 +57,7 @@ static char *scroll_text[] =
"Simon Janes"
,
"Tim Janik"
,
"Tuomas Kuosmanen"
,
"Peter Kirchgessner"
,
"Karl LaRocca"
,
"Jens Lautenbacher"
,
"Raph Levien"
,
...
...
@@ -111,6 +112,7 @@ about_dialog_create (int timeout)
if
(
!
about_dialog
)
{
about_dialog
=
gtk_window_new
(
GTK_WINDOW_DIALOG
);
gtk_window_set_wmclass
(
GTK_WINDOW
(
about_dialog
),
"about_dialog"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
about_dialog
),
"About the GIMP"
);
gtk_window_set_policy
(
GTK_WINDOW
(
about_dialog
),
FALSE
,
FALSE
,
FALSE
);
gtk_window_position
(
GTK_WINDOW
(
about_dialog
),
GTK_WIN_POS_CENTER
);
...
...
app/gui/brush-select.c
View file @
c62f70ab
...
...
@@ -137,6 +137,7 @@ brush_select_new ()
/* The shell and main vbox */
bsp
->
shell
=
gtk_dialog_new
();
gtk_window_set_wmclass
(
GTK_WINDOW
(
bsp
->
shell
),
"brushselection"
,
"Gimp"
);
gtk_window_set_title
(
GTK_WINDOW
(
bsp
->
shell
),
"Brush Selection"
);
gtk_window_set_policy
(
GTK_WINDOW
(
bsp
->
shell
),
TRUE
,
TRUE
,
FALSE
);
vbox
=
gtk_vbox_new
(
FALSE
,
1
);
...
...
app/gui/channels-dialog.c
View file @
c62f70ab
...
...
@@ -518,7 +518,7 @@ channels_dialog_set_menu_sensitivity ()
/* lower channel */
gtk_widget_set_sensitive
(
channels_ops
[
2
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);
/* duplicate channel */
gtk_widget_set_sensitive
(
channels_ops
[
3
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);
gtk_widget_set_sensitive
(
channels_ops
[
3
].
widget
,
!
fs_sensitive
);
/* delete channel */
gtk_widget_set_sensitive
(
channels_ops
[
4
].
widget
,
!
fs_sensitive
&&
aux_sensitive
);